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-SubImageFind.spec'], chrootPath='/var/lib/mock/f31-build-66049-29801/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=432000uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/perl-Image-SubImageFind.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 BUILDSTDERR: sh: /usr/bin/perl: No such file or directory Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564099200 Wrote: /builddir/build/SRPMS/perl-Image-SubImageFind-0.03-21.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perl-Image-SubImageFind.spec'], chrootPath='/var/lib/mock/f31-build-66049-29801/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=432000uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perl-Image-SubImageFind.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564099200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Rq10r8 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Image-SubImageFind-0.03 + /usr/bin/gzip -dc /builddir/build/SOURCES/Image-SubImageFind-0.03.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd Image-SubImageFind-0.03 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (image_subimagefind_makefile.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #1 (image_subimagefind_makefile.patch): patching file lib/Image/SubImageFind.pm patching file Makefile.PL Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.t8AsD6 + umask 022 + cd /builddir/build/BUILD + cd Image-SubImageFind-0.03 + /usr/bin/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' BUILDSTDERR: Warning (mostly harmless): No library found for -lefence BUILDSTDERR: Use of uninitialized value $thislib in substitution (s///) at /usr/share/perl5/vendor_perl/ExtUtils/Liblist/Kid.pm line 72. BUILDSTDERR: Use of uninitialized value $thislib in pattern match (m//) at /usr/share/perl5/vendor_perl/ExtUtils/Liblist/Kid.pm line 99. BUILDSTDERR: Use of uninitialized value $thislib in substitution (s///) at /usr/share/perl5/vendor_perl/ExtUtils/Liblist/Kid.pm line 106. BUILDSTDERR: Use of uninitialized value $thislib in concatenation (.) or string at /usr/share/perl5/vendor_perl/ExtUtils/Liblist/Kid.pm line 114. BUILDSTDERR: Unrecognized argument in LIBS ignored: '' + make -j4 BUILDSTDERR: SubImageFinder.cpp: In destructor 'SubImageFinder::~SubImageFinder()': BUILDSTDERR: SubImageFinder.cpp:64:15: warning: deleting object of polymorphic class type 'ImageProcessor' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] BUILDSTDERR: 64 | delete this->imgProcessor; BUILDSTDERR: | ^~~~~~~~~~~~ Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Image::SubImageFind Running Mkbootstrap for SubImageFind () g++ -c `Magick++-config --cppflags --cxxflags` -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.03\" -DXS_VERSION=\"0.03\" -fPIC "-I/usr/lib64/perl5/CORE" DWVB.cpp g++ -c `Magick++-config --cppflags --cxxflags` -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.03\" -DXS_VERSION=\"0.03\" -fPIC "-I/usr/lib64/perl5/CORE" GPC.cpp chmod 644 "SubImageFind.bs" g++ -c `Magick++-config --cppflags --cxxflags` -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.03\" -DXS_VERSION=\"0.03\" -fPIC "-I/usr/lib64/perl5/CORE" ImageProcessor.cpp cp lib/Image/SubImageFind.pm blib/lib/Image/SubImageFind.pm "/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -C++ -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/builddir/build/BUILD/Image-SubImageFind-0.03/perlobject.map' -typemap '/builddir/build/BUILD/Image-SubImageFind-0.03/typemap' SubImageFind.xs > SubImageFind.xsc mv SubImageFind.xsc SubImageFind.c g++ -c `Magick++-config --cppflags --cxxflags` -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.03\" -DXS_VERSION=\"0.03\" -fPIC "-I/usr/lib64/perl5/CORE" SubImageFinder.cpp BUILDSTDERR: "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- SubImageFind.bs blib/arch/autoSubImageFind.c: In function 'void XS_Image__SubImageFind_new(PerlInterpreter*, CV*)': BUILDSTDERR: SubImageFind.c:206:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 206 | needleFile = ""; BUILDSTDERR: | ^~ BUILDSTDERR: SubImageFind.c: In function 'void XS_Image__SubImageFind_GetCoordinates(PerlInterpreter*, CV*)': BUILDSTDERR: SubImageFind.c:332:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 332 | needleFile = ""; BUILDSTDERR: | ^~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 /Image/SubImageFind/SubImageFind.bs 644 g++ -c `Magick++-config --cppflags --cxxflags` -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.03\" -DXS_VERSION=\"0.03\" -fPIC "-I/usr/lib64/perl5/CORE" SubImageFind.c rm -f blib/arch/auto/Image/SubImageFind/SubImageFind.so g++ -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 DWVB.o GPC.o ImageProcessor.o SubImageFind.o SubImageFinder.o -o blib/arch/auto/Image/SubImageFind/SubImageFind.so \ -lstdc++ -lfftw3 -lm -lMagick++-6.Q16 -lMagickWand-6.Q16 -lMagickCore-6.Q16 -lMagick++-6.Q16 -lMagickWand-6.Q16 -lMagickCore-6.Q16 -lperl \ chmod 755 blib/arch/auto/Image/SubImageFind/SubImageFind.so Manifying 1 pod document Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.OEw4y8 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-Image-SubImageFind-0.03-21.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-Image-SubImageFind-0.03-21.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/perl-Image-SubImageFind-0.03-21.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-Image-SubImageFind-0.03-21.fc31.riscv64 + cd Image-SubImageFind-0.03 + make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-Image-SubImageFind-0.03-21.fc31.riscv64 + find /builddir/build/BUILDROOT/perl-Image-SubImageFind-0.03-21.fc31.riscv64 -type f -name .packlist -exec rm -f '{}' ';' + find /builddir/build/BUILDROOT/perl-Image-SubImageFind-0.03-21.fc31.riscv64 -type f -name '*.bs' -size 0 -exec rm -f '{}' ';' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-Image-SubImageFind-0.03-21.fc31.riscv64/usr + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.03-21.fc31 --unique-debug-suffix -0.03-21.fc31.riscv64 --unique-debug-src-base perl-Image-SubImageFind-0.03-21.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/Image-SubImageFind-0.03 BUILDSTDERR: 421 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /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 "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- SubImageFind.bs blib/arch/auto/Image/SubImageFind/SubImageFind.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-SubImageFind-0.03-21.fc31.riscv64/usr/lib64/perl5/vendor_perl/auto/Image/SubImageFind/SubImageFind.so Installing /builddir/build/BUILDROOT/perl-Image-SubImageFind-0.03-21.fc31.riscv64/usr/lib64/perl5/vendor_perl/Image/SubImageFind.pm Installing /builddir/build/BUILDROOT/perl-Image-SubImageFind-0.03-21.fc31.riscv64/usr/share/man/man3/Image::SubImageFind.3pm explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/perl-Image-SubImageFind-0.03-21.fc31.riscv64/usr/lib64/perl5/vendor_perl/auto/Image/SubImageFind/SubImageFind.so extracting debug info from /builddir/build/BUILDROOT/perl-Image-SubImageFind-0.03-21.fc31.riscv64/usr/lib64/perl5/vendor_perl/auto/Image/SubImageFind/SubImageFind.so original debug info size: 548kB, size after compression: 368kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.a8URK8 Processing files: perl-Image-SubImageFind-0.03-21.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.maceq6 + umask 022 + cd /builddir/build/BUILD + cd Image-SubImageFind-0.03 + DOCDIR=/builddir/build/BUILDROOT/perl-Image-SubImageFind-0.03-21.fc31.riscv64/usr/share/doc/perl-Image-SubImageFind + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-Image-SubImageFind-0.03-21.fc31.riscv64/usr/share/doc/perl-Image-SubImageFind + cp -pr Changes /builddir/build/BUILDROOT/perl-Image-SubImageFind-0.03-21.fc31.riscv64/usr/share/doc/perl-Image-SubImageFind + cp -pr Copying /builddir/build/BUILDROOT/perl-Image-SubImageFind-0.03-21.fc31.riscv64/usr/share/doc/perl-Image-SubImageFind + cp -pr README /builddir/build/BUILDROOT/perl-Image-SubImageFind-0.03-21.fc31.riscv64/usr/share/doc/perl-Image-SubImageFind + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: perl(Image::SubImageFind) = 0.03 perl-Image-SubImageFind = 0.03-21.fc31 perl-Image-SubImageFind(riscv-64) = 0.03-21.fc31 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) libMagick++-6.Q16.so.8()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libfftw3.so.3()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libperl.so.5.30()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) perl(:VERSION) >= 5.10.0 perl(Exporter) perl(XSLoader) perl(strict) perl(warnings) rtld(GNU_HASH) Processing files: perl-Image-SubImageFind-debugsource-0.03-21.fc31.riscv64 Provides: perl-Image-SubImageFind-debugsource = 0.03-21.fc31 perl-Image-SubImageFind-debugsource(riscv-64) = 0.03-21.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: perl-Image-SubImageFind-debuginfo-0.03-21.fc31.riscv64 Provides: debuginfo(build-id) = fa2d1f93b6ed072f3e685c37e4fee240fac47961 perl-Image-SubImageFind-debuginfo = 0.03-21.fc31 perl-Image-SubImageFind-debuginfo(riscv-64) = 0.03-21.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: perl-Image-SubImageFind-debugsource(riscv-64) = 0.03-21.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-Image-SubImageFind-0.03-21.fc31.riscv64 Wrote: /builddir/build/RPMS/perl-Image-SubImageFind-0.03-21.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/perl-Image-SubImageFind-debugsource-0.03-21.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/perl-Image-SubImageFind-debuginfo-0.03-21.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.NisdP5 + umask 022 + cd /builddir/build/BUILD + cd Image-SubImageFind-0.03 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl-Image-SubImageFind-0.03-21.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0