D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/routed-0.17-20.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.6Ru9JX + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf netkit-routed-0.17 + /usr/bin/bzip2 -dc /home/iurt/rpmbuild/SOURCES/netkit-routed-0.17.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd netkit-routed-0.17 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (routed-nonrootbuild.patch):' Patch #0 (routed-nonrootbuild.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file ripquery/Makefile + echo 'Patch #1 (routed-BM-fix.patch):' Patch #1 (routed-BM-fix.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file configure Hunk #1 succeeded at 54 (offset -3 lines). + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.hiLunX + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd netkit-routed-0.17 + '[' 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' + ./configure --prefix=/usr Directories: /usr/sbin /usr/share/man Looking for a C compiler... gcc Checking if gcc accepts gcc warnings... yes Checking if gcc accepts -O2... yes Checking for BSD signal semantics... yes Checking for socklen_t... yes Generating MCONFIG... + CC=gcc + 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' + make (cd routed && make) make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/netkit-routed-0.17/routed' gcc -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 -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline af.c -c gcc -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 -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline if.c -c gcc -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 -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline input.c -c gcc -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 -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline main.c -c main.c: In function 'main': main.c:189:10: warning: implicit declaration of function 'time'; did you mean 'timer'? [-Wimplicit-function-declaration] 189 | srandom(time(NULL) ^ getpid()); | ^~~~ | timer main.c:189:10: warning: nested extern declaration of 'time' [-Wnested-externs] gcc -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 -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline output.c -c gcc -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 -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline startup.c -c gcc -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 -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline tables.c -c gcc -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 -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline timer.c -c gcc -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 -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline trace.c -c trace.c: In function 'traceon': trace.c:168:42: warning: implicit declaration of function 'ctime' [-Wimplicit-function-declaration] 168 | fprintf(ftrace, "Tracing enabled %s\n", ctime(&now.tv_sec)); | ^~~~~ trace.c:168:42: warning: nested extern declaration of 'ctime' [-Wnested-externs] trace.c:168:36: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] 168 | fprintf(ftrace, "Tracing enabled %s\n", ctime(&now.tv_sec)); | ~^ ~~~~~~~~~~~~~~~~~~ | | | | | int | char * | %d trace.c: In function 'traceoff': trace.c:184:38: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] 184 | fprintf(ftrace, "Tracing disabled %s\n", | ~^ | | | char * | %d 185 | ctime(&now.tv_sec)); | ~~~~~~~~~~~~~~~~~~ | | | int trace.c: In function 'bumploglevel': trace.c:226:46: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] 226 | fprintf(ftrace, "Tracing actions started %s\n", | ~^ | | | char * | %d 227 | ctime(&now.tv_sec)); | ~~~~~~~~~~~~~~~~~~ | | | int trace.c:233:46: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] 233 | fprintf(ftrace, "Tracing packets started %s\n", | ~^ | | | char * | %d 234 | ctime(&now.tv_sec)); | ~~~~~~~~~~~~~~~~~~ | | | int trace.c:238:46: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] 238 | fprintf(ftrace, "Tracing history started %s\n", | ~^ | | | char * | %d 239 | ctime(&now.tv_sec)); | ~~~~~~~~~~~~~~~~~~ | | | int trace.c:245:54: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] 245 | fprintf(ftrace, "Tracing packet contents started %s\n", | ~^ | | | char * | %d 246 | ctime(&now.tv_sec)); | ~~~~~~~~~~~~~~~~~~ | | | int trace.c: In function 'traceaction': trace.c:308:22: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] 308 | fprintf(fd, "\n%.19s:\n", ctime(&now.tv_sec)); | ~~~~^ ~~~~~~~~~~~~~~~~~~ | | | | char * int | %.19d trace.c: In function 'tracenewmetric': trace.c:354:22: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] 354 | fprintf(fd, "\n%.19s:\n", ctime(&now.tv_sec)); | ~~~~^ ~~~~~~~~~~~~~~~~~~ | | | | char * int | %.19d trace.c: In function 'dumppacket': trace.c:412:32: warning: format '%s' expects argument of type 'char *', but argument 7 has type 'int' [-Wformat=] 412 | fprintf(fd, "%s %s %s.%d %.19s:\n", ripcmds[msg->rip_cmd], | ~~~~^ | | | char * | %.19d 413 | dir, inet_ntoa(who->sin_addr), ntohs(who->sin_port), 414 | ctime(&stamp->tv_sec)); | ~~~~~~~~~~~~~~~~~~~~~ | | | int trace.c:416:42: warning: format '%s' expects argument of type 'char *', but argument 7 has type 'int' [-Wformat=] 416 | fprintf(fd, "Bad cmd 0x%x %s %s.%d %.19s\n", msg->rip_cmd, | ~~~~^ | | | char * | %.19d 417 | dir, inet_ntoa(who->sin_addr), ntohs(who->sin_port), 418 | ctime(&stamp->tv_sec)); | ~~~~~~~~~~~~~~~~~~~~~ | | | int gcc -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 -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline inet.c -c gcc af.o if.o input.o main.o output.o startup.o tables.o timer.o trace.o inet.o -o routed make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/netkit-routed-0.17/routed' (cd ripquery && make) make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/netkit-routed-0.17/ripquery' gcc -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 -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline query.c -c gcc query.o -o ripquery make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/netkit-routed-0.17/ripquery' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.2a7vZW + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/routed-0.17-20.mga8.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/routed-0.17-20.mga8.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/routed-0.17-20.mga8.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/routed-0.17-20.mga8.aarch64 + cd netkit-routed-0.17 + '[' 1 -eq 1 ']' + mkdir -p /home/iurt/rpmbuild/BUILDROOT/routed-0.17-20.mga8.aarch64//etc/rc.d/init.d /home/iurt/rpmbuild/BUILDROOT/routed-0.17-20.mga8.aarch64//usr/share/man/man8 /home/iurt/rpmbuild/BUILDROOT/routed-0.17-20.mga8.aarch64//usr/sbin + make INSTALLROOT=/home/iurt/rpmbuild/BUILDROOT/routed-0.17-20.mga8.aarch64 install (cd routed && make install) make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/netkit-routed-0.17/routed' install -s -m755 routed /home/iurt/rpmbuild/BUILDROOT/routed-0.17-20.mga8.aarch64/usr/sbin install -m644 routed.8 /home/iurt/rpmbuild/BUILDROOT/routed-0.17-20.mga8.aarch64/usr/share/man/man8 make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/netkit-routed-0.17/routed' (cd ripquery && make install) make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/netkit-routed-0.17/ripquery' install -m 755 ripquery /home/iurt/rpmbuild/BUILDROOT/routed-0.17-20.mga8.aarch64/usr/sbin install -m644 ripquery.8 /home/iurt/rpmbuild/BUILDROOT/routed-0.17-20.mga8.aarch64/usr/share/man/man8 make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/netkit-routed-0.17/ripquery' + install -m 755 /home/iurt/rpmbuild/SOURCES/routed.init /home/iurt/rpmbuild/BUILDROOT/routed-0.17-20.mga8.aarch64//etc/rc.d/init.d/routed + perl -pi -e 's|/etc/rc.d/init.d|/etc/rc.d/init.d|' /home/iurt/rpmbuild/BUILDROOT/routed-0.17-20.mga8.aarch64/etc/rc.d/init.d/routed + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 0.17-20.mga8 --unique-debug-suffix -0.17-20.mga8.aarch64 --unique-debug-src-base routed-0.17-20.mga8.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/netkit-routed-0.17 explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/routed-0.17-20.mga8.aarch64/usr/sbin/ripquery extracting debug info from /home/iurt/rpmbuild/BUILDROOT/routed-0.17-20.mga8.aarch64/usr/sbin/ripquery original debug info size: 48kB, size after compression: 52kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 17 blocks + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python3 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /etc/rc.d/init.d/routed from /bin/sh to #!/usr/bin/sh Processing files: routed-0.17-20.mga8.aarch64 Provides: config(routed) = 0.17-20.mga8 routed = 0.17-20.mga8 routed(aarch-64) = 0.17-20.mga8 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(preun): /bin/sh Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) Conflicts: gated Processing files: routed-debugsource-0.17-20.mga8.aarch64 Provides: routed-debugsource = 0.17-20.mga8 routed-debugsource(aarch-64) = 0.17-20.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: routed-debuginfo-0.17-20.mga8.aarch64 Provides: debuginfo(build-id) = 1f88d8f7a091d73cb0d4dda3965f4839a17d8f18 routed-debuginfo = 0.17-20.mga8 routed-debuginfo(aarch-64) = 0.17-20.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: routed-debugsource(aarch-64) = 0.17-20.mga8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/routed-0.17-20.mga8.aarch64 Wrote: /home/iurt/rpmbuild/RPMS/aarch64/routed-debugsource-0.17-20.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/routed-0.17-20.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/routed-debuginfo-0.17-20.mga8.aarch64.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.sK0BbU + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd netkit-routed-0.17 + /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/routed-0.17-20.mga8.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.HmU8kV + umask 022 + cd /home/iurt/rpmbuild/BUILD + rm -rf netkit-routed-0.17 + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!