Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/perl-File-LibMagic.spec'], chrootPath='/var/lib/mock/dist-oc8-build-26204-7141/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 --target aarch64 --nodeps /builddir/build/SPECS/perl-File-LibMagic.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 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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/perl-File-LibMagic-1.16-2.oc8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps --nocheck /builddir/build/SPECS/perl-File-LibMagic.spec'], chrootPath='/var/lib/mock/dist-oc8-build-26204-7141/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 --target aarch64 --nodeps --nocheck /builddir/build/SPECS/perl-File-LibMagic.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.XjWG7Z + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf File-LibMagic-1.16 + /usr/bin/gzip -dc /builddir/build/SOURCES/File-LibMagic-1.16.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd File-LibMagic-1.16 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -r inc + sed -i -e '/^inc\//d' MANIFEST + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.H1sVuX + umask 022 + cd /builddir/build/BUILD + cd File-LibMagic-1.16 + perl Makefile.PL INSTALLDIRS=vendor 'OPTIMIZE=-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 -fasynchronous-unwind-tables -fstack-clash-protection' Checking for magic.h... Checking for cc... gcc yes Checking for magic_open in -lmagic... yes Checking for magic_version in -lmagic... yes Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for File::LibMagic + make -j32 "/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' lib/File/LibMagic.xs > lib/File/LibMagic.xsc Running Mkbootstrap for LibMagic () chmod 644 "LibMagic.bs" "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- LibMagic.bs blib/arch/auto/File/LibMagic/LibMagic.bs 644 cp lib/File/LibMagic.pm blib/lib/File/LibMagic.pm mv lib/File/LibMagic.xsc lib/File/LibMagic.c gcc -c -I. -Ic -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 -fasynchronous-unwind-tables -fstack-clash-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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 -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"1.16\" -DXS_VERSION=\"1.16\" -fPIC "-I/usr/lib64/perl5/CORE" -DHAVE_MAGIC_VERSION lib/File/LibMagic.c lib/File/LibMagic.c: In function 'XS_File__LibMagic_magic_buffer_offset': lib/File/LibMagic.xs:196:16: warning: unused variable 'len' [-Wunused-variable] STRLEN len; ^~~ lib/File/LibMagic.c: In function 'XS_File__LibMagic__info_from_string': lib/File/LibMagic.c:673:7: warning: unused variable 'RETVAL' [-Wunused-variable] SV * RETVAL; ^~~~~~ lib/File/LibMagic.c: In function 'XS_File__LibMagic__info_from_filename': lib/File/LibMagic.c:721:7: warning: unused variable 'RETVAL' [-Wunused-variable] SV * RETVAL; ^~~~~~ lib/File/LibMagic.xs:286:15: warning: unused variable 'string' [-Wunused-variable] char *string; ^~~~~~ lib/File/LibMagic.c: In function 'XS_File__LibMagic__info_from_handle': lib/File/LibMagic.c:764:7: warning: unused variable 'RETVAL' [-Wunused-variable] SV * RETVAL; ^~~~~~ lib/File/LibMagic.c: In function 'XS_File__LibMagic_magic_load': lib/File/LibMagic.xs:123:15: warning: 'dbnames_value' may be used uninitialized in this function [-Wmaybe-uninitialized] ret = magic_load(m, len > 0 ? dbnames_value : NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/File/LibMagic.xs:111:15: note: 'dbnames_value' was declared here char *dbnames_value; ^~~~~~~~~~~~~ rm -f blib/arch/auto/File/LibMagic/LibMagic.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 LibMagic.o -o blib/arch/auto/File/LibMagic/LibMagic.so \ -lmagic -lperl \ chmod 755 blib/arch/auto/File/LibMagic/LibMagic.so Manifying 1 pod document + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.C0PyPX + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-File-LibMagic-1.16-2.oc8.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-File-LibMagic-1.16-2.oc8.aarch64 ++ dirname /builddir/build/BUILDROOT/perl-File-LibMagic-1.16-2.oc8.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-File-LibMagic-1.16-2.oc8.aarch64 + cd File-LibMagic-1.16 + make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-File-LibMagic-1.16-2.oc8.aarch64 "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- LibMagic.bs blib/arch/auto/File/LibMagic/LibMagic.bs 644 gcc -c -I. -Ic -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 -fasynchronous-unwind-tables -fstack-clash-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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 -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"1.16\" -DXS_VERSION=\"1.16\" -fPIC "-I/usr/lib64/perl5/CORE" -DHAVE_MAGIC_VERSION lib/File/LibMagic.c lib/File/LibMagic.c: In function 'XS_File__LibMagic_magic_buffer_offset': lib/File/LibMagic.xs:196:16: warning: unused variable 'len' [-Wunused-variable] STRLEN len; ^~~ lib/File/LibMagic.c: In function 'XS_File__LibMagic__info_from_string': lib/File/LibMagic.c:673:7: warning: unused variable 'RETVAL' [-Wunused-variable] SV * RETVAL; ^~~~~~ lib/File/LibMagic.c: In function 'XS_File__LibMagic__info_from_filename': lib/File/LibMagic.c:721:7: warning: unused variable 'RETVAL' [-Wunused-variable] SV * RETVAL; ^~~~~~ lib/File/LibMagic.xs:286:15: warning: unused variable 'string' [-Wunused-variable] char *string; ^~~~~~ lib/File/LibMagic.c: In function 'XS_File__LibMagic__info_from_handle': lib/File/LibMagic.c:764:7: warning: unused variable 'RETVAL' [-Wunused-variable] SV * RETVAL; ^~~~~~ lib/File/LibMagic.c: In function 'XS_File__LibMagic_magic_load': lib/File/LibMagic.xs:123:15: warning: 'dbnames_value' may be used uninitialized in this function [-Wmaybe-uninitialized] ret = magic_load(m, len > 0 ? dbnames_value : NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/File/LibMagic.xs:111:15: note: 'dbnames_value' was declared here char *dbnames_value; ^~~~~~~~~~~~~ rm -f blib/arch/auto/File/LibMagic/LibMagic.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 LibMagic.o -o blib/arch/auto/File/LibMagic/LibMagic.so \ -lmagic -lperl \ chmod 755 blib/arch/auto/File/LibMagic/LibMagic.so Manifying 1 pod document Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /builddir/build/BUILDROOT/perl-File-LibMagic-1.16-2.oc8.aarch64/usr/lib64/perl5/vendor_perl/auto/File/LibMagic/LibMagic.so Installing /builddir/build/BUILDROOT/perl-File-LibMagic-1.16-2.oc8.aarch64/usr/lib64/perl5/vendor_perl/File/LibMagic.pm Installing /builddir/build/BUILDROOT/perl-File-LibMagic-1.16-2.oc8.aarch64/usr/share/man/man3/File::LibMagic.3pm + find /builddir/build/BUILDROOT/perl-File-LibMagic-1.16-2.oc8.aarch64 -type f -name .packlist -delete + find /builddir/build/BUILDROOT/perl-File-LibMagic-1.16-2.oc8.aarch64 -type f '(' -name LibMagic.xs -or -name typemap ')' -delete + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w -c /builddir/build/BUILDROOT/perl-File-LibMagic-1.16-2.oc8.aarch64 mode of '/builddir/build/BUILDROOT/perl-File-LibMagic-1.16-2.oc8.aarch64/usr/lib64/perl5/vendor_perl/File/LibMagic.pm' changed from 0444 (r--r--r--) to 0644 (rw-r--r--) mode of '/builddir/build/BUILDROOT/perl-File-LibMagic-1.16-2.oc8.aarch64/usr/lib64/perl5/vendor_perl/auto/File/LibMagic/LibMagic.so' changed from 0555 (r-xr-xr-x) to 0755 (rwxr-xr-x) mode of '/builddir/build/BUILDROOT/perl-File-LibMagic-1.16-2.oc8.aarch64/usr/share/man/man3/File::LibMagic.3pm' changed from 0444 (r--r--r--) to 0644 (rw-r--r--) + /usr/lib/rpm/find-debuginfo.sh -j32 --strict-build-id -m -i --build-id-seed 1.16-2.oc8 --unique-debug-suffix -1.16-2.oc8.aarch64 --unique-debug-src-base perl-File-LibMagic-1.16-2.oc8.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/File-LibMagic-1.16 extracting debug info from /builddir/build/BUILDROOT/perl-File-LibMagic-1.16-2.oc8.aarch64/usr/lib64/perl5/vendor_perl/auto/File/LibMagic/LibMagic.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 473 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 Processing files: perl-File-LibMagic-1.16-2.oc8.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.m3yNEX + umask 022 + cd /builddir/build/BUILD + cd File-LibMagic-1.16 + DOCDIR=/builddir/build/BUILDROOT/perl-File-LibMagic-1.16-2.oc8.aarch64/usr/share/doc/perl-File-LibMagic + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-File-LibMagic-1.16-2.oc8.aarch64/usr/share/doc/perl-File-LibMagic + cp -pr Changes /builddir/build/BUILDROOT/perl-File-LibMagic-1.16-2.oc8.aarch64/usr/share/doc/perl-File-LibMagic + cp -pr CONTRIBUTING.md /builddir/build/BUILDROOT/perl-File-LibMagic-1.16-2.oc8.aarch64/usr/share/doc/perl-File-LibMagic + cp -pr README.md /builddir/build/BUILDROOT/perl-File-LibMagic-1.16-2.oc8.aarch64/usr/share/doc/perl-File-LibMagic + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.KL8ObX + umask 022 + cd /builddir/build/BUILD + cd File-LibMagic-1.16 + LICENSEDIR=/builddir/build/BUILDROOT/perl-File-LibMagic-1.16-2.oc8.aarch64/usr/share/licenses/perl-File-LibMagic + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-File-LibMagic-1.16-2.oc8.aarch64/usr/share/licenses/perl-File-LibMagic + cp -pr LICENSE /builddir/build/BUILDROOT/perl-File-LibMagic-1.16-2.oc8.aarch64/usr/share/licenses/perl-File-LibMagic + exit 0 Provides: perl(File::LibMagic) = 1.16 perl-File-LibMagic = 1.16-2.oc8 perl-File-LibMagic(aarch-64) = 1.16-2.oc8 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) libmagic.so.1()(64bit) libperl.so.5.26()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.17)(64bit) perl(:VERSION) >= 5.8.0 perl(Carp) perl(Exporter) perl(Scalar::Util) perl(XSLoader) perl(base) perl(strict) perl(warnings) rtld(GNU_HASH) Processing files: perl-File-LibMagic-debugsource-1.16-2.oc8.aarch64 Provides: perl-File-LibMagic-debugsource = 1.16-2.oc8 perl-File-LibMagic-debugsource(aarch-64) = 1.16-2.oc8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: perl-File-LibMagic-debuginfo-1.16-2.oc8.aarch64 Provides: debuginfo(build-id) = c8c757c57bb59b9e0106cb7c7e997b2d511f1d05 perl-File-LibMagic-debuginfo = 1.16-2.oc8 perl-File-LibMagic-debuginfo(aarch-64) = 1.16-2.oc8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: perl-File-LibMagic-debugsource(aarch-64) = 1.16-2.oc8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-File-LibMagic-1.16-2.oc8.aarch64 Wrote: /builddir/build/RPMS/perl-File-LibMagic-1.16-2.oc8.aarch64.rpm Wrote: /builddir/build/RPMS/perl-File-LibMagic-debugsource-1.16-2.oc8.aarch64.rpm Wrote: /builddir/build/RPMS/perl-File-LibMagic-debuginfo-1.16-2.oc8.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.8w3xyX + umask 022 + cd /builddir/build/BUILD + cd File-LibMagic-1.16 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl-File-LibMagic-1.16-2.oc8.aarch64 + exit 0 Child return code was: 0