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/raddump.spec'], chrootPath='/var/lib/mock/f30-build-41523-23312/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/raddump.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 Wrote: /builddir/build/SRPMS/raddump-0.3.1-20.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/raddump.spec'], chrootPath='/var/lib/mock/f30-build-41523-23312/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/raddump.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.h1HZae + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf raddump-0.3.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/raddump-0.3.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd raddump-0.3.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.uzA5BN + umask 022 + cd /builddir/build/BUILD + cd raddump-0.3.1 + CFLAGS='-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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for riscv64-koji-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking for riscv64-koji-linux-gnu-g++... no checking for riscv64-koji-linux-gnu-c++... no checking for riscv64-koji-linux-gnu-gpp... no checking for riscv64-koji-linux-gnu-aCC... no checking for riscv64-koji-linux-gnu-CC... no checking for riscv64-koji-linux-gnu-cxx... no checking for riscv64-koji-linux-gnu-cc++... no checking for riscv64-koji-linux-gnu-cl... no checking for riscv64-koji-linux-gnu-FCC... no checking for riscv64-koji-linux-gnu-KCC... no checking for riscv64-koji-linux-gnu-RCC... no checking for riscv64-koji-linux-gnu-xlC_r... no checking for riscv64-koji-linux-gnu-xlC... no checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking dependency style of g++... none checking whether ln -s works... yes checking for riscv64-koji-linux-gnu-ranlib... no checking for ranlib... ranlib checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking net/ethernet.h usability... yes checking net/ethernet.h presence... yes checking for net/ethernet.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for sys/types.h... (cached) yes checking sys/ethernet.h usability... no checking sys/ethernet.h presence... no checking for sys/ethernet.h... no checking for net/if.h... yes checking for netinet/udp.h... yes checking for netinet/if_ether.h... yes checking for sys/vlan_if.h... no checking linux/if_ether.h usability... yes checking linux/if_ether.h presence... yes checking for linux/if_ether.h... yes checking linux/if_vlan.h usability... yes checking linux/if_vlan.h presence... yes checking for linux/if_vlan.h... yes checking pcap.h usability... yes checking pcap.h presence... yes checking for pcap.h... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct udphdr.uh_sport... yes checking for struct udphdr.source... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for library containing inet_ntoa... none required checking for library containing pcap_open_offline... -lpcap checking for pcap_next_ex... yes checking for localtime_r... yes checking for gethostbyaddr... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands + make -j4 make all-am make[1]: Entering directory '/builddir/build/BUILD/raddump-0.3.1' gcc -DHAVE_CONFIG_H -I. -I. -I. -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 -c raddump.c gcc -DHAVE_CONFIG_H -I. -I. -I. -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 -c pktrecord.c gcc -DHAVE_CONFIG_H -I. -I. -I. -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 -c radius.c gcc -DHAVE_CONFIG_H -I. -I. -I. -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 -c vsa.c BUILDSTDERR: pktrecord.c: In function 'tcpdump_next': BUILDSTDERR: pktrecord.c:172:6: warning: passing argument 3 of 'pcap_next_ex' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: &(p->pkt_data)) != 1) return 0; BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/pcap.h:43, BUILDSTDERR: from pktrecord.c:42: BUILDSTDERR: /usr/include/pcap/pcap.h:443:61: note: expected 'const u_char **' {aka 'const unsigned char **'} but argument is of type 'unsigned char **' BUILDSTDERR: PCAP_API int pcap_next_ex(pcap_t *, struct pcap_pkthdr **, const u_char **); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: raddump.c: In function 'main': BUILDSTDERR: raddump.c:202:31: warning: format '%d' expects argument of type 'int', but argument 5 has type '__suseconds_t' {aka 'long int'} [-Wformat=] BUILDSTDERR: printf("%02d:%02d:%02d.%06d radius %s%s:%d > %s:%d %s %u\n", BUILDSTDERR: ~~~^ BUILDSTDERR: %06ld BUILDSTDERR: raddump.c:204:5: BUILDSTDERR: tstamp.tv_usec, BUILDSTDERR: ~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -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 -c rad_attrs.c gcc -DHAVE_CONFIG_H -I. -I. -I. -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 -c hash.c gcc -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o raddump raddump.o pktrecord.o radius.o vsa.o rad_attrs.o hash.o -lpcap make[1]: Leaving directory '/builddir/build/BUILD/raddump-0.3.1' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.70OgaQ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/raddump-0.3.1-20.fc30.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/raddump-0.3.1-20.fc30.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/raddump-0.3.1-20.fc30.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/raddump-0.3.1-20.fc30.riscv64 + cd raddump-0.3.1 + make install DESTDIR=/builddir/build/BUILDROOT/raddump-0.3.1-20.fc30.riscv64 'INSTALL=install -p' make[1]: Entering directory '/builddir/build/BUILD/raddump-0.3.1' test -z "/usr/bin" || mkdir -p -- . "/builddir/build/BUILDROOT/raddump-0.3.1-20.fc30.riscv64/usr/bin" install -p 'raddump' '/builddir/build/BUILDROOT/raddump-0.3.1-20.fc30.riscv64/usr/bin/raddump' test -z "/usr/share/man/man1" || mkdir -p -- . "/builddir/build/BUILDROOT/raddump-0.3.1-20.fc30.riscv64/usr/share/man/man1" install -p -m 644 './raddump.1' '/builddir/build/BUILDROOT/raddump-0.3.1-20.fc30.riscv64/usr/share/man/man1/raddump.1' make[1]: Leaving directory '/builddir/build/BUILD/raddump-0.3.1' + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.3.1-20.fc30 --unique-debug-suffix -0.3.1-20.fc30.riscv64 --unique-debug-src-base raddump-0.3.1-20.fc30.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/raddump-0.3.1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/raddump-0.3.1-20.fc30.riscv64/usr/bin/raddump extracting debug info from /builddir/build/BUILDROOT/raddump-0.3.1-20.fc30.riscv64/usr/bin/raddump /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 487 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 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: raddump-0.3.1-20.fc30.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.yJ1shh + umask 022 + cd /builddir/build/BUILD + cd raddump-0.3.1 + DOCDIR=/builddir/build/BUILDROOT/raddump-0.3.1-20.fc30.riscv64/usr/share/doc/raddump + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/raddump-0.3.1-20.fc30.riscv64/usr/share/doc/raddump + cp -pr AUTHORS /builddir/build/BUILDROOT/raddump-0.3.1-20.fc30.riscv64/usr/share/doc/raddump + cp -pr ChangeLog /builddir/build/BUILDROOT/raddump-0.3.1-20.fc30.riscv64/usr/share/doc/raddump + cp -pr COPYING /builddir/build/BUILDROOT/raddump-0.3.1-20.fc30.riscv64/usr/share/doc/raddump + cp -pr CREDITS /builddir/build/BUILDROOT/raddump-0.3.1-20.fc30.riscv64/usr/share/doc/raddump + cp -pr README /builddir/build/BUILDROOT/raddump-0.3.1-20.fc30.riscv64/usr/share/doc/raddump + cp -pr TODO /builddir/build/BUILDROOT/raddump-0.3.1-20.fc30.riscv64/usr/share/doc/raddump + exit 0 Provides: raddump = 0.3.1-20.fc30 raddump(riscv-64) = 0.3.1-20.fc30 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) rtld(GNU_HASH) Processing files: raddump-debugsource-0.3.1-20.fc30.riscv64 Provides: raddump-debugsource = 0.3.1-20.fc30 raddump-debugsource(riscv-64) = 0.3.1-20.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: raddump-debuginfo-0.3.1-20.fc30.riscv64 Provides: debuginfo(build-id) = 4d1be4929a65ef81621318947a62688e04c0641f raddump-debuginfo = 0.3.1-20.fc30 raddump-debuginfo(riscv-64) = 0.3.1-20.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: raddump-debugsource(riscv-64) = 0.3.1-20.fc30 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/raddump-0.3.1-20.fc30.riscv64 Wrote: /builddir/build/RPMS/raddump-0.3.1-20.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/raddump-debugsource-0.3.1-20.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/raddump-debuginfo-0.3.1-20.fc30.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.bJDE16 + umask 022 + cd /builddir/build/BUILD + cd raddump-0.3.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/raddump-0.3.1-20.fc30.riscv64 + exit 0 Child return code was: 0