Bug 1221016 - GCC 14: python-qt5-sip package fails
Summary: GCC 14: python-qt5-sip package fails
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: Fabian Vogt
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: modern_C
  Show dependency treegraph
 
Reported: 2024-03-06 07:35 UTC by Michal Jireš
Modified: 2024-03-13 07:10 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 Michal Jireš 2024-03-06 07:35:47 UTC
Building python-qt5-sip with GCC 14 fails here:
https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:Gcc7/python-qt5-sip/standard/x86_64

Due to (exhaustive list of errors):

siplib.c: In function ‘parsePass1’:
siplib.c:3909:20: error: assignment to ‘sipSimpleWrapper *’ {aka ‘struct _sipSimpleWrapper *’} from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types]
 3909 |             *selfp = va_arg(va, PyObject *);
      |                    ^
error: command '/usr/bin/gcc' failed with exit code 1

See the meta bug#1220571 for more info.
Comment 1 Martin Jambor 2024-03-06 10:42:00 UTC
FTR, the corresponding Gentoo bug seems to be:
https://bugs.gentoo.org/919000
Comment 2 Fabian Vogt 2024-03-07 07:40:58 UTC
(In reply to Martin Jambor from comment #1)
> FTR, the corresponding Gentoo bug seems to be:
> https://bugs.gentoo.org/919000

Which leads to https://github.com/Python-SIP/sip/commit/5a3ef73785cda3d916cf8b7459c44c4555a4d47a - will add a backport.
Comment 3 Fabian Vogt 2024-03-07 07:54:40 UTC
https://build.opensuse.org/request/show/1155819