D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/python-argon2-cffi-20.1.0-4.mga9.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.l45hxc + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf argon2-cffi-20.1.0 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/argon2-cffi-20.1.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd argon2-cffi-20.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf argon2-cffi.egg-info + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.nri1he + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd argon2-cffi-20.1.0 + '[' 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=sha1 -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-x86_64-cpython-310 creating build/lib.linux-x86_64-cpython-310/argon2 copying src/argon2/exceptions.py -> build/lib.linux-x86_64-cpython-310/argon2 copying src/argon2/_password_hasher.py -> build/lib.linux-x86_64-cpython-310/argon2 copying src/argon2/_utils.py -> build/lib.linux-x86_64-cpython-310/argon2 copying src/argon2/low_level.py -> build/lib.linux-x86_64-cpython-310/argon2 copying src/argon2/_legacy.py -> build/lib.linux-x86_64-cpython-310/argon2 copying src/argon2/__main__.py -> build/lib.linux-x86_64-cpython-310/argon2 copying src/argon2/__init__.py -> build/lib.linux-x86_64-cpython-310/argon2 copying src/argon2/_ffi_build.py -> build/lib.linux-x86_64-cpython-310/argon2 running build_clib building 'argon2' library creating build/temp.linux-x86_64-cpython-310 creating build/temp.linux-x86_64-cpython-310/extras creating build/temp.linux-x86_64-cpython-310/extras/libargon2 creating build/temp.linux-x86_64-cpython-310/extras/libargon2/src creating build/temp.linux-x86_64-cpython-310/extras/libargon2/src/blake2 gcc -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 -msse2 -Iextras/libargon2/src/../include -Iextras/libargon2/src/blake2 -c extras/libargon2/src/argon2.c -o build/temp.linux-x86_64-cpython-310/extras/libargon2/src/argon2.o gcc -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 -msse2 -Iextras/libargon2/src/../include -Iextras/libargon2/src/blake2 -c extras/libargon2/src/blake2/blake2b.c -o build/temp.linux-x86_64-cpython-310/extras/libargon2/src/blake2/blake2b.o gcc -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 -msse2 -Iextras/libargon2/src/../include -Iextras/libargon2/src/blake2 -c extras/libargon2/src/core.c -o build/temp.linux-x86_64-cpython-310/extras/libargon2/src/core.o gcc -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 -msse2 -Iextras/libargon2/src/../include -Iextras/libargon2/src/blake2 -c extras/libargon2/src/encoding.c -o build/temp.linux-x86_64-cpython-310/extras/libargon2/src/encoding.o gcc -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 -msse2 -Iextras/libargon2/src/../include -Iextras/libargon2/src/blake2 -c extras/libargon2/src/opt.c -o build/temp.linux-x86_64-cpython-310/extras/libargon2/src/opt.o gcc -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 -msse2 -Iextras/libargon2/src/../include -Iextras/libargon2/src/blake2 -c extras/libargon2/src/thread.c -o build/temp.linux-x86_64-cpython-310/extras/libargon2/src/thread.o ar rcs build/temp.linux-x86_64-cpython-310/libargon2.a build/temp.linux-x86_64-cpython-310/extras/libargon2/src/argon2.o build/temp.linux-x86_64-cpython-310/extras/libargon2/src/blake2/blake2b.o build/temp.linux-x86_64-cpython-310/extras/libargon2/src/core.o build/temp.linux-x86_64-cpython-310/extras/libargon2/src/encoding.o build/temp.linux-x86_64-cpython-310/extras/libargon2/src/opt.o build/temp.linux-x86_64-cpython-310/extras/libargon2/src/thread.o running build_ext generating cffi module 'build/temp.linux-x86_64-cpython-310/_ffi.c' building '_ffi' extension creating build/temp.linux-x86_64-cpython-310/build creating build/temp.linux-x86_64-cpython-310/build/temp.linux-x86_64-cpython-310 gcc -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 -Iextras/libargon2/include -I/usr/include/python3.10 -c build/temp.linux-x86_64-cpython-310/_ffi.c -o build/temp.linux-x86_64-cpython-310/build/temp.linux-x86_64-cpython-310/_ffi.o gcc -shared -Wl,--as-needed -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=sha1 -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-x86_64-cpython-310/build/temp.linux-x86_64-cpython-310/_ffi.o -L/usr/lib64 -Lbuild/temp.linux-x86_64-cpython-310 -largon2 -largon2 -o build/lib.linux-x86_64-cpython-310/argon2/_ffi.abi3.so /usr/bin/ld: build/temp.linux-x86_64-cpython-310/build/temp.linux-x86_64-cpython-310/_ffi.o: in function `_cffi_convert_array_argument': /home/pterjan/rpmbuild/BUILD/argon2-cffi-20.1.0/build/temp.linux-x86_64-cpython-310/_ffi.c:508: undefined reference to `PyObject_Malloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/build/temp.linux-x86_64-cpython-310/_ffi.o: in function `_cffi_f_argon2_verify': /home/pterjan/rpmbuild/BUILD/argon2-cffi-20.1.0/build/temp.linux-x86_64-cpython-310/_ffi.c:1211: undefined reference to `PyArg_UnpackTuple' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/argon2-cffi-20.1.0/build/temp.linux-x86_64-cpython-310/_ffi.c:1239: undefined reference to `PyEval_SaveThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/argon2-cffi-20.1.0/build/temp.linux-x86_64-cpython-310/_ffi.c:1243: undefined reference to `PyEval_RestoreThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/argon2-cffi-20.1.0/build/temp.linux-x86_64-cpython-310/_ffi.c:1246: undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/build/temp.linux-x86_64-cpython-310/_ffi.o: in function `_cffi_free_array_arguments': /home/pterjan/rpmbuild/BUILD/argon2-cffi-20.1.0/build/temp.linux-x86_64-cpython-310/_ffi.c:526: undefined reference to `PyObject_Free' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/build/temp.linux-x86_64-cpython-310/_ffi.o: in function `_cffi_f_argon2_verify': /home/pterjan/rpmbuild/BUILD/argon2-cffi-20.1.0/build/temp.linux-x86_64-cpython-310/_ffi.c:1233: undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/build/temp.linux-x86_64-cpython-310/_ffi.o: in function `_cffi_f_argon2_hash': /home/pterjan/rpmbuild/BUILD/argon2-cffi-20.1.0/build/temp.linux-x86_64-cpython-310/_ffi.c:1101: undefined reference to `PyArg_UnpackTuple' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/argon2-cffi-20.1.0/build/temp.linux-x86_64-cpython-310/_ffi.c:1175: undefined reference to `PyEval_SaveThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/argon2-cffi-20.1.0/build/temp.linux-x86_64-cpython-310/_ffi.c:1179: undefined reference to `PyEval_RestoreThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/argon2-cffi-20.1.0/build/temp.linux-x86_64-cpython-310/_ffi.c:1182: undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/build/temp.linux-x86_64-cpython-310/_ffi.o: in function `_cffi_free_array_arguments': /home/pterjan/rpmbuild/BUILD/argon2-cffi-20.1.0/build/temp.linux-x86_64-cpython-310/_ffi.c:526: undefined reference to `PyObject_Free' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/build/temp.linux-x86_64-cpython-310/_ffi.o: in function `_cffi_f_argon2_hash': /home/pterjan/rpmbuild/BUILD/argon2-cffi-20.1.0/build/temp.linux-x86_64-cpython-310/_ffi.c:1105: undefined reference to `PyErr_Occurred' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/argon2-cffi-20.1.0/build/temp.linux-x86_64-cpython-310/_ffi.c:1139: undefined reference to `PyErr_Occurred' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/argon2-cffi-20.1.0/build/temp.linux-x86_64-cpython-310/_ffi.c:1109: undefined reference to `PyErr_Occurred' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/argon2-cffi-20.1.0/build/temp.linux-x86_64-cpython-310/_ffi.c:1113: undefined reference to `PyErr_Occurred' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/argon2-cffi-20.1.0/build/temp.linux-x86_64-cpython-310/_ffi.c:1126: undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/build/temp.linux-x86_64-cpython-310/_ffi.o:/home/pterjan/rpmbuild/BUILD/argon2-cffi-20.1.0/build/temp.linux-x86_64-cpython-310/_ffi.c:1172: more undefined references to `PyErr_Occurred' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/build/temp.linux-x86_64-cpython-310/_ffi.o: in function `_cffi_f_argon2_error_message': /home/pterjan/rpmbuild/BUILD/argon2-cffi-20.1.0/build/temp.linux-x86_64-cpython-310/_ffi.c:1048: undefined reference to `PyEval_SaveThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/argon2-cffi-20.1.0/build/temp.linux-x86_64-cpython-310/_ffi.c:1052: undefined reference to `PyEval_RestoreThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/argon2-cffi-20.1.0/build/temp.linux-x86_64-cpython-310/_ffi.c:1045: undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/build/temp.linux-x86_64-cpython-310/_ffi.o: in function `_cffi_f_argon2_encodedlen': /home/pterjan/rpmbuild/BUILD/argon2-cffi-20.1.0/build/temp.linux-x86_64-cpython-310/_ffi.c:992: undefined reference to `PyArg_UnpackTuple' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/argon2-cffi-20.1.0/build/temp.linux-x86_64-cpython-310/_ffi.c:1018: undefined reference to `PyEval_SaveThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/argon2-cffi-20.1.0/build/temp.linux-x86_64-cpython-310/_ffi.c:1022: undefined reference to `PyEval_RestoreThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/argon2-cffi-20.1.0/build/temp.linux-x86_64-cpython-310/_ffi.c:1025: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/argon2-cffi-20.1.0/build/temp.linux-x86_64-cpython-310/_ffi.c:996: undefined reference to `PyErr_Occurred' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/argon2-cffi-20.1.0/build/temp.linux-x86_64-cpython-310/_ffi.c:1000: undefined reference to `PyErr_Occurred' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/argon2-cffi-20.1.0/build/temp.linux-x86_64-cpython-310/_ffi.c:1004: undefined reference to `PyErr_Occurred' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/argon2-cffi-20.1.0/build/temp.linux-x86_64-cpython-310/_ffi.c:1008: undefined reference to `PyErr_Occurred' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/argon2-cffi-20.1.0/build/temp.linux-x86_64-cpython-310/_ffi.c:1012: undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/build/temp.linux-x86_64-cpython-310/_ffi.o: in function `_cffi_f_argon2_ctx': /home/pterjan/rpmbuild/BUILD/argon2-cffi-20.1.0/build/temp.linux-x86_64-cpython-310/_ffi.c:939: undefined reference to `PyArg_UnpackTuple' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/argon2-cffi-20.1.0/build/temp.linux-x86_64-cpython-310/_ffi.c:954: undefined reference to `PyEval_SaveThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/argon2-cffi-20.1.0/build/temp.linux-x86_64-cpython-310/_ffi.c:958: undefined reference to `PyEval_RestoreThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/argon2-cffi-20.1.0/build/temp.linux-x86_64-cpython-310/_ffi.c:961: undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/build/temp.linux-x86_64-cpython-310/_ffi.o: in function `_cffi_free_array_arguments': /home/pterjan/rpmbuild/BUILD/argon2-cffi-20.1.0/build/temp.linux-x86_64-cpython-310/_ffi.c:526: undefined reference to `PyObject_Free' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/build/temp.linux-x86_64-cpython-310/_ffi.o: in function `_cffi_init': /home/pterjan/rpmbuild/BUILD/argon2-cffi-20.1.0/build/temp.linux-x86_64-cpython-310/_ffi.c:422: undefined reference to `PyImport_ImportModule' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/argon2-cffi-20.1.0/build/temp.linux-x86_64-cpython-310/_ffi.c:426: undefined reference to `PyLong_FromVoidPtr' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/argon2-cffi-20.1.0/build/temp.linux-x86_64-cpython-310/_ffi.c:430: undefined reference to `PyObject_CallMethod' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/build/temp.linux-x86_64-cpython-310/_ffi.o: in function `_Py_DECREF': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' collect2: error: ld returned 1 exit status error: command '/usr/bin/gcc' failed with exit code 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.nri1he (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.nri1he (%build) I: [iurt_root_command] ERROR: chroot