Bug 2259528 - py-radix fails to build with Python 3.13: passing argument 2 of ‘PyList_Append’ from incompatible pointer type
Summary: py-radix fails to build with Python 3.13: passing argument 2 of ‘PyList_Appen...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: py-radix
Version: 40
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kevin Fenzi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2291586 (view as bug list)
Depends On:
Blocks: F41FTBFS F41FailsToInstall PYTHON3.13 2291485
TreeView+ depends on / blocked
 
Reported: 2024-01-22 08:38 UTC by Karolina Surma
Modified: 2024-06-26 01:56 UTC (History)
5 users (show)

Fixed In Version: py-radix-0.10.0-11.fc40
Clone Of:
Environment:
Last Closed: 2024-06-17 23:14:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Package Sources py-radix pull-request 5 0 None None None 2024-06-16 17:54:23 UTC
Github mjschultz py-radix issues 57 0 None open Fails to build with GCC 14 as the default compiler due to -Wincompatible-pointer-types 2024-06-16 17:50:27 UTC
Github mjschultz py-radix pull 58 0 None open Change incompatible pointer type from RadixNodeObject to PyObject 2024-06-16 17:50:27 UTC

Description Karolina Surma 2024-01-22 08:38:19 UTC
py-radix fails to build with Python 3.13.0a3.

radix/_radix.c: In function ‘add_node_to_list’:
radix/_radix.c:528:37: error: passing argument 2 of ‘PyList_Append’ from incompatible pointer type [-Wincompatible-pointer-types]
  528 |                 PyList_Append(ret, ((RadixNodeObject *)node->data));
      |                                    ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                     |
      |                                     RadixNodeObject *

https://docs.python.org/3.13/whatsnew/3.13.html

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.13/fedora-rawhide-x86_64/06929299-py-radix/

For all our attempts to build py-radix with Python 3.13, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/py-radix/

Testing and mass rebuild of packages is happening in copr.
You can follow these instructions to test locally in mock if your package builds with Python 3.13:
https://copr.fedorainfracloud.org/coprs/g/python/python3.13/

Let us know here if you have any questions.

Python 3.13 is planned to be included in Fedora 41.
To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.13.
A build failure prevents us from testing all dependent packages (transitive [Build]Requires),
so if this package is required a lot, it's important for us to get it fixed soon.

We'd appreciate help from the people who know this package best,
but if you don't want to work on this now, let us know so we can try to work around it on our side.

Comment 1 Aoife Moloney 2024-02-15 23:11:10 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 40 development cycle.
Changing version to 40.

Comment 2 Karolina Surma 2024-06-12 14:58:02 UTC
*** Bug 2291586 has been marked as a duplicate of this bug. ***

Comment 3 Robert Scheck 2024-06-16 17:54:23 UTC
Kevin, I've created https://src.fedoraproject.org/rpms/py-radix/pull-request/5 to address this. Given my aggregate6 package depends on py-radix, I would be interested in becoming a co-maintainer.

Comment 4 Fedora Update System 2024-06-17 20:25:08 UTC
FEDORA-2024-f5a2f4e548 (py-radix-0.10.0-11.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-f5a2f4e548

Comment 5 Fedora Fails To Install 2024-06-17 23:14:26 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

All subpackages of a package against which this bug was filled are now installable or removed from Fedora 41.

Thanks for taking care of it!

Comment 6 Fedora Update System 2024-06-18 01:37:08 UTC
FEDORA-2024-f5a2f4e548 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-f5a2f4e548`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-f5a2f4e548

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2024-06-26 01:56:03 UTC
FEDORA-2024-f5a2f4e548 (py-radix-0.10.0-11.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.