Bug 1223910 - Package aalib does not build with gcc 14
Summary: Package aalib does not build with gcc 14
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other (show other bugs)
Version: Current
Hardware: Other Other
: P4 - Low : Normal (vote)
Target Milestone: ---
Assignee: Martin Jambor
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: modern_C
  Show dependency treegraph
 
Reported: 2024-05-05 17:40 UTC by Martin Jambor
Modified: 2024-07-18 15:58 UTC (History)
2 users (show)

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-05 17:40:18 UTC
Package aalib does not build with gcc 14 because it misses an include
(and perhaps viloates a few other C99 requirements that gcc 14 now
treats as errors instead of just warning):

https://build.opensuse.org/package/live_build_log/home:rguenther:plgrnd/aalib/openSUSE_Factory/x86_64

For more information on porting to gcc 14, see:
https://gcc.gnu.org/gcc-14/porting_to.html
Comment 1 Martin Jambor 2024-05-07 11:11:47 UTC
Because the issues are numerous (mainly a very old autoconf in aaview but not just that), I think the proper thing to do is to use -fpermissive here:
https://build.opensuse.org/request/show/1172236
Comment 2 OBSbugzilla Bot 2024-05-09 12:15:02 UTC
This is an autogenerated message for OBS integration:
This bug (1223910) was mentioned in
https://build.opensuse.org/request/show/1172933 Factory / aalib
Comment 3 Martin Jambor 2024-05-31 14:00:52 UTC
(In reply to OBSbugzilla Bot from comment #2)
> This is an autogenerated message for OBS integration:
> This bug (1223910) was mentioned in
> https://build.opensuse.org/request/show/1172933 Factory / aalib

This is not enough, old configure script does not create "proper" main
functions and so the package still fails.

Somehow setting CFLAGS is not enough to prevent this, setting optflags
like in the submission from comment #1 is.
Comment 4 Martin Jambor 2024-07-04 15:08:57 UTC
https://build.opensuse.org/request/show/1185421 adds the two more -fpermissive  uses that were missing in the request mentioned in comment #2.
Comment 5 Martin Jambor 2024-07-18 15:58:52 UTC
With more -fpermissive flags the package finally builds, keeping the bug open to track uses of the flag in the distribution.