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-BDB.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-86277-57696/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-BDB.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-BDB-1.92-1.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps --nocheck /builddir/build/SPECS/perl-BDB.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-86277-57696/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 --nocheck /builddir/build/SPECS/perl-BDB.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.oXTdIk + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf BDB-1.92 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/BDB-1.92.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd BDB-1.92 + /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.Zttczd + 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 BDB-1.92 + perl Makefile.PL INSTALLDIRS=vendor 'OPTIMIZE=-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' NO_PACKLIST=1 NO_PERLLOCAL=1 Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for BDB + /usr/bin/make -O -j8 V=1 VERBOSE=1 cp BDB.pm blib/lib/BDB.pm Running Mkbootstrap for BDB () chmod 644 "BDB.bs" "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- BDB.bs blib/arch/auto/BDB/BDB.bs 644 "/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/builddir/build/BUILD/BDB-1.92/typemap' BDB.xs > BDB.xsc mv BDB.xsc BDB.c 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 -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 -DVERSION=\"1.92\" -DXS_VERSION=\"1.92\" -fPIC "-I/usr/lib64/perl5/CORE" BDB.c BDB.xs: In function 'poll_cb': BDB.xs:644:7: warning: unused variable 'do_croak' [-Wunused-variable] 644 | int do_croak = 0; | ^~~~~~~~ In file included from /usr/lib64/perl5/CORE/perl.h:5778, from BDB.xs:8: /usr/lib64/perl5/CORE/pp.h:91:30: warning: unused variable 'sp' [-Wunused-variable] 91 | #define dSP SV **sp = PL_stack_sp | ^~ /usr/lib64/perl5/CORE/pp.h:91:30: note: in definition of macro 'dSP' 91 | #define dSP SV **sp = PL_stack_sp | ^~ BDB.xs: In function 'atfork_child': BDB.xs:993:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 993 | while (prv = reqq_shift (&req_queue)) | ^~~ BDB.xs:996:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 996 | while (prv = reqq_shift (&res_queue)) | ^~~ BDB.c: In function 'XS_BDB_db_env_lock_detect': BDB.c:1958:17: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 1958 | SV * dummy; | ^~~~~ BDB.c: In function 'XS_BDB_db_env_memp_sync': BDB.c:2017:17: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 2017 | SV * dummy; | ^~~~~ BDB.c: In function 'XS_BDB_db_env_memp_trickle': BDB.c:2061:17: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 2061 | SV * dummy; | ^~~~~ BDB.c: In function 'XS_BDB_db_compact': BDB.c:2484:17: warning: variable 'unused2' set but not used [-Wunused-but-set-variable] 2484 | SV * unused2; | ^~~~~~~ BDB.c:2482:17: warning: variable 'unused1' set but not used [-Wunused-but-set-variable] 2482 | SV * unused1; | ^~~~~~~ BDB.c: In function 'XS_BDB_db_verify': BDB.c:2611:17: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 2611 | SV * dummy; | ^~~~~ BDB.c: In function 'XS_BDB_db_c_count': BDB.c:3256:17: warning: variable 'flags' set but not used [-Wunused-but-set-variable] 3256 | U32 flags; | ^~~~~ In file included from BDB.xs:9: BDB.c: In function 'XS_BDB__Cursor_set_priority': /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) \ | ^~~~ BDB.c:5155:17: warning: unused variable 'RETVAL' [-Wunused-variable] 5155 | int RETVAL; | ^~~~~~ In file included from BDB.xs:11: schmorp.h: In function 's_epipe_signal': schmorp.h:450:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 450 | write (epp->fd [1], &counter, (epp->len = 8)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ schmorp.h: In function 's_epipe_drain': schmorp.h:463:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 463 | read (epp->fd [0], buf, sizeof (buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ schmorp.h: At top level: schmorp.h:417:1: warning: 's_epipe_destroy' defined but not used [-Wunused-function] 417 | s_epipe_destroy (s_epipe *epp) | ^~~~~~~~~~~~~~~ schmorp.h:220:1: warning: 's_gensub' defined but not used [-Wunused-function] 220 | s_gensub (pTHX_ void (*xsub)(pTHX_ CV *), void *arg) | ^~~~~~~~ schmorp.h:198:1: warning: 's_get_cv_croak' defined but not used [-Wunused-function] 198 | s_get_cv_croak (SV *cb_sv) | ^~~~~~~~~~~~~~ schmorp.h:174:1: warning: 's_fileno_croak' defined but not used [-Wunused-function] 174 | s_fileno_croak (SV *fh, int wr) | ^~~~~~~~~~~~~~ schmorp.h:139:1: warning: 's_signum_croak' defined but not used [-Wunused-function] 139 | s_signum_croak (SV *sig) | ^~~~~~~~~~~~~~ rm -f blib/arch/auto/BDB/BDB.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 BDB.o -o blib/arch/auto/BDB/BDB.so \ -lpthread -ldb -lperl \ chmod 755 blib/arch/auto/BDB/BDB.so Manifying 1 pod document + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.uQtGaw + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-BDB-1.92-1.oc9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-BDB-1.92-1.oc9.aarch64 ++ dirname /builddir/build/BUILDROOT/perl-BDB-1.92-1.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-BDB-1.92-1.oc9.aarch64 + cd BDB-1.92 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/perl-BDB-1.92-1.oc9.aarch64 'INSTALL=/usr/bin/install -p' "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- BDB.bs blib/arch/auto/BDB/BDB.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-BDB-1.92-1.oc9.aarch64/usr/lib64/perl5/vendor_perl/auto/BDB/BDB.so Installing /builddir/build/BUILDROOT/perl-BDB-1.92-1.oc9.aarch64/usr/lib64/perl5/vendor_perl/BDB.pm Installing /builddir/build/BUILDROOT/perl-BDB-1.92-1.oc9.aarch64/usr/share/man/man3/BDB.3pm + find /builddir/build/BUILDROOT/perl-BDB-1.92-1.oc9.aarch64 -type f -name '*.bs' -a -size 0 -delete + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-BDB-1.92-1.oc9.aarch64/usr + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.92-1.oc9 --unique-debug-suffix -1.92-1.oc9.aarch64 --unique-debug-src-base perl-BDB-1.92-1.oc9.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/BDB-1.92 extracting debug info from /builddir/build/BUILDROOT/perl-BDB-1.92-1.oc9.aarch64/usr/lib64/perl5/vendor_perl/auto/BDB/BDB.so 389 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 Processing files: perl-BDB-1.92-1.oc9.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.xCRF8d + umask 022 + cd /builddir/build/BUILD + cd BDB-1.92 + DOCDIR=/builddir/build/BUILDROOT/perl-BDB-1.92-1.oc9.aarch64/usr/share/doc/perl-BDB + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-BDB-1.92-1.oc9.aarch64/usr/share/doc/perl-BDB + cp -pr Changes /builddir/build/BUILDROOT/perl-BDB-1.92-1.oc9.aarch64/usr/share/doc/perl-BDB + cp -pr README /builddir/build/BUILDROOT/perl-BDB-1.92-1.oc9.aarch64/usr/share/doc/perl-BDB + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.5Ty2Jp + umask 022 + cd /builddir/build/BUILD + cd BDB-1.92 + LICENSEDIR=/builddir/build/BUILDROOT/perl-BDB-1.92-1.oc9.aarch64/usr/share/licenses/perl-BDB + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-BDB-1.92-1.oc9.aarch64/usr/share/licenses/perl-BDB + cp -pr COPYING /builddir/build/BUILDROOT/perl-BDB-1.92-1.oc9.aarch64/usr/share/licenses/perl-BDB + RPM_EC=0 ++ jobs -p + exit 0 Provides: perl(BDB) = 1.92 perl-BDB = 1.92-1.oc9 perl-BDB(aarch-64) = 1.92-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) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libdb-5.3.so()(64bit) libperl.so.5.36()(64bit) perl(:MODULE_COMPAT_5.36.0) perl(Exporter) perl(base) perl(common::sense) perl-libs rtld(GNU_HASH) Processing files: perl-BDB-debugsource-1.92-1.oc9.aarch64 Provides: perl-BDB-debugsource = 1.92-1.oc9 perl-BDB-debugsource(aarch-64) = 1.92-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: perl-BDB-debuginfo-1.92-1.oc9.aarch64 Provides: debuginfo(build-id) = ae4b1b24d7c72fef39f66175a624138bd4df37ab perl-BDB-debuginfo = 1.92-1.oc9 perl-BDB-debuginfo(aarch-64) = 1.92-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: perl-BDB-debugsource(aarch-64) = 1.92-1.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-BDB-1.92-1.oc9.aarch64 Wrote: /builddir/build/RPMS/perl-BDB-debugsource-1.92-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/perl-BDB-1.92-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/perl-BDB-debuginfo-1.92-1.oc9.aarch64.rpm Child return code was: 0