Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/perl-Sys-CPU.spec'], chrootPath='/var/lib/mock/rocky-8-ppc64le-2/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._tv90sph:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._tv90sph:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'd87831cbaf7148ebae7d2fe08df1a3b4', '-D', '/var/lib/mock/rocky-8-ppc64le-2/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._tv90sph:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/perl-Sys-CPU.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory Building target platforms: ppc64le Building for target ppc64le Wrote: /builddir/build/SRPMS/perl-Sys-CPU-0.61-14.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', "/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/perl-Sys-CPU.spec"], chrootPath='/var/lib/mock/rocky-8-ppc64le-2/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._tv90sph:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._tv90sph:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'd6fe484b110047edb77dc5e5549afb55', '-D', '/var/lib/mock/rocky-8-ppc64le-2/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._tv90sph:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', "/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/perl-Sys-CPU.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Ng8DJ5 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Sys-CPU-0.61 + /usr/bin/gzip -dc /builddir/build/SOURCES/Sys-CPU-0.61.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd Sys-CPU-0.61 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (Sys-CPU-0.61-Add-support-for-cpu_type-on-ARM-and-AArch64-Linux-pl.patch): + echo 'Patch #0 (Sys-CPU-0.61-Add-support-for-cpu_type-on-ARM-and-AArch64-Linux-pl.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file CPU.xs Patch #1 (Sys-CPU-0.61-cpu_clock-can-be-undefined-on-an-ARM.patch): + echo 'Patch #1 (Sys-CPU-0.61-cpu_clock-can-be-undefined-on-an-ARM.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile.PL patching file t/Sys-CPU.t + sed -i 's/\r//' Changes README + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qKoojR + umask 022 + cd /builddir/build/BUILD + cd Sys-CPU-0.61 + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Sys::CPU + make -j16 "/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' CPU.xs > CPU.xsc Running Mkbootstrap for CPU () chmod 644 "CPU.bs" "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- CPU.bs blib/arch/auto/Sys/CPU/CPU.bs 644 cp CPU.pm blib/lib/Sys/CPU.pm Please specify prototyping behavior for CPU.xs (see perlxs manual) mv CPU.xsc CPU.c gcc -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -DVERSION=\"0.61\" -DXS_VERSION=\"0.61\" -fPIC "-I/usr/lib64/perl5/CORE" CPU.c In file included from CPU.xs:3: CPU.c: In function 'XS_Sys__CPU_cpu_count': /usr/lib64/perl5/CORE/XSUB.h:183:28: warning: unused variable 'targ' [-Wunused-variable] #define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG) \ ^~~~ CPU.c:481:2: note: in expansion of macro 'dXSTARG' dXSTARG; ^~~~~~~ CPU.c:480:6: warning: unused variable 'RETVAL' [-Wunused-variable] int RETVAL; ^~~~~~ In file included from CPU.xs:3: CPU.c: In function 'XS_Sys__CPU_cpu_clock': /usr/lib64/perl5/CORE/XSUB.h:183:28: warning: unused variable 'targ' [-Wunused-variable] #define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG) \ ^~~~ CPU.c:507:2: note: in expansion of macro 'dXSTARG' dXSTARG; ^~~~~~~ CPU.c:506:6: warning: unused variable 'RETVAL' [-Wunused-variable] int RETVAL; ^~~~~~ CPU.c: In function 'XS_Sys__CPU_cpu_type': CPU.c:571:7: warning: unused variable 'RETVAL' [-Wunused-variable] SV * RETVAL; ^~~~~~ rm -f blib/arch/auto/Sys/CPU/CPU.so gcc -lpthread -shared -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -fstack-protector-strong CPU.o -o blib/arch/auto/Sys/CPU/CPU.so \ -lperl \ chmod 755 blib/arch/auto/Sys/CPU/CPU.so Manifying 1 pod document + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.pQCUjD + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-Sys-CPU-0.61-14.el8.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-Sys-CPU-0.61-14.el8.ppc64le ++ dirname /builddir/build/BUILDROOT/perl-Sys-CPU-0.61-14.el8.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-Sys-CPU-0.61-14.el8.ppc64le + cd Sys-CPU-0.61 + make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-Sys-CPU-0.61-14.el8.ppc64le "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- CPU.bs blib/arch/auto/Sys/CPU/CPU.bs 644 Manifying 1 pod document Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /builddir/build/BUILDROOT/perl-Sys-CPU-0.61-14.el8.ppc64le/usr/lib64/perl5/vendor_perl/auto/Sys/CPU/CPU.so Installing /builddir/build/BUILDROOT/perl-Sys-CPU-0.61-14.el8.ppc64le/usr/lib64/perl5/vendor_perl/Sys/CPU.pm Installing /builddir/build/BUILDROOT/perl-Sys-CPU-0.61-14.el8.ppc64le/usr/share/man/man3/Sys::CPU.3pm + find /builddir/build/BUILDROOT/perl-Sys-CPU-0.61-14.el8.ppc64le -type f -name .packlist -exec rm -f '{}' ';' + find /builddir/build/BUILDROOT/perl-Sys-CPU-0.61-14.el8.ppc64le -type f -name CPU.bs -exec rm -f '{}' ';' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-Sys-CPU-0.61-14.el8.ppc64le/usr + /usr/lib/rpm/find-debuginfo.sh -j16 --strict-build-id -m -i --build-id-seed 0.61-14.el8 --unique-debug-suffix -0.61-14.el8.ppc64le --unique-debug-src-base perl-Sys-CPU-0.61-14.el8.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/Sys-CPU-0.61 extracting debug info from /builddir/build/BUILDROOT/perl-Sys-CPU-0.61-14.el8.ppc64le/usr/lib64/perl5/vendor_perl/auto/Sys/CPU/CPU.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 55 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.yEeuGp Processing files: perl-Sys-CPU-0.61-14.el8.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.tt782b + umask 022 + cd /builddir/build/BUILD + cd Sys-CPU-0.61 + DOCDIR=/builddir/build/BUILDROOT/perl-Sys-CPU-0.61-14.el8.ppc64le/usr/share/doc/perl-Sys-CPU + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-Sys-CPU-0.61-14.el8.ppc64le/usr/share/doc/perl-Sys-CPU + cp -pr Changes /builddir/build/BUILDROOT/perl-Sys-CPU-0.61-14.el8.ppc64le/usr/share/doc/perl-Sys-CPU + cp -pr README /builddir/build/BUILDROOT/perl-Sys-CPU-0.61-14.el8.ppc64le/usr/share/doc/perl-Sys-CPU + exit 0 Provides: perl(Sys::CPU) = 0.61 perl-Sys-CPU = 0.61-14.el8 perl-Sys-CPU(ppc-64) = 0.61-14.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libperl.so.5.26()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.17)(64bit) perl(DynaLoader) perl(Exporter) perl(strict) perl(vars) rtld(GNU_HASH) Processing files: perl-Sys-CPU-debugsource-0.61-14.el8.ppc64le Provides: perl-Sys-CPU-debugsource = 0.61-14.el8 perl-Sys-CPU-debugsource(ppc-64) = 0.61-14.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: perl-Sys-CPU-debuginfo-0.61-14.el8.ppc64le Provides: debuginfo(build-id) = 5bb3e9802626071b1db615b2d7720dde5104ab6b perl-Sys-CPU-debuginfo = 0.61-14.el8 perl-Sys-CPU-debuginfo(ppc-64) = 0.61-14.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: perl-Sys-CPU-debugsource(ppc-64) = 0.61-14.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-Sys-CPU-0.61-14.el8.ppc64le Wrote: /builddir/build/RPMS/perl-Sys-CPU-0.61-14.el8.ppc64le.rpm Wrote: /builddir/build/RPMS/perl-Sys-CPU-debugsource-0.61-14.el8.ppc64le.rpm Wrote: /builddir/build/RPMS/perl-Sys-CPU-debuginfo-0.61-14.el8.ppc64le.rpm Child return code was: 0