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-Net-Pcap.spec'], chrootPath='/var/lib/mock/f29-build-34237-18577/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=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/perl-Net-Pcap.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: /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-Net-Pcap-0.18-10.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-Pcap.spec'], chrootPath='/var/lib/mock/f29-build-34237-18577/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=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perl-Net-Pcap.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 Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.PkVxEh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Net-Pcap-0.18 + /usr/bin/gzip -dc /builddir/build/SOURCES/Net-Pcap-0.18.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd Net-Pcap-0.18 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (Net-Pcap-0.18-Adapt-a-test-to-libpcap-1.8.0.patch): + echo 'Patch #0 (Net-Pcap-0.18-Adapt-a-test-to-libpcap-1.8.0.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file t/09-error.t Patch #1 (Net-Pcap-0.18-Fix-build-with-libpcap-1.9.0.patch): + echo 'Patch #1 (Net-Pcap-0.18-Fix-build-with-libpcap-1.9.0.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile.PL patching file stubs.inc Hunk #2 succeeded at 511 (offset 5 lines). Hunk #3 succeeded at 523 (offset 5 lines). + for f in README Changes + iconv -f iso-8859-1 -t utf-8 README + mv -f README.conv README + for f in README Changes + iconv -f iso-8859-1 -t utf-8 Changes + mv -f Changes.conv Changes + chmod 0644 eg/pcapdump eg/pktdump.pl + sed -i -e '1s~#!perl~#!/usr/bin/perl~' t/00-load.t t/01-api.t t/02-lookup.t t/03-openlive.t t/04-loop.t t/05-dump.t t/06-offline.t t/07-stats.t t/08-filter.t t/09-error.t t/10-fileno.t t/11-snapshot.t t/12-next.t t/13-dispatch.t t/14-datalink.t t/15-is_swapped.t t/16-setnonblock.t t/17-lib_version.t t/18-open_dead.t t/19-breakloop.t t/20-constants.t t/21-next_ex.t t/22-open.t t/23-srcstr.t t/50-anyevent-pcap.t t/50-net-pcap-easy.t t/50-poe-component-pcap.t t/distchk.t t/pod.t t/podcover.t t/podspell.t t/portfs.t + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.g5lid8 + umask 022 + cd /builddir/build/BUILD + cd Net-Pcap-0.18 + /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' NO_PACKLIST=1 looking for -lpcap... yes checking for pcap_lib_version() in -lpcap... yes detecting available functions... ok Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Net::Pcap + make -j4 Running Mkbootstrap for Pcap () "/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/builddir/build/BUILD/Net-Pcap-0.18/typemap' Pcap.xs > Pcap.xsc chmod 644 "Pcap.bs" "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Pcap.bs blib/arch/auto/Net/Pcap/Pcap.bs 644 cp Pcap.pm blib/lib/Net/Pcap.pm mv Pcap.xsc Pcap.c 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 -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 -Wall -Wwrite-strings -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.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib64/perl5/CORE" -DHAVE_BLANK -DHAVE_PCAP_LIB_VERSION -DHAVE_PCAP_BREAKLOOP -DHAVE_PCAP_COMPILE_NOPCAP -DHAVE_PCAP_DATALINK_NAME_TO_VAL -DHAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION -DHAVE_PCAP_DATALINK_VAL_TO_NAME -DHAVE_PCAP_DUMP_FILE -DHAVE_PCAP_DUMP_FLUSH -DHAVE_PCAP_FINDALLDEVS -DHAVE_PCAP_GETNONBLOCK -DHAVE_PCAP_GET_SELECTABLE_FD -DHAVE_PCAP_LIB_VERSION -DHAVE_PCAP_NEXT_EX -DHAVE_PCAP_OFFLINE_FILTER -DHAVE_PCAP_OPEN_DEAD -DHAVE_PCAP_SENDPACKET -DHAVE_PCAP_SETNONBLOCK -DHAVE_PCAP_SET_DATALINK-DHAVE_PCAP_SETSAMPLING Pcap.c BUILDSTDERR: : warning: ISO C99 requires whitespace after the macro name BUILDSTDERR: In file included from Pcap.xs:43: BUILDSTDERR: stubs.inc:187:2: warning: #warning "the function pcap_list_datalinks() is not available" [-Wcpp] BUILDSTDERR: #warning "the function pcap_list_datalinks() is not available" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: stubs.inc:322:2: warning: #warning "the function pcap_createsrcstr() is not available" [-Wcpp] BUILDSTDERR: #warning "the function pcap_createsrcstr() is not available" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: stubs.inc:337:2: warning: #warning "the function pcap_parsesrcstr() is not available" [-Wcpp] BUILDSTDERR: #warning "the function pcap_parsesrcstr() is not available" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: stubs.inc:352:2: warning: #warning "the function pcap_open() is not available" [-Wcpp] BUILDSTDERR: #warning "the function pcap_open() is not available" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: stubs.inc:368:2: warning: #warning "the function pcap_setbuff() is not available" [-Wcpp] BUILDSTDERR: #warning "the function pcap_setbuff() is not available" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: stubs.inc:383:2: warning: #warning "the function pcap_setuserbuffer() is not available" [-Wcpp] BUILDSTDERR: #warning "the function pcap_setuserbuffer() is not available" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: stubs.inc:398:2: warning: #warning "the function pcap_setmode() is not available" [-Wcpp] BUILDSTDERR: #warning "the function pcap_setmode() is not available" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: stubs.inc:413:2: warning: #warning "the function pcap_setmintocopy() is not available" [-Wcpp] BUILDSTDERR: #warning "the function pcap_setmintocopy() is not available" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: stubs.inc:428:2: warning: #warning "the function pcap_sendqueue_alloc() is not available" [-Wcpp] BUILDSTDERR: #warning "the function pcap_sendqueue_alloc() is not available" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: stubs.inc:450:2: warning: #warning "the function pcap_sendqueue_destroy() is not available" [-Wcpp] BUILDSTDERR: #warning "the function pcap_sendqueue_destroy() is not available" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: stubs.inc:464:2: warning: #warning "the function pcap_sendqueue_queue() is not available" [-Wcpp] BUILDSTDERR: #warning "the function pcap_sendqueue_queue() is not available" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: stubs.inc:479:2: warning: #warning "the function pcap_sendqueue_transmit() is not available" [-Wcpp] BUILDSTDERR: #warning "the function pcap_sendqueue_transmit() is not available" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: stubs.inc:494:2: warning: #warning "the function pcap_event() is not available" [-Wcpp] BUILDSTDERR: #warning "the function pcap_event() is not available" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: stubs.inc:509:2: warning: #warning "the function pcap_setsampling() is not available" [-Wcpp] BUILDSTDERR: #warning "the function pcap_setsampling() is not available" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: Pcap.xs: In function 'XS_Net__Pcap_lookupdev': BUILDSTDERR: Pcap.xs:108:4: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] BUILDSTDERR: RETVAL = pcap_lookupdev(errbuf); BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from /usr/include/pcap.h:43, BUILDSTDERR: from Pcap.xs:32: BUILDSTDERR: /usr/include/pcap/pcap.h:326:16: note: declared here BUILDSTDERR: PCAP_API char *pcap_lookupdev(char *) BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: Pcap.xs: In function 'XS_Net__Pcap_findalldevs_xs': BUILDSTDERR: Pcap.xs:222:21: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] BUILDSTDERR: char *dev = pcap_lookupdev(errbuf); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/include/pcap.h:43, BUILDSTDERR: from Pcap.xs:32: BUILDSTDERR: /usr/include/pcap/pcap.h:326:16: note: declared here BUILDSTDERR: PCAP_API char *pcap_lookupdev(char *) BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: Pcap.c: In function 'XS_Net__Pcap_strerror': BUILDSTDERR: Pcap.c:1703:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: RETVAL = pcap_strerror(error); BUILDSTDERR: ^ BUILDSTDERR: Pcap.xs: In function 'XS_Net__Pcap_getevent': BUILDSTDERR: Pcap.xs:1038:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: h = (unsigned int) pcap_getevent(p); BUILDSTDERR: ^ rm -f blib/arch/auto/Net/Pcap/Pcap.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 Pcap.o -o blib/arch/auto/Net/Pcap/Pcap.so \ -lpcap -lperl \ chmod 755 blib/arch/auto/Net/Pcap/Pcap.so cp bin/pcapinfo blib/script/pcapinfo "/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/pcapinfo Manifying 1 pod document Manifying 1 pod document + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.rrKJ4f + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-Net-Pcap-0.18-10.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-Net-Pcap-0.18-10.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/perl-Net-Pcap-0.18-10.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-Net-Pcap-0.18-10.fc29.riscv64 + cd Net-Pcap-0.18 + make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-Net-Pcap-0.18-10.fc29.riscv64 "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Pcap.bs blib/arch/auto/Net/Pcap/Pcap.bs 644 Manifying 1 pod document Manifying 1 pod document Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /builddir/build/BUILDROOT/perl-Net-Pcap-0.18-10.fc29.riscv64/usr/lib64/perl5/vendor_perl/auto/Net/Pcap/Pcap.so Installing /builddir/build/BUILDROOT/perl-Net-Pcap-0.18-10.fc29.riscv64/usr/lib64/perl5/vendor_perl/Net/Pcap.pm Installing /builddir/build/BUILDROOT/perl-Net-Pcap-0.18-10.fc29.riscv64/usr/share/man/man1/pcapinfo.1 Installing /builddir/build/BUILDROOT/perl-Net-Pcap-0.18-10.fc29.riscv64/usr/share/man/man3/Net::Pcap.3pm Installing /builddir/build/BUILDROOT/perl-Net-Pcap-0.18-10.fc29.riscv64/usr/bin/pcapinfo + find /builddir/build/BUILDROOT/perl-Net-Pcap-0.18-10.fc29.riscv64 -type f -name '*.bs' -a -size 0 -delete + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-Net-Pcap-0.18-10.fc29.riscv64/usr + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.18-10.fc29 --unique-debug-suffix -0.18-10.fc29.riscv64 --unique-debug-src-base perl-Net-Pcap-0.18-10.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/Net-Pcap-0.18 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/perl-Net-Pcap-0.18-10.fc29.riscv64/usr/lib64/perl5/vendor_perl/auto/Net/Pcap/Pcap.so extracting debug info from /builddir/build/BUILDROOT/perl-Net-Pcap-0.18-10.fc29.riscv64/usr/lib64/perl5/vendor_perl/auto/Net/Pcap/Pcap.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 294 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.rUE1Kg Processing files: perl-Net-Pcap-0.18-10.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.J6xryq + umask 022 + cd /builddir/build/BUILD + cd Net-Pcap-0.18 + DOCDIR=/builddir/build/BUILDROOT/perl-Net-Pcap-0.18-10.fc29.riscv64/usr/share/doc/perl-Net-Pcap + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-Net-Pcap-0.18-10.fc29.riscv64/usr/share/doc/perl-Net-Pcap + cp -pr Changes /builddir/build/BUILDROOT/perl-Net-Pcap-0.18-10.fc29.riscv64/usr/share/doc/perl-Net-Pcap + cp -pr README /builddir/build/BUILDROOT/perl-Net-Pcap-0.18-10.fc29.riscv64/usr/share/doc/perl-Net-Pcap + cp -pr eg/ /builddir/build/BUILDROOT/perl-Net-Pcap-0.18-10.fc29.riscv64/usr/share/doc/perl-Net-Pcap + cp -pr t/ /builddir/build/BUILDROOT/perl-Net-Pcap-0.18-10.fc29.riscv64/usr/share/doc/perl-Net-Pcap + exit 0 Provides: perl(Net::Pcap) = 0.18 perl-Net-Pcap = 0.18-10.fc29 perl-Net-Pcap(riscv-64) = 0.18-10.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/perl 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.28()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) perl(Carp) perl(Exporter) perl(Net::Pcap) perl(Sys::Hostname) perl(strict) perl(warnings) rtld(GNU_HASH) Processing files: perl-Net-Pcap-debugsource-0.18-10.fc29.riscv64 Provides: perl-Net-Pcap-debugsource = 0.18-10.fc29 perl-Net-Pcap-debugsource(riscv-64) = 0.18-10.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: perl-Net-Pcap-debuginfo-0.18-10.fc29.riscv64 Provides: debuginfo(build-id) = a561c7eee704b6d0bdae94e3dfc60ec1205c29de perl-Net-Pcap-debuginfo = 0.18-10.fc29 perl-Net-Pcap-debuginfo(riscv-64) = 0.18-10.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: perl-Net-Pcap-debugsource(riscv-64) = 0.18-10.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-Net-Pcap-0.18-10.fc29.riscv64 Wrote: /builddir/build/RPMS/perl-Net-Pcap-0.18-10.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/perl-Net-Pcap-debugsource-0.18-10.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/perl-Net-Pcap-debuginfo-0.18-10.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.XOs8Z4 + umask 022 + cd /builddir/build/BUILD + cd Net-Pcap-0.18 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl-Net-Pcap-0.18-10.fc29.riscv64 + exit 0 Child return code was: 0