On Tue, 2022-07-19 at 16:47 +0200, Petr Pisar wrote: > V Tue, Jul 19, 2022 at 01:47:12PM +0000, Globe Trotter via devel napsal(a): > > However, I get the following error in the build log (of koji): > > > > > > > > checking whether the C compiler works... no > > configure: error: in `/builddir/build/BUILD/osmo-0.4.4': > > configure: error: C compiler cannot create executables > > See `config.log' for more details > > > > > > Where is the config.log? I only have > > > In the working directory on a Koji builder. Cleaned up and deleted. > > Ammend your osmo.spec to print config.log content if ./configure command > fails. The cause will either be missing BuildRequires: gcc, or the build > scripts is too creative with compiler or linker flags and produces > a combination which does not work. Or somebody broke gcc or annobin or other > vital part of a tool chain. Another option if the necessary stuff isn't logged to the Koji build logs is to run a build in mock locally. When a mock build fails the buildroot is not cleaned up, so you can look at it, either under wherever your mock home is (/var/lib/mock or /home/mockbase probably) or with mock -r (whatever) -shell to get a shell inside the mock environment. -- Adam Williamson Fedora QA IRC: adamw | Twitter: adamw_ha https://www.happyassassin.net _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure