Bug 2259627 - python-zlib-ng fails to build with Python 3.13: error: implicit declaration of function ‘_PyBytes_Join’
Summary: python-zlib-ng fails to build with Python 3.13: error: implicit declaration o...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-zlib-ng
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ben Beasley
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.13
TreeView+ depends on / blocked
 
Reported: 2024-01-22 13:17 UTC by Karolina Surma
Modified: 2024-01-23 14:46 UTC (History)
4 users (show)

Fixed In Version: python-zlib-ng-0.4.0-3.fc40
Clone Of:
Environment:
Last Closed: 2024-01-23 14:46:03 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Karolina Surma 2024-01-22 13:17:05 UTC
python-zlib-ng fails to build with Python 3.13.03.

src/zlib_ng/zlib_ngmodule.c: In function ‘GzipReader_readall’:
  src/zlib_ng/zlib_ngmodule.c:2813:21: error: implicit declaration of function ‘_PyBytes_Join’ [-Wimplicit-function-declaration]
   2813 |     PyObject *ret = _PyBytes_Join(empty_bytes, chunk_list);
        |                     ^~~~~~~~~~~~~
  src/zlib_ng/zlib_ngmodule.c:2813:21: error: initialization of ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
  error: command '/usr/bin/gcc' failed with exit code 1

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/06920790-python-zlib-ng/

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

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 2 Ben Beasley 2024-01-23 14:31:03 UTC
This is in Rawhide. I just need to build it (for which I need to wait on the FAS outage).

Comment 3 Miro Hrončok 2024-01-23 14:38:57 UTC
I was able to fkinit couple of hours ago.

Building python-zlib-ng-0.4.0-3.fc40 for rawhide
Created task: 112218496
Task info: https://koji.fedoraproject.org/koji/taskinfo?taskID=112218496

Comment 4 Fedora Update System 2024-01-23 14:44:52 UTC
FEDORA-2024-30876e6454 has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-30876e6454

Comment 5 Fedora Update System 2024-01-23 14:46:03 UTC
FEDORA-2024-30876e6454 has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Ben Beasley 2024-01-23 14:46:28 UTC
Thanks!


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