Package: src:python-line-profiler Version: 2.1-2 Severity: serious Tags: sid bullseye User: debian-pyt...@lists.debian.org Usertags: python3.9
likely not python3.9 specific, but needed to build for python3.9 [...] I: pybuild base:217: /usr/bin/python3.9 setup.py build running build running build_py copying line_profiler.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_line-profiler/build copying kernprof.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_line-profiler/build copying line_profiler_py35.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_line-profiler/build running build_ext cythoning _line_profiler.pyx to _line_profiler.c /usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /<<PKGBUILDDIR>>/_line_profiler.pyx tree = Parsing.p_module(s, pxd, full_module_name) building '_line_profiler' extension creating build creating build/temp.linux-x86_64-3.9 x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.9 -c _line_profiler.c -o build/temp.linux-x86_64-3.9/_line_profiler.o x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.9 -c timers.c -o build/temp.linux-x86_64-3.9/timers.o timers.c:36:2: error: #error "This module requires gettimeofday() on non-Windows platforms!" 36 | #error "This module requires gettimeofday() on non-Windows platforms!" | ^~~~~ error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1 E: pybuild pybuild:352: build: plugin distutils failed with: exit code=1: /usr/bin/python3.9 setup.py build dh_auto_build: error: pybuild --build --test-pytest -i python{version} -p "3.9 3.8" returned exit code 13 make: *** [debian/rules:14: build-arch] Error 25 dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2