Bug#1081687: Times out building on arm64

Stefano Rivera stefanor at debian.org
Fri Sep 13 20:05:43 BST 2024


Source: cypari2
Version: 2.1.4-1
Severity: serious
Tags: ftbfs
Justification: FTBFS

Dear maintainer,

During a test rebuild, cypari2 failed to rebuild.

-------------------------------------------------------------------------------
[...]
[7/7] Cythonizing cypari2/string_utils.pyx
building 'cypari2.closure' extension
creating build
creating build/temp.linux-aarch64-cpython-312
creating build/temp.linux-aarch64-cpython-312/cypari2
aarch64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Icypari2 -I/usr/lib/python3/dist-packages/cysignals -I/usr/include/python3.12 -c cypari2/closure.c -o build/temp.linux-aarch64-cpython-312/cypari2/closure.o
aarch64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-aarch64-cpython-312/cypari2/closure.o -L/usr/lib/aarch64-linux-gnu -lgmp -lpari -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_cypari2/build/cypari2/closure.cpython-312-aarch64-linux-gnu.so
building 'cypari2.convert' extension
aarch64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Icypari2 -I/usr/lib/python3/dist-packages/cysignals -I/usr/include/python3.12 -c cypari2/convert.c -o build/temp.linux-aarch64-cpython-312/cypari2/convert.o
aarch64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-aarch64-cpython-312/cypari2/convert.o -L/usr/lib/aarch64-linux-gnu -lgmp -lpari -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_cypari2/build/cypari2/convert.cpython-312-aarch64-linux-gnu.so
building 'cypari2.gen' extension
aarch64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Icypari2 -I/usr/lib/python3/dist-packages/cysignals -I/usr/include/python3.12 -c cypari2/gen.c -o build/temp.linux-aarch64-cpython-312/cypari2/gen.o
cypari2/gen.c: In function ‘__pyx_pymod_exec_gen’:
cypari2/gen.c:282008:30: note: variable tracking size limit exceeded with ‘-fvar-tracking-assignments’, retrying without
282008 | static CYTHON_SMALL_CODE int __pyx_pymod_exec_gen(PyObject *__pyx_pyinit_module)
       |                              ^~~~~~~~~~~~~~~~~~~~
aarch64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-aarch64-cpython-312/cypari2/gen.o -L/usr/lib/aarch64-linux-gnu -lgmp -lpari -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_cypari2/build/cypari2/gen.cpython-312-aarch64-linux-gnu.so
building 'cypari2.handle_error' extension
aarch64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Icypari2 -I/usr/lib/python3/dist-packages/cysignals -I/usr/include/python3.12 -c cypari2/handle_error.c -o build/temp.linux-aarch64-cpython-312/cypari2/handle_error.o
aarch64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-aarch64-cpython-312/cypari2/handle_error.o -L/usr/lib/aarch64-linux-gnu -lgmp -lpari -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_cypari2/build/cypari2/handle_error.cpython-312-aarch64-linux-gnu.so
building 'cypari2.pari_instance' extension
aarch64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Icypari2 -I/usr/lib/python3/dist-packages/cysignals -I/usr/include/python3.12 -c cypari2/pari_instance.c -o build/temp.linux-aarch64-cpython-312/cypari2/pari_instance.o
cypari2/pari_instance.c: In function ‘__pyx_pymod_exec_pari_instance’:
cypari2/pari_instance.c:319811:30: note: variable tracking size limit exceeded with ‘-fvar-tracking-assignments’, retrying without
319811 | static CYTHON_SMALL_CODE int __pyx_pymod_exec_pari_instance(PyObject *__pyx_pyinit_module)
       |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aarch64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-aarch64-cpython-312/cypari2/pari_instance.o -L/usr/lib/aarch64-linux-gnu -lgmp -lpari -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_cypari2/build/cypari2/pari_instance.cpython-312-aarch64-linux-gnu.so
building 'cypari2.stack' extension
aarch64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Icypari2 -I/usr/lib/python3/dist-packages/cysignals -I/usr/include/python3.12 -c cypari2/stack.c -o build/temp.linux-aarch64-cpython-312/cypari2/stack.o
aarch64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-aarch64-cpython-312/cypari2/stack.o -L/usr/lib/aarch64-linux-gnu -lgmp -lpari -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_cypari2/build/cypari2/stack.cpython-312-aarch64-linux-gnu.so
building 'cypari2.string_utils' extension
aarch64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.12 -c cypari2/string_utils.c -o build/temp.linux-aarch64-cpython-312/cypari2/string_utils.o
aarch64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-aarch64-cpython-312/cypari2/string_utils.o -L/usr/lib/aarch64-linux-gnu -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_cypari2/build/cypari2/string_utils.cpython-312-aarch64-linux-gnu.so
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
python3 tests/rundoctest.py
  ***   user warning: test
/usr/lib/python3.12/doctest.py:1368: RuntimeWarning: cypari2 leaked 270747760 bytes on the PARI stack
  exec(compile(example.source, filename, "single",
/usr/lib/python3.12/doctest.py:1368: RuntimeWarning: cypari2 leaked 398130352 bytes on the PARI stack
  exec(compile(example.source, filename, "single",
E: Build killed with signal TERM after 150 minutes of inactivity
--------------------------------------------------------------------------------
Build finished at 2024-09-13T02:03:51Z

-------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/708396/

About the archive rebuild: The build was made on debusine.debian.net,
on arm64 using sbuild.

You can find the build task here:
https://debusine.debian.net/work-request/24929/

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks,

Stefano



More information about the debian-science-maintainers mailing list