Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/perl-Sane.spec'], chrootPath='/var/lib/mock/f34-build-25392331-2885903/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/perl-Sane.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: line 1: perl: command not found Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1611705600 Wrote: /builddir/build/SRPMS/perl-Sane-0.05-28.fc34.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/perl-Sane.spec'], chrootPath='/var/lib/mock/f34-build-25392331-2885903/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/perl-Sane.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: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1611705600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.gAVlS3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Sane-0.05 + /usr/bin/gzip -dc /builddir/build/SOURCES/Sane-0.05.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd Sane-0.05 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + chmod a-x examples/scanadf.pl examples/scanimage.pl + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.wJy3RN + umask 022 + cd /builddir/build/BUILD + cd Sane-0.05 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection' Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Sane + make -j3 Running Mkbootstrap for Sane () "/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/builddir/build/BUILD/Sane-0.05/typemap' Sane.xs > Sane.xsc cp lib/Sane.pm blib/lib/Sane.pm chmod 644 "Sane.bs" "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Sane.bs blib/arch/auto/Sane/Sane.bs 644 mv Sane.xsc Sane.c gcc -c -I. -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"0.05\" -DXS_VERSION=\"0.05\" -fPIC "-I/usr/lib64/perl5/CORE" Sane.c In file included from /usr/lib64/perl5/CORE/perl.h:5547, from Sane.xs:2: Sane.xs: In function 'XS_Sane__Device_read': Sane.xs:288:52: warning: pointer targets in passing argument 2 of 'Perl_newSVpvn' differ in signedness [-Wpointer-sign] 288 | XPUSHs(sv_2mortal(newSVpvn(data, length))); | ^~~~ | | | SANE_Byte * {aka unsigned char *} /usr/lib64/perl5/CORE/pp.h:462:61: note: in definition of macro 'XPUSHs' 462 | #define XPUSHs(s) STMT_START { EXTEND(sp,1); *++sp = (s); } STMT_END | ^ Sane.xs:288:32: note: in expansion of macro 'sv_2mortal' 288 | XPUSHs(sv_2mortal(newSVpvn(data, length))); | ^~~~~~~~~~ Sane.xs:288:43: note: in expansion of macro 'newSVpvn' 288 | XPUSHs(sv_2mortal(newSVpvn(data, length))); | ^~~~~~~~ In file included from /usr/lib64/perl5/CORE/perl.h:5567, from Sane.xs:2: /usr/lib64/perl5/CORE/proto.h:2433:63: note: expected 'const char * const' but argument is of type 'SANE_Byte *' {aka 'unsigned char *'} 2433 | PERL_CALLCONV SV* Perl_newSVpvn(pTHX_ const char *const buffer, const STRLEN len) | ~~~~~~~~~~~~~~~~~~^~~~~~ Sane.c: In function 'XS_Sane__get_devices': Sane.xs:532:22: warning: variable 'array' set but not used [-Wunused-but-set-variable] 532 | AV * array; | ^~~~~ Sane.xs: In function 'XS_Sane_END': Sane.xs:586:25: warning: statement with no effect [-Wunused-value] 586 | sane_exit; | ^~~~~~~~~ Sane.c: In function 'XS_Sane__Device_set_option': Sane.xs:223:26: warning: 'valuep' may be used uninitialized in this function [-Wmaybe-uninitialized] 223 | status = sane_control_option (h, n, SANE_ACTION_SET_VALUE, valuep, &info); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Sane.xs:164:33: note: 'valuep' was declared here 164 | void * valuep; | ^~~~~~ rm -f blib/arch/auto/Sane/Sane.so gcc -lpthread -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -fstack-protector-strong Sane.o -o blib/arch/auto/Sane/Sane.so \ -lsane -lperl \ chmod 755 blib/arch/auto/Sane/Sane.so Manifying 1 pod document + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.dY3dHd + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-Sane-0.05-28.fc34.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-Sane-0.05-28.fc34.s390x ++ dirname /builddir/build/BUILDROOT/perl-Sane-0.05-28.fc34.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-Sane-0.05-28.fc34.s390x + cd Sane-0.05 + make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-Sane-0.05-28.fc34.s390x "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Sane.bs blib/arch/auto/Sane/Sane.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-Sane-0.05-28.fc34.s390x/usr/lib64/perl5/vendor_perl/auto/Sane/Sane.so Installing /builddir/build/BUILDROOT/perl-Sane-0.05-28.fc34.s390x/usr/lib64/perl5/vendor_perl/Sane.pm Installing /builddir/build/BUILDROOT/perl-Sane-0.05-28.fc34.s390x/usr/share/man/man3/Sane.3pm + find /builddir/build/BUILDROOT/perl-Sane-0.05-28.fc34.s390x -type f -name .packlist -delete + find /builddir/build/BUILDROOT/perl-Sane-0.05-28.fc34.s390x -type f -name '*.bs' -a -size 0 -delete + chmod -R u+w /builddir/build/BUILDROOT/perl-Sane-0.05-28.fc34.s390x/usr + /usr/lib/rpm/find-debuginfo.sh -j3 --strict-build-id -m -i --build-id-seed 0.05-28.fc34 --unique-debug-suffix -0.05-28.fc34.s390x --unique-debug-src-base perl-Sane-0.05-28.fc34.s390x --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/Sane-0.05 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/perl-Sane-0.05-28.fc34.s390x/usr/lib64/perl5/vendor_perl/auto/Sane/Sane.so extracting debug info from /builddir/build/BUILDROOT/perl-Sane-0.05-28.fc34.s390x/usr/lib64/perl5/vendor_perl/auto/Sane/Sane.so original debug info size: 164kB, size after compression: 156kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 122 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.zmSnHY + umask 022 + cd /builddir/build/BUILD + cd Sane-0.05 + make test "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Sane.bs blib/arch/auto/Sane/Sane.bs 644 PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/data.t .......... ok t/enums.t ......... ok t/err.t ........... ok t/non-blocking.t .. ok t/options.t ....... ok t/pod.t ........... ok All tests successful. Files=6, Tests=338, 3 wallclock secs ( 0.06 usr 0.03 sys + 0.42 cusr 0.10 csys = 0.61 CPU) Result: PASS + RPM_EC=0 ++ jobs -p + exit 0 Processing files: perl-Sane-0.05-28.fc34.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.en18zD + umask 022 + cd /builddir/build/BUILD + cd Sane-0.05 + DOCDIR=/builddir/build/BUILDROOT/perl-Sane-0.05-28.fc34.s390x/usr/share/doc/perl-Sane + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-Sane-0.05-28.fc34.s390x/usr/share/doc/perl-Sane + cp -pr Changes /builddir/build/BUILDROOT/perl-Sane-0.05-28.fc34.s390x/usr/share/doc/perl-Sane + cp -pr README /builddir/build/BUILDROOT/perl-Sane-0.05-28.fc34.s390x/usr/share/doc/perl-Sane + cp -pr examples /builddir/build/BUILDROOT/perl-Sane-0.05-28.fc34.s390x/usr/share/doc/perl-Sane + RPM_EC=0 ++ jobs -p + exit 0 Provides: perl(Sane) = 0.05 perl(Sane::Device) perl(Sane::Status) perl-Sane = 0.05-28.fc34 perl-Sane(s390-64) = 0.05-28.fc34 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.2)(64bit) libc.so.6(GLIBC_2.4)(64bit) libperl.so.5.32()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2)(64bit) libsane.so.1()(64bit) perl(:VERSION) >= 5.8.5 perl(Exporter) perl(XSLoader) perl(overload) perl(strict) perl(warnings) rtld(GNU_HASH) Processing files: perl-Sane-debugsource-0.05-28.fc34.s390x Provides: perl-Sane-debugsource = 0.05-28.fc34 perl-Sane-debugsource(s390-64) = 0.05-28.fc34 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: perl-Sane-debuginfo-0.05-28.fc34.s390x Provides: debuginfo(build-id) = 093547851b53f39eedbd48fd055f446efc97e79c perl-Sane-debuginfo = 0.05-28.fc34 perl-Sane-debuginfo(s390-64) = 0.05-28.fc34 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: perl-Sane-debugsource(s390-64) = 0.05-28.fc34 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-Sane-0.05-28.fc34.s390x Wrote: /builddir/build/RPMS/perl-Sane-debugsource-0.05-28.fc34.s390x.rpm Wrote: /builddir/build/RPMS/perl-Sane-debuginfo-0.05-28.fc34.s390x.rpm Wrote: /builddir/build/RPMS/perl-Sane-0.05-28.fc34.s390x.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.AwnUTU + umask 022 + cd /builddir/build/BUILD + cd Sane-0.05 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl-Sane-0.05-28.fc34.s390x + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0