Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/perl-Image-Sane.spec'], chrootPath='/var/lib/mock/f30-build-39198-22483/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/perl-Image-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': 'en_US.UTF-8'} and shell False BUILDSTDERR: sh: perl: command not found BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/perl-Image-Sane-0.14-5.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perl-Image-Sane.spec'], chrootPath='/var/lib/mock/f30-build-39198-22483/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perl-Image-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': 'en_US.UTF-8'} and shell False BUILDSTDERR: perl: warning: Setting locale failed. BUILDSTDERR: perl: warning: Please check that your locale settings: BUILDSTDERR: LANGUAGE = (unset), BUILDSTDERR: LC_ALL = (unset), BUILDSTDERR: LANG = "en_US.UTF-8" BUILDSTDERR: are supported and installed on your system. BUILDSTDERR: perl: warning: Falling back to the standard locale ("C"). BUILDSTDERR: perl: warning: Setting locale failed. BUILDSTDERR: perl: warning: Please check that your locale settings: BUILDSTDERR: LANGUAGE = (unset), BUILDSTDERR: LC_ALL = (unset), BUILDSTDERR: LANG = "en_US.UTF-8" BUILDSTDERR: are supported and installed on your system. BUILDSTDERR: perl: warning: Falling back to the standard locale ("C"). BUILDSTDERR: perl: warning: Setting locale failed. BUILDSTDERR: perl: warning: Please check that your locale settings: BUILDSTDERR: LANGUAGE = (unset), BUILDSTDERR: LC_ALL = (unset), BUILDSTDERR: LANG = "en_US.UTF-8" BUILDSTDERR: are supported and installed on your system. BUILDSTDERR: perl: warning: Falling back to the standard locale ("C"). Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mCZ8pb + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Image-Sane-0.14 + /usr/bin/gzip -dc /builddir/build/SOURCES/Image-Sane-0.14.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd Image-Sane-0.14 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + chmod -x examples/scanadf-perl examples/scanimage-perl + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.CpbKoB + umask 022 + cd /builddir/build/BUILD + cd Image-Sane-0.14 + perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 '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 if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Image::Sane + make -j4 Running Mkbootstrap for Sane () "/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/builddir/build/BUILD/Image-Sane-0.14/typemap' Sane.xs > Sane.xsc chmod 644 "Sane.bs" "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Sane.bs blib/arch/auto/Image/Sane/Sane.bs 644 cp lib/Image/Sane.pm blib/lib/Image/Sane.pm cp lib/Image/Sane/Device.pm blib/lib/Image/Sane/Device.pm mv Sane.xsc Sane.c gcc -c -I. -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=\"0.14\" -DXS_VERSION=\"0.14\" -fPIC "-I/usr/lib64/perl5/CORE" Sane.c BUILDSTDERR: Sane.c: In function 'XS_Image__Sane__Device__start': BUILDSTDERR: Sane.xs:256:22: warning: unused variable 'status' [-Wunused-variable] BUILDSTDERR: SANE_Status status; BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from /usr/lib64/perl5/CORE/perl.h:5251, BUILDSTDERR: from Sane.xs:2: BUILDSTDERR: Sane.xs: In function 'XS_Image__Sane__Device__read': BUILDSTDERR: Sane.xs:302:45: warning: pointer targets in passing argument 2 of 'Perl_newSVpvn' differ in signedness [-Wpointer-sign] BUILDSTDERR: XPUSHs(sv_2mortal(newSVpvn(data, length))); BUILDSTDERR: ^~~~ BUILDSTDERR: /usr/lib64/perl5/CORE/pp.h:462:55: note: in definition of macro 'XPUSHs' BUILDSTDERR: #define XPUSHs(s) STMT_START { EXTEND(sp,1); *++sp = (s); } STMT_END BUILDSTDERR: ^ BUILDSTDERR: Sane.xs:302:25: note: in expansion of macro 'sv_2mortal' BUILDSTDERR: XPUSHs(sv_2mortal(newSVpvn(data, length))); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: Sane.xs:302:36: note: in expansion of macro 'newSVpvn' BUILDSTDERR: XPUSHs(sv_2mortal(newSVpvn(data, length))); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/lib64/perl5/CORE/perl.h:5271, BUILDSTDERR: from Sane.xs:2: BUILDSTDERR: /usr/lib64/perl5/CORE/proto.h:2480:19: note: expected 'const char * const' but argument is of type 'SANE_Byte *' {aka 'unsigned char *'} BUILDSTDERR: PERL_CALLCONV SV* Perl_newSVpvn(pTHX_ const char *const buffer, const STRLEN len) BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: Sane.c: In function 'XS_Image__Sane__get_devices': BUILDSTDERR: Sane.xs:545:8: warning: variable 'array' set but not used [-Wunused-but-set-variable] BUILDSTDERR: AV * array; BUILDSTDERR: ^~~~~ BUILDSTDERR: Sane.xs: In function 'XS_Image__Sane__exit': BUILDSTDERR: Sane.xs:578:4: warning: statement with no effect [-Wunused-value] BUILDSTDERR: sane_exit; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: Sane.c: In function 'XS_Image__Sane__Device__set_option': BUILDSTDERR: Sane.xs:242:12: warning: 'valuep' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: status = sane_control_option (h, n, SANE_ACTION_SET_VALUE, valuep, &info); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: Sane.xs:183:11: note: 'valuep' was declared here BUILDSTDERR: void * valuep; BUILDSTDERR: ^~~~~~ rm -f blib/arch/auto/Image/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/Image/Sane/Sane.so \ -lsane -lperl \ chmod 755 blib/arch/auto/Image/Sane/Sane.so Manifying 1 pod document + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.WgmD5d + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-Image-Sane-0.14-5.fc30.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-Image-Sane-0.14-5.fc30.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/perl-Image-Sane-0.14-5.fc30.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-Image-Sane-0.14-5.fc30.riscv64 + cd Image-Sane-0.14 + make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-Image-Sane-0.14-5.fc30.riscv64 "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Sane.bs blib/arch/auto/Image/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-Image-Sane-0.14-5.fc30.riscv64/usr/lib64/perl5/vendor_perl/auto/Image/Sane/Sane.so Installing /builddir/build/BUILDROOT/perl-Image-Sane-0.14-5.fc30.riscv64/usr/lib64/perl5/vendor_perl/Image/Sane.pm Installing /builddir/build/BUILDROOT/perl-Image-Sane-0.14-5.fc30.riscv64/usr/lib64/perl5/vendor_perl/Image/Sane/Device.pm Installing /builddir/build/BUILDROOT/perl-Image-Sane-0.14-5.fc30.riscv64/usr/share/man/man3/Image::Sane.3pm + find /builddir/build/BUILDROOT/perl-Image-Sane-0.14-5.fc30.riscv64 -type f -name '*.bs' -size 0 -delete + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-Image-Sane-0.14-5.fc30.riscv64/usr + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.14-5.fc30 --unique-debug-suffix -0.14-5.fc30.riscv64 --unique-debug-src-base perl-Image-Sane-0.14-5.fc30.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/Image-Sane-0.14 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/perl-Image-Sane-0.14-5.fc30.riscv64/usr/lib64/perl5/vendor_perl/auto/Image/Sane/Sane.so extracting debug info from /builddir/build/BUILDROOT/perl-Image-Sane-0.14-5.fc30.riscv64/usr/lib64/perl5/vendor_perl/auto/Image/Sane/Sane.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 122 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /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 /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.QCWoSd Processing files: perl-Image-Sane-0.14-5.fc30.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.PwR4op + umask 022 + cd /builddir/build/BUILD + cd Image-Sane-0.14 + DOCDIR=/builddir/build/BUILDROOT/perl-Image-Sane-0.14-5.fc30.riscv64/usr/share/doc/perl-Image-Sane + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-Image-Sane-0.14-5.fc30.riscv64/usr/share/doc/perl-Image-Sane + cp -pr Changes /builddir/build/BUILDROOT/perl-Image-Sane-0.14-5.fc30.riscv64/usr/share/doc/perl-Image-Sane + cp -pr examples /builddir/build/BUILDROOT/perl-Image-Sane-0.14-5.fc30.riscv64/usr/share/doc/perl-Image-Sane + cp -pr README /builddir/build/BUILDROOT/perl-Image-Sane-0.14-5.fc30.riscv64/usr/share/doc/perl-Image-Sane + exit 0 BUILDSTDERR: perl: warning: Setting locale failed. BUILDSTDERR: perl: warning: Please check that your locale settings: BUILDSTDERR: LANGUAGE = (unset), BUILDSTDERR: LC_ALL = (unset), BUILDSTDERR: LANG = "en_US.UTF-8" BUILDSTDERR: are supported and installed on your system. BUILDSTDERR: perl: warning: Falling back to the standard locale ("C"). BUILDSTDERR: perl: warning: Setting locale failed. BUILDSTDERR: perl: warning: Please check that your locale settings: BUILDSTDERR: LANGUAGE = (unset), BUILDSTDERR: LC_ALL = (unset), BUILDSTDERR: LANG = "en_US.UTF-8" BUILDSTDERR: are supported and installed on your system. BUILDSTDERR: perl: warning: Falling back to the standard locale ("C"). BUILDSTDERR: perl: warning: Setting locale failed. BUILDSTDERR: perl: warning: Please check that your locale settings: BUILDSTDERR: LANGUAGE = (unset), BUILDSTDERR: LC_ALL = (unset), BUILDSTDERR: LANG = "en_US.UTF-8" BUILDSTDERR: are supported and installed on your system. BUILDSTDERR: perl: warning: Falling back to the standard locale ("C"). BUILDSTDERR: perl: warning: Setting locale failed. BUILDSTDERR: perl: warning: Please check that your locale settings: BUILDSTDERR: LANGUAGE = (unset), BUILDSTDERR: LC_ALL = (unset), BUILDSTDERR: LANG = "en_US.UTF-8" BUILDSTDERR: are supported and installed on your system. BUILDSTDERR: perl: warning: Falling back to the standard locale ("C"). Provides: perl(Image::Sane) = 0.14 perl(Image::Sane::Device) perl-Image-Sane = 0.14-5.fc30 perl-Image-Sane(riscv-64) = 0.14-5.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libperl.so.5.28()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libsane.so.1()(64bit) perl(:VERSION) >= 5.8.5 perl(Exception::Class) perl(Exporter) perl(Image::Sane::Device) perl(Readonly) perl(XSLoader) perl(base) perl(strict) perl(warnings) rtld(GNU_HASH) Processing files: perl-Image-Sane-debugsource-0.14-5.fc30.riscv64 Provides: perl-Image-Sane-debugsource = 0.14-5.fc30 perl-Image-Sane-debugsource(riscv-64) = 0.14-5.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: perl-Image-Sane-debuginfo-0.14-5.fc30.riscv64 Provides: debuginfo(build-id) = 5a6628acd73abff315892e0a20c319548daf7407 perl-Image-Sane-debuginfo = 0.14-5.fc30 perl-Image-Sane-debuginfo(riscv-64) = 0.14-5.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: perl-Image-Sane-debugsource(riscv-64) = 0.14-5.fc30 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-Image-Sane-0.14-5.fc30.riscv64 Wrote: /builddir/build/RPMS/perl-Image-Sane-0.14-5.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/perl-Image-Sane-debugsource-0.14-5.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/perl-Image-Sane-debuginfo-0.14-5.fc30.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.hNdFjq + umask 022 + cd /builddir/build/BUILD + cd Image-Sane-0.14 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl-Image-Sane-0.14-5.fc30.riscv64 + exit 0 Child return code was: 0