Bug#1055731: cypari2 ftbfs with Python 3.12

Matthias Klose doko at debian.org
Fri Nov 10 10:31:09 GMT 2023


Package: src:cypari2
Version: 2.1.2-4
Severity: important
Tags: sid trixie
User: debian-python at lists.debian.org
Usertags: python3.12

  cypari2 ftbfs with Python 3.12:

[...]
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>>=. -flto=auto -ffat-lto-objects 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/cypari2-2.1.2-4build2 
-Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./cypari2 
-I/usr/lib/python3/dist-packages/cysignals -I/usr/include/python3.12 -c 
cypari2/convert.c -o build/temp.linux-x86_64-cpython-312/cypari2/convert.o
cypari2/convert.c: In function ‘__pyx_f_7cypari2_7convert_PyLong_FromINT’:
cypari2/convert.c:3242:42: error: ‘PyLongObject’ {aka ‘struct 
_longobject’} has no member named ‘ob_digit’
  3242 |   __pyx_t_2 = ((PyLongObject *)__pyx_v_x)->ob_digit;
       |                                          ^~
cypari2/convert.c: In function ‘__pyx_f_7cypari2_7convert_PyLong_AS_GEN’:
cypari2/convert.c:3511:42: error: ‘PyLongObject’ {aka ‘struct 
_longobject’} has no member named ‘ob_digit’
  3511 |   __pyx_t_1 = ((PyLongObject *)__pyx_v_x)->ob_digit;
       |                                          ^~
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
E: pybuild pybuild:395: build: plugin distutils failed with: exit 
code=1: /usr/bin/python3.12 setup.py build



More information about the debian-science-maintainers mailing list