D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/python-cwiid-3.0.0-7.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.rW5S0l + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build + test -d /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.j54vl0 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build + rm -rf cwiid-3.0.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/cwiid-3.0.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd cwiid-3.0.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0001-Fixed-segfault-on-Py_DECREF-see-https-github.com-azz.patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0002-Fix-compile-error-return-without-value-7-8.patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.6BtJHU + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build + cd cwiid-3.0.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + : + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + for f in pyproject.toml setup.py setup.cfg + '[' -f pyproject.toml ']' + for f in pyproject.toml setup.py setup.cfg + '[' -f setup.py ']' + sed -i -E -e '/^requires/s/(['\''"]\s*flit_core\s*>=\s*[0-9]+(\.[0-9]+)+)\s*,\s*<\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\4/' setup.py + sed -i -E -e '/python_requires/s/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/' setup.py + sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9a-z]+)*)\s*,\s*(<|!=|<=)\s*[0-9]+(\.[0-9a-z]+)*(-?dev[0-9]*)?(\.\*)*(\s*['\''"]?)/\1\7/g' setup.py + sed -i -E -e 's/(['\''"]\w+\s*)!=(\s*([0-9])+(\.[0-9]+)*\s*['\''"])/\1>\2/g' setup.py + sed -i -E -e 's/(['\''"]\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\5/g' setup.py + sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/g' setup.py + sed -i -E -e 's/(['\''"]\s*)\^(\s*[0-9]+(\.[0-9]+)*\s*['\''"])/\1>=\2/g' setup.py + sed -i -e 's/~=/>=/g' setup.py + sed -i -E -e 's/(['\''"]\s*\S*\s*)==(\s*[0-9]+(\.[0-9]+)*)\.\*(\s*['\''"])/\1>=\2\4/g' setup.py + sed -i -E -e 's/(['\''"]?\w*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)[0-9]+(\.[0-9]+)*\s*(['\''"]?)/\1\5/g' setup.py + for f in pyproject.toml setup.py setup.cfg + '[' -f setup.cfg ']' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build/cwiid-3.0.0/.pyproject-builddir + echo -n + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + TMPDIR=/home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build/cwiid-3.0.0/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build/cwiid-3.0.0/pyproject-wheeldir --output /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build/python-cwiid-3.0.0-7.mga10.x86_64-pyproject-buildrequires Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 75.6.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.43.0) + cat /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build/python-cwiid-3.0.0-7.mga10.x86_64-pyproject-buildrequires + rm -rfv cwiid-3.0.0.dist-info/ removed 'cwiid-3.0.0.dist-info/top_level.txt' removed 'cwiid-3.0.0.dist-info/METADATA' removed directory 'cwiid-3.0.0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.OpjuSA + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build + cd cwiid-3.0.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + mkdir -p /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build/cwiid-3.0.0/.pyproject-builddir + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + TMPDIR=/home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build/cwiid-3.0.0/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build/cwiid-3.0.0/pyproject-wheeldir Processing /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build/cwiid-3.0.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: cwiid Building wheel for cwiid (pyproject.toml): started Running command Building wheel for cwiid (pyproject.toml) Wiimote.c: In function ‘Wiimote_init’: Wiimote.c:212:13: warning: ‘PyEval_InitThreads’ is deprecated [-Wdeprecated-declarations] 212 | PyEval_InitThreads(); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.12/Python.h:95, from Wiimote.c:23: /usr/include/python3.12/ceval.h:132:37: note: declared here 132 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); | ^~~~~~~~~~~~~~~~~~ Wiimote.c: In function ‘Wiimote_read’: Wiimote.c:804:9: warning: ‘PyObject_AsWriteBuffer’ is deprecated [-Wdeprecated-declarations] 804 | if (PyObject_AsWriteBuffer(pyRetBuf, &buf, &len)) { | ^~ In file included from /usr/include/python3.12/Python.h:100: /usr/include/python3.12/abstract.h:380:17: note: declared here 380 | PyAPI_FUNC(int) PyObject_AsWriteBuffer(PyObject *obj, | ^~~~~~~~~~~~~~~~~~~~~~ Building wheel for cwiid (pyproject.toml): finished with status 'done' Created wheel for cwiid: filename=cwiid-3.0.0-cp312-cp312-linux_x86_64.whl size=36632 sha256=fc886b36b5888fadcb9c2f8ec33bda2c03c4041fcd0b2363c57fe7447db0485c Stored in directory: /home/pterjan/.cache/pip/wheels/7f/17/7a/6ea10ce2a1f6b2c19b27b61ef67b942f51861f92eb749df446 Successfully built cwiid + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.FKd6rD + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build + mkdir /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build/BUILDROOT + cd cwiid-3.0.0 + '[' 1 -eq 1 ']' ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' ++ ls /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build/cwiid-3.0.0/pyproject-wheeldir/cwiid-3.0.0-cp312-cp312-linux_x86_64.whl + specifier=cwiid==3.0.0 + '[' -z cwiid==3.0.0 ']' + TMPDIR=/home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build/cwiid-3.0.0/.pyproject-builddir + /usr/bin/python3 -m pip install --root /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build/BUILDROOT --prefix /usr --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build/cwiid-3.0.0/pyproject-wheeldir cwiid==3.0.0 Using pip 24.3.1 from /usr/lib/python3.12/site-packages/pip (python 3.12) Looking in links: /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build/cwiid-3.0.0/pyproject-wheeldir Processing ./pyproject-wheeldir/cwiid-3.0.0-cp312-cp312-linux_x86_64.whl Installing collected packages: cwiid Successfully installed cwiid-3.0.0 + '[' -d /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build/BUILDROOT/usr/bin ']' + rm -f /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build/python-cwiid-3.0.0-7.mga10.x86_64-pyproject-ghost-distinfo + site_dirs=() + '[' -d /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build/BUILDROOT/usr/lib/python3.12/site-packages ']' + '[' /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build/BUILDROOT/usr/lib64/python3.12/site-packages '!=' /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build/BUILDROOT/usr/lib/python3.12/site-packages ']' + '[' -d /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build/BUILDROOT/usr/lib64/python3.12/site-packages ']' + site_dirs+=("/usr/lib64/python3.12/site-packages") + for site_dir in ${site_dirs[@]} + for distinfo in /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build/BUILDROOT$site_dir/*.dist-info + echo '%ghost /usr/lib64/python3.12/site-packages/cwiid-3.0.0.dist-info' + sed -i s/pip/rpm/ /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build/BUILDROOT/usr/lib64/python3.12/site-packages/cwiid-3.0.0.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/redhat + /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build/BUILDROOT --record /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build/BUILDROOT/usr/lib64/python3.12/site-packages/cwiid-3.0.0.dist-info/RECORD --output /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build/python-cwiid-3.0.0-7.mga10.x86_64-pyproject-record + rm -fv /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build/BUILDROOT/usr/lib64/python3.12/site-packages/cwiid-3.0.0.dist-info/RECORD removed '/home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build/BUILDROOT/usr/lib64/python3.12/site-packages/cwiid-3.0.0.dist-info/RECORD' + rm -fv /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build/BUILDROOT/usr/lib64/python3.12/site-packages/cwiid-3.0.0.dist-info/REQUESTED removed '/home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build/BUILDROOT/usr/lib64/python3.12/site-packages/cwiid-3.0.0.dist-info/REQUESTED' ++ cut -f1 '-d ' ++ wc -l /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build/python-cwiid-3.0.0-7.mga10.x86_64-pyproject-ghost-distinfo + lines=1 + '[' 1 -ne 1 ']' + RPM_FILES_ESCAPE=4.19 + /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build/python-cwiid-3.0.0-7.mga10.x86_64-pyproject-files --output-modules /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build/python-cwiid-3.0.0-7.mga10.x86_64-pyproject-modules --buildroot /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build/BUILDROOT --sitelib /usr/lib/python3.12/site-packages --sitearch /usr/lib64/python3.12/site-packages --python-version 3.12 --pyproject-record /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build/python-cwiid-3.0.0-7.mga10.x86_64-pyproject-record --prefix /usr cwiid + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 3.0.0-7.mga10 --unique-debug-suffix -3.0.0-7.mga10.x86_64 --unique-debug-src-base python-cwiid-3.0.0-7.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build/cwiid-3.0.0 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/python-cwiid-3.0.0-7.mga10.x86_64 find-debuginfo: done + /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 + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 Bytecompiling .py files below /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build/BUILDROOT/usr/lib64/python3.12 using python3.12 Not clamping source mtimes, $SOURCE_DATE_EPOCH not set Bytecompiling .py files below /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build/BUILDROOT/usr/lib/debug/usr/lib64/python3.12 using python3.12 Not clamping source mtimes, $SOURCE_DATE_EPOCH not set + /usr/lib/rpm/redhat/brp-python-hardlink Reading /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build/SPECPARTS/rpm-debuginfo.specpart Processing files: python3-cwiid-3.0.0-7.mga10.x86_64 Provides: python-cwiid = 3.0.0-7.mga10 python3-cwiid = 3.0.0-7.mga10 python3-cwiid(x86-64) = 3.0.0-7.mga10 python3.12-cwiid = 3.0.0-7.mga10 python3.12dist(cwiid) = 3 python3dist(cwiid) = 3 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libbluetooth.so.3()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcwiid.so.1()(64bit) libpython3.12.so.1.0()(64bit) python(abi) = 3.12 Obsoletes: python-cwiid < 3.0.0-7.mga10 Processing files: python-cwiid-debugsource-3.0.0-7.mga10.x86_64 Provides: python-cwiid-debugsource = 3.0.0-7.mga10 python-cwiid-debugsource(x86-64) = 3.0.0-7.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-cwiid-debuginfo-3.0.0-7.mga10.x86_64 Provides: debuginfo(build-id) = ce6c5d2de9aedb01ca0746011f9e8a039054180b python-cwiid-debuginfo = 3.0.0-7.mga10 python3-cwiid-debuginfo = 3.0.0-7.mga10 python3-cwiid-debuginfo(x86-64) = 3.0.0-7.mga10 python3.12-cwiid-debuginfo = 3.0.0-7.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: python-cwiid-debugsource(x86-64) = 3.0.0-7.mga10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/python3-cwiid-debuginfo-3.0.0-7.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/python-cwiid-debugsource-3.0.0-7.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/python3-cwiid-3.0.0-7.mga10.x86_64.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.KwhOBJ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build + test -d /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build + rm -rf /home/pterjan/rpmbuild/BUILD/python-cwiid-3.0.0-build + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!