D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/python-blist-1.3.6-4.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.xxbY5Z + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf blist-1.3.6 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/blist-1.3.6.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd blist-1.3.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/py3.7.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + rm -rf blist.egg-info + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.cPp66o + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd blist-1.3.6 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib.linux-aarch64-3.9 creating build/lib.linux-aarch64-3.9/blist copying blist/_sortedlist.py -> build/lib.linux-aarch64-3.9/blist copying blist/_sorteddict.py -> build/lib.linux-aarch64-3.9/blist copying blist/_btuple.py -> build/lib.linux-aarch64-3.9/blist copying blist/__init__.py -> build/lib.linux-aarch64-3.9/blist running build_ext building 'blist._blist' extension creating build/temp.linux-aarch64-3.9 creating build/temp.linux-aarch64-3.9/blist aarch64-mageia-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -DBLIST_FLOAT_RADIX_SORT=1 -I/usr/include/python3.9 -c blist/_blist.c -o build/temp.linux-aarch64-3.9/blist/_blist.o blist/_blist.c: In function 'unwrap_leaf_array': blist/_blist.c:4583:37: warning: implicit declaration of function '_PyObject_GC_IS_TRACKED' [-Wimplicit-function-declaration] 4583 | if (leafs_n > 1 && !_PyObject_GC_IS_TRACKED(leafs[i])) | ^~~~~~~~~~~~~~~~~~~~~~~ blist/_blist.c: In function 'sort_ulong': blist/_blist.c:5387:31: warning: comparison of integer expressions of different signedness: 'Py_ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 5387 | for (j = 0; j < NUM_PASSES; j++) { | ^ blist/_blist.c:5393:31: warning: comparison of integer expressions of different signedness: 'Py_ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 5393 | for (j = 0; j < NUM_PASSES; j++) { | ^ blist/_blist.c:5403:23: warning: comparison of integer expressions of different signedness: 'Py_ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 5403 | for (j = 0; j < NUM_PASSES; j++) { | ^ aarch64-mageia-linux-gnu-gcc -pthread -shared -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables build/temp.linux-aarch64-3.9/blist/_blist.o -L/usr/lib64 -lpython3.9 -o build/lib.linux-aarch64-3.9/blist/_blist.cpython-39-aarch64-linux-gnu.so /usr/bin/ld: build/temp.linux-aarch64-3.9/blist/_blist.o: in function `unwrap_leaf_array': /home/iurt/rpmbuild/BUILD/blist-1.3.6/blist/_blist.c:4583: undefined reference to `_PyObject_GC_IS_TRACKED' /usr/bin/ld: build/temp.linux-aarch64-3.9/blist/_blist.o: in function `py_blist_dealloc': /home/iurt/rpmbuild/BUILD/blist-1.3.6/blist/_blist.c:5786: undefined reference to `_PyObject_GC_IS_TRACKED' collect2: error: ld returned 1 exit status error: command '/usr/bin/aarch64-mageia-linux-gnu-gcc' failed with exit code 1 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.cPp66o (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.cPp66o (%build) I: [iurt_root_command] ERROR: chroot