Bugzilla – Bug 1223910
Package aalib does not build with gcc 14
Last modified: 2024-07-18 15:58:52 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
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
This is an autogenerated message for OBS integration: This bug (1223910) was mentioned in https://build.opensuse.org/request/show/1172933 Factory / aalib
(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.
https://build.opensuse.org/request/show/1185421 adds the two more -fpermissive uses that were missing in the request mentioned in comment #2.
With more -fpermissive flags the package finally builds, keeping the bug open to track uses of the flag in the distribution.