DEBUG: Executing shell function do_compile
TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3-crc32c/2.2.post0-r0/crc32c-2.2.post0/setup.py:25: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
  import distutils.ccompiler
running bdist_wheel
running build
running build_ext
platform: x86_64, is_intel: 1, is_arm: 0
building 'crc32c' extension
creating build
creating build/temp.linux-x86_64-3.10
mips-yoe-linux-clang -target mips-yoe-linux -mabi=32 -mhard-float -march=mips32r2 -mbig-endian -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3-crc32c/2.2.post0-r0/recipe-sysroot -Wno-unused-result -Wsign-compare -DNDEBUG -g -O3 -Wall -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3/3.10.2-r0=/usr/src/debug/python3/3.10.2-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3/3.10.2-r0=/usr/src/debug/python3/3.10.2-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3-crc32c/2.2.post0-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3-crc32c/2.2.post0-r0/recipe-sysroot-native= -DHAVE_BROKEN_POSIX_SEMAPHORES -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3/3.10.2-r0=/usr/src/debug/python3/3.10.2-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3/3.10.2-r0=/usr/src/debug/python3/3.10.2-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3-crc32c/2.2.post0-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3-crc32c/2.2.post0-r0/recipe-sysroot-native= -DHAVE_BROKEN_POSIX_SEMAPHORES -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3-crc32c/2.2.post0-r0=/usr/src/debug/python3-crc32c/2.2.post0-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3-crc32c/2.2.post0-r0=/usr/src/debug/python3-crc32c/2.2.post0-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3-crc32c/2.2.post0-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3-crc32c/2.2.post0-r0/recipe-sysroot-native= -fPIC -DNDEBUG -DIS_INTEL -I. -ITOPDIR/build/tmp/work/mips32r2-yoe-linux/python3-crc32c/2.2.post0-r0/recipe-sysroot/usr/include/python3.10 -c _crc32c.c -o build/temp.linux-x86_64-3.10/_crc32c.o -O3 -msse4.2 -mpclmul
mips-yoe-linux-clang -target mips-yoe-linux -mabi=32 -mhard-float -march=mips32r2 -mbig-endian -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3-crc32c/2.2.post0-r0/recipe-sysroot -Wno-unused-result -Wsign-compare -DNDEBUG -g -O3 -Wall -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3/3.10.2-r0=/usr/src/debug/python3/3.10.2-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3/3.10.2-r0=/usr/src/debug/python3/3.10.2-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3-crc32c/2.2.post0-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3-crc32c/2.2.post0-r0/recipe-sysroot-native= -DHAVE_BROKEN_POSIX_SEMAPHORES -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3/3.10.2-r0=/usr/src/debug/python3/3.10.2-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3/3.10.2-r0=/usr/src/debug/python3/3.10.2-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3-crc32c/2.2.post0-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3-crc32c/2.2.post0-r0/recipe-sysroot-native= -DHAVE_BROKEN_POSIX_SEMAPHORES -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3-crc32c/2.2.post0-r0=/usr/src/debug/python3-crc32c/2.2.post0-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3-crc32c/2.2.post0-r0=/usr/src/debug/python3-crc32c/2.2.post0-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3-crc32c/2.2.post0-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3-crc32c/2.2.post0-r0/recipe-sysroot-native= -fPIC -DNDEBUG -DIS_INTEL -I. -ITOPDIR/build/tmp/work/mips32r2-yoe-linux/python3-crc32c/2.2.post0-r0/recipe-sysroot/usr/include/python3.10 -c checkarm.c -o build/temp.linux-x86_64-3.10/checkarm.o -O3 -msse4.2 -mpclmul
mips-yoe-linux-clang -target mips-yoe-linux -mabi=32 -mhard-float -march=mips32r2 -mbig-endian -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3-crc32c/2.2.post0-r0/recipe-sysroot -Wno-unused-result -Wsign-compare -DNDEBUG -g -O3 -Wall -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3/3.10.2-r0=/usr/src/debug/python3/3.10.2-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3/3.10.2-r0=/usr/src/debug/python3/3.10.2-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3-crc32c/2.2.post0-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3-crc32c/2.2.post0-r0/recipe-sysroot-native= -DHAVE_BROKEN_POSIX_SEMAPHORES -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3/3.10.2-r0=/usr/src/debug/python3/3.10.2-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3/3.10.2-r0=/usr/src/debug/python3/3.10.2-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3-crc32c/2.2.post0-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3-crc32c/2.2.post0-r0/recipe-sysroot-native= -DHAVE_BROKEN_POSIX_SEMAPHORES -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3-crc32c/2.2.post0-r0=/usr/src/debug/python3-crc32c/2.2.post0-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3-crc32c/2.2.post0-r0=/usr/src/debug/python3-crc32c/2.2.post0-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3-crc32c/2.2.post0-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3-crc32c/2.2.post0-r0/recipe-sysroot-native= -fPIC -DNDEBUG -DIS_INTEL -I. -ITOPDIR/build/tmp/work/mips32r2-yoe-linux/python3-crc32c/2.2.post0-r0/recipe-sysroot/usr/include/python3.10 -c checksse42.c -o build/temp.linux-x86_64-3.10/checksse42.o -O3 -msse4.2 -mpclmul
In file included from checksse42.c:39:
TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3-crc32c/2.2.post0-r0/recipe-sysroot-native/usr/lib/clang/14.0.0/include/cpuid.h:14:2: error: this header is for x86 only
#error this header is for x86 only
 ^
TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3-crc32c/2.2.post0-r0/recipe-sysroot-native/usr/lib/clang/14.0.0/include/cpuid.h:287:5: error: invalid output constraint '=a' in asm
    __cpuid(__leaf, __eax, __ebx, __ecx, __edx);
    ^
TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3-crc32c/2.2.post0-r0/recipe-sysroot-native/usr/lib/clang/14.0.0/include/cpuid.h:252:11: note: expanded from macro '__cpuid'
        : "=a"(__eax), "=r" (__ebx), "=c"(__ecx), "=d"(__edx) \
          ^
TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3-crc32c/2.2.post0-r0/recipe-sysroot-native/usr/lib/clang/14.0.0/include/cpuid.h:302:5: error: invalid output constraint '=a' in asm
    __cpuid(__leaf, *__eax, *__ebx, *__ecx, *__edx);
    ^
TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3-crc32c/2.2.post0-r0/recipe-sysroot-native/usr/lib/clang/14.0.0/include/cpuid.h:252:11: note: expanded from macro '__cpuid'
        : "=a"(__eax), "=r" (__ebx), "=c"(__ecx), "=d"(__edx) \
          ^
TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3-crc32c/2.2.post0-r0/recipe-sysroot-native/usr/lib/clang/14.0.0/include/cpuid.h:316:5: error: invalid output constraint '=a' in asm
    __cpuid_count(__leaf, __subleaf, *__eax, *__ebx, *__ecx, *__edx);
    ^
TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3-crc32c/2.2.post0-r0/recipe-sysroot-native/usr/lib/clang/14.0.0/include/cpuid.h:259:11: note: expanded from macro '__cpuid_count'
        : "=a"(__eax), "=r" (__ebx), "=c"(__ecx), "=d"(__edx) \
          ^
4 errors generated.
error: command 'TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3-crc32c/2.2.post0-r0/recipe-sysroot-native/usr/bin/mips-yoe-linux/mips-yoe-linux-clang' failed with exit code 1
ERROR: 'python3 setup.py bdist_wheel ' execution failed.
WARNING: TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3-crc32c/2.2.post0-r0/temp/run.do_compile.17813:178 exit 1 from 'exit 1'
WARNING: Backtrace (BB generated script): 
	#1: bbfatal_log, TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3-crc32c/2.2.post0-r0/temp/run.do_compile.17813, line 178
	#2: setuptools3_do_compile, TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3-crc32c/2.2.post0-r0/temp/run.do_compile.17813, line 168
	#3: do_compile, TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3-crc32c/2.2.post0-r0/temp/run.do_compile.17813, line 157
	#4: main, TOPDIR/build/tmp/work/mips32r2-yoe-linux/python3-crc32c/2.2.post0-r0/temp/run.do_compile.17813, line 182

Error details

Submitted on:
02/03/22 19:24
Error type:
Recipe
Task:
do_compile
Recipe:
python3-crc32c
Recipe version:
2.2.post0-r0
Machine:
qemumips
Distro:
yoe
Build system:
x86_64-linux
Target system:
mips-yoe-linux
Host distro:
ubuntu-18.04/ubuntu-18.04
Branch:
HEAD
Commit:
804784188746578ae04ff811ab62510417aab797
Build:
#142145
Submitter:
Similar errors:
0
Open a bug