Bugzilla – Bug 1224007
Package cvs fails to build with GCC 14 because of its new errors (that were previously warnings)
Last modified: 2024-07-10 12:03:17 UTC
Package cvs does not build with gcc 14 because of its new errors, see bug#1220571 and https://gcc.gnu.org/gcc-14/porting_to.html for more details on these. See failed build log for example here: https://build.opensuse.org/package/live_build_log/home:rguenther:plgrnd/cvs/openSUSE_Factory/x86_64 The failure happens when running configure in the sub-directory cvslock-0.2: [ 36s] checking whether the C compiler (gcc -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -pipe -D_GNU_SOURCE -std=gnu99 -flto=auto) works... no [ 36s] configure: error: installation or configuration problem: C compiler cannot create executables. ...which hints that the problem is an ancient autoconf. Because cvs is has not had a release for over a decade and its use is already quite small, switching autoconf seems like unreasonable effort and I'd simply propose to use -fpermissive in this case. On the other hand, note that Fedora claims to have fixed their cvs, see: - https://gitlab.com/fweimer-rh/fedora-modernc/-/blob/main/pkg/c/cvs.md?ref_type=heads - https://bugzilla.redhat.com/show_bug.cgi?id=2187741 and - https://src.fedoraproject.org/rpms/cvs/c/de3a484fb175576744fe001c75cfa60163b13a10?branch=rawhide But I guess(!) that cvslock simply is not part of their package.
I have submitted https://build.opensuse.org/request/show/1186179
And there is also https://build.opensuse.org/request/show/1186025 which might be slightly better.