https://bugzilla.redhat.com/show_bug.cgi?id=2247028
Bug ID: 2247028 Summary: fonttools fails to build with Python 3.13: error: implicit declaration of function ‘_PyLong_Copy’ Product: Fedora Version: rawhide Status: NEW Component: fonttools Assignee: pnemade@redhat.com Reporter: ksurma@redhat.com QA Contact: extras-qa@fedoraproject.org CC: fonts-bugs@lists.fedoraproject.org, ksurma@redhat.com, mhroncok@redhat.com, pnemade@redhat.com, tagoh@redhat.com Blocks: 2244836 (PYTHON3.13) Target Milestone: --- Classification: Fedora
fonttools fails to build with Python 3.13.0a1.
This report is automated and not very verbose, but we'll try to get back here with details.
Lib/fontTools/qu2cu/qu2cu.c: In function ‘__Pyx_PyLong_AbsNeg’: Lib/fontTools/qu2cu/qu2cu.c:10421:26: error: implicit declaration of function ‘_PyLong_Copy’ [-Werror=implicit-function-declaration] 10421 | PyObject *copy = _PyLong_Copy((PyLongObject*)n); | ^~~~~~~~~~~~
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-ra...
For all our attempts to build fonttools with Python 3.13, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/fonttool...
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.
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=2244836 [Bug 2244836] Python 3.13
https://bugzilla.redhat.com/show_bug.cgi?id=2247028
Parag Nemade pnemade@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version| |fonttools-4.53.0-1.fc41 Resolution|--- |RAWHIDE Status|NEW |CLOSED Last Closed| |2024-07-01 06:56:35
--- Comment #2 from Parag Nemade pnemade@redhat.com --- fonttools-4.53.0-1.fc41 build is now completed with python3-devel-3.13.0~b2-4.fc41 successfully.
fonts-bugs@lists.fedoraproject.org