Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/python-dmidecode.spec'], chrootPath='/var/lib/mock/rocky-9-ppc64le/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=11011gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/python-dmidecode.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1628899200 Wrote: /builddir/build/SRPMS/python-dmidecode-3.12.2-27.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', "/usr/bin/rpmbuild -bb --target ppc64le --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/python-dmidecode.spec"], chrootPath='/var/lib/mock/rocky-9-ppc64le/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=11011gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', "/usr/bin/rpmbuild -bb --target ppc64le --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/python-dmidecode.spec"] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1628899200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6cU6fX + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-dmidecode-3.12.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/python-dmidecode-3.12.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd python-dmidecode-3.12.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/python-dmidecode-use_python3.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0001-fix-RESOURCE_LEAK-errors-detected-by-covscan-in-src-.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0002-fix-RESOURCE_LEAK-error-detected-by-covscan-in-src-u.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0003-fix-RESOURCE_LEAK-errors-detected-by-covscan-in-src-.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0004-fix-Error-CONSTANT_EXPRESSION_RESULT-detected-by-cov.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0005-fix-Error-MISSING_COMMA-detected-by-covscan.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0006-fix-src-dmierror.c-55-9-warning-Wanalyzer-possible-n.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0007-fix-Error-FORWARD_NULL-CWE-476-def23.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0008-fix-src-dmidecodemodule.c-828-9-warning-Wanalyzer-po.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.P4nb8h + umask 022 + cd /builddir/build/BUILD + cd python-dmidecode-3.12.2 + export PYTHON_BIN=/usr/bin/python3 + PYTHON_BIN=/usr/bin/python3 + export PYTHON_VERSION=3.9 + PYTHON_VERSION=3.9 + export 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu89' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu89' + export CC=gcc + CC=gcc + /usr/bin/make -O -j8 V=1 VERBOSE=1 gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu89 -c -o src/efi.o src/efi.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu89 -c -o src/util.o src/util.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu89 -c -o src/dmilog.o src/dmilog.c gcc -o dmidump src/dmidump.c src/util.o src/efi.o src/dmilog.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu89 -D_DMIDUMP_MAIN_ python3.9 src/setup.py build running build running build_py creating build creating build/lib.linux-ppc64le-3.9 copying dmidecode.py -> build/lib.linux-ppc64le-3.9 running build_ext building 'dmidecodemod' extension creating build/temp.linux-ppc64le-3.9 creating build/temp.linux-ppc64le-3.9/src gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu89 -fPIC -UNDEBUG -I/usr/include/libxml2 -I/usr/include/python3.9 -c src/dmidecode.c -o build/temp.linux-ppc64le-3.9/src/dmidecode.o gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu89 -fPIC -UNDEBUG -I/usr/include/libxml2 -I/usr/include/python3.9 -c src/dmidecodemodule.c -o build/temp.linux-ppc64le-3.9/src/dmidecodemodule.o gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu89 -fPIC -UNDEBUG -I/usr/include/libxml2 -I/usr/include/python3.9 -c src/dmidump.c -o build/temp.linux-ppc64le-3.9/src/dmidump.o gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu89 -fPIC -UNDEBUG -I/usr/include/libxml2 -I/usr/include/python3.9 -c src/dmierror.c -o build/temp.linux-ppc64le-3.9/src/dmierror.o gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu89 -fPIC -UNDEBUG -I/usr/include/libxml2 -I/usr/include/python3.9 -c src/dmilog.c -o build/temp.linux-ppc64le-3.9/src/dmilog.o gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu89 -fPIC -UNDEBUG -I/usr/include/libxml2 -I/usr/include/python3.9 -c src/dmioem.c -o build/temp.linux-ppc64le-3.9/src/dmioem.o gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu89 -fPIC -UNDEBUG -I/usr/include/libxml2 -I/usr/include/python3.9 -c src/dmixml.c -o build/temp.linux-ppc64le-3.9/src/dmixml.o gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu89 -fPIC -UNDEBUG -I/usr/include/libxml2 -I/usr/include/python3.9 -c src/efi.c -o build/temp.linux-ppc64le-3.9/src/efi.o gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu89 -fPIC -UNDEBUG -I/usr/include/libxml2 -I/usr/include/python3.9 -c src/util.c -o build/temp.linux-ppc64le-3.9/src/util.o gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu89 -fPIC -UNDEBUG -I/usr/include/libxml2 -I/usr/include/python3.9 -c src/xmlpythonizer.c -o build/temp.linux-ppc64le-3.9/src/xmlpythonizer.o gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu89 build/temp.linux-ppc64le-3.9/src/dmidecode.o build/temp.linux-ppc64le-3.9/src/dmidecodemodule.o build/temp.linux-ppc64le-3.9/src/dmidump.o build/temp.linux-ppc64le-3.9/src/dmierror.o build/temp.linux-ppc64le-3.9/src/dmilog.o build/temp.linux-ppc64le-3.9/src/dmioem.o build/temp.linux-ppc64le-3.9/src/dmixml.o build/temp.linux-ppc64le-3.9/src/efi.o build/temp.linux-ppc64le-3.9/src/util.o build/temp.linux-ppc64le-3.9/src/xmlpythonizer.o -L/usr/lib64/python3.9/site-packages -L/usr/lib64 -lxml2 -lz -llzma -lm -lxml2mod -o build/lib.linux-ppc64le-3.9/dmidecodemod.cpython-39-powerpc64le-linux-gnu.so src/dmidecode.c: In function ‘dmi_additional_info’: src/dmidecode.c:3907:42: warning: variable ‘str_n’ set but not used [-Wunused-but-set-variable] 3907 | xmlNode *data_n = NULL, *str_n = NULL, *val_n = NULL; | ^~~~~ src/dmidecodemodule.c: In function ‘__dmidecode_xml_getsection’: src/dmidecodemodule.c:324:90: warning: passing argument 3 of ‘_pyReturnError’ makes integer from pointer without a cast [-Wint-conversion] 324 | _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:490:25: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 490 | section = PyUnicode_AsUTF8(args); | ^ src/dmidecodemodule.c: In function ‘dmidecode_set_dev’: src/dmidecodemodule.c:621:19: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 621 | f = PyUnicode_AsUTF8(arg); | ^ src/dmidecodemodule.c: In function ‘dmidecode_set_pythonxmlmap’: src/dmidecodemodule.c:669:23: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 669 | fname = PyUnicode_AsUTF8(arg); | ^ src/dmidecodemodule.c: At top level: src/dmidecodemodule.c:744: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] 744 | {(char *)"xmlapi", dmidecode_xmlapi, METH_VARARGS | METH_KEYWORDS, | ^~~~~~~~~~~~~~~~ src/dmidecodemodule.c:744:28: note: (near initialization for ‘DMIDataMethods[16].ml_meth’) src/dmidecodemodule.c: In function ‘PyInit_dmidecodemod’: src/dmidecodemodule.c:855:72: warning: passing argument 3 of ‘PyCapsule_New’ from incompatible pointer type [-Wincompatible-pointer-types] 855 | PyModule_AddObject(module, "options", PyCapsule_New(opt, NULL, destruct_options)); | ^~~~~~~~~~~~~~~~ | | | void (*)(void *) In file included from /usr/include/python3.9/Python.h:125, from src/dmidecodemodule.c:42: /usr/include/python3.9/pycapsule.h:31:26: note: expected ‘PyCapsule_Destructor’ {aka ‘void (*)(struct _object *)’} but argument is of type ‘void (*)(void *)’ 31 | PyCapsule_Destructor destructor); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ src/dmixml.c: In function ‘dmixml_buildstr’: src/dmixml.c:68:33: warning: pointer targets in passing argument 3 of ‘xmlStrVPrintf’ differ in signedness [-Wpointer-sign] 68 | xmlStrVPrintf(ret, len, xmlfmt, ap); | ^~~~~~ | | | xmlChar * {aka unsigned char *} In file included from /usr/include/libxml2/libxml/tree.h:18, from src/dmixml.c:40: /usr/include/libxml2/libxml/xmlstring.h:105:54: note: expected ‘const char *’ but argument is of type ‘xmlChar *’ {aka ‘unsigned char *’} 105 | const char *msg, | ~~~~~~~~~~~~^~~ cp build/lib.linux-ppc64le-3.9/dmidecodemod.cpython-39-powerpc64le-linux-gnu.so python3.9-dmidecodemod.so + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.KDuJ92 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-dmidecode-3.12.2-27.el9.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-dmidecode-3.12.2-27.el9.ppc64le ++ dirname /builddir/build/BUILDROOT/python-dmidecode-3.12.2-27.el9.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-dmidecode-3.12.2-27.el9.ppc64le + cd python-dmidecode-3.12.2 + /usr/bin/python3 src/setup.py install --root /builddir/build/BUILDROOT/python-dmidecode-3.12.2-27.el9.ppc64le --prefix=/usr running install running build running build_py running build_ext running install_lib creating /builddir/build/BUILDROOT/python-dmidecode-3.12.2-27.el9.ppc64le/usr creating /builddir/build/BUILDROOT/python-dmidecode-3.12.2-27.el9.ppc64le/usr/lib64 creating /builddir/build/BUILDROOT/python-dmidecode-3.12.2-27.el9.ppc64le/usr/lib64/python3.9 creating /builddir/build/BUILDROOT/python-dmidecode-3.12.2-27.el9.ppc64le/usr/lib64/python3.9/site-packages copying build/lib.linux-ppc64le-3.9/dmidecodemod.cpython-39-powerpc64le-linux-gnu.so -> /builddir/build/BUILDROOT/python-dmidecode-3.12.2-27.el9.ppc64le/usr/lib64/python3.9/site-packages copying build/lib.linux-ppc64le-3.9/dmidecode.py -> /builddir/build/BUILDROOT/python-dmidecode-3.12.2-27.el9.ppc64le/usr/lib64/python3.9/site-packages byte-compiling /builddir/build/BUILDROOT/python-dmidecode-3.12.2-27.el9.ppc64le/usr/lib64/python3.9/site-packages/dmidecode.py to dmidecode.cpython-39.pyc running install_data creating /builddir/build/BUILDROOT/python-dmidecode-3.12.2-27.el9.ppc64le/usr/share creating /builddir/build/BUILDROOT/python-dmidecode-3.12.2-27.el9.ppc64le/usr/share/python-dmidecode copying src/pymap.xml -> /builddir/build/BUILDROOT/python-dmidecode-3.12.2-27.el9.ppc64le/usr/share/python-dmidecode running install_egg_info Writing /builddir/build/BUILDROOT/python-dmidecode-3.12.2-27.el9.ppc64le/usr/lib64/python3.9/site-packages/python_dmidecode-3.12.2-py3.9.egg-info + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 3.12.2-27.el9 --unique-debug-suffix -3.12.2-27.el9.ppc64le --unique-debug-src-base python-dmidecode-3.12.2-27.el9.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/python-dmidecode-3.12.2 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/python-dmidecode-3.12.2-27.el9.ppc64le/usr/lib64/python3.9/site-packages/dmidecodemod.cpython-39-powerpc64le-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/python-dmidecode-3.12.2-27.el9.ppc64le/usr/lib64/python3.9/site-packages/dmidecodemod.cpython-39-powerpc64le-linux-gnu.so original debug info size: 420kB, size after compression: 400kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 721 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-dmidecode-3.12.2-27.el9.ppc64le/usr/lib/debug/usr/lib64/python3.9 using python3.9 Bytecompiling .py files below /builddir/build/BUILDROOT/python-dmidecode-3.12.2-27.el9.ppc64le/usr/lib64/python3.9 using python3.9 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.KFIPZx Processing files: python3-dmidecode-3.12.2-27.el9.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.kt9VjD + umask 022 + cd /builddir/build/BUILD + cd python-dmidecode-3.12.2 + DOCDIR=/builddir/build/BUILDROOT/python-dmidecode-3.12.2-27.el9.ppc64le/usr/share/doc/python3-dmidecode + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-dmidecode-3.12.2-27.el9.ppc64le/usr/share/doc/python3-dmidecode + cp -pr README /builddir/build/BUILDROOT/python-dmidecode-3.12.2-27.el9.ppc64le/usr/share/doc/python3-dmidecode + cp -pr doc/AUTHORS /builddir/build/BUILDROOT/python-dmidecode-3.12.2-27.el9.ppc64le/usr/share/doc/python3-dmidecode + cp -pr doc/AUTHORS.upstream /builddir/build/BUILDROOT/python-dmidecode-3.12.2-27.el9.ppc64le/usr/share/doc/python3-dmidecode + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.tRjjZ2 + umask 022 + cd /builddir/build/BUILD + cd python-dmidecode-3.12.2 + LICENSEDIR=/builddir/build/BUILDROOT/python-dmidecode-3.12.2-27.el9.ppc64le/usr/share/licenses/python3-dmidecode + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-dmidecode-3.12.2-27.el9.ppc64le/usr/share/licenses/python3-dmidecode + cp -pr doc/LICENSE /builddir/build/BUILDROOT/python-dmidecode-3.12.2-27.el9.ppc64le/usr/share/licenses/python3-dmidecode + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-dmidecode = 3.12.2-27.el9 python3-dmidecode = 3.12.2-27.el9 python3-dmidecode(ppc-64) = 3.12.2-27.el9 python3.9-dmidecode = 3.12.2-27.el9 python3.9dist(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.17)(64bit) libc.so.6(GLIBC_2.33)(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.9 rtld(GNU_HASH) Processing files: python-dmidecode-debugsource-3.12.2-27.el9.ppc64le Provides: python-dmidecode-debugsource = 3.12.2-27.el9 python-dmidecode-debugsource(ppc-64) = 3.12.2-27.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-dmidecode-debuginfo-3.12.2-27.el9.ppc64le Provides: debuginfo(build-id) = 793ee2c3c8cda457f1f2fc2dfee996582d642cd5 python-dmidecode-debuginfo = 3.12.2-27.el9 python3-dmidecode-debuginfo = 3.12.2-27.el9 python3-dmidecode-debuginfo(ppc-64) = 3.12.2-27.el9 python3.9-dmidecode-debuginfo = 3.12.2-27.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: python-dmidecode-debugsource(ppc-64) = 3.12.2-27.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-dmidecode-3.12.2-27.el9.ppc64le Wrote: /builddir/build/RPMS/python3-dmidecode-debuginfo-3.12.2-27.el9.ppc64le.rpm Wrote: /builddir/build/RPMS/python3-dmidecode-3.12.2-27.el9.ppc64le.rpm Wrote: /builddir/build/RPMS/python-dmidecode-debugsource-3.12.2-27.el9.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.1zIX0a + umask 022 + cd /builddir/build/BUILD + cd python-dmidecode-3.12.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-dmidecode-3.12.2-27.el9.ppc64le + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0