Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/perl-Diff-LibXDiff.spec'], chrootPath='/var/lib/mock/f29-build-18951-10184/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False BUILDSTDERR: sh: /usr/bin/perl: No such file or directory 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-Diff-LibXDiff-0.05-3.fc29.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/f29-build-18951-10184/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8gdNxL + 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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.q4268q + 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' 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 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 + make -j4 Running Mkbootstrap for LibXDiff () "/usr/bin/perl" "/usr/share/perl5/vendor_perl/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 -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 BUILDSTDERR: xdiff.c: In function 'xdl_patch': BUILDSTDERR: xdiff.c:1612:7: warning: unused variable 'hkpos' [-Wunused-variable] BUILDSTDERR: long hkpos, ibase; BUILDSTDERR: ^~~~~ BUILDSTDERR: xdiff.c:1611:13: warning: unused variable 'exact' [-Wunused-variable] BUILDSTDERR: 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: return pc; BUILDSTDERR: ^~ cp lib/Diff/LibXDiff.pm blib/lib/Diff/LibXDiff.pm 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: long tgsize = 0, size, off, csize; BUILDSTDERR: ^~~ 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 -DVERSION=\"0.05\" -DXS_VERSION=\"0.05\" -fPIC "-I/usr/lib64/perl5/CORE" -DNULL=0 LibXDiff.c 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: spl->i2 = bbest - bbest1; BUILDSTDERR: ~~~~~~^~~~~~~~ BUILDSTDERR: xdiff.c:210:31: note: 'bbest1' was declared here BUILDSTDERR: long fbest, fbest1, bbest, bbest1; BUILDSTDERR: ^~~~~~ BUILDSTDERR: xdiff.c:238:21: warning: 'fbest1' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: spl->i2 = fbest - fbest1; BUILDSTDERR: ~~~~~~^~~~~~~~ BUILDSTDERR: xdiff.c:210:16: note: 'fbest1' was declared here BUILDSTDERR: 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: if ( error = _string_2_mmfile( mmf1, string1 ) ) { BUILDSTDERR: ^~~~~ BUILDSTDERR: LibXDiff.xs:169:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: if ( error = _string_2_mmfile( mmf1, string1 ) ) { BUILDSTDERR: ^~~~~ BUILDSTDERR: LibXDiff.xs:287:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: static int _file_outf(void *priv, mmbuffer_t *mb, int nbuf) { BUILDSTDERR: ^~~~~~~~~~ rm -f blib/arch/auto/Diff/LibXDiff/LibXDiff.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 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 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.4uGRBQ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-Diff-LibXDiff-0.05-3.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-Diff-LibXDiff-0.05-3.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/perl-Diff-LibXDiff-0.05-3.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-Diff-LibXDiff-0.05-3.fc29.riscv64 + cd Diff-LibXDiff-0.05 + make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-Diff-LibXDiff-0.05-3.fc29.riscv64 "/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-3.fc29.riscv64/usr/lib64/perl5/vendor_perl/auto/Diff/LibXDiff/LibXDiff.so Installing /builddir/build/BUILDROOT/perl-Diff-LibXDiff-0.05-3.fc29.riscv64/usr/lib64/perl5/vendor_perl/Diff/LibXDiff.pm Installing /builddir/build/BUILDROOT/perl-Diff-LibXDiff-0.05-3.fc29.riscv64/usr/share/man/man3/Diff::LibXDiff.3pm + find /builddir/build/BUILDROOT/perl-Diff-LibXDiff-0.05-3.fc29.riscv64 -type f -name .packlist -exec rm -f '{}' ';' + find /builddir/build/BUILDROOT/perl-Diff-LibXDiff-0.05-3.fc29.riscv64 -type f -name '*.bs' -size 0 -exec rm -f '{}' ';' + find /builddir/build/BUILDROOT/perl-Diff-LibXDiff-0.05-3.fc29.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-3.fc29.riscv64/usr + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.05-3.fc29 --unique-debug-suffix -0.05-3.fc29.riscv64 --unique-debug-src-base perl-Diff-LibXDiff-0.05-3.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/Diff-LibXDiff-0.05 extracting debug info from /builddir/build/BUILDROOT/perl-Diff-LibXDiff-0.05-3.fc29.riscv64/usr/lib64/perl5/vendor_perl/auto/Diff/LibXDiff/LibXDiff.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 300 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 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.XDedyi + umask 022 + cd /builddir/build/BUILD + cd Diff-LibXDiff-0.05 + make test "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- LibXDiff.bs blib/arch/auto/Diff/LibXDiff/LibXDiff.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/01-diff.t ... ok t/02-patch.t .. ok All tests successful. Files=2, Tests=6, 2 wallclock secs ( 0.14 usr 0.02 sys + 1.54 cusr 0.24 csys = 1.94 CPU) Result: PASS + exit 0 Processing files: perl-Diff-LibXDiff-0.05-3.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.u0dMyd + umask 022 + cd /builddir/build/BUILD + cd Diff-LibXDiff-0.05 + DOCDIR=/builddir/build/BUILDROOT/perl-Diff-LibXDiff-0.05-3.fc29.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-3.fc29.riscv64/usr/share/doc/perl-Diff-LibXDiff + cp -pr Changes /builddir/build/BUILDROOT/perl-Diff-LibXDiff-0.05-3.fc29.riscv64/usr/share/doc/perl-Diff-LibXDiff + cp -pr README /builddir/build/BUILDROOT/perl-Diff-LibXDiff-0.05-3.fc29.riscv64/usr/share/doc/perl-Diff-LibXDiff + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.7lfxga + umask 022 + cd /builddir/build/BUILD + cd Diff-LibXDiff-0.05 + LICENSEDIR=/builddir/build/BUILDROOT/perl-Diff-LibXDiff-0.05-3.fc29.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-3.fc29.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-3.fc29.riscv64/usr/share/licenses/perl-Diff-LibXDiff + exit 0 Provides: bundled(libxdiff) = 0.23 perl(Diff::LibXDiff) = 0.05 perl-Diff-LibXDiff = 0.05-3.fc29 perl-Diff-LibXDiff(riscv-64) = 0.05-3.fc29 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) perl(Carp::Clan) perl(DynaLoader) perl(Exporter) perl(strict) perl(warnings) rtld(GNU_HASH) Processing files: perl-Diff-LibXDiff-debugsource-0.05-3.fc29.riscv64 Provides: perl-Diff-LibXDiff-debugsource = 0.05-3.fc29 perl-Diff-LibXDiff-debugsource(riscv-64) = 0.05-3.fc29 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-3.fc29.riscv64 Provides: debuginfo(build-id) = 2f1d91009f9daf8660494ee77c7ab0ac717a9e9a perl-Diff-LibXDiff-debuginfo = 0.05-3.fc29 perl-Diff-LibXDiff-debuginfo(riscv-64) = 0.05-3.fc29 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-3.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-Diff-LibXDiff-0.05-3.fc29.riscv64 Wrote: /builddir/build/RPMS/perl-Diff-LibXDiff-0.05-3.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/perl-Diff-LibXDiff-debugsource-0.05-3.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/perl-Diff-LibXDiff-debuginfo-0.05-3.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.YpYknA + umask 022 + cd /builddir/build/BUILD + cd Diff-LibXDiff-0.05 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl-Diff-LibXDiff-0.05-3.fc29.riscv64 + exit 0 Child return code was: 0