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-Net-RawIP.spec'], chrootPath='/var/lib/mock/f29-build-3663-937/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-Net-RawIP.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: 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-Net-RawIP-0.25-29.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perl-Net-RawIP.spec'], chrootPath='/var/lib/mock/f29-build-3663-937/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-Net-RawIP.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.hJnbVc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Net-RawIP-0.25 + /usr/bin/gzip -dc /builddir/build/SOURCES/Net-RawIP-0.25.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd Net-RawIP-0.25 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (Net-RawIP-0.23-format.patch): + echo 'Patch #0 (Net-RawIP-0.23-format.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file RawIP.xs + echo 'Patch #1 (Net-RawIP-0.25-Use-_DEFAULT_SOURCE-instead-of-_BSD_SOURCE.patch):' Patch #1 (Net-RawIP-0.25-Use-_DEFAULT_SOURCE-instead-of-_BSD_SOURCE.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file ifaddrlist.c Patch #2 (Net-RawIP-0.25-Decalare-used-function.patch): + echo 'Patch #2 (Net-RawIP-0.25-Decalare-used-function.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file MANIFEST patching file RawIP.xs patching file eth.h Patch #3 (Net-RawIP-0.25-Silent-compiler-warnings.patch): + echo 'Patch #3 (Net-RawIP-0.25-Silent-compiler-warnings.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file RawIP.xs patching file eth.c patching file ifaddrlist.c + chmod a-x examples/DoS_linux.2.2.7-9 examples/iflist examples/ip_rt_dev examples/ipopt_traceroute examples/land examples/macof examples/oshare examples/ping examples/sniff.pl examples/traceroute examples/watch + rm t/iflist.t + sed -i -e '/^t\/iflist\.t/d' MANIFEST + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.S9hUOH + umask 022 + cd /builddir/build/BUILD + cd Net-RawIP-0.25 + 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' Compiler: gcc gcc (GCC) 8.1.1 20180502 (Red Hat 8.1.1-1) Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Net::RawIP + make -j4 Running Mkbootstrap for RawIP () "/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/builddir/build/BUILD/Net-RawIP-0.25/typemap' RawIP.xs > RawIP.xsc gcc -c -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 -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.25\" -DXS_VERSION=\"0.25\" -fPIC "-I/usr/lib64/perl5/CORE" -D_LINUX_ -D_ETH_ -D_IFLIST_ -D_GLIBC_ util.c chmod 644 "RawIP.bs" gcc -c -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 -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.25\" -DXS_VERSION=\"0.25\" -fPIC "-I/usr/lib64/perl5/CORE" -D_LINUX_ -D_ETH_ -D_IFLIST_ -D_GLIBC_ eth.c cp lib/Net/RawIP/opt.pm blib/lib/Net/RawIP/opt.pm cp lib/Net/RawIP/ethhdr.pm blib/lib/Net/RawIP/ethhdr.pm cp lib/Net/RawIP/icmphdr.pm blib/lib/Net/RawIP/icmphdr.pm cp lib/Net/RawIP/tcphdr.pm blib/lib/Net/RawIP/tcphdr.pm cp lib/Net/RawIP/iphdr.pm blib/lib/Net/RawIP/iphdr.pm cp lib/Net/RawIP.pm blib/lib/Net/RawIP.pm AutoSplitting blib/lib/Net/RawIP.pm (blib/lib/auto/Net/RawIP) cp lib/Net/RawIP/udphdr.pm blib/lib/Net/RawIP/udphdr.pm cp RawIP/libpcap.pod blib/lib/Net/RawIP/libpcap.pod cp lib/Net/RawIP/generichdr.pm blib/lib/Net/RawIP/generichdr.pm gcc -c -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 -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.25\" -DXS_VERSION=\"0.25\" -fPIC "-I/usr/lib64/perl5/CORE" -D_LINUX_ -D_ETH_ -D_IFLIST_ -D_GLIBC_ ifaddrlist.c mv RawIP.xsc RawIP.c "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- RawIP.bs blib/arch/auto/Net/RawIP/RawIP.bs 644 gcc -c -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 -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.25\" -DXS_VERSION=\"0.25\" -fPIC "-I/usr/lib64/perl5/CORE" -D_LINUX_ -D_ETH_ -D_IFLIST_ -D_GLIBC_ RawIP.c BUILDSTDERR: ifaddrlist.c: In function 'ifaddrlist': BUILDSTDERR: ifaddrlist.c:106:51: warning: argument to 'sizeof' in 'strncpy' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] BUILDSTDERR: (void)strncpy(device, ifr.ifr_name, sizeof(ifr.ifr_name)); BUILDSTDERR: ^ BUILDSTDERR: util.c: In function 'linkoffset': BUILDSTDERR: util.c:174:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ rm -f blib/arch/auto/Net/RawIP/RawIP.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 RawIP.o util.o eth.o ifaddrlist.o -o blib/arch/auto/Net/RawIP/RawIP.so \ -lpcap -lperl \ chmod 755 blib/arch/auto/Net/RawIP/RawIP.so Manifying 2 pod documents + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.IxLYZ7 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-Net-RawIP-0.25-29.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-Net-RawIP-0.25-29.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/perl-Net-RawIP-0.25-29.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-Net-RawIP-0.25-29.fc29.riscv64 + cd Net-RawIP-0.25 + make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-Net-RawIP-0.25-29.fc29.riscv64 "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- RawIP.bs blib/arch/auto/Net/RawIP/RawIP.bs 644 Manifying 2 pod documents Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /builddir/build/BUILDROOT/perl-Net-RawIP-0.25-29.fc29.riscv64/usr/lib64/perl5/vendor_perl/auto/Net/RawIP/RawIP.so Installing /builddir/build/BUILDROOT/perl-Net-RawIP-0.25-29.fc29.riscv64/usr/lib64/perl5/vendor_perl/auto/Net/RawIP/autosplit.ix Installing /builddir/build/BUILDROOT/perl-Net-RawIP-0.25-29.fc29.riscv64/usr/lib64/perl5/vendor_perl/Net/RawIP.pm Installing /builddir/build/BUILDROOT/perl-Net-RawIP-0.25-29.fc29.riscv64/usr/lib64/perl5/vendor_perl/Net/RawIP/udphdr.pm Installing /builddir/build/BUILDROOT/perl-Net-RawIP-0.25-29.fc29.riscv64/usr/lib64/perl5/vendor_perl/Net/RawIP/tcphdr.pm Installing /builddir/build/BUILDROOT/perl-Net-RawIP-0.25-29.fc29.riscv64/usr/lib64/perl5/vendor_perl/Net/RawIP/iphdr.pm Installing /builddir/build/BUILDROOT/perl-Net-RawIP-0.25-29.fc29.riscv64/usr/lib64/perl5/vendor_perl/Net/RawIP/icmphdr.pm Installing /builddir/build/BUILDROOT/perl-Net-RawIP-0.25-29.fc29.riscv64/usr/lib64/perl5/vendor_perl/Net/RawIP/generichdr.pm Installing /builddir/build/BUILDROOT/perl-Net-RawIP-0.25-29.fc29.riscv64/usr/lib64/perl5/vendor_perl/Net/RawIP/ethhdr.pm Installing /builddir/build/BUILDROOT/perl-Net-RawIP-0.25-29.fc29.riscv64/usr/lib64/perl5/vendor_perl/Net/RawIP/libpcap.pod Installing /builddir/build/BUILDROOT/perl-Net-RawIP-0.25-29.fc29.riscv64/usr/lib64/perl5/vendor_perl/Net/RawIP/opt.pm Installing /builddir/build/BUILDROOT/perl-Net-RawIP-0.25-29.fc29.riscv64/usr/share/man/man3/Net::RawIP.3pm Installing /builddir/build/BUILDROOT/perl-Net-RawIP-0.25-29.fc29.riscv64/usr/share/man/man3/Net::RawIP::libpcap.3pm + find /builddir/build/BUILDROOT/perl-Net-RawIP-0.25-29.fc29.riscv64 -type f -name '*.bs' -size 0 -delete + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-Net-RawIP-0.25-29.fc29.riscv64/usr + /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 /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.owuj7H Processing files: perl-Net-RawIP-0.25-29.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.N3j2GI + umask 022 + cd /builddir/build/BUILD + cd Net-RawIP-0.25 + DOCDIR=/builddir/build/BUILDROOT/perl-Net-RawIP-0.25-29.fc29.riscv64/usr/share/doc/perl-Net-RawIP + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-Net-RawIP-0.25-29.fc29.riscv64/usr/share/doc/perl-Net-RawIP + cp -pr Changes /builddir/build/BUILDROOT/perl-Net-RawIP-0.25-29.fc29.riscv64/usr/share/doc/perl-Net-RawIP + cp -pr examples /builddir/build/BUILDROOT/perl-Net-RawIP-0.25-29.fc29.riscv64/usr/share/doc/perl-Net-RawIP + cp -pr README /builddir/build/BUILDROOT/perl-Net-RawIP-0.25-29.fc29.riscv64/usr/share/doc/perl-Net-RawIP + cp -pr README.Devel /builddir/build/BUILDROOT/perl-Net-RawIP-0.25-29.fc29.riscv64/usr/share/doc/perl-Net-RawIP + cp -pr TODO /builddir/build/BUILDROOT/perl-Net-RawIP-0.25-29.fc29.riscv64/usr/share/doc/perl-Net-RawIP + exit 0 Provides: perl(Net::RawIP) = 0.25 perl(Net::RawIP::ethhdr) = 0.24 perl(Net::RawIP::generichdr) = 0.24 perl(Net::RawIP::icmphdr) = 0.24 perl(Net::RawIP::iphdr) = 0.24 perl(Net::RawIP::opt) = 0.24 perl(Net::RawIP::tcphdr) = 0.24 perl(Net::RawIP::udphdr) = 0.24 perl-Net-RawIP = 0.25-29.fc29 perl-Net-RawIP(riscv-64) = 0.25-29.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) libpcap.so.1()(64bit) libperl.so.5.26()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) perl(AutoLoader) perl(Carp) perl(Class::Struct) perl(English) perl(Exporter) perl(Net::RawIP::ethhdr) perl(Net::RawIP::generichdr) perl(Net::RawIP::icmphdr) perl(Net::RawIP::iphdr) perl(Net::RawIP::opt) perl(Net::RawIP::tcphdr) perl(Net::RawIP::udphdr) perl(strict) perl(subs) perl(vars) perl(warnings) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-Net-RawIP-0.25-29.fc29.riscv64 Wrote: /builddir/build/RPMS/perl-Net-RawIP-0.25-29.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.WBWWio + umask 022 + cd /builddir/build/BUILD + cd Net-RawIP-0.25 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl-Net-RawIP-0.25-29.fc29.riscv64 + exit 0 Child return code was: 0