Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 919073

Summary: dev-python/wxpython-4.2.1 does not build with GCC 14
Product: Gentoo Linux Reporter: Kacper Słomiński <kacper.slominski72>
Component: Current packagesAssignee: Gentoo wxWidgets project <wxwidgets>
Status: RESOLVED FIXED    
Severity: normal CC: python, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/wxWidgets/Phoenix/issues/2493
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    

Description Kacper Słomiński 2023-12-03 00:05:19 UTC
Caused by GCC 14 treating some warnings as errors by default:

[  9/929] Compiling sip/siplib/siplib.c
../../../../sip/siplib/siplib.c: In function ‘parsePass1’:
../../../../sip/siplib/siplib.c:3905:20: error: assignment to ‘sipSimpleWrapper *’ {aka ‘struct _sipSimpleWrapper *’} from incompatible pointer type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types]
 3905 |             *selfp = va_arg(va, PyObject *);
      |                    ^
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-03 00:06:23 UTC
This might either be a dupe of, or depend on, bug 919000.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-15 23:53:30 UTC
commit 70c0399f6381344da7a3d419bf37f85c4ef76992
Author: Ionen Wolkens <ionen@gentoo.org>
Date:   Tue Dec 12 12:48:30 2023 -0500

    dev-python/sip: add 6.8.1

    May or may not fix bug #919308, need confirmation (getting
    conflicting reports, perhaps due to the issues being multi-layered
    and only parts of these being fixed?).

    Should fix incompatible pointer types issues (c99-porting),
    albeit that has no impact if files are pre-regenerated.
    May be possible to close a few bugs but have not kept track.

    Bug: https://bugs.gentoo.org/919308
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Comment 3 Kacper Słomiński 2023-12-16 00:31:46 UTC
This is indeed fixed by using SIP 6.8.1.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-16 00:33:31 UTC
Thanks!