Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/perl-Sys-CPU.spec'], chrootPath='/var/lib/mock/dist-oc9-build-62784-16463/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --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'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/perl-Sys-CPU-0.61-5.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/perl-Sys-CPU.spec'], chrootPath='/var/lib/mock/dist-oc9-build-62784-16463/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --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'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.oZWuch + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Sys-CPU-0.61 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/Sys-CPU-0.61.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd Sys-CPU-0.61 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Sys-CPU-0.61-Add-support-for-cpu_type-on-ARM-and-AArch64-Linux-pl.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Sys-CPU-0.61-cpu_clock-can-be-undefined-on-an-ARM.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -i 's/\r//' Changes README + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.fX0cyI + umask 022 + cd /builddir/build/BUILD + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd Sys-CPU-0.61 + perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Sys::CPU + /usr/bin/make -O -j8 V=1 VERBOSE=1 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 "/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' CPU.xs > CPU.xsc mv CPU.xsc CPU.c Please specify prototyping behavior for CPU.xs (see perlxs manual) gcc -c -D_REENTRANT -D_GNU_SOURCE -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-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:189:28: warning: unused variable 'targ' [-Wunused-variable] 189 | #define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG) \ | ^~~~ /usr/lib64/perl5/CORE/XSUB.h:189:28: note: in definition of macro 'dXSTARG' 189 | #define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG) \ | ^~~~ CPU.c:480:17: warning: unused variable 'RETVAL' [-Wunused-variable] 480 | int RETVAL; | ^~~~~~ CPU.c: In function 'XS_Sys__CPU_cpu_clock': /usr/lib64/perl5/CORE/XSUB.h:189:28: warning: unused variable 'targ' [-Wunused-variable] 189 | #define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG) \ | ^~~~ /usr/lib64/perl5/CORE/XSUB.h:189:28: note: in definition of macro 'dXSTARG' 189 | #define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG) \ | ^~~~ CPU.c:506:17: warning: unused variable 'RETVAL' [-Wunused-variable] 506 | int RETVAL; | ^~~~~~ CPU.c: In function 'XS_Sys__CPU_cpu_type': CPU.c:571:17: warning: unused variable 'RETVAL' [-Wunused-variable] 571 | SV * RETVAL; | ^~~~~~ rm -f blib/arch/auto/Sys/CPU/CPU.so gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.5rsfY8 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-Sys-CPU-0.61-5.oc9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-Sys-CPU-0.61-5.oc9.aarch64 ++ dirname /builddir/build/BUILDROOT/perl-Sys-CPU-0.61-5.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-Sys-CPU-0.61-5.oc9.aarch64 + cd Sys-CPU-0.61 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/perl-Sys-CPU-0.61-5.oc9.aarch64 'INSTALL=/usr/bin/install -p' "/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-5.oc9.aarch64/usr/lib64/perl5/vendor_perl/auto/Sys/CPU/CPU.so Installing /builddir/build/BUILDROOT/perl-Sys-CPU-0.61-5.oc9.aarch64/usr/lib64/perl5/vendor_perl/Sys/CPU.pm Installing /builddir/build/BUILDROOT/perl-Sys-CPU-0.61-5.oc9.aarch64/usr/share/man/man3/Sys::CPU.3pm + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-Sys-CPU-0.61-5.oc9.aarch64/usr + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 0.61-5.oc9 --unique-debug-suffix -0.61-5.oc9.aarch64 --unique-debug-src-base perl-Sys-CPU-0.61-5.oc9.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/Sys-CPU-0.61 extracting debug info from /builddir/build/BUILDROOT/perl-Sys-CPU-0.61-5.oc9.aarch64/usr/lib64/perl5/vendor_perl/auto/Sys/CPU/CPU.so 55 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.PDdeAX + umask 022 + cd /builddir/build/BUILD + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd Sys-CPU-0.61 + make test TEST_VERBOSE=1 "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- CPU.bs blib/arch/auto/Sys/CPU/CPU.bs 644 PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/Sys-CPU.t .. 1..4 ok 1 ok 2 (CPU Count : 8) ok 3 (CPU Speed : 50) ok 4 (CPU Type : 0) ok All tests successful. Files=1, Tests=4, 0 wallclock secs ( 0.01 usr + 0.00 sys = 0.01 CPU) Result: PASS + RPM_EC=0 ++ jobs -p + exit 0 Processing files: perl-Sys-CPU-0.61-5.oc9.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.DE5cqh + umask 022 + cd /builddir/build/BUILD + cd Sys-CPU-0.61 + DOCDIR=/builddir/build/BUILDROOT/perl-Sys-CPU-0.61-5.oc9.aarch64/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-5.oc9.aarch64/usr/share/doc/perl-Sys-CPU + cp -pr Changes /builddir/build/BUILDROOT/perl-Sys-CPU-0.61-5.oc9.aarch64/usr/share/doc/perl-Sys-CPU + cp -pr README /builddir/build/BUILDROOT/perl-Sys-CPU-0.61-5.oc9.aarch64/usr/share/doc/perl-Sys-CPU + RPM_EC=0 ++ jobs -p + exit 0 Provides: perl(Sys::CPU) = 0.61 perl-Sys-CPU = 0.61-5.oc9 perl-Sys-CPU(aarch-64) = 0.61-5.oc9 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) libc.so.6(GLIBC_2.38)(64bit) libperl.so.5.36()(64bit) perl(:MODULE_COMPAT_5.36.0) perl(DynaLoader) perl(Exporter) perl(strict) perl(vars) perl-libs rtld(GNU_HASH) Processing files: perl-Sys-CPU-debugsource-0.61-5.oc9.aarch64 Provides: perl-Sys-CPU-debugsource = 0.61-5.oc9 perl-Sys-CPU-debugsource(aarch-64) = 0.61-5.oc9 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-5.oc9.aarch64 Provides: debuginfo(build-id) = 9043313172301fb0ba73abbbcd6ca980ad5dbc5b perl-Sys-CPU-debuginfo = 0.61-5.oc9 perl-Sys-CPU-debuginfo(aarch-64) = 0.61-5.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: perl-Sys-CPU-debugsource(aarch-64) = 0.61-5.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-Sys-CPU-0.61-5.oc9.aarch64 Wrote: /builddir/build/RPMS/perl-Sys-CPU-debugsource-0.61-5.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/perl-Sys-CPU-debuginfo-0.61-5.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/perl-Sys-CPU-0.61-5.oc9.aarch64.rpm Child return code was: 0