Source: python-crc32c
Version: 2.1-1
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/fetch.php?pkg=python-crc32c&arch=arm64&ver=2.1-1&stamp=1601652233&raw=0

...
   dh_auto_build -a -O--buildsystem=pybuild -O--test-pytest
I: pybuild base:217: /usr/bin/python3 setup.py build
running build
running build_ext
platform: aarch64, is_intel: 0, is_arm: 1
building 'crc32c' extension
creating build
creating build/temp.linux-arm64-3.8
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 -DNDEBUG -DIS_ARM -I. -I/usr/include/python3.8 -c 
_crc32c.c -o build/temp.linux-arm64-3.8/_crc32c.o -O3 -march=armv8-a+crc+crypto
_crc32c.c: In function ‘PyInit_crc32c’:
_crc32c.c:150:11: warning: implicit declaration of function 
‘_crc32c_arm64_probe’; did you mean ‘_crc32c_intel_probe’? 
[-Wimplicit-function-declaration]
  150 |  else if (_crc32c_arm64_probe()) {
      |           ^~~~~~~~~~~~~~~~~~~
      |           _crc32c_intel_probe
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 -DNDEBUG -DIS_ARM -I. -I/usr/include/python3.8 -c 
checkarm.c -o build/temp.linux-arm64-3.8/checkarm.o -O3 
-march=armv8-a+crc+crypto
In file included from /usr/include/aarch64-linux-gnu/sys/auxv.h:25,
                 from checkarm.c:27:
checkarm.c: In function ‘_crc32c_arm64_probe’:
checkarm.c:32:22: error: expected identifier or ‘(’ before numeric constant
   32 |  const unsigned long HWCAP_CRC32 = 1 << 7;
      |                      ^~~~~~~~~~~
error: command 'aarch64-linux-gnu-gcc' failed with exit status 1
E: pybuild pybuild:352: 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 returned exit 
code 13

Reply via email to