D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/iputils-20180629-4.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.gFxt1b + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf iputils-s20180629 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/iputils-s20180629.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd iputils-s20180629 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /home/iurt/rpmbuild/SOURCES/ifenslave.c . + cp /home/iurt/rpmbuild/SOURCES/bonding.txt . + cp /home/iurt/rpmbuild/SOURCES/ifenslave.8 . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/iputils-ifenslave.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.tGXt0e + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd iputils-s20180629 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + export 'CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + export 'RPM_OPT_FLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + RPM_OPT_FLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + perl -pi -e 's!\$\(MAKE\) -C doc html!!g' Makefile + /usr/bin/make -O -j8 V=1 VERBOSE=1 IDN=yes 'OPTFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -fno-strict-aliasing' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -fno-strict-aliasing -Wstrict-prototypes -Wall -D_GNU_SOURCE -c traceroute6.c -DCAPABILITIES -DUSE_IDN -o traceroute6.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -fno-strict-aliasing -Wstrict-prototypes -Wall -D_GNU_SOURCE -c tracepath.c -DUSE_IDN -o tracepath.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -fno-strict-aliasing -Wstrict-prototypes -Wall -D_GNU_SOURCE -c clockdiff.c -DCAPABILITIES -o clockdiff.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -fno-strict-aliasing -Wstrict-prototypes -Wall -D_GNU_SOURCE -c tftpsubs.c -o tftpsubs.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -fno-strict-aliasing -Wstrict-prototypes -Wall tracepath.o -lidn2 -o tracepath cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -fno-strict-aliasing -Wstrict-prototypes -Wall traceroute6.o -lcap -lidn2 -o traceroute6 cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -fno-strict-aliasing -Wstrict-prototypes -Wall -D_GNU_SOURCE -c tftpd.c -o tftpd.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -fno-strict-aliasing -Wstrict-prototypes -Wall clockdiff.o -lcap -o clockdiff cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -fno-strict-aliasing -Wstrict-prototypes -Wall tftpd.o tftpsubs.o -o tftpd cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -fno-strict-aliasing -Wstrict-prototypes -Wall -D_GNU_SOURCE -c arping.c -DUSE_SYSFS -DCAPABILITIES -DUSE_IDN -o arping.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -fno-strict-aliasing -Wstrict-prototypes -Wall -D_GNU_SOURCE -c ping_common.c -DCAPABILITIES -DUSE_IDN -DUSE_NETTLE -o ping_common.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -fno-strict-aliasing -Wstrict-prototypes -Wall arping.o -lcap -lidn2 -lrt -o arping cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -fno-strict-aliasing -Wstrict-prototypes -Wall -D_GNU_SOURCE -c rdisc.c -o rdisc.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -fno-strict-aliasing -Wstrict-prototypes -Wall rdisc.o -o rdisc cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -fno-strict-aliasing -Wstrict-prototypes -Wall -D_GNU_SOURCE -c ping6_common.c -DCAPABILITIES -DUSE_IDN -DUSE_NETTLE -o ping6_common.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -fno-strict-aliasing -Wstrict-prototypes -Wall -D_GNU_SOURCE -c rarpd.c -o rarpd.o In file included from /usr/include/string.h:495, from rarpd.c:16: In function 'strncpy', inlined from 'load_if' at rarpd.c:158:4: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 16 bytes from a string of length 10239 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'main' at rarpd.c:618:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -fno-strict-aliasing -Wstrict-prototypes -Wall rarpd.o -o rarpd cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -fno-strict-aliasing -Wstrict-prototypes -Wall -D_GNU_SOURCE -c ping.c -DCAPABILITIES -DUSE_IDN -DUSE_NETTLE -o ping.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -fno-strict-aliasing -Wstrict-prototypes -Wall ping.o ping_common.o ping6_common.o -lcap -lidn2 -lnettle -lresolv -lm -o ping /usr/bin/ld: ping6_common.o:(.bss+0x38): multiple definition of `device'; ping.o:(.bss+0x0): first defined here collect2: error: ld returned 1 exit status make: *** [Makefile:137: ping] Error 1 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.tGXt0e (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.tGXt0e (%build) I: [iurt_root_command] ERROR: chroot