[Debian-med-packaging] Bug#1057809: python-pysam ftbfs with Python 3.12
Matthias Klose
doko at debian.org
Fri Dec 8 19:07:49 GMT 2023
Package: src:python-pysam
Version: 0.22.0+ds-1
Severity: serious
Tags: sid trixie
User: debian-python at lists.debian.org
Usertags: python3.12
python-pysam ftbfs with Python 3.12, didn't check for any follow-up errors:
[...]
x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2
-Wall -g -fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -g -fwrapv -O2 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security
-fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
-I/<<PKGBUILDDIR>>/pysam -I/usr/include -I/<<PKGBUILDDIR>>/samtools
-I/<<PKGBUILDDIR>>/samtools/lz4 -I/<<PKGBUILDDIR>>/bcftools
-I/<<PKGBUILDDIR>> -I/usr/include/python3.12 -c pysam/libchtslib.c -o
build/temp.linux-x86_64-cpython-312/pysam/libchtslib.o -Wno-unused
-Wno-strict-prototypes -Wno-sign-compare
-Wno-error=declaration-after-statement
pysam/libchtslib.c: In function ‘__pyx_f_5pysam_10libchtslib_set_verbosity’:
pysam/libchtslib.c:1387:32: error: ‘_PyCFrame’ has no member named
‘use_tracing’
1387 | (unlikely((tstate)->cframe->use_tracing) &&\
| ^~
pysam/libchtslib.c:958:43: note: in definition of macro ‘unlikely’
958 | #define unlikely(x) __builtin_expect(!!(x), 0)
| ^
pysam/libchtslib.c:1426:15: note: in expansion of macro ‘__Pyx_IsTracing’
1426 | if (__Pyx_IsTracing(tstate, 1, 1)) {\
| ^~~~~~~~~~~~~~~
More information about the Debian-med-packaging
mailing list