D: [iurt_root_command] chroot Building target platforms: armv7hl Building for target armv7hl Installing /home/iurt/rpmbuild/SRPMS/@2396646:python-zstd-1.5.7.3-2.mga11.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.07un4a Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.DYSOP0 + umask 022 + cd /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build + rm -rf zstd-1.5.7.3 + /usr/lib/rpm/rpmuncompress -x /home/iurt/rpmbuild/SOURCES/zstd-1.5.7.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd zstd-1.5.7.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/iurt/rpmbuild/SOURCES/python-zstd-1.4.5.1-test-external.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm -rf zstd.egg-info + rm -rf zstd/ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.AVGESF + umask 022 + cd /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd zstd-1.5.7.3 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard' + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' --legacy --external /usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py:318: UserWarning: Unknown distribution option: 'test_suite' warnings.warn(msg) use existing ./version file running build running build_ext building 'zstd' extension gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -fPIC -I/usr/include/python3.13 -c src/debug.c -o build/temp.linux-armv8l-cpython-313/src/debug.o -O3 -DMOD_VERSION=1.5.7.3 -DDYNAMIC_BMI2=0 -DZSTD_DISABLE_ASM=1 -DLIBZSTD_EXTERNAL=1 -fno-lto -Wl,-s -DZSTD_TRACE=0 -std=c99 -fvisibility=default gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -fPIC -I/usr/include/python3.13 -c src/python-zstd.c -o build/temp.linux-armv8l-cpython-313/src/python-zstd.o -O3 -DMOD_VERSION=1.5.7.3 -DDYNAMIC_BMI2=0 -DZSTD_DISABLE_ASM=1 -DLIBZSTD_EXTERNAL=1 -fno-lto -Wl,-s -DZSTD_TRACE=0 -std=c99 -fvisibility=default gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -fPIC -I/usr/include/python3.13 -c src/util.c -o build/temp.linux-armv8l-cpython-313/src/util.o -O3 -DMOD_VERSION=1.5.7.3 -DDYNAMIC_BMI2=0 -DZSTD_DISABLE_ASM=1 -DLIBZSTD_EXTERNAL=1 -fno-lto -Wl,-s -DZSTD_TRACE=0 -std=c99 -fvisibility=default gcc -shared -Wl,--as-needed -Wl,--no-undefined -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard build/temp.linux-armv8l-cpython-313/src/debug.o build/temp.linux-armv8l-cpython-313/src/python-zstd.o build/temp.linux-armv8l-cpython-313/src/util.o -L/usr/lib -lzstd -o build/lib.linux-armv8l-cpython-313/zstd.cpython-313-arm-linux-gnueabihf.so /usr/bin/ld: build/temp.linux-armv8l-cpython-313/src/python-zstd.o: in function `myextension_traverse': /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:752:(.text+0x10): undefined reference to `PyModule_GetState' /usr/bin/ld: /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:752:(.text+0x24): undefined reference to `PyModule_GetState' /usr/bin/ld: build/temp.linux-armv8l-cpython-313/src/python-zstd.o: in function `myextension_clear': /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:758:(.text+0x5c): undefined reference to `PyModule_GetState' /usr/bin/ld: build/temp.linux-armv8l-cpython-313/src/python-zstd.o: in function `Py_DECREF': /usr/include/python3.13/object.h:949:(.text+0xac): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-armv8l-cpython-313/src/python-zstd.o: in function `py_zstd_stop_cpu_cores_cache': /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:629:(.text+0xd0): undefined reference to `Py_BuildValue' /usr/bin/ld: build/temp.linux-armv8l-cpython-313/src/python-zstd.o: in function `py_zstd_with_asm': /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:545:(.text+0xe4): undefined reference to `Py_BuildValue' /usr/bin/ld: build/temp.linux-armv8l-cpython-313/src/python-zstd.o: in function `py_zstd_library_external': /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:521:(.text+0xf8): undefined reference to `Py_BuildValue' /usr/bin/ld: build/temp.linux-armv8l-cpython-313/src/python-zstd.o: in function `py_zstd_min_compression_level': /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:652:(.text+0x10c): undefined reference to `Py_BuildValue' /usr/bin/ld: build/temp.linux-armv8l-cpython-313/src/python-zstd.o: in function `py_zstd_max_threads_count': /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:640:(.text+0x120): undefined reference to `Py_BuildValue' /usr/bin/ld: build/temp.linux-armv8l-cpython-313/src/python-zstd.o:/home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:600: more undefined references to `Py_BuildValue' follow /usr/bin/ld: build/temp.linux-armv8l-cpython-313/src/python-zstd.o: in function `py_zstd_set_cpu_cores_cache_ttl': /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:611:(.text+0x198): undefined reference to `PyArg_ParseTuple' /usr/bin/ld: /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:620:(.text+0x1c8): undefined reference to `Py_BuildValue' /usr/bin/ld: build/temp.linux-armv8l-cpython-313/src/python-zstd.o: in function `py_zstd_default_compression_level': /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:663:(.text+0x228): undefined reference to `Py_BuildValue' /usr/bin/ld: build/temp.linux-armv8l-cpython-313/src/python-zstd.o: in function `py_zstd_max_compression_level': /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:674:(.text+0x248): undefined reference to `Py_BuildValue' /usr/bin/ld: build/temp.linux-armv8l-cpython-313/src/python-zstd.o: in function `py_zstd_library_version_loaded': /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:485:(.text+0x268): undefined reference to `PyUnicode_FromFormat' /usr/bin/ld: build/temp.linux-armv8l-cpython-313/src/python-zstd.o: in function `py_zstd_library_version_compiled': /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:470:(.text+0x280): undefined reference to `PyUnicode_FromFormat' /usr/bin/ld: build/temp.linux-armv8l-cpython-313/src/python-zstd.o: in function `py_zstd_module_version': /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:455:(.text+0x29c): undefined reference to `PyUnicode_FromFormat' /usr/bin/ld: build/temp.linux-armv8l-cpython-313/src/python-zstd.o: in function `py_zstd_compress_mt': /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:77:(.text+0x30c): undefined reference to `PyArg_ParseTuple' /usr/bin/ld: /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:133:(.text+0x440): undefined reference to `PyBytes_FromStringAndSize' /usr/bin/ld: /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:145:(.text+0x48c): undefined reference to `PyEval_SaveThread' /usr/bin/ld: /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:147:(.text+0x4bc): undefined reference to `PyEval_RestoreThread' /usr/bin/ld: /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:104:(.text+0x568): undefined reference to `PyErr_Format' /usr/bin/ld: /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:116:(.text+0x5bc): undefined reference to `PyErr_Format' /usr/bin/ld: /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:154:(.text+0x620): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-armv8l-cpython-313/src/python-zstd.o: in function `Py_DECREF': /usr/include/python3.13/object.h:949:(.text+0x640): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-armv8l-cpython-313/src/python-zstd.o: in function `py_zstd_compress_mt': /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:93:(.text+0x664): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-armv8l-cpython-313/src/python-zstd.o: in function `PyBytes_AS_STRING': /usr/include/python3.13/object.h:434:(.text+0x6d4): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.13/object.h:434:(.text+0x6d8): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-armv8l-cpython-313/src/python-zstd.o: in function `py_zstd_check': /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:426:(.text+0x750): undefined reference to `PyArg_ParseTuple' /usr/bin/ld: /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:443:(.text+0x788): undefined reference to `Py_BuildValue' /usr/bin/ld: /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:440:(.text+0x7c4): undefined reference to `Py_BuildValue' /usr/bin/ld: /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:436:(.text+0x7d8): undefined reference to `Py_BuildValue' /usr/bin/ld: build/temp.linux-armv8l-cpython-313/src/python-zstd.o: in function `py_zstd_with_threads': /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:528:(.text+0x80c): undefined reference to `Py_BuildValue' /usr/bin/ld: build/temp.linux-armv8l-cpython-313/src/python-zstd.o: in function `py_zstd_is_debug_enabled': /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:551:(.text+0x820): undefined reference to `Py_BuildValue' /usr/bin/ld: build/temp.linux-armv8l-cpython-313/src/python-zstd.o:/home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:562: more undefined references to `Py_BuildValue' follow /usr/bin/ld: build/temp.linux-armv8l-cpython-313/src/python-zstd.o: in function `py_zstd_uncompress': /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:310:(.text+0x8b0): undefined reference to `PyArg_ParseTuple' /usr/bin/ld: /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:343:(.text+0x96c): undefined reference to `PyBytes_FromStringAndSize' /usr/bin/ld: /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:348:(.text+0x988): undefined reference to `PyEval_SaveThread' /usr/bin/ld: /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:373:(.text+0xa00): undefined reference to `PyEval_RestoreThread' /usr/bin/ld: /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:386:(.text+0xa3c): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-armv8l-cpython-313/src/python-zstd.o: in function `Py_DECREF': /usr/include/python3.13/object.h:949:(.text+0xa5c): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-armv8l-cpython-313/src/python-zstd.o: in function `py_zstd_uncompress': /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:381:(.text+0xb18): undefined reference to `PyErr_Format' /usr/bin/ld: /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:319:(.text+0xb48): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-armv8l-cpython-313/src/python-zstd.o: in function `Py_SET_SIZE': /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:408:(.text+0xb78): undefined reference to `PyLong_Type' /usr/bin/ld: /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:408:(.text+0xb7c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-armv8l-cpython-313/src/python-zstd.o: in function `init_py_zstd': /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:730:(.text+0xc04): undefined reference to `PyErr_NewException' /usr/bin/ld: /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:736:(.text+0xc38): undefined reference to `PyModule_AddObject' /usr/bin/ld: build/temp.linux-armv8l-cpython-313/src/python-zstd.o: in function `Py_DECREF': /usr/include/python3.13/object.h:949:(.text+0xc80): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-armv8l-cpython-313/src/python-zstd.o: in function `myextension_free': /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:764:(.text+0xcac): undefined reference to `PyModule_GetState' /usr/bin/ld: build/temp.linux-armv8l-cpython-313/src/python-zstd.o: in function `Py_DECREF': /usr/include/python3.13/object.h:949:(.text+0xcfc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-armv8l-cpython-313/src/python-zstd.o: in function `py_zstd_compress_mt2': /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:207:(.text+0xd94): undefined reference to `PyArg_ParseTuple' /usr/bin/ld: /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:263:(.text+0xec8): undefined reference to `PyBytes_FromStringAndSize' /usr/bin/ld: /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:275:(.text+0xf0c): undefined reference to `PyEval_SaveThread' /usr/bin/ld: /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:277:(.text+0xf50): undefined reference to `PyEval_RestoreThread' /usr/bin/ld: /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:234:(.text+0xffc): undefined reference to `PyErr_Format' /usr/bin/ld: /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:246:(.text+0x105c): undefined reference to `PyErr_Format' /usr/bin/ld: /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:283:(.text+0x10bc): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-armv8l-cpython-313/src/python-zstd.o: in function `Py_DECREF': /usr/include/python3.13/object.h:949:(.text+0x10dc): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-armv8l-cpython-313/src/python-zstd.o: in function `py_zstd_compress_mt2': /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:223:(.text+0x1100): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-armv8l-cpython-313/src/python-zstd.o: in function `PyBytes_AS_STRING': /usr/include/python3.13/object.h:434:(.text+0x1178): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.13/object.h:434:(.text+0x117c): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-armv8l-cpython-313/src/python-zstd.o: in function `PyInit_zstd': /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:812:(.text+0x11c0): undefined reference to `PyModuleDef_Init' collect2: error: ld returned 1 exit status error: Command '['gcc', '-shared', '-Wl,--as-needed', '-Wl,--no-undefined', '-Wl,--no-copy-dt-needed-entries', '-Wl,-z,relro', '-Wl,-z,now', '-Wl,-O1', '-Wl,--build-id=sha1', '-Wl,--enable-new-dtags', '-specs=/usr/lib/rpm/redhat/redhat-hardened-ld', '-O2', '-g', '-pipe', '-Wformat', '-Werror=format-security', '-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3', '-Wp,-D_GLIBCXX_ASSERTIONS', '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1', '-fstack-protector-strong', '-march=armv7-a', '-mfpu=vfpv3-d16', '-mtune=generic-armv7-a', '-mabi=aapcs-linux', '-mfloat-abi=hard', 'build/temp.linux-armv8l-cpython-313/src/debug.o', 'build/temp.linux-armv8l-cpython-313/src/python-zstd.o', 'build/temp.linux-armv8l-cpython-313/src/util.o', '-L/usr/lib', '-lzstd', '-o', 'build/lib.linux-armv8l-cpython-313/zstd.cpython-313-arm-linux-gnueabihf.so']' returned non-zero exit status 1. error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.AVGESF (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.AVGESF (%build) I: [iurt_root_command] ERROR: chroot