Bugzilla – Bug 1225772
Package bdfresize does not build with gcc14 because of old autoconf
Last modified: 2024-07-08 12:40:32 UTC
Gcc 14 newly by default treats as errors a number of situations which before were only warnings. For more information see https://gcc.gnu.org/gcc-14/porting_to.html and meta bug #1220571. Because of this, package bdfresize fails to compile. This can be seen online at: https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:Gcc7/bdfresize/standard/x86_64 It can be reproduced locally with command: osc build --clean --alternative-project home:rguenther:nextgcc Since the last release appears to be from 2001, either using -std=gnu89 (but see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115310) or -fpermissive seems appropriate. The error (that halts the build) is: [ 11s] checking for gcc... gcc [ 11s] 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 -flto=auto) works... no [ 11s] configure: error: installation or configuration problem: C compiler cannot create executables. ...most probably because main in a generated snippet misses a return type.
I've submitted https://build.opensuse.org/request/show/1186165