Bug 1225854 - Package libgpod does not build with gcc14 because of new errors
Summary: Package libgpod does not build with gcc14 because of new errors
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Petr Gajdos
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: modern_C
  Show dependency treegraph
 
Reported: 2024-06-03 14:43 UTC by Martin Jambor
Modified: 2024-07-08 07:52 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-06-03 14:43:04 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 libgpod fails to compile.  This can be seen online
at:
https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:Gcc7/libgpod/standard/x86_64

It can be reproduced locally with command: osc build --clean
--alternative-project home:rguenther:nextgcc

We seem to need at least https://sourceforge.net/p/gtkpod/patches/47/
The following Gentoo bugs are however also listed as relvant:
  - https://bugs.gentoo.org/919219
  - https://bugs.gentoo.org/885349
  - https://bugs.gentoo.org/926995


The (first) error (that halts the build) is:

[   22s] generic-callout.c: In function ‘get_info_from_usb’:
[   22s] generic-callout.c:667:14: error: type of ‘usb_bus_number’ defaults to ‘int’ [-Wimplicit-int]
[   22s]   667 | static char *get_info_from_usb (usb_bus_number, usb_device_number)
[   22s]       |              ^~~~~~~~~~~~~~~~~
[   22s] generic-callout.c:667:14: error: type of ‘usb_device_number’ defaults to ‘int’ [-Wimplicit-int]
Comment 1 Petr Gajdos 2024-07-04 09:07:02 UTC
Package submitted:
https://build.opensuse.org/request/show/1185354
Comment 2 Petr Gajdos 2024-07-08 07:52:09 UTC
Request was accepted.