Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/net-tools.spec'], chrootPath='/var/lib/mock/net-tools-2.0-0.25.20131004git.el7-20190809005326-18592/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1005) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/net-tools.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/net-tools-2.0-0.25.20131004git.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/net-tools.spec'], chrootPath='/var/lib/mock/net-tools-2.0-0.25.20131004git.el7-20190809005326-18592/root'shell=Falseuid=1005env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/net-tools.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.UQxXTW + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf net-tools-2.0 + /usr/bin/mkdir -p net-tools-2.0 + cd net-tools-2.0 + /usr/bin/tar -xf - + /usr/bin/xz -dc /builddir/build/SOURCES/net-tools-2.0.20131004git.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (net-tools-cycle.patch): + echo 'Patch #1 (net-tools-cycle.patch):' + /usr/bin/cat /builddir/build/SOURCES/net-tools-cycle.patch + /usr/bin/patch -p1 -b --suffix .cycle --fuzz=0 patching file lib/interface.c patching file man/en_US/netstat.8 patching file netstat.c patching file statistics.c Patch #2 (net-tools-ipx.patch): + echo 'Patch #2 (net-tools-ipx.patch):' + /usr/bin/cat /builddir/build/SOURCES/net-tools-ipx.patch + /usr/bin/patch -p1 -b --suffix .ipx --fuzz=0 patching file lib/ipx_gr.c patching file netstat.c Patch #3 (net-tools-man.patch): + echo 'Patch #3 (net-tools-man.patch):' + /usr/bin/patch -p1 -b --suffix .man --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/net-tools-man.patch patching file man/en_US/arp.8 patching file man/en_US/ethers.5 patching file man/en_US/ifconfig.8 patching file man/en_US/mii-tool.8 patching file man/en_US/nameif.8 patching file man/en_US/netstat.8 patching file man/en_US/route.8 Hunk #1 succeeded at 57 (offset 5 lines). Hunk #2 succeeded at 333 (offset 14 lines). Patch #4 (net-tools-interface.patch): + echo 'Patch #4 (net-tools-interface.patch):' + /usr/bin/cat /builddir/build/SOURCES/net-tools-interface.patch + /usr/bin/patch -p1 -b --suffix .interface --fuzz=0 patching file man/en_US/netstat.8 patching file netstat.c Hunk #1 succeeded at 144 (offset 1 line). Hunk #2 succeeded at 1783 (offset -4 lines). Hunk #3 succeeded at 1798 (offset -4 lines). Hunk #4 succeeded at 1828 (offset -4 lines). Hunk #5 succeeded at 1876 (offset -4 lines). Hunk #6 succeeded at 1920 (offset -4 lines). Hunk #7 succeeded at 1961 (offset -4 lines). Patch #5 (net-tools-duplicate-tcp.patch): + echo 'Patch #5 (net-tools-duplicate-tcp.patch):' + /usr/bin/patch -p1 -b --suffix .dup-tcp --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/net-tools-duplicate-tcp.patch patching file netstat.c Hunk #1 succeeded at 503 (offset 1 line). Hunk #2 succeeded at 1135 (offset 2 lines). Hunk #3 succeeded at 2473 (offset -3 lines). Patch #6 (net-tools-statalias.patch): + echo 'Patch #6 (net-tools-statalias.patch):' + /usr/bin/cat /builddir/build/SOURCES/net-tools-statalias.patch + /usr/bin/patch -p1 -b --suffix .statalias --fuzz=0 patching file lib/interface.c Patch #7 (net-tools-interface_stack.patch): + echo 'Patch #7 (net-tools-interface_stack.patch):' + /usr/bin/patch -p1 -b --suffix .stack --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/net-tools-interface_stack.patch patching file include/interface.h patching file lib/interface.c Patch #8 (net-tools-sctp-statistics.patch): + echo 'Patch #8 (net-tools-sctp-statistics.patch):' + /usr/bin/cat /builddir/build/SOURCES/net-tools-sctp-statistics.patch + /usr/bin/patch -p1 -b --suffix .sctp --fuzz=0 patching file netstat.c patching file statistics.c Patch #9 (net-tools-ifconfig-long-iface-crasher.patch): + echo 'Patch #9 (net-tools-ifconfig-long-iface-crasher.patch):' + /usr/bin/patch -p1 -b --suffix .long_iface --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/net-tools-ifconfig-long-iface-crasher.patch patching file lib/interface.c Patch #10 (net-tools-netstat-probe.patch): + echo 'Patch #10 (net-tools-netstat-probe.patch):' + /usr/bin/cat /builddir/build/SOURCES/net-tools-netstat-probe.patch + /usr/bin/patch -p1 -b --suffix .probe --fuzz=0 patching file netstat.c Hunk #1 succeeded at 1276 (offset 9 lines). + cp /builddir/build/SOURCES/net-tools-config.h ./config.h + cp /builddir/build/SOURCES/net-tools-config.make ./config.make + cp /builddir/build/SOURCES/ether-wake.c . + cp /builddir/build/SOURCES/ether-wake.8 ./man/en_US + cp /builddir/build/SOURCES/mii-diag.c . + cp /builddir/build/SOURCES/mii-diag.8 ./man/en_US + cp /builddir/build/SOURCES/iptunnel.8 ./man/en_US + cp /builddir/build/SOURCES/ipmaddr.8 ./man/en_US Patch #20 (ether-wake-interfaces.patch): + echo 'Patch #20 (ether-wake-interfaces.patch):' + /usr/bin/cat /builddir/build/SOURCES/ether-wake-interfaces.patch + /usr/bin/patch -p1 -b --suffix .interfaces --fuzz=0 patching file ether-wake.c patching file Makefile Hunk #1 succeeded at 191 (offset 3 lines). patching file man/en_US/ether-wake.8 Patch #21 (net-tools-sctp-quiet.patch): + echo 'Patch #21 (net-tools-sctp-quiet.patch):' + /usr/bin/patch -p1 -b --suffix .sctp-quiet --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/net-tools-sctp-quiet.patch patching file netstat.c Patch #22 (net-tools-correct-exit-code.patch): + echo 'Patch #22 (net-tools-correct-exit-code.patch):' + /usr/bin/cat /builddir/build/SOURCES/net-tools-correct-exit-code.patch + /usr/bin/patch -p1 -b --suffix .exit-code --fuzz=0 patching file netstat.c patching file arp.c patching file ipmaddr.c patching file include/util-ank.h patching file iptunnel.c patching file nameif.c patching file plipconfig.c patching file route.c patching file slattach.c Patch #23 (net-tools-ifconfig-EiB.patch): + echo 'Patch #23 (net-tools-ifconfig-EiB.patch):' + /usr/bin/cat /builddir/build/SOURCES/net-tools-ifconfig-EiB.patch + /usr/bin/patch -p1 -b --suffix .round-EiB --fuzz=0 patching file lib/interface.c Patch #24 (net-tools-netstat-sctp-man.patch): + echo 'Patch #24 (net-tools-netstat-sctp-man.patch):' + /usr/bin/cat /builddir/build/SOURCES/net-tools-netstat-sctp-man.patch + /usr/bin/patch -p1 -b --suffix .sctp-man --fuzz=0 patching file man/de_DE/netstat.8 patching file man/en_US/netstat.8 patching file man/fr_FR/netstat.8 patching file man/pt_BR/netstat.8 patching file netstat.c Hunk #1 succeeded at 2095 (offset 1 line). Patch #25 (net-tools-interface-name-len.patch): + echo 'Patch #25 (net-tools-interface-name-len.patch):' + /usr/bin/patch -p1 -b --suffix .interface-name-len --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/net-tools-interface-name-len.patch patching file netstat.c Hunk #3 succeeded at 2037 (offset -5 lines). patching file lib/interface.c Patch #26 (net-tools-route-inet6-output.patch): + echo 'Patch #26 (net-tools-route-inet6-output.patch):' + /usr/bin/cat /builddir/build/SOURCES/net-tools-route-inet6-output.patch + /usr/bin/patch -p1 -b --suffix .route-inet6-output --fuzz=0 patching file lib/inet6_gr.c Hunk #1 succeeded at 149 (offset 3 lines). + touch ./config.h Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.xH05wE + exit 0 + umask 022 + cd /builddir/build/BUILD + cd net-tools-2.0 + export 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie' + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie' + export 'LDFLAGS= -pie -Wl,-z,relro -Wl,-z,now' + LDFLAGS=' -pie -Wl,-z,relro -Wl,-z,now' + make make[1]: Entering directory `/builddir/build/BUILD/net-tools-2.0/lib' cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o activate.o activate.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o af.o af.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o arcnet.o arcnet.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o ash.o ash.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o ax25.o ax25.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o ax25_gr.o ax25_gr.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o ddp.o ddp.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o ddp_gr.o ddp_gr.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o ec_hw.o ec_hw.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o econet.o econet.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o ether.o ether.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o eui64.o eui64.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o fddi.o fddi.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o frame.o frame.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o getargs.o getargs.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o getroute.o getroute.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o hdlclapb.o hdlclapb.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o hippi.o hippi.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o hw.o hw.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o ib.o ib.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o inet.o inet.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o inet6.o inet6.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o inet6_gr.o inet6_gr.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o inet6_sr.o inet6_sr.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o inet_gr.o inet_gr.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o inet_sr.o inet_sr.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o interface.o interface.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o ipx.o ipx.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o ipx_gr.o ipx_gr.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o ipx_sr.o ipx_sr.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o irda.o irda.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o loopback.o loopback.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o masq_info.o masq_info.c masq_info.c: In function 'ip_masq_info': masq_info.c:171:10: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, sizeof(buf), f); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o netrom.o netrom.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o netrom_gr.o netrom_gr.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o netrom_sr.o netrom_sr.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o nstrcmp.o nstrcmp.c nstrcmp.c: In function 'nstrcmp': nstrcmp.c:48:2: warning: passing argument 1 of 'xstrdup' discards 'const' qualifier from pointer target type [enabled by default] char *a = xstrdup(ap); ^ In file included from nstrcmp.c:7:0: util.h:5:7: note: expected 'char *' but argument is of type 'const char *' char *xstrdup(char *src); ^ nstrcmp.c:49:2: warning: passing argument 1 of 'xstrdup' discards 'const' qualifier from pointer target type [enabled by default] char *b = xstrdup(bp); ^ In file included from nstrcmp.c:7:0: util.h:5:7: note: expected 'char *' but argument is of type 'const char *' char *xstrdup(char *src); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o ppp.o ppp.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o ppp_ac.o ppp_ac.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o proc.o proc.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o rose.o rose.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o rose_gr.o rose_gr.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o setroute.o setroute.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o sit.o sit.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o slip.o slip.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o slip_ac.o slip_ac.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o sockets.o sockets.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o strip.o strip.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o tr.o tr.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o tunnel.o tunnel.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o unix.o unix.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o util-ank.o util-ank.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o util.o util.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o x25.o x25.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o x25_gr.o x25_gr.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -I.. -I../include -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c -o x25_sr.o x25_sr.c Building libnet-tools.a make[1]: Leaving directory `/builddir/build/BUILD/net-tools-2.0/lib' make[1]: Entering directory `/builddir/build/BUILD/net-tools-2.0/man' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/builddir/build/BUILD/net-tools-2.0/man' cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c ifconfig.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -pie -Wl,-z,relro -Wl,-z,now -Llib -o ifconfig ifconfig.o -lnet-tools cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c hostname.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -pie -Wl,-z,relro -Wl,-z,now -Llib -o hostname hostname.o cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c arp.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -pie -Wl,-z,relro -Wl,-z,now -Llib -o arp arp.o -lnet-tools cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c netstat.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c statistics.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -pie -Wl,-z,relro -Wl,-z,now -Llib -o netstat netstat.o statistics.o -lnet-tools -lselinux cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c route.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -pie -Wl,-z,relro -Wl,-z,now -Llib -o route route.o -lnet-tools cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c rarp.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -pie -Wl,-z,relro -Wl,-z,now -Llib -o rarp rarp.o -lnet-tools cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c slattach.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -pie -Wl,-z,relro -Wl,-z,now -Llib -o slattach slattach.o -lnet-tools cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c plipconfig.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -pie -Wl,-z,relro -Wl,-z,now -Llib -o plipconfig plipconfig.o -lnet-tools cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c nameif.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -pie -Wl,-z,relro -Wl,-z,now -Llib -o nameif nameif.o -lnet-tools cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpie -Wall -fno-strict-aliasing -D_GNU_SOURCE -I. -I/builddir/build/BUILD/net-tools-2.0/include -Ilib -c iptunnel.c In file included from /usr/include/linux/if_tunnel.h:7:0, from iptunnel.c:39: /usr/include/linux/ip.h:86:8: error: redefinition of 'struct iphdr' struct iphdr { ^ In file included from iptunnel.c:29:0: /usr/include/netinet/ip.h:44:8: note: originally defined here struct iphdr ^ make: *** [iptunnel.o] Error 1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.xH05wE (%build) Bad exit status from /var/tmp/rpm-tmp.xH05wE (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 88, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 547, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/net-tools.spec