Bug#976470: reprozip: FTBFS on arm64: native/config.h:12:9: error: #error Unrecognized architecture!
Lucas Nussbaum
lucas at debian.org
Sat Dec 5 12:30:23 GMT 2020
Source: reprozip
Version: 1.0.16-1
Severity: important
Justification: FTBFS on arm64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201205 ftbfs-bullseye
Hi,
During a rebuild of all packages in sid, your package failed to build
on arm64 (I don't know if it also fails on amd64).
Relevant part (hopefully):
> aarch64-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.8 -c native/pytracer.c -o build/temp.linux-arm64-3.8/native/pytracer.o
> In file included from native/tracer.h:4,
> from native/pytracer.c:5:
> native/config.h:12:9: error: #error Unrecognized architecture!
> 12 | # error Unrecognized architecture!
> | ^~~~~
> error: command 'aarch64-linux-gnu-gcc' failed with exit status 1
> E: pybuild pybuild:353: build: plugin distutils failed with: exit code=1: /usr/bin/python3.8 setup.py build
> I: pybuild base:232: /usr/bin/python3 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_reprozip/build/reprozip
> copying reprozip/filters.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_reprozip/build/reprozip
> copying reprozip/pack.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_reprozip/build/reprozip
> copying reprozip/traceutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_reprozip/build/reprozip
> copying reprozip/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_reprozip/build/reprozip
> copying reprozip/main.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_reprozip/build/reprozip
> copying reprozip/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_reprozip/build/reprozip
> copying reprozip/common.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_reprozip/build/reprozip
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_reprozip/build/reprozip/tracer
> copying reprozip/tracer/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_reprozip/build/reprozip/tracer
> copying reprozip/tracer/trace.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_reprozip/build/reprozip/tracer
> copying reprozip/tracer/linux_pkgs.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_reprozip/build/reprozip/tracer
> running build_ext
> building 'reprozip._pytracer' extension
> creating build/temp.linux-arm64-3.9
> creating build/temp.linux-arm64-3.9/native
> aarch64-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 native/database.c -o build/temp.linux-arm64-3.9/native/database.o
> aarch64-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 native/ptrace_utils.c -o build/temp.linux-arm64-3.9/native/ptrace_utils.o
> In file included from native/ptrace_utils.c:9:
> native/config.h:12:9: error: #error Unrecognized architecture!
> 12 | # error Unrecognized architecture!
> | ^~~~~
> error: command '/usr/bin/aarch64-linux-gnu-gcc' failed with exit code 1
> E: pybuild pybuild:353: build: plugin distutils failed with: exit code=1: /usr/bin/python3 setup.py build
> dh_auto_build: error: pybuild --build -i python{version} -p "3.8 3.9" returned exit code 13
> make: *** [debian/rules:13: binary] Error 25
The full build log is available from:
http://qa-logs.debian.net/2020/12/05/reprozip_1.0.16-1_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with me
so that we can identify if something relevant changed in the meantime.
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the debian-science-maintainers
mailing list