D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/netsniff-ng-0.6.8-3.mga9.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.bbEp5X + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf netsniff-ng-0.6.8 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/netsniff-ng-0.6.8.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd netsniff-ng-0.6.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.S97bKE + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd netsniff-ng-0.6.8 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + ./configure --prefix=/usr --sysconfdir=/etc [*] Checking compiler gcc ... [YES] [*] Checking linker gcc ... [YES] [*] Checking pkg-config ... [YES] [*] Checking flex ... [YES] [*] Checking bison ... [YES] [*] Checking tpacket_v2 ... [YES] [*] Checking tpacket_v3 ... [YES] [*] Checking hw timestamping ... [YES] [*] Checking fopencookie ... [YES] [*] Checking libcli ... [NO] [*] Checking libGeoIP ... [YES] [*] Checking libnet ... [NO] [*] Checking libnetfilter-conntrack ... [YES] [*] Checking libnl ... [YES] [*] Checking libnl-route ... [YES] [*] Checking libpcap ... [YES] [*] Checking nacl/sodium ... [NO] [*] Checking ncurses ... [YES] [*] Checking liburcu ... [YES] [*] Checking libz ... [YES] [*] Generating config.h ... [!] Some libraries or header definitions are missing or too old. Thus certain tools will not be built (see below) or they will be built with reduced functionality. Please refer to the INSTALL file for the libraries needed to build the complete netsniff-ng toolkit [!] The NaCl crypto library is currently not present on your system or could not be found. Either install it from your distro or build it manually using 'make nacl' and make sure that the NACL_INC_DIR and NACL_LIB_DIR environment variables are set appropriately. [!] The following tools will *not* be built: mausezahn curvetun [*] The following tools will be built: netsniff-ng trafgen astraceroute flowtop ifpps bpfc [!] There were errors in the configure script. Please check the file config.log for details. + /usr/bin/make -O -j16 V=1 VERBOSE=1 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' 'LDFLAGS= -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' DISTRO=1 ETCDIR=/etc STRIP=: Makefile:88: warning: undefined variable 'HARDENING' Makefile:140: warning: undefined variable 'CROSS_COMPILE' Makefile:187: warning: undefined variable 'netsniff-ng-lex' Makefile:187: warning: undefined variable 'netsniff-ng-yacc' Makefile:187: warning: undefined variable 'astraceroute-lex' Makefile:187: warning: undefined variable 'astraceroute-yacc' Makefile:187: warning: undefined variable 'flowtop-lex' Makefile:187: warning: undefined variable 'flowtop-yacc' Makefile:187: warning: undefined variable 'ifpps-lex' Makefile:187: warning: undefined variable 'ifpps-yacc' Building netsniff-ng toolkit (0.6.8) for x86_64-mageia-linux:(B Building netsniff-ng:(B Building trafgen:(B Building astraceroute:(B Building flowtop:(B Building ifpps:(B Building bpfc:(B CC dissector.c LEX trafgen_lexer.l CC xmalloc.c CC xmalloc.c LEX bpf_lexer.l CC xmalloc.c CC dissector_sll.c CC proto_none.c YAAC trafgen_parser.y CC str.c CC ioops.c YAAC bpf_parser.y CC dissector_eth.c CC xmalloc.c CC tprintf.c CC sig.c CC xmalloc.c CC str.c CC dissector_80211.c CC die.c CC bpf.c CC sock.c CC link.c CC str.c CC dissector_netlink.c CC ioops.c CC str.c CC proc.c CC sock.c CC bpf.c CC lookup.c CC privs.c CC sig.c CC dev.c CC dev.c CC bpfc/bpf_lexer.yy.c CC proto_arp.c CC proc.c CC sock.c CC link.c CC sig.c CC bpfc/bpf_parser.tab.c CC proto_ethernet.c CC dev.c CC link.c CC hash.c CC screen.c CC die.c CC proto_icmpv4.c CC irq.c CC dev.c CC lookup.c CC die.c CC sysctl.c CC link.c CC ring.c CC screen.c CC proto_icmpv6.c CC sysctl.c CC proc.c CC proto_igmp.c CC die.c CC str.c CC die.c CC cpp.c CC proto_ip_authentication_hdr.c CC ifpps.c ifpps.c: In function 'screen_net_dev_rel': ifpps.c:741:33: warning: use of 'll' length modifier with 'f' type character has either no effect or undefined behavior [-Wformat=] 741 | " rx: %16.3llf MiB/t " | ^ ifpps.c:749:33: warning: use of 'll' length modifier with 'f' type character has either no effect or undefined behavior [-Wformat=] 749 | " tx: %16.3llf MiB/t " | ^ ifpps.c: In function 'screen_net_dev_percentage': ifpps.c:763:33: warning: use of 'll' length modifier with 'f' type character has either no effect or undefined behavior [-Wformat=] 763 | " rx: %15.2llf%% of line rate " | ^ ifpps.c:768:33: warning: use of 'll' length modifier with 'f' type character has either no effect or undefined behavior [-Wformat=] 768 | " tx: %15.2llf%% of line rate " | ^ ifpps.c: In function 'screen_net_dev_abs': ifpps.c:777:31: warning: use of 'll' length modifier with 'f' type character has either no effect or undefined behavior [-Wformat=] 777 | "rx: %16.3llf MiB " | ^ ifpps.c:785:31: warning: use of 'll' length modifier with 'f' type character has either no effect or undefined behavior [-Wformat=] 785 | "tx: %16.3llf MiB " | ^ ifpps.c: In function 'screen_mem_swap': ifpps.c:817:19: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 817 | "swap: %12"PRIu64"M total " | ^~~~~~~~~~~~ ...... 821 | (abs->swap_total - abs->swap_free) / 1024, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long unsigned int} ifpps.c:818:30: note: format string is defined here 818 | "%9uM used " | ~~^ | | | unsigned int | %9lu ifpps.c:817:19: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 817 | "swap: %12"PRIu64"M total " | ^~~~~~~~~~~~ ...... 822 | abs->swap_cached / 1024); | ~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long unsigned int} ifpps.c:819:30: note: format string is defined here 819 | "%11uM cached", | ~~~^ | | | unsigned int | %11lu CC sig.c CC sysctl.c CC sysctl.c LD ifpps CC bpfc.c CC proto_ip_esp.c CC sock.c LD bpfc CC ui.c CC astraceroute.c CC proto_ipv4.c CC ring_tx.c CC geoip.c CC flowtop.c CC proto_ipv6.c CC ring.c CC ioops.c CC geoip.c CC proto_ipv6_dest_opts.c CC timer.c LD astraceroute CC ioops.c CC proto_ipv6_fragm.c CC sysctl.c LD flowtop CC proto_ipv6_hop_by_hop.c CC cpp.c CC proto_ipv6_in_ipv4.c CC pcap_sg.c CC proto_ipv6_mobility_hdr.c CC pcap_rw.c CC proto_ipv6_no_nxt_hdr.c CC pcap_mm.c CC proto_ipv6_routing.c CC iosched.c CC proto_lldp.c CC trafgen_dev.c CC proto_none.c CC trafgen_dump.c CC proto_tcp.c CC trafgen_proto.c CC proto_udp.c CC trafgen_l2.c CC proto_dccp.c CC trafgen_l3.c CC proto_vlan.c CC trafgen_l4.c CC proto_vlan_q_in_q.c CC trafgen_l7.c CC proto_mpls_unicast.c CC trafgen/trafgen_lexer.yy.c CC trafgen/trafgen_parser.tab.c CC proto_80211_mac_hdr.c CC privs.c CC trafgen.c CC proc.c CC mac80211.c CC dev.c LD trafgen CC str.c CC sig.c CC sock.c CC irq.c CC iosched.c CC ioops.c CC link.c CC xmalloc.c CC hash.c CC bpf.c CC pcap_rw.c CC pcap_sg.c CC pcap_mm.c CC ring_rx.c CC ring_tx.c CC ring.c CC tprintf.c CC timer.c CC die.c CC sysctl.c CC netsniff-ng.c CC bpf_comp.c CC geoip.c CC tstamping.c CC mac80211.c CC proto_nlmsg.c LD netsniff-ng + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.8GYLVy + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/netsniff-ng-0.6.8-3.mga9.x86_64 '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/netsniff-ng-0.6.8-3.mga9.x86_64 ++ dirname /home/pterjan/rpmbuild/BUILDROOT/netsniff-ng-0.6.8-3.mga9.x86_64 + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/netsniff-ng-0.6.8-3.mga9.x86_64 + cd netsniff-ng-0.6.8 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILDROOT/netsniff-ng-0.6.8-3.mga9.x86_64 'INSTALL=/usr/bin/install -p' PREFIX=/usr ETCDIR=/etc Makefile:88: warning: undefined variable 'HARDENING' Makefile:140: warning: undefined variable 'CROSS_COMPILE' Makefile:187: warning: undefined variable 'netsniff-ng-lex' Makefile:187: warning: undefined variable 'netsniff-ng-yacc' Makefile:187: warning: undefined variable 'astraceroute-lex' Makefile:187: warning: undefined variable 'astraceroute-yacc' Makefile:187: warning: undefined variable 'flowtop-lex' Makefile:187: warning: undefined variable 'flowtop-yacc' Makefile:187: warning: undefined variable 'ifpps-lex' Makefile:187: warning: undefined variable 'ifpps-yacc' INST netsniff-ng/netsniff-ng INST trafgen/trafgen INST netsniff-ng/netsniff-ng.8.gz INST ether.conf mv: cannot stat '/home/pterjan/rpmbuild/BUILDROOT/netsniff-ng-0.6.8-3.mga9.x86_64/etc/netsniff-ng/trafgen_stddef.h': No such file or directory make: *** [trafgen/Makefile:57: trafgen_post_install] Error 1 make: *** Waiting for unfinished jobs.... INST trafgen/trafgen.8.gz INST tcp.conf INST trafgen_stddef.h INST udp.conf INST oui.conf INST geoip.conf error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.8GYLVy (%install) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.8GYLVy (%install) I: [iurt_root_command] ERROR: chroot