Bug ID 1225772
Summary Package bdfresize does not build with gcc14 because of old autoconf
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Other
Assignee screening-team-bugs@suse.de
Reporter mjambor@suse.com
QA Contact qa-bugs@suse.de
Blocks 1220571
Target Milestone ---
Found By ---
Blocker ---

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.


You are receiving this mail because: