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-RPM2.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-79955-53506/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-RPM2.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-RPM2-1.4-1.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-RPM2.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-79955-53506/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-RPM2.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.PD5Mid + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf RPM2-1.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/RPM2-1.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd RPM2-1.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.9W0uFn + 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 RPM2-1.4 + perl Build.PL installdirs=vendor Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'RPM2' version '1.4' + ./Build Building RPM2 gcc -I/usr/lib64/perl5/CORE -DVERSION="1.4" -DXS_VERSION="1.4" -fPIC -DRPM2_API=4018 -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 -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 -g -o lib/RPM2.o lib/RPM2.c lib/RPM2.c: In function 'XS_RPM2__C__PackageIterator__iterator_next': lib/RPM2.c:674:17: warning: variable 'RETVAL' set but not used [-Wunused-but-set-variable] 674 | Header RETVAL; | ^~~~~~ ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/RPM2/RPM2.bs') 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 -lperl -o blib/arch/auto/RPM2/RPM2.so lib/RPM2.o -lrpm -lrpmio -lpopt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.lQMT3m + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-RPM2-1.4-1.oc9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-RPM2-1.4-1.oc9.aarch64 ++ dirname /builddir/build/BUILDROOT/perl-RPM2-1.4-1.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-RPM2-1.4-1.oc9.aarch64 + cd RPM2-1.4 + ./Build install destdir=/builddir/build/BUILDROOT/perl-RPM2-1.4-1.oc9.aarch64 create_packlist=0 Building RPM2 Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /builddir/build/BUILDROOT/perl-RPM2-1.4-1.oc9.aarch64/usr/lib64/perl5/vendor_perl/auto/RPM2/RPM2.bs Installing /builddir/build/BUILDROOT/perl-RPM2-1.4-1.oc9.aarch64/usr/lib64/perl5/vendor_perl/auto/RPM2/RPM2.so Installing /builddir/build/BUILDROOT/perl-RPM2-1.4-1.oc9.aarch64/usr/lib64/perl5/vendor_perl/RPM2.pm Installing /builddir/build/BUILDROOT/perl-RPM2-1.4-1.oc9.aarch64/usr/share/man/man3/RPM2.3pm + find /builddir/build/BUILDROOT/perl-RPM2-1.4-1.oc9.aarch64 -type f -name '*.bs' -size 0 -delete + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-RPM2-1.4-1.oc9.aarch64/usr + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.4-1.oc9 --unique-debug-suffix -1.4-1.oc9.aarch64 --unique-debug-src-base perl-RPM2-1.4-1.oc9.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/RPM2-1.4 extracting debug info from /builddir/build/BUILDROOT/perl-RPM2-1.4-1.oc9.aarch64/usr/lib64/perl5/vendor_perl/auto/RPM2/RPM2.so 91 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.422ZP0 + 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 RPM2-1.4 + ./Build test verbose=1 test.pl .. 1..62 # Running under perl version 5.036000 for linux # Current time local: Tue Jun 4 14:01:39 2024 # Current time GMT: Tue Jun 4 06:01:39 2024 # Using Test.pm version 1.31 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 ok 13 ok 14 # skip no package requiring /bin/bash installed ok 15 # skip no package requiring /bin/bash installed ok 16 ok 17 ok 18 ok 19 ok 20 ok 21 ok 22 ok 23 ok 24 ok 25 ok 26 ok 27 ok 28 ok 29 ok 30 ok 31 ok 32 ok 33 ok 34 ok 35 ok 36 ok 37 ok 38 ok 39 ok 40 ok 41 ok 42 ok 43 ok 44 ok 45 ok 46 ok 47 ok 48 # skip : must be root to create RPM transaction. ok 49 ok 50 ok 51 # skip : package not added as not root. ok 52 ok 53 # skip : package not erased as not root. ok 54 # skip : no transaction as not root. ok 55 ok 56 ok 57 ok 58 ok 59 # skip : cannot run RPM transaction as not root. ok 60 ok 61 ok 62 ok All tests successful. Files=1, Tests=62, 1 wallclock secs ( 0.02 usr 0.00 sys + 0.06 cusr 0.01 csys = 0.09 CPU) Result: PASS + RPM_EC=0 ++ jobs -p + exit 0 Processing files: perl-RPM2-1.4-1.oc9.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.BHmqxI + umask 022 + cd /builddir/build/BUILD + cd RPM2-1.4 + DOCDIR=/builddir/build/BUILDROOT/perl-RPM2-1.4-1.oc9.aarch64/usr/share/doc/perl-RPM2 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-RPM2-1.4-1.oc9.aarch64/usr/share/doc/perl-RPM2 + cp -pr Changes /builddir/build/BUILDROOT/perl-RPM2-1.4-1.oc9.aarch64/usr/share/doc/perl-RPM2 + cp -pr README /builddir/build/BUILDROOT/perl-RPM2-1.4-1.oc9.aarch64/usr/share/doc/perl-RPM2 + RPM_EC=0 ++ jobs -p + exit 0 Provides: perl(RPM2) = 1.4 perl(RPM2::DB) perl(RPM2::Header) perl(RPM2::PackageIterator) perl(RPM2::Transaction) perl-RPM2 = 1.4-1.oc9 perl-RPM2(aarch-64) = 1.4-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) librpm.so.9()(64bit) librpmio.so.9()(64bit) perl(:MODULE_COMPAT_5.36.0) perl(:VERSION) >= 5.5.30 perl(Cwd) perl(DynaLoader) perl(File::Basename) perl(File::Spec) perl(overload) perl(strict) perl-libs rtld(GNU_HASH) Processing files: perl-RPM2-debugsource-1.4-1.oc9.aarch64 Provides: perl-RPM2-debugsource = 1.4-1.oc9 perl-RPM2-debugsource(aarch-64) = 1.4-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: perl-RPM2-debuginfo-1.4-1.oc9.aarch64 Provides: debuginfo(build-id) = bbfd73ae5bd53a3452193c5f1bdca0e12ed70803 perl-RPM2-debuginfo = 1.4-1.oc9 perl-RPM2-debuginfo(aarch-64) = 1.4-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: perl-RPM2-debugsource(aarch-64) = 1.4-1.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-RPM2-1.4-1.oc9.aarch64 Wrote: /builddir/build/RPMS/perl-RPM2-debugsource-1.4-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/perl-RPM2-1.4-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/perl-RPM2-debuginfo-1.4-1.oc9.aarch64.rpm Child return code was: 0