Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919073 - dev-python/wxpython-4.2.1 does not build with GCC 14
Summary: dev-python/wxpython-4.2.1 does not build with GCC 14
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo wxWidgets project
URL:
Whiteboard: indirect
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-12-03 00:05 UTC by Kacper Słomiński
Modified: 2024-10-31 15:40 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!