D: [iurt_root_command] chroot Building target platforms: i686 Building for target i686 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.HJM6dF Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.M0IAlj + 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.3TZHrZ + 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 -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + 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 -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + 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 -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + 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 -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + 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 -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + 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 -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -I/usr/include/python3.13 -c src/debug.c -o build/temp.linux-i686-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 -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -I/usr/include/python3.13 -c src/python-zstd.c -o build/temp.linux-i686-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 -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -I/usr/include/python3.13 -c src/util.c -o build/temp.linux-i686-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 -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full build/temp.linux-i686-cpython-313/src/debug.o build/temp.linux-i686-cpython-313/src/python-zstd.o build/temp.linux-i686-cpython-313/src/util.o -L/usr/lib -lzstd -o build/lib.linux-i686-cpython-313/zstd.cpython-313-i386-linux-gnu.so /usr/bin/ld: build/temp.linux-i686-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+0x18): 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+0x2d): undefined reference to `PyModule_GetState' /usr/bin/ld: build/temp.linux-i686-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+0x78): undefined reference to `PyModule_GetState' /usr/bin/ld: build/temp.linux-i686-cpython-313/src/python-zstd.o: in function `Py_DECREF': /usr/include/python3.13/object.h:949:(.text+0xbd): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-i686-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+0xf5): undefined reference to `Py_BuildValue' /usr/bin/ld: build/temp.linux-i686-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+0x11d): undefined reference to `Py_BuildValue' /usr/bin/ld: build/temp.linux-i686-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+0x14d): undefined reference to `Py_BuildValue' /usr/bin/ld: build/temp.linux-i686-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+0x17d): undefined reference to `Py_BuildValue' /usr/bin/ld: build/temp.linux-i686-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+0x1ad): undefined reference to `Py_BuildValue' /usr/bin/ld: build/temp.linux-i686-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-i686-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+0x259): 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+0x27b): undefined reference to `Py_BuildValue' /usr/bin/ld: build/temp.linux-i686-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+0x2e4): undefined reference to `Py_BuildValue' /usr/bin/ld: build/temp.linux-i686-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+0x314): undefined reference to `Py_BuildValue' /usr/bin/ld: build/temp.linux-i686-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+0x344): undefined reference to `PyUnicode_FromFormat' /usr/bin/ld: build/temp.linux-i686-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+0x372): undefined reference to `PyUnicode_FromFormat' /usr/bin/ld: build/temp.linux-i686-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+0x3a2): undefined reference to `PyUnicode_FromFormat' /usr/bin/ld: build/temp.linux-i686-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+0x413): 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+0x53c): 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+0x593): 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+0x5ba): undefined reference to `PyEval_RestoreThread' /usr/bin/ld: build/temp.linux-i686-cpython-313/src/python-zstd.o: in function `Py_SET_SIZE': /usr/include/python3.13/object.h:433:(.text+0x5ed): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.13/object.h:434:(.text+0x5f9): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-i686-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:116:(.text+0x694): 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+0x75a): 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:93:(.text+0x79e): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-i686-cpython-313/src/python-zstd.o: in function `Py_DECREF': /usr/include/python3.13/object.h:949:(.text+0x7cf): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-i686-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+0x826): 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+0x870): undefined reference to `Py_BuildValue' /usr/bin/ld: build/temp.linux-i686-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+0x8cd): undefined reference to `Py_BuildValue' /usr/bin/ld: build/temp.linux-i686-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+0x8fd): undefined reference to `Py_BuildValue' /usr/bin/ld: build/temp.linux-i686-cpython-313/src/python-zstd.o: in function `py_zstd_is_debug_notice_enabled': /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:562:(.text+0x92d): undefined reference to `Py_BuildValue' /usr/bin/ld: build/temp.linux-i686-cpython-313/src/python-zstd.o: in function `py_zstd_is_debug_info_enabled': /home/iurt/rpmbuild/BUILD/python-zstd-1.5.7.3-build/zstd-1.5.7.3/src/python-zstd.c:573:(.text+0x95d): undefined reference to `Py_BuildValue' /usr/bin/ld: build/temp.linux-i686-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:584: more undefined references to `Py_BuildValue' follow /usr/bin/ld: build/temp.linux-i686-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+0xa0d): 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+0xae0): 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+0xaff): 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+0xb92): undefined reference to `PyEval_RestoreThread' /usr/bin/ld: build/temp.linux-i686-cpython-313/src/python-zstd.o: in function `Py_SET_SIZE': /usr/include/python3.13/object.h:433:(.text+0xbd0): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.13/object.h:434:(.text+0xbdc): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-i686-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:386:(.text+0xc0b): 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:381:(.text+0xcbb): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-i686-cpython-313/src/python-zstd.o: in function `Py_DECREF': /usr/include/python3.13/object.h:949:(.text+0xcf5): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-i686-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:319:(.text+0xd1a): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-i686-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+0xdbe): 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+0xdee): undefined reference to `PyModule_AddObject' /usr/bin/ld: build/temp.linux-i686-cpython-313/src/python-zstd.o: in function `Py_DECREF': /usr/include/python3.13/object.h:949:(.text+0xe29): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-i686-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+0xe88): undefined reference to `PyModule_GetState' /usr/bin/ld: build/temp.linux-i686-cpython-313/src/python-zstd.o: in function `Py_DECREF': /usr/include/python3.13/object.h:949:(.text+0xed5): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-i686-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+0xf6f): 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+0x1098): 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+0x10de): 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+0x1109): undefined reference to `PyEval_RestoreThread' /usr/bin/ld: build/temp.linux-i686-cpython-313/src/python-zstd.o: in function `Py_SET_SIZE': /usr/include/python3.13/object.h:433:(.text+0x1142): undefined reference to `PyLong_Type' /usr/bin/ld: /usr/include/python3.13/object.h:434:(.text+0x114e): undefined reference to `PyBool_Type' /usr/bin/ld: build/temp.linux-i686-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:246:(.text+0x11e4): 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+0x12ce): 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:223:(.text+0x1314): undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-i686-cpython-313/src/python-zstd.o: in function `Py_DECREF': /usr/include/python3.13/object.h:949:(.text+0x1345): undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-i686-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+0x138b): 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', '-fomit-frame-pointer', '-m32', '-march=i686', '-msse2', '-mtune=generic', '-mfpmath=sse', '-mstackrealign', '-fasynchronous-unwind-tables', '-fstack-clash-protection', '-fcf-protection=full', 'build/temp.linux-i686-cpython-313/src/debug.o', 'build/temp.linux-i686-cpython-313/src/python-zstd.o', 'build/temp.linux-i686-cpython-313/src/util.o', '-L/usr/lib', '-lzstd', '-o', 'build/lib.linux-i686-cpython-313/zstd.cpython-313-i386-linux-gnu.so']' returned non-zero exit status 1. error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.3TZHrZ (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.3TZHrZ (%build) I: [iurt_root_command] ERROR: chroot