+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/mtr.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8omsxw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mtr-0.87 + /usr/bin/gzip -dc /builddir/build/SOURCES/mtr-0.87.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mtr-0.87 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-Don-t-copy-Makefile.dist-to-Makefile-in-distclean.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.LGR6C9 + umask 022 + cd /builddir/build/BUILD + cd mtr-0.87 + export '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 -fPIE' + 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 -fPIE' + export 'LDFLAGS=-z now -pie' + LDFLAGS='-z now -pie' + ./bootstrap.sh configure.ac:13: installing './compile' configure.ac:3: installing './install-sh' configure.ac:3: installing './missing' Makefile.am: installing './depcomp' + 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 -fPIE' + 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 ' + 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 -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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-z now -pie' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-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 --enable-gtk2 configure: WARNING: unrecognized options: --enable-gtk2 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/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 size of unsigned char... 1 checking size of unsigned short... 2 checking size of unsigned int... 4 checking size of unsigned long... 8 checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking ncurses/curses.h usability... yes checking ncurses/curses.h presence... yes checking for ncurses/curses.h... yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking cursesX.h usability... no checking cursesX.h presence... no checking for cursesX.h... no checking for sys/types.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking socket.h usability... no checking socket.h presence... no checking for socket.h... no checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/xti.h usability... no checking sys/xti.h presence... no checking for sys/xti.h... no checking arpa/nameser_compat.h usability... yes checking arpa/nameser_compat.h presence... yes checking for arpa/nameser_compat.h... yes checking for library containing initscr... -lncurses checking for use_default_colors in -lncurses... yes checking for attron... yes checking for fcntl... yes checking for floor in -lm... yes checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for riscv64-redhat-linux-gnu-pkg-config... (cached) /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.7... yes checking for GTK+ - version >= 2.6.0... yes (version 2.24.32) checking for socket... yes checking for gethostbyname... yes checking for seteuid... yes checking whether library required for res_mkquery... yes checking for res_mkquery in -lbind... no checking for res_mkquery in -lresolv... yes checking for herror... yes checking for strerror... yes checking for getaddrinfo... yes checking whether __res_state_ext needs to be defined... no checking whether errno is declared... yes checking for socklen_t... yes checking for struct in_addr... yes checking for C flags to get more warnings... -Wall -Wno-pointer-sign checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating version.h.tmp config.status: creating Makefile config.status: creating img/Makefile config.status: creating config.h config.status: executing depfiles commands configure: WARNING: unrecognized options: --enable-gtk2 + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/mtr-0.87' Making all in img make[2]: Entering directory '/builddir/build/BUILD/mtr-0.87/img' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/mtr-0.87/img' make[2]: Entering directory '/builddir/build/BUILD/mtr-0.87' gcc -DHAVE_CONFIG_H -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 -fPIE -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wno-pointer-sign -c -o mtr.o mtr.c gcc -DHAVE_CONFIG_H -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 -fPIE -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wno-pointer-sign -c -o net.o net.c gcc -DHAVE_CONFIG_H -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 -fPIE -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wno-pointer-sign -c -o dns.o dns.c gcc -DHAVE_CONFIG_H -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 -fPIE -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wno-pointer-sign -c -o raw.o raw.c gcc -DHAVE_CONFIG_H -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 -fPIE -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wno-pointer-sign -c -o split.o split.c gcc -DHAVE_CONFIG_H -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 -fPIE -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wno-pointer-sign -c -o display.o display.c gcc -DHAVE_CONFIG_H -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 -fPIE -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wno-pointer-sign -c -o report.o report.c gcc -DHAVE_CONFIG_H -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 -fPIE -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wno-pointer-sign -c -o getopt.o getopt.c gcc -DHAVE_CONFIG_H -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 -fPIE -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wno-pointer-sign -c -o getopt1.o getopt1.c gcc -DHAVE_CONFIG_H -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 -fPIE -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wno-pointer-sign -c -o select.o select.c gcc -DHAVE_CONFIG_H -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 -fPIE -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wno-pointer-sign -c -o asn.o asn.c gcc -DHAVE_CONFIG_H -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 -fPIE -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wno-pointer-sign -c -o gtk.o gtk.c gcc -DHAVE_CONFIG_H -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 -fPIE -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wno-pointer-sign -c -o curses.o curses.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 -fPIE -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wno-pointer-sign gtk.o curses.o -z now -pie -o mtr mtr.o net.o dns.o raw.o split.o display.o report.o getopt.o getopt1.o select.o asn.o -lresolv -lm -lncurses -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lm make[2]: Leaving directory '/builddir/build/BUILD/mtr-0.87' make[1]: Leaving directory '/builddir/build/BUILD/mtr-0.87' + mv mtr xmtr.bin + make distclean Making distclean in img make[1]: Entering directory '/builddir/build/BUILD/mtr-0.87/img' test -z "" || rm -f test . = "." || test -z "" || rm -f rm -f Makefile make[1]: Leaving directory '/builddir/build/BUILD/mtr-0.87/img' make[1]: Entering directory '/builddir/build/BUILD/mtr-0.87' test -z "version.h" || rm -f version.h test -z "mtr" || rm -f mtr rm -f *.o rm -f *.tab.c test -z "version.h.tmp" || rm -f version.h.tmp test . = "." || test -z "" || rm -f test -z "*~" || rm -f *~ rm -f config.h stamp-h1 rm -f *.orig rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags rm -f cscope.out cscope.in.out cscope.po.out cscope.files make[1]: Leaving directory '/builddir/build/BUILD/mtr-0.87' rm -f config.status config.cache config.log configure.lineno config.status.lineno rm -rf ./.deps rm -f Makefile + 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 -fPIE' + 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 ' + 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 -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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-z now -pie' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-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 --without-gtk checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/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 size of unsigned char... 1 checking size of unsigned short... 2 checking size of unsigned int... 4 checking size of unsigned long... 8 checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking ncurses/curses.h usability... yes checking ncurses/curses.h presence... yes checking for ncurses/curses.h... yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking cursesX.h usability... no checking cursesX.h presence... no checking for cursesX.h... no checking for sys/types.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking socket.h usability... no checking socket.h presence... no checking for socket.h... no checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/xti.h usability... no checking sys/xti.h presence... no checking for sys/xti.h... no checking arpa/nameser_compat.h usability... yes checking arpa/nameser_compat.h presence... yes checking for arpa/nameser_compat.h... yes checking for library containing initscr... -lncurses checking for use_default_colors in -lncurses... yes checking for attron... yes checking for fcntl... yes checking for floor in -lm... yes checking for socket... yes checking for gethostbyname... yes checking for seteuid... yes checking whether library required for res_mkquery... yes checking for res_mkquery in -lbind... no checking for res_mkquery in -lresolv... yes checking for herror... yes checking for strerror... yes checking for getaddrinfo... yes checking whether __res_state_ext needs to be defined... no checking whether errno is declared... yes checking for socklen_t... yes checking for struct in_addr... yes checking for C flags to get more warnings... -Wall -Wno-pointer-sign checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating version.h.tmp config.status: creating Makefile config.status: creating img/Makefile config.status: creating config.h config.status: executing depfiles commands + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/mtr-0.87' Making all in img make[2]: Entering directory '/builddir/build/BUILD/mtr-0.87/img' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/mtr-0.87/img' make[2]: Entering directory '/builddir/build/BUILD/mtr-0.87' gcc -DHAVE_CONFIG_H -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 -fPIE -Wall -Wno-pointer-sign -c -o mtr.o mtr.c gcc -DHAVE_CONFIG_H -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 -fPIE -Wall -Wno-pointer-sign -c -o net.o net.c gcc -DHAVE_CONFIG_H -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 -fPIE -Wall -Wno-pointer-sign -c -o dns.o dns.c gcc -DHAVE_CONFIG_H -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 -fPIE -Wall -Wno-pointer-sign -c -o raw.o raw.c gcc -DHAVE_CONFIG_H -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 -fPIE -Wall -Wno-pointer-sign -c -o split.o split.c gcc -DHAVE_CONFIG_H -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 -fPIE -Wall -Wno-pointer-sign -c -o display.o display.c gcc -DHAVE_CONFIG_H -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 -fPIE -Wall -Wno-pointer-sign -c -o report.o report.c gcc -DHAVE_CONFIG_H -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 -fPIE -Wall -Wno-pointer-sign -c -o getopt.o getopt.c gcc -DHAVE_CONFIG_H -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 -fPIE -Wall -Wno-pointer-sign -c -o getopt1.o getopt1.c gcc -DHAVE_CONFIG_H -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 -fPIE -Wall -Wno-pointer-sign -c -o select.o select.c gcc -DHAVE_CONFIG_H -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 -fPIE -Wall -Wno-pointer-sign -c -o asn.o asn.c gcc -DHAVE_CONFIG_H -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 -fPIE -Wall -Wno-pointer-sign -c -o curses.o curses.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 -fPIE -Wall -Wno-pointer-sign curses.o -z now -pie -o mtr mtr.o net.o dns.o raw.o split.o display.o report.o getopt.o getopt1.o select.o asn.o -lresolv -lm -lncurses make[2]: Leaving directory '/builddir/build/BUILD/mtr-0.87' make[1]: Leaving directory '/builddir/build/BUILD/mtr-0.87' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.quqqbk + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mtr-0.87-6.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mtr-0.87-6.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/mtr-0.87-6.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mtr-0.87-6.fc28.riscv64 + cd mtr-0.87 + install -D -p -m 0755 mtr /builddir/build/BUILDROOT/mtr-0.87-6.fc28.riscv64//usr/sbin/mtr + install -D -p -m 0755 xmtr.bin /builddir/build/BUILDROOT/mtr-0.87-6.fc28.riscv64//usr/bin/xmtr.bin + install -D -p -m 0755 /builddir/build/SOURCES/mtr-gtk-pkexec-wrapper.sh /builddir/build/BUILDROOT/mtr-0.87-6.fc28.riscv64//usr/bin/xmtr + install -D -p -m 644 /builddir/build/SOURCES/org.fedoraproject.mtr.policy /builddir/build/BUILDROOT/mtr-0.87-6.fc28.riscv64//usr/share/polkit-1/actions/org.fedoraproject.mtr.policy + install -D -p -m 644 img/mtr_icon.xpm /builddir/build/BUILDROOT/mtr-0.87-6.fc28.riscv64//usr/share/pixmaps/mtr_icon.xpm + make DESTDIR=/builddir/build/BUILDROOT/mtr-0.87-6.fc28.riscv64 install make install-recursive make[1]: Entering directory '/builddir/build/BUILD/mtr-0.87' Making install in img make[2]: Entering directory '/builddir/build/BUILD/mtr-0.87/img' make[3]: Entering directory '/builddir/build/BUILD/mtr-0.87/img' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/mtr-0.87/img' make[2]: Leaving directory '/builddir/build/BUILD/mtr-0.87/img' make[2]: Entering directory '/builddir/build/BUILD/mtr-0.87' make[3]: Entering directory '/builddir/build/BUILD/mtr-0.87' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/mtr-0.87-6.fc28.riscv64/usr/sbin' /usr/bin/install -c mtr '/builddir/build/BUILDROOT/mtr-0.87-6.fc28.riscv64/usr/sbin' make install-exec-hook make[4]: Entering directory '/builddir/build/BUILD/mtr-0.87' `setcap cap_net_raw+ep /builddir/build/BUILDROOT/mtr-0.87-6.fc28.riscv64/usr/sbin/mtr` \ || chmod u+s /builddir/build/BUILDROOT/mtr-0.87-6.fc28.riscv64/usr/sbin/mtr unable to set CAP_SETFCAP effective capability: Operation not permitted make[4]: Leaving directory '/builddir/build/BUILD/mtr-0.87' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/mtr-0.87-6.fc28.riscv64/usr/share/man/man8' /usr/bin/install -c -m 644 mtr.8 '/builddir/build/BUILDROOT/mtr-0.87-6.fc28.riscv64/usr/share/man/man8' make[3]: Leaving directory '/builddir/build/BUILD/mtr-0.87' make[2]: Leaving directory '/builddir/build/BUILD/mtr-0.87' make[1]: Leaving directory '/builddir/build/BUILD/mtr-0.87' + desktop-file-install --dir=/builddir/build/BUILDROOT/mtr-0.87-6.fc28.riscv64//usr/share/applications /builddir/build/SOURCES/net-xmtr.desktop /builddir/build/BUILDROOT/mtr-0.87-6.fc28.riscv64//usr/share/applications/net-xmtr.desktop: error: (will be fatal in the future): value "mtr_icon.xpm" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /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 /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: mtr-0.87-6.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.0froe3 + umask 022 + cd /builddir/build/BUILD + cd mtr-0.87 + DOCDIR=/builddir/build/BUILDROOT/mtr-0.87-6.fc28.riscv64/usr/share/doc/mtr + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mtr-0.87-6.fc28.riscv64/usr/share/doc/mtr + cp -pr AUTHORS /builddir/build/BUILDROOT/mtr-0.87-6.fc28.riscv64/usr/share/doc/mtr + cp -pr COPYING /builddir/build/BUILDROOT/mtr-0.87-6.fc28.riscv64/usr/share/doc/mtr + cp -pr FORMATS /builddir/build/BUILDROOT/mtr-0.87-6.fc28.riscv64/usr/share/doc/mtr + cp -pr NEWS /builddir/build/BUILDROOT/mtr-0.87-6.fc28.riscv64/usr/share/doc/mtr + cp -pr README /builddir/build/BUILDROOT/mtr-0.87-6.fc28.riscv64/usr/share/doc/mtr + cp -pr SECURITY /builddir/build/BUILDROOT/mtr-0.87-6.fc28.riscv64/usr/share/doc/mtr + exit 0 Provides: mtr = 2:0.87-6.fc28 mtr(riscv-64) = 2:0.87-6.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileCaps) <= 4.6.1-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) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libncurses.so.6()(64bit) libresolv.so.2()(64bit) libresolv.so.2(GLIBC_2.27)(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: mtr-gtk-0.87-6.fc28.riscv64 Provides: application() application(net-xmtr.desktop) mtr-gtk = 2:0.87-6.fc28 mtr-gtk(riscv-64) = 2:0.87-6.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libatk-1.0.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcairo.so.2()(64bit) libfontconfig.so.1()(64bit) libfreetype.so.6()(64bit) libgdk-x11-2.0.so.0()(64bit) libgdk_pixbuf-2.0.so.0()(64bit) libgio-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libgtk-x11-2.0.so.0()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libncurses.so.6()(64bit) libpango-1.0.so.0()(64bit) libpangocairo-1.0.so.0()(64bit) libpangoft2-1.0.so.0()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libresolv.so.2()(64bit) libresolv.so.2(GLIBC_2.27)(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mtr-0.87-6.fc28.riscv64 Wrote: /builddir/build/SRPMS/mtr-0.87-6.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/mtr-0.87-6.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/mtr-gtk-0.87-6.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.R6wOIp + umask 022 + cd /builddir/build/BUILD + cd mtr-0.87 + /usr/bin/rm -rf /builddir/build/BUILDROOT/mtr-0.87-6.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff