Building freeipa rpms fails on Fedora 33 This affects nightly runs in PR-CI
# cat /etc/fedora-release Fedora release 33 (Rawhide)
yum -y update yum-builddep -y freeipa-server yum -y install selinux-policy-devel yum -y install rpm-build git clone https://github.com/freeipa/freeipa.git cd freeipa/ ./makerpms.sh
... checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking how to create a pax tar archive... gnutar checking whether make supports nested variables... (cached) yes checking whether make supports the include directive... yes (GNU style) checking for x86_64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... no configure: error: in `/mnt/testarea/test/freeipa/rpmbuild/BUILD/freeipa-4.9.0.dev202003271647+gitf9804558b': configure: error: C compiler cannot create executables See `config.log' for more details error: Bad exit status from /var/tmp/rpm-tmp.ezCXW6 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.ezCXW6 (%build) make[1]: *** [Makefile:1174: _rpms-body] Error 1 make[1]: Leaving directory '/mnt/testarea/test/freeipa' make: *** [Makefile:1171: rpms] Error 2
master branch at commit f980455
config.log: https://pastebin.com/WCw6ffx5 The build runs successively on Fedora 32.
https://koji.fedoraproject.org/koji/buildinfo?buildID=1483562 is a successful build of FreeIPA 4.8.6 on Rawhide, as of this morning.
From your pastebin:
configure:3732: $? = 0 configure:3721: gcc -V >&5 gcc: error: unrecognized command-line option '-V' gcc: fatal error: no input files compilation terminated. configure:3732: $? = 1 configure:3721: gcc -qversion >&5 gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'? gcc: fatal error: no input files
Please make sure to regenerate your configure script, with
autoreconf -ivf
makerpms.sh script uses autoreconf -i, so may be some of the files from previous autoconf release do not know about new GCC?
makerpms.sh
autoreconf -i
Actually, your config.log from the pastebin seems to not correspond to your issue. It shows that configure went through until the end of the script and generated all Makefile(s). So it cannot be used to diagnose the issue.
The failure was spotted in a PR-CI build for rawhide and reproduced on a clean VM. Now the build on PRCI works fine, closing issue.
Metadata Update from @sorlov: - Issue close_status updated to: invalid - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.