Bug 1225772 - Package bdfresize does not build with gcc14 because of old autoconf
Summary: Package bdfresize does not build with gcc14 because of old autoconf
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Mike FABIAN
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: modern_C
  Show dependency treegraph
 
Reported: 2024-05-31 18:09 UTC by Martin Jambor
Modified: 2024-07-08 12:40 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Jambor 2024-05-31 18:09:12 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.
Comment 1 Martin Jambor 2024-07-08 12:40:32 UTC
I've submitted https://build.opensuse.org/request/show/1186165