D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/python-zope.hookable-5.0.1-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.XaU2Ns + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf zope.hookable-5.0.1 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/zope.hookable-5.0.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd zope.hookable-5.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ZEfSlb + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd zope.hookable-5.0.1 + '[' 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' /usr/lib/python3.10/site-packages/setuptools/dist.py:287: SetuptoolsDeprecationWarning: The namespace_packages parameter is deprecated, consider using implicit namespaces instead (PEP 420). warnings.warn(msg, SetuptoolsDeprecationWarning) running build running build_py creating build creating build/lib.linux-x86_64-cpython-310 creating build/lib.linux-x86_64-cpython-310/zope copying src/zope/__init__.py -> build/lib.linux-x86_64-cpython-310/zope creating build/lib.linux-x86_64-cpython-310/zope/hookable copying src/zope/hookable/__init__.py -> build/lib.linux-x86_64-cpython-310/zope/hookable creating build/lib.linux-x86_64-cpython-310/zope/hookable/tests copying src/zope/hookable/tests/test_hookable.py -> build/lib.linux-x86_64-cpython-310/zope/hookable/tests copying src/zope/hookable/tests/__init__.py -> build/lib.linux-x86_64-cpython-310/zope/hookable/tests running egg_info writing src/zope.hookable.egg-info/PKG-INFO writing dependency_links to src/zope.hookable.egg-info/dependency_links.txt writing namespace_packages to src/zope.hookable.egg-info/namespace_packages.txt writing requirements to src/zope.hookable.egg-info/requires.txt writing top-level names to src/zope.hookable.egg-info/top_level.txt reading manifest file 'src/zope.hookable.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.pyc' found anywhere in distribution adding license file 'LICENSE.txt' writing manifest file 'src/zope.hookable.egg-info/SOURCES.txt' copying src/zope/hookable/_zope_hookable.c -> build/lib.linux-x86_64-cpython-310/zope/hookable running build_ext building 'zope.hookable._zope_hookable' extension creating build/temp.linux-x86_64-cpython-310 creating build/temp.linux-x86_64-cpython-310/src creating build/temp.linux-x86_64-cpython-310/src/zope creating build/temp.linux-x86_64-cpython-310/src/zope/hookable 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 -I/usr/include/python3.10 -c src/zope/hookable/_zope_hookable.c -o build/temp.linux-x86_64-cpython-310/src/zope/hookable/_zope_hookable.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/src/zope/hookable/_zope_hookable.o -L/usr/lib64 -o build/lib.linux-x86_64-cpython-310/zope/hookable/_zope_hookable.cpython-310-x86_64-linux-gnu.so /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/zope/hookable/_zope_hookable.o: in function `hookable_getattro': /home/pterjan/rpmbuild/BUILD/zope.hookable-5.0.1/src/zope/hookable/_zope_hookable.c:141: undefined reference to `PyUnicode_AsUTF8' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/zope.hookable-5.0.1/src/zope/hookable/_zope_hookable.c:165: undefined reference to `PyObject_GetAttr' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/zope.hookable-5.0.1/src/zope/hookable/_zope_hookable.c:167: undefined reference to `PyErr_Clear' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/zope.hookable-5.0.1/src/zope/hookable/_zope_hookable.c:157: undefined reference to `PyObject_GetAttr' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/zope.hookable-5.0.1/src/zope/hookable/_zope_hookable.c:159: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/zope/hookable/_zope_hookable.o: in function `_Py_INCREF': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/zope/hookable/_zope_hookable.o: in function `hookable_call': /home/pterjan/rpmbuild/BUILD/zope.hookable-5.0.1/src/zope/hookable/_zope_hookable.c:126: undefined reference to `PyExc_TypeError' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/zope.hookable-5.0.1/src/zope/hookable/_zope_hookable.c:126: undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/zope/hookable/_zope_hookable.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: build/temp.linux-x86_64-cpython-310/src/zope/hookable/_zope_hookable.o: in function `_Py_INCREF': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/zope/hookable/_zope_hookable.o: in function `_Py_DECREF': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/zope/hookable/_zope_hookable.o: in function `hookable_dealloc': /home/pterjan/rpmbuild/BUILD/zope.hookable-5.0.1/src/zope/hookable/_zope_hookable.c:78: undefined reference to `PyObject_GC_UnTrack' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/zope/hookable/_zope_hookable.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: build/temp.linux-x86_64-cpython-310/src/zope/hookable/_zope_hookable.o: in function `hookable_init': /home/pterjan/rpmbuild/BUILD/zope.hookable-5.0.1/src/zope/hookable/_zope_hookable.c:36: undefined reference to `PyArg_ParseTupleAndKeywords' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/zope/hookable/_zope_hookable.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: build/temp.linux-x86_64-cpython-310/src/zope/hookable/_zope_hookable.o: in function `PyInit__zope_hookable': /home/pterjan/rpmbuild/BUILD/zope.hookable-5.0.1/src/zope/hookable/_zope_hookable.c:255: undefined reference to `PyType_GenericNew' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/zope.hookable-5.0.1/src/zope/hookable/_zope_hookable.c:255: undefined reference to `PyObject_GC_Del' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/zope.hookable-5.0.1/src/zope/hookable/_zope_hookable.c:258: undefined reference to `PyModule_Create2' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/zope.hookable-5.0.1/src/zope/hookable/_zope_hookable.c:268: undefined reference to `PyType_Ready' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/zope.hookable-5.0.1/src/zope/hookable/_zope_hookable.c:271: undefined reference to `PyModule_AddObject' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/zope/hookable/_zope_hookable.o: in function `hookable_getattro': /home/pterjan/rpmbuild/BUILD/zope.hookable-5.0.1/src/zope/hookable/_zope_hookable.c:174: undefined reference to `PyObject_GenericGetAttr' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/zope.hookable-5.0.1/src/zope/hookable/_zope_hookable.c:168: undefined reference to `PyDict_New' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/zope.hookable-5.0.1/src/zope/hookable/_zope_hookable.c:153: undefined reference to `PyObject_GetAttr' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/zope.hookable-5.0.1/src/zope/hookable/_zope_hookable.c:160: undefined reference to `PyTuple_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/zope/hookable/_zope_hookable.o: in function `hookable_call': /home/pterjan/rpmbuild/BUILD/zope.hookable-5.0.1/src/zope/hookable/_zope_hookable.c:125: undefined reference to `PyObject_Call' collect2: error: ld returned 1 exit status ******************************************************************************** WARNING: An optional code optimization (C extension) could not be compiled. Optimizations for this package will not be available! command '/usr/bin/gcc' failed with exit code 1 ******************************************************************************** + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.eop2ba + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/python-zope.hookable-5.0.1-4.mga9.x86_64 '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/python-zope.hookable-5.0.1-4.mga9.x86_64 ++ dirname /home/pterjan/rpmbuild/BUILDROOT/python-zope.hookable-5.0.1-4.mga9.x86_64 + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/python-zope.hookable-5.0.1-4.mga9.x86_64 + cd zope.hookable-5.0.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 install -O1 --skip-build --root /home/pterjan/rpmbuild/BUILDROOT/python-zope.hookable-5.0.1-4.mga9.x86_64 /usr/lib/python3.10/site-packages/setuptools/dist.py:287: SetuptoolsDeprecationWarning: The namespace_packages parameter is deprecated, consider using implicit namespaces instead (PEP 420). warnings.warn(msg, SetuptoolsDeprecationWarning) running install /usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib Skipping installation of /home/pterjan/rpmbuild/BUILDROOT/python-zope.hookable-5.0.1-4.mga9.x86_64/usr/lib64/python3.10/site-packages/zope/__init__.py (namespace package) copying zope/hookable/__init__.py -> /home/pterjan/rpmbuild/BUILDROOT/python-zope.hookable-5.0.1-4.mga9.x86_64/usr/lib64/python3.10/site-packages/zope/hookable copying zope/hookable/_zope_hookable.c -> /home/pterjan/rpmbuild/BUILDROOT/python-zope.hookable-5.0.1-4.mga9.x86_64/usr/lib64/python3.10/site-packages/zope/hookable copying zope/hookable/tests/test_hookable.py -> /home/pterjan/rpmbuild/BUILDROOT/python-zope.hookable-5.0.1-4.mga9.x86_64/usr/lib64/python3.10/site-packages/zope/hookable/tests copying zope/hookable/tests/__init__.py -> /home/pterjan/rpmbuild/BUILDROOT/python-zope.hookable-5.0.1-4.mga9.x86_64/usr/lib64/python3.10/site-packages/zope/hookable/tests byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-zope.hookable-5.0.1-4.mga9.x86_64/usr/lib64/python3.10/site-packages/zope/hookable/__init__.py to __init__.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-zope.hookable-5.0.1-4.mga9.x86_64/usr/lib64/python3.10/site-packages/zope/hookable/tests/test_hookable.py to test_hookable.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-zope.hookable-5.0.1-4.mga9.x86_64/usr/lib64/python3.10/site-packages/zope/hookable/tests/__init__.py to __init__.cpython-310.pyc writing byte-compilation script '/tmp/tmpsk391jwr.py' /usr/bin/python3 /tmp/tmpsk391jwr.py removing /tmp/tmpsk391jwr.py running install_egg_info running egg_info writing src/zope.hookable.egg-info/PKG-INFO writing dependency_links to src/zope.hookable.egg-info/dependency_links.txt writing namespace_packages to src/zope.hookable.egg-info/namespace_packages.txt writing requirements to src/zope.hookable.egg-info/requires.txt writing top-level names to src/zope.hookable.egg-info/top_level.txt reading manifest file 'src/zope.hookable.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.pyc' found anywhere in distribution adding license file 'LICENSE.txt' writing manifest file 'src/zope.hookable.egg-info/SOURCES.txt' Copying src/zope.hookable.egg-info to /home/pterjan/rpmbuild/BUILDROOT/python-zope.hookable-5.0.1-4.mga9.x86_64/usr/lib64/python3.10/site-packages/zope.hookable-5.0.1-py3.10.egg-info Installing /home/pterjan/rpmbuild/BUILDROOT/python-zope.hookable-5.0.1-4.mga9.x86_64/usr/lib64/python3.10/site-packages/zope.hookable-5.0.1-py3.10-nspkg.pth running install_scripts + rm -rfv /home/pterjan/rpmbuild/BUILDROOT/python-zope.hookable-5.0.1-4.mga9.x86_64/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 5.0.1-4.mga9 --unique-debug-suffix -5.0.1-4.mga9.x86_64 --unique-debug-src-base python-zope.hookable-5.0.1-4.mga9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/zope.hookable-5.0.1 + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /home/pterjan/rpmbuild/BUILDROOT/python-zope.hookable-5.0.1-4.mga9.x86_64/usr/lib64/python3.10 using python3.10 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: python3-zope.hookable-5.0.1-4.mga9.x86_64 -i used with no filenames on the command line, reading from STDIN. -i used with no filenames on the command line, reading from STDIN. -i used with no filenames on the command line, reading from STDIN. Provides: python-zope.hookable = 5.0.1-4.mga9 python3-zope.hookable = 5.0.1-4.mga9 python3-zope.hookable(x86-64) = 5.0.1-4.mga9 python3.10-zope.hookable = 5.0.1-4.mga9 python3.10dist(zope-hookable) = 5.0.1 python3.10dist(zope.hookable) = 5.0.1 python3dist(zope-hookable) = 5.0.1 python3dist(zope.hookable) = 5.0.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.10 python3.10dist(setuptools) Processing files: python-zope.hookable-debugsource-5.0.1-4.mga9.x86_64 error: Empty %files file /home/pterjan/rpmbuild/BUILD/zope.hookable-5.0.1/debugsourcefiles.list RPM build errors: Empty %files file /home/pterjan/rpmbuild/BUILD/zope.hookable-5.0.1/debugsourcefiles.list I: [iurt_root_command] ERROR: chroot