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-Diff-LibXDiff.spec'], chrootPath='/var/lib/mock/f31-build-45328-26306/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-Diff-LibXDiff.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=1559260800 Wrote: /builddir/build/SRPMS/perl-Diff-LibXDiff-0.05-5.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perl-Diff-LibXDiff.spec'], chrootPath='/var/lib/mock/f31-build-45328-26306/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-Diff-LibXDiff.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=1559260800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KDwJBi + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Diff-LibXDiff-0.05 + /usr/bin/gzip -dc /builddir/build/SOURCES/Diff-LibXDiff-0.05.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd Diff-LibXDiff-0.05 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + install -pm 0644 /builddir/build/SOURCES/LICENSE-libxdiff-LGPL LICENSE-libxdiff-LGPL + install -pm 0644 /builddir/build/SOURCES/LICENSE-Diff-LibXDiff-GPL LICENSE-Diff-LibXDiff-GPL + install -pm 0644 /builddir/build/SOURCES/LICENSE-Diff-LibXDiff-Artistic LICENSE-Diff-LibXDiff-Artistic + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.U2z5ch + umask 022 + cd /builddir/build/BUILD + cd Diff-LibXDiff-0.05 + /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 -lxdiff BUILDSTDERR: Could not find LibXDiff installed on your system BUILDSTDERR: You can download it from: BUILDSTDERR: http://www.xmailserver.org/xdiff-lib.html BUILDSTDERR: If it is installed, but in a non-standard directory, then set the BUILDSTDERR: following options in the environment (ENV) or pass them to Makefile.PL: BUILDSTDERR: XDIFF_LIB_PATH=... To set the directory in which to find libxdiff BUILDSTDERR: XDIFF_INC_PATH=... To set the directory in which to find xdiff.h BUILDSTDERR: For now, we'll use a bundle version of LibXDiff + make -j4 BUILDSTDERR: xdiff.c: In function 'xdl_patch': BUILDSTDERR: xdiff.c:1612:7: warning: unused variable 'hkpos' [-Wunused-variable] BUILDSTDERR: 1612 | long hkpos, ibase; BUILDSTDERR: | ^~~~~ BUILDSTDERR: xdiff.c:1611:13: warning: unused variable 'exact' [-Wunused-variable] BUILDSTDERR: 1611 | int hkres, exact; BUILDSTDERR: | ^~~~~ BUILDSTDERR: xdiff.c: In function 'memchr': BUILDSTDERR: xdiff.c:1886:11: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1886 | return pc; BUILDSTDERR: | ^~ BUILDSTDERR: xdiff.c: In function 'xdl_bdiff_tgsize': BUILDSTDERR: xdiff.c:2867:25: warning: variable 'off' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2867 | long tgsize = 0, size, off, csize; BUILDSTDERR: | ^~~ BUILDSTDERR: xdiff.c: In function 'xdl_recs_cmp': BUILDSTDERR: xdiff.c:243:21: warning: 'bbest1' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 243 | spl->i2 = bbest - bbest1; BUILDSTDERR: | ~~~~~~^~~~~~~~ BUILDSTDERR: xdiff.c:210:31: note: 'bbest1' was declared here BUILDSTDERR: 210 | long fbest, fbest1, bbest, bbest1; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: xdiff.c:238:21: warning: 'fbest1' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 238 | spl->i2 = fbest - fbest1; BUILDSTDERR: | ~~~~~~^~~~~~~~ BUILDSTDERR: xdiff.c:210:16: note: 'fbest1' was declared here BUILDSTDERR: 210 | long fbest, fbest1, bbest, bbest1; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: LibXDiff.xs: In function '__xpatch': BUILDSTDERR: LibXDiff.xs:163:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 163 | if ( error = _string_2_mmfile( mmf1, string1 ) ) { BUILDSTDERR: | ^~~~~ BUILDSTDERR: LibXDiff.xs:169:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 169 | if ( error = _string_2_mmfile( mmf2, string2 ) ) { BUILDSTDERR: | ^~~~~ BUILDSTDERR: LibXDiff.xs: In function '__xbpatch': BUILDSTDERR: LibXDiff.xs:223:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 223 | if ( error = _binary_2_mmfile( mmf1, string1, len1 ) ) { BUILDSTDERR: | ^~~~~ BUILDSTDERR: LibXDiff.xs:229:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 229 | if ( error = _binary_2_mmfile( mmf2, string2, len2 ) ) { BUILDSTDERR: | ^~~~~ BUILDSTDERR: LibXDiff.xs:213:35: warning: variable 'mmf_r2' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 213 | mmfile_t *mmf1, *mmf2, *mmf_r1, *mmf_r2; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: LibXDiff.xs: In function '__xdiff': BUILDSTDERR: LibXDiff.xs:281:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 281 | if ( error = _string_2_mmfile( mmf1, string1 ) ) { BUILDSTDERR: | ^~~~~ BUILDSTDERR: LibXDiff.xs:287:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 287 | if ( error = _string_2_mmfile( mmf2, string2 ) ) { BUILDSTDERR: | ^~~~~ BUILDSTDERR: LibXDiff.xs: In function '__xbdiff': BUILDSTDERR: LibXDiff.xs:331:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 331 | if ( error = _binary_2_mmfile( mmf1, string1,len1 ) ) { BUILDSTDERR: | ^~~~~ BUILDSTDERR: LibXDiff.xs:337:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 337 | if ( error = _binary_2_mmfile( mmf2, string2, len2 ) ) { BUILDSTDERR: | ^~~~~ BUILDSTDERR: At top level: BUILDSTDERR: LibXDiff.xs:27:12: warning: '_file_outf' defined but not used [-Wunused-function] BUILDSTDERR: 27 | static int _file_outf(void *priv, mmbuffer_t *mb, int nbuf) { BUILDSTDERR: | ^~~~~~~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Checking if your kit is complete... Warning: the following files are missing in your kit: t/00-load.t Please inform the author. Generating a Unix-style Makefile Writing Makefile for Diff::LibXDiff Running Mkbootstrap for LibXDiff () "/usr/bin/perl" "/usr/share/perl5/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' LibXDiff.xs > LibXDiff.xsc gcc -c -Ixdiff -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.05\" -DXS_VERSION=\"0.05\" -fPIC "-I/usr/lib64/perl5/CORE" -DNULL=0 xdiff.c chmod 644 "LibXDiff.bs" "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- LibXDiff.bs blib/arch/auto/Diff/LibXDiff/LibXDiff.bs 644 cp lib/Diff/LibXDiff.pm blib/lib/Diff/LibXDiff.pm mv LibXDiff.xsc LibXDiff.c gcc -c -Ixdiff -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.05\" -DXS_VERSION=\"0.05\" -fPIC "-I/usr/lib64/perl5/CORE" -DNULL=0 LibXDiff.c rm -f blib/arch/auto/Diff/LibXDiff/LibXDiff.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 LibXDiff.o xdiff.o -o blib/arch/auto/Diff/LibXDiff/LibXDiff.so \ -lperl \ chmod 755 blib/arch/auto/Diff/LibXDiff/LibXDiff.so Manifying 1 pod document Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7mg3lk + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-Diff-LibXDiff-0.05-5.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-Diff-LibXDiff-0.05-5.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/perl-Diff-LibXDiff-0.05-5.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-Diff-LibXDiff-0.05-5.fc31.riscv64 + cd Diff-LibXDiff-0.05 + make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-Diff-LibXDiff-0.05-5.fc31.riscv64 + find /builddir/build/BUILDROOT/perl-Diff-LibXDiff-0.05-5.fc31.riscv64 -type f -name .packlist -exec rm -f '{}' ';' + find /builddir/build/BUILDROOT/perl-Diff-LibXDiff-0.05-5.fc31.riscv64 -type f -name '*.bs' -size 0 -exec rm -f '{}' ';' + find /builddir/build/BUILDROOT/perl-Diff-LibXDiff-0.05-5.fc31.riscv64 -depth -type d -exec rmdir '{}' ';' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-Diff-LibXDiff-0.05-5.fc31.riscv64/usr + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.05-5.fc31 --unique-debug-suffix -0.05-5.fc31.riscv64 --unique-debug-src-base perl-Diff-LibXDiff-0.05-5.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/Diff-LibXDiff-0.05 BUILDSTDERR: 300 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 '%{__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' -- LibXDiff.bs blib/arch/auto/Diff/LibXDiff/LibXDiff.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-Diff-LibXDiff-0.05-5.fc31.riscv64/usr/lib64/perl5/vendor_perl/auto/Diff/LibXDiff/LibXDiff.so Installing /builddir/build/BUILDROOT/perl-Diff-LibXDiff-0.05-5.fc31.riscv64/usr/lib64/perl5/vendor_perl/Diff/LibXDiff.pm Installing /builddir/build/BUILDROOT/perl-Diff-LibXDiff-0.05-5.fc31.riscv64/usr/share/man/man3/Diff::LibXDiff.3pm explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/perl-Diff-LibXDiff-0.05-5.fc31.riscv64/usr/lib64/perl5/vendor_perl/auto/Diff/LibXDiff/LibXDiff.so extracting debug info from /builddir/build/BUILDROOT/perl-Diff-LibXDiff-0.05-5.fc31.riscv64/usr/lib64/perl5/vendor_perl/auto/Diff/LibXDiff/LibXDiff.so original debug info size: 284kB, size after compression: 280kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.UhWC6j Processing files: perl-Diff-LibXDiff-0.05-5.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.1t2iWj + umask 022 + cd /builddir/build/BUILD + cd Diff-LibXDiff-0.05 + DOCDIR=/builddir/build/BUILDROOT/perl-Diff-LibXDiff-0.05-5.fc31.riscv64/usr/share/doc/perl-Diff-LibXDiff + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-Diff-LibXDiff-0.05-5.fc31.riscv64/usr/share/doc/perl-Diff-LibXDiff + cp -pr Changes /builddir/build/BUILDROOT/perl-Diff-LibXDiff-0.05-5.fc31.riscv64/usr/share/doc/perl-Diff-LibXDiff + cp -pr README /builddir/build/BUILDROOT/perl-Diff-LibXDiff-0.05-5.fc31.riscv64/usr/share/doc/perl-Diff-LibXDiff + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.vPWfgi + umask 022 + cd /builddir/build/BUILD + cd Diff-LibXDiff-0.05 + LICENSEDIR=/builddir/build/BUILDROOT/perl-Diff-LibXDiff-0.05-5.fc31.riscv64/usr/share/licenses/perl-Diff-LibXDiff + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-Diff-LibXDiff-0.05-5.fc31.riscv64/usr/share/licenses/perl-Diff-LibXDiff + cp -pr LICENSE-Diff-LibXDiff-Artistic LICENSE-Diff-LibXDiff-GPL LICENSE-libxdiff-LGPL /builddir/build/BUILDROOT/perl-Diff-LibXDiff-0.05-5.fc31.riscv64/usr/share/licenses/perl-Diff-LibXDiff + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: bundled(libxdiff) = 0.23 perl(Diff::LibXDiff) = 0.05 perl-Diff-LibXDiff = 0.05-5.fc31 perl-Diff-LibXDiff(riscv-64) = 0.05-5.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) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libperl.so.5.30()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) perl(Carp::Clan) perl(DynaLoader) perl(Exporter) perl(strict) perl(warnings) rtld(GNU_HASH) Processing files: perl-Diff-LibXDiff-debugsource-0.05-5.fc31.riscv64 Provides: perl-Diff-LibXDiff-debugsource = 0.05-5.fc31 perl-Diff-LibXDiff-debugsource(riscv-64) = 0.05-5.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: perl-Diff-LibXDiff-debuginfo-0.05-5.fc31.riscv64 Provides: debuginfo(build-id) = 4dde0e70396449e501d94e31e2aab504c6382f7a perl-Diff-LibXDiff-debuginfo = 0.05-5.fc31 perl-Diff-LibXDiff-debuginfo(riscv-64) = 0.05-5.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: perl-Diff-LibXDiff-debugsource(riscv-64) = 0.05-5.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-Diff-LibXDiff-0.05-5.fc31.riscv64 Wrote: /builddir/build/RPMS/perl-Diff-LibXDiff-0.05-5.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/perl-Diff-LibXDiff-debugsource-0.05-5.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/perl-Diff-LibXDiff-debuginfo-0.05-5.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.RFGfrg + umask 022 + cd /builddir/build/BUILD + cd Diff-LibXDiff-0.05 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl-Diff-LibXDiff-0.05-5.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0