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-3.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.1kEWZU Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.tjKgeD + 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.kImLCL + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-dmidecode-3.12.3-build + 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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 ' + export FFLAGS + FCFLAGS='-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 ' + 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,-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/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd python-dmidecode-3.12.3 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export '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 -std=gnu89' + 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 -std=gnu89' + make build python3.13 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:693:18: note: ‘dmidecode_xmlapi’ declared here 693 | static PyObject *dmidecode_xmlapi(PyObject *self, PyObject *args, PyObject *keywds) | ^~~~~~~~~~~~~~~~ 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:568:21: note: declared here 568 | 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.13/Python.h:100, from src/dmidecodemodule.c:42: /usr/include/python3.13/pycapsule.h:31:26: note: expected ‘PyCapsule_Destructor’ {aka ‘void (*)(struct _object *)’} but argument is of type ‘void (*)(void *)’ 31 | PyCapsule_Destructor destructor); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ src/dmidecodemodule.c:929:6: note: ‘destruct_options’ declared here 929 | void destruct_options(void *ptr) | ^~~~~~~~~~~~~~~~ /usr/include/python3.13/pycapsule.h:23:16: note: ‘PyCapsule_Destructor’ declared here 23 | typedef void (*PyCapsule_Destructor)(PyObject *); | ^~~~~~~~~~~~~~~~~~~~ In function ‘overwrite_smbios3_address’, inlined from ‘legacy_decode.isra’ at src/dmidump.c:155:9: src/dmidump.c:59:19: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 59 | buf[0x10] = 32; | ~~~~~~~~~~^~~~ src/dmidump.c: In function ‘legacy_decode.isra’: src/dmidump.c:147:12: note: at offset 16 into destination object ‘crafted’ of size 16 147 | u8 crafted[16]; | ^~~~~~~ cp build/lib.linux-x86_64-cpython-313/dmidecodemod.cpython-313-x86_64-linux-gnu.so python3.13-dmidecodemod.so + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.HdskSK + 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 + 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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 ' + export FFLAGS + FCFLAGS='-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 ' + 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,-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/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + 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.13/site-packages/setuptools/_distutils/cmd.py:90: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ 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 + /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.13 using python3.13 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-3.mga10.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.XMddqf + 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.tO6ciW + 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-3.mga10 python3-dmidecode = 3.12.3-3.mga10 python3-dmidecode(x86-64) = 3.12.3-3.mga10 python3.13-dmidecode = 3.12.3-3.mga10 python3.13dist(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.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libpython3.13.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) python(abi) = 3.13 Obsoletes: python-dmidecode < 3.12.3-3.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-3.mga10.x86_64.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.NPGSGk + 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!