D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/python-dmidecode-3.12.3-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.C1zNAd + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-dmidecode-3.12.3-build + test -d /home/pterjan/rpmbuild/BUILD/python-dmidecode-3.12.3-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/python-dmidecode-3.12.3-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/python-dmidecode-3.12.3-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-dmidecode-3.12.3-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-dmidecode-3.12.3-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.VAtNXz + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-dmidecode-3.12.3-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/python-dmidecode-3.12.3-build + rm -rf python-dmidecode-3.12.3 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/v3.12.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd python-dmidecode-3.12.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/dmidecode-3.12.2-path.patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch -f + sed -i s/python2/python3/g Makefile unit-tests/Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.TSO4Tw + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-dmidecode-3.12.3-build + cd python-dmidecode-3.12.3 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export 'CFLAGS= -std=gnu89' + CFLAGS=' -std=gnu89' + make build python3.12 src/setup.py build src/dmidecodemodule.c: In function ‘__dmidecode_xml_getsection’: src/dmidecodemodule.c:482:90: warning: passing argument 3 of ‘_pyReturnError’ makes integer from pointer without a cast [-Wint-conversion] 482 | _pyReturnError(PyExc_RuntimeError, "Invalid type id '%s' -- %s", typeid, err); | ^~~~~~ | | | char * In file included from src/dmidecode.h:24, from src/dmidecodemodule.h:58, from src/dmidecodemodule.c:47: src/dmierror.h:38:65: note: expected ‘int’ but argument is of type ‘char *’ 38 | void _pyReturnError(PyObject *exception, const char *fname, int line, const char *msgfmt, ...); | ~~~~^~~~ src/dmidecodemodule.c: In function ‘dmidecode_get_section’: src/dmidecodemodule.c:662:25: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 662 | section = PyUnicode_AsUTF8(args); | ^ src/dmidecodemodule.c: In function ‘dmidecode_set_dev’: src/dmidecodemodule.c:793:19: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 793 | f = PyUnicode_AsUTF8(arg); | ^ src/dmidecodemodule.c: In function ‘dmidecode_set_pythonxmlmap’: src/dmidecodemodule.c:841:23: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 841 | fname = PyUnicode_AsUTF8(arg); | ^ src/dmidecodemodule.c: At top level: src/dmidecodemodule.c:916:28: warning: initialization of ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} from incompatible pointer type ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} [-Wincompatible-pointer-types] 916 | {(char *)"xmlapi", dmidecode_xmlapi, METH_VARARGS | METH_KEYWORDS, | ^~~~~~~~~~~~~~~~ src/dmidecodemodule.c:916:28: note: (near initialization for ‘DMIDataMethods[16].ml_meth’) src/dmidecodemodule.c: In function ‘PyInit_dmidecodemod’: src/dmidecodemodule.c:997:9: warning: ‘xmlXPathInit’ is deprecated [-Wdeprecated-declarations] 997 | xmlXPathInit(); | ^~~~~~~~~~~~ In file included from src/libxml_wrap.h:41, from src/dmidecodemodule.c:45: /usr/include/libxml2/libxml/xpath.h:564:21: note: declared here 564 | xmlXPathInit (void); | ^~~~~~~~~~~~ src/dmidecodemodule.c:1027:72: warning: passing argument 3 of ‘PyCapsule_New’ from incompatible pointer type [-Wincompatible-pointer-types] 1027 | PyModule_AddObject(module, "options", PyCapsule_New(opt, NULL, destruct_options)); | ^~~~~~~~~~~~~~~~ | | | void (*)(void *) In file included from /usr/include/python3.12/Python.h:73, from src/dmidecodemodule.c:42: /usr/include/python3.12/pycapsule.h:31:26: note: expected ‘PyCapsule_Destructor’ {aka ‘void (*)(struct _object *)’} but argument is of type ‘void (*)(void *)’ 31 | PyCapsule_Destructor destructor); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ cp build/lib.linux-x86_64-cpython-312/dmidecodemod.cpython-312-x86_64-linux-gnu.so python3.12-dmidecodemod.so + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.07JQ4Y + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-dmidecode-3.12.3-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/python-dmidecode-3.12.3-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/python-dmidecode-3.12.3-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/python-dmidecode-3.12.3-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/python-dmidecode-3.12.3-build + mkdir /home/pterjan/rpmbuild/BUILD/python-dmidecode-3.12.3-build/BUILDROOT + cd python-dmidecode-3.12.3 + '[' 1 -eq 1 ']' + /usr/bin/python3 src/setup.py install --root /home/pterjan/rpmbuild/BUILD/python-dmidecode-3.12.3-build/BUILDROOT --prefix=/usr /usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() + /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 Warning: unused libraries in /usr/lib64/python3.12/site-packages/dmidecodemod.cpython-312-x86_64-linux-gnu.so: liblzma.so.5 libm.so.6 libxml2mod.so + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /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-dmidecode-3.12.3-build/BUILDROOT/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-dmidecode-3.12.3-build/SPECPARTS/rpm-debuginfo.specpart Processing files: python3-dmidecode-3.12.3-1.mga10.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.lsbyhK + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-dmidecode-3.12.3-build + cd python-dmidecode-3.12.3 + DOCDIR=/home/pterjan/rpmbuild/BUILD/python-dmidecode-3.12.3-build/BUILDROOT/usr/share/doc/python3-dmidecode + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-dmidecode-3.12.3-build/BUILDROOT/usr/share/doc/python3-dmidecode + cp -pr /home/pterjan/rpmbuild/BUILD/python-dmidecode-3.12.3-build/python-dmidecode-3.12.3/README /home/pterjan/rpmbuild/BUILD/python-dmidecode-3.12.3-build/BUILDROOT/usr/share/doc/python3-dmidecode + cp -pr /home/pterjan/rpmbuild/BUILD/python-dmidecode-3.12.3-build/python-dmidecode-3.12.3/doc/README.upstream /home/pterjan/rpmbuild/BUILD/python-dmidecode-3.12.3-build/BUILDROOT/usr/share/doc/python3-dmidecode + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.2HpTgl + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-dmidecode-3.12.3-build + cd python-dmidecode-3.12.3 + LICENSEDIR=/home/pterjan/rpmbuild/BUILD/python-dmidecode-3.12.3-build/BUILDROOT/usr/share/licenses/python3-dmidecode + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-dmidecode-3.12.3-build/BUILDROOT/usr/share/licenses/python3-dmidecode + cp -pr /home/pterjan/rpmbuild/BUILD/python-dmidecode-3.12.3-build/python-dmidecode-3.12.3/doc/LICENSE /home/pterjan/rpmbuild/BUILD/python-dmidecode-3.12.3-build/BUILDROOT/usr/share/licenses/python3-dmidecode + cp -pr /home/pterjan/rpmbuild/BUILD/python-dmidecode-3.12.3-build/python-dmidecode-3.12.3/doc/AUTHORS /home/pterjan/rpmbuild/BUILD/python-dmidecode-3.12.3-build/BUILDROOT/usr/share/licenses/python3-dmidecode + cp -pr /home/pterjan/rpmbuild/BUILD/python-dmidecode-3.12.3-build/python-dmidecode-3.12.3/doc/AUTHORS.upstream /home/pterjan/rpmbuild/BUILD/python-dmidecode-3.12.3-build/BUILDROOT/usr/share/licenses/python3-dmidecode + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-dmidecode = 3.12.3-1.mga10 python3-dmidecode = 3.12.3-1.mga10 python3-dmidecode(x86-64) = 3.12.3-1.mga10 python3.12-dmidecode = 3.12.3-1.mga10 python3.12dist(python-dmidecode) = 3.12.2 python3dist(python-dmidecode) = 3.12.2 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: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.38)(64bit) liblzma.so.5()(64bit) libm.so.6()(64bit) libpython3.12.so.1.0()(64bit) libxml2.so.2()(64bit) libxml2.so.2(LIBXML2_2.4.30)(64bit) libxml2.so.2(LIBXML2_2.6.0)(64bit) libxml2.so.2(LIBXML2_2.6.2)(64bit) libxml2mod.so()(64bit) libz.so.1()(64bit) python(abi) = 3.12 Obsoletes: python-dmidecode < 3.12.3-1.mga10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/python-dmidecode-3.12.3-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/python3-dmidecode-3.12.3-1.mga10.x86_64.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.p609jQ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-dmidecode-3.12.3-build + test -d /home/pterjan/rpmbuild/BUILD/python-dmidecode-3.12.3-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/python-dmidecode-3.12.3-build + rm -rf /home/pterjan/rpmbuild/BUILD/python-dmidecode-3.12.3-build + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!