+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/paris-traceroute.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.vWfhIo + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf paris-traceroute-current + /usr/bin/gzip -dc /builddir/build/SOURCES/paris-traceroute-0.92-dev.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd paris-traceroute-current + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qQ0Pxy + umask 022 + cd /builddir/build/BUILD + cd paris-traceroute-current + 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 ' + 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='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./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-shared checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for riscv64-redhat-linux-gnu-g++... no checking for riscv64-redhat-linux-gnu-c++... no checking for riscv64-redhat-linux-gnu-gpp... no checking for riscv64-redhat-linux-gnu-aCC... no checking for riscv64-redhat-linux-gnu-CC... no checking for riscv64-redhat-linux-gnu-cxx... no checking for riscv64-redhat-linux-gnu-cc++... no checking for riscv64-redhat-linux-gnu-cl... no checking for riscv64-redhat-linux-gnu-FCC... no checking for riscv64-redhat-linux-gnu-KCC... no checking for riscv64-redhat-linux-gnu-RCC... no checking for riscv64-redhat-linux-gnu-xlC_r... no checking for riscv64-redhat-linux-gnu-xlC... no checking for g++... g++ checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... none checking for a BSD-compatible install... /usr/bin/install -c checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking dependency style of gcc... none checking for a sed that does not truncate output... /usr/bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... g++ -E checking for riscv64-redhat-linux-gnu-g77... no checking for riscv64-redhat-linux-gnu-f77... no checking for riscv64-redhat-linux-gnu-xlf... no checking for riscv64-redhat-linux-gnu-frt... no checking for riscv64-redhat-linux-gnu-pgf77... no checking for riscv64-redhat-linux-gnu-fort77... no checking for riscv64-redhat-linux-gnu-fl32... no checking for riscv64-redhat-linux-gnu-af77... no checking for riscv64-redhat-linux-gnu-f90... no checking for riscv64-redhat-linux-gnu-xlf90... no checking for riscv64-redhat-linux-gnu-pgf90... no checking for riscv64-redhat-linux-gnu-epcf90... no checking for riscv64-redhat-linux-gnu-f95... no checking for riscv64-redhat-linux-gnu-fort... no checking for riscv64-redhat-linux-gnu-xlf95... no checking for riscv64-redhat-linux-gnu-ifc... no checking for riscv64-redhat-linux-gnu-efc... no checking for riscv64-redhat-linux-gnu-pgf95... no checking for riscv64-redhat-linux-gnu-lf95... no checking for riscv64-redhat-linux-gnu-gfortran... no checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for riscv64-redhat-linux-gnu-ranlib... ranlib checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for correct ltmain.sh version... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking whether make sets $(MAKE)... (cached) yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for ANSI C header files... (cached) yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking whether time.h and sys/time.h may both be included... yes checking for pid_t... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for unistd.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for main in -lpthread... yes checking for memset... yes checking for socket... yes checking for strdup... yes checking for gettimeofday... yes checking for inet_ntoa... yes checking for strerror... yes checking for gethostbyaddr... yes checking for gethostbyname... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating doc/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/paris-traceroute-current' Making all in src make[2]: Entering directory '/builddir/build/BUILD/paris-traceroute-current/src' g++ -DHAVE_CONFIG_H -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 -c -o common.o common.cc g++ -DHAVE_CONFIG_H -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 -c -o Util.o Util.cc g++ -DHAVE_CONFIG_H -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 -c -o Time.o Time.cc g++ -DHAVE_CONFIG_H -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 -c -o Options.o Options.cc g++ -DHAVE_CONFIG_H -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 -c -o Output.o Output.cc g++ -DHAVE_CONFIG_H -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 -c -o IP4Header.o IP4Header.cc Options.cc: In constructor 'Options::Options(int, char**)': Options.cc:82:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char* short_opts = "AZhVvQniDf:F:m:p:o:s:d:t:w:T:q:M:a:lb:L:B:c:E:r:"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Util.cc: In static member function 'static char* Util::getRoute(const char*)': Util.cc:45:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] dst_addr = "216.239.51.100"; ^~~~~~~~~~~~~~~~ In file included from Options.h:6:0, from Options.cc:1: Options.cc: In member function 'void Options::dump()': common.h:45:69: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=] if (lvl <= get_log_level()) log_c(lvl, __FILE__, __LINE__, ## args ) ^ Options.cc:348:3: note: in expansion of macro 'log' log(DUMP, "timeout = %d", timeout); ^~~ Util.cc:89:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fd, "%s", buff); ~~~~~~^~~~~~~~~~~~~~~~ common.h:45:69: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=] if (lvl <= get_log_level()) log_c(lvl, __FILE__, __LINE__, ## args ) ^ Options.cc:349:3: note: in expansion of macro 'log' log(DUMP, "delay = %d", delay_between_probes); ^~~ g++ -DHAVE_CONFIG_H -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 -c -o UDPHeader.o UDPHeader.cc g++ -DHAVE_CONFIG_H -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 -c -o TCPHeader.o TCPHeader.cc g++ -DHAVE_CONFIG_H -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 -c -o ICMPHeader.o ICMPHeader.cc g++ -DHAVE_CONFIG_H -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 -c -o MPLSHeader.o MPLSHeader.cc g++ -DHAVE_CONFIG_H -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 -c -o Datagram.o Datagram.cc g++ -DHAVE_CONFIG_H -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 -c -o Probe.o Probe.cc g++ -DHAVE_CONFIG_H -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 -c -o UDPProbe.o UDPProbe.cc Datagram.cc: In destructor 'virtual Datagram::~Datagram()': Datagram.cc:33:13: warning: deleting object of polymorphic class type 'IP4Header' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete ip; ^~ Datagram.cc:37:13: warning: deleting object of polymorphic class type 'ICMPHeader' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete icmp; ^~~~ Datagram.cc:41:13: warning: deleting object of polymorphic class type 'UDPHeader' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete udp; ^~~ Datagram.cc:45:13: warning: deleting object of polymorphic class type 'TCPHeader' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete tcp; ^~~ Datagram.cc:49:13: warning: deleting object of polymorphic class type 'MPLSHeader' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete mpls; ^~~~ Datagram.cc:52:60: warning: throw will always call terminate() [-Wterminate] throw TrException(str_log(DUMP, "Unknown header type")); ^ Datagram.cc:52:60: note: in C++11 destructors default to noexcept g++ -DHAVE_CONFIG_H -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 -c -o TCPProbe.o TCPProbe.cc UDPProbe.cc: In constructor 'UDPProbe::UDPProbe(const char*, int, uint32, int, uint8, uint8, int, uint16, uint16, int)': UDPProbe.cc:106:11: warning: deleting object of polymorphic class type 'ICMPHeader' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete icmp; ^~~~ UDPProbe.cc: In constructor 'UDPProbe::UDPProbe(const char*, int, uint32, int, uint8, uint8, int, uint16, uint16, int)': UDPProbe.cc:95:14: warning: 'icmp' may be used uninitialized in this function [-Wmaybe-uninitialized] icmp->pack(icmp_datagram, datagram_len, 0); ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Output.cc: In static member function 'static void Output::text(FILE*, Tracert*, Options*)': Output.cc:12:62: warning: format '%d' expects argument of type 'int', but argument 9 has type 'long int' [-Wformat=] opts->protocol, opts->algo, results->duration()/1000000); ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ g++ -DHAVE_CONFIG_H -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 -c -o ICMPProbe.o ICMPProbe.cc Output.cc: In static member function 'static void Output::raw(FILE*, Tracert*, Options*)': Output.cc:431:23: warning: unused variable 'last_tprobe' [-Wunused-variable] const TimedProbe* last_tprobe = NULL; ^~~~~~~~~~~ g++ -DHAVE_CONFIG_H -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 -c -o Reply.o Reply.cc g++ -DHAVE_CONFIG_H -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 -c -o ICMPReply.o ICMPReply.cc g++ -DHAVE_CONFIG_H -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 -c -o TCPReply.o TCPReply.cc g++ -DHAVE_CONFIG_H -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 -c -o Server.o Server.cc g++ -DHAVE_CONFIG_H -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 -c -o TimedProbe.o TimedProbe.cc ICMPReply.cc: In member function 'virtual int ICMPReply::getID2()': ICMPReply.cc:250:21: warning: unused variable 'err_icmp' [-Wunused-variable] ICMPHeader* err_icmp = (ICMPHeader*)getHeader(3); ^~~~~~~~ ICMPReply.cc: In member function 'virtual int ICMPReply::getID3()': ICMPReply.cc:281:21: warning: unused variable 'err_icmp' [-Wunused-variable] ICMPHeader* err_icmp = (ICMPHeader*)getHeader(3); ^~~~~~~~ g++ -DHAVE_CONFIG_H -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 -c -o NULLTracert.o NULLTracert.cc g++ -DHAVE_CONFIG_H -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 -c -o HopByHopTracert.o HopByHopTracert.cc In file included from Reply.h:4:0, from Server.h:4, from Server.cc:1: Server.cc: In member function 'void Server::runThread()': common.h:45:69: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'uint8* {aka unsigned char*}' [-Wformat=] if (lvl <= get_log_level()) log_c(lvl, __FILE__, __LINE__, ## args ) ^ Server.cc:281:5: note: in expansion of macro 'log' //printf("server, id %d\n", id); ^~~ Server.cc:214:10: warning: unused variable 'sfd' [-Wunused-variable] } ^ g++ -DHAVE_CONFIG_H -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 -c -o PackByPackTracert.o PackByPackTracert.cc HopByHopTracert.cc: In member function 'virtual bool HopByHopTracert::trace()': HopByHopTracert.cc:41:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ g++ -DHAVE_CONFIG_H -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 -c -o ScoutTracert.o ScoutTracert.cc g++ -DHAVE_CONFIG_H -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 -c -o ConcurrentTracert.o ConcurrentTracert.cc g++ -DHAVE_CONFIG_H -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 -c -o paris-traceroute.o paris-traceroute.cc ScoutTracert.cc: In member function 'virtual bool ScoutTracert::trace()': ScoutTracert.cc:34:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ PackByPackTracert.cc: In member function 'virtual bool PackByPackTracert::trace()': PackByPackTracert.cc:28:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ ConcurrentTracert.cc: In member function 'virtual bool ConcurrentTracert::trace()': ConcurrentTracert.cc:31:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ g++ -DHAVE_CONFIG_H -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 -c -o TracertImpl.o TracertImpl.cc g++ -DHAVE_CONFIG_H -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 -c -o MtTracert.o MtTracert.cc paris-traceroute.cc: In function 'int main(int, char**)': paris-traceroute.cc:116:71: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("Round duration: %d seconds\n", currt->getCurrentSeconds ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ paris-traceroute.cc:176:15: warning: deleting object of abstract class type 'Tracert' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete traceroute; ^~~~~~~~~~ paris-traceroute.cc:181:15: warning: deleting object of abstract class type 'Tracert' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete traceroute; ^~~~~~~~~~ paris-traceroute.cc:205:10: warning: deleting object of abstract class type 'Tracert' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete traceroute; ^~~~~~~~~~ paris-traceroute.cc:30:10: warning: unused variable 'sw_id1' [-Wunused-variable] uint16 sw_id1 = (u << 8) | (u >> 8); ^~~~~~ g++ -DHAVE_CONFIG_H -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 -c -o ExhaustiveTracert.o ExhaustiveTracert.cc g++ -DHAVE_CONFIG_H -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 -c -o ExhaustiveOldTracert.o ExhaustiveOldTracert.cc In file included from Tracert.h:4:0, from TracertImpl.cc:1: TracertImpl.cc: In member function 'virtual TimedProbe* TracertImpl::validateReply(Reply*, timeval*)': common.h:45:69: warning: format '%s' expects argument of type 'char*', but argument 5 has type 'uint32 {aka unsigned int}' [-Wformat=] if (lvl <= get_log_level()) log_c(lvl, __FILE__, __LINE__, ## args ) ^ TracertImpl.cc:340:5: note: in expansion of macro 'log' log(DUMP, "Can't find the probe associated to this reply to target %s", target); ^~~ common.h:45:69: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=] if (lvl <= get_log_level()) log_c(lvl, __FILE__, __LINE__, ## args ) ^ TracertImpl.cc:356:5: note: in expansion of macro 'log' log(DUMP, "A reply received which has timed out %d", arrival_time - tprobe->timeout_time); ^~~ MtTracert.cc: In member function 'void MtTracert::trace(char*, int, int, bool)': MtTracert.cc:167:35: warning: deleting object of polymorphic class type 'ExhaustiveTracert' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete ((ExhaustiveTracert*)t); ^ MtTracert.cc:170:38: warning: deleting object of polymorphic class type 'ExhaustiveOldTracert' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete ((ExhaustiveOldTracert*)t); ^ ExhaustiveTracert.cc: In member function 'int ExhaustiveTracert::ProbesToSend(int)': ExhaustiveTracert.cc:81:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (nbr_interfaces >= sizeof(n2m) / sizeof(int)) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ExhaustiveTracert.cc: In member function 'virtual bool ExhaustiveTracert::trace()': ExhaustiveTracert.cc:90:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ ExhaustiveTracert.cc: In member function 'virtual bool ExhaustiveTracert::trace(char*, int, int)': ExhaustiveTracert.cc:301:12: warning: unused variable 'dst_port' [-Wunused-variable] uint16 dst_port = opts->dst_port; ^~~~~~~~ ExhaustiveTracert.cc:258:7: warning: unused variable 'max_probes_to_send' [-Wunused-variable] int max_probes_to_send = 0; ^~~~~~~~~~~~~~~~~~ ExhaustiveTracert.cc:260:7: warning: unused variable 'ttl_save' [-Wunused-variable] int ttl_save; ^~~~~~~~ ExhaustiveTracert.cc: In member function 'Interface* ExhaustiveTracert::findInterface(MapProbes*, uint32)': ExhaustiveTracert.cc:531:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (int i = 0; i < mprobes->nbr_interfaces; i++) ^~~ ExhaustiveTracert.cc:534:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return NULL; ^~~~~~ ExhaustiveTracert.cc: In member function 'virtual void ExhaustiveTracert::notifyReply(Reply*, timeval*)': ExhaustiveTracert.cc:648:10: warning: unused variable 'add' [-Wunused-variable] bool add = true; ^~~ MtTracert.cc: In member function 'void MtTracert::runThread()': MtTracert.cc:240:10: warning: 'dest_addr' may be used uninitialized in this function [-Wmaybe-uninitialized] trace(dest_addr, id_initial, id_max, false); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -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 -c -o Bandwidth.o Bandwidth.cc ExhaustiveOldTracert.cc: In member function 'int ExhaustiveOldTracert::ProbesToSend(int)': ExhaustiveOldTracert.cc:156:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (nbr_interfaces >= sizeof(n2m_old) / sizeof(int)) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ExhaustiveOldTracert.cc: In member function 'virtual bool ExhaustiveOldTracert::trace()': ExhaustiveOldTracert.cc:165:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ /bin/sh ../libtool --tag=CXX --mode=link g++ -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o paris-traceroute common.o Util.o Time.o Options.o Output.o IP4Header.o UDPHeader.o TCPHeader.o ICMPHeader.o MPLSHeader.o Datagram.o Probe.o UDPProbe.o TCPProbe.o ICMPProbe.o Reply.o ICMPReply.o TCPReply.o Server.o TimedProbe.o NULLTracert.o HopByHopTracert.o PackByPackTracert.o ScoutTracert.o ConcurrentTracert.o paris-traceroute.o TracertImpl.o MtTracert.o ExhaustiveTracert.o ExhaustiveOldTracert.o Bandwidth.o -lpthread mkdir .libs g++ -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 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o paris-traceroute common.o Util.o Time.o Options.o Output.o IP4Header.o UDPHeader.o TCPHeader.o ICMPHeader.o MPLSHeader.o Datagram.o Probe.o UDPProbe.o TCPProbe.o ICMPProbe.o Reply.o ICMPReply.o TCPReply.o Server.o TimedProbe.o NULLTracert.o HopByHopTracert.o PackByPackTracert.o ScoutTracert.o ConcurrentTracert.o paris-traceroute.o TracertImpl.o MtTracert.o ExhaustiveTracert.o ExhaustiveOldTracert.o Bandwidth.o -lpthread make[2]: Leaving directory '/builddir/build/BUILD/paris-traceroute-current/src' Making all in doc make[2]: Entering directory '/builddir/build/BUILD/paris-traceroute-current/doc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/paris-traceroute-current/doc' make[2]: Entering directory '/builddir/build/BUILD/paris-traceroute-current' make[2]: Leaving directory '/builddir/build/BUILD/paris-traceroute-current' make[1]: Leaving directory '/builddir/build/BUILD/paris-traceroute-current' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.CfGPgY + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/paris-traceroute-0.92-9.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/paris-traceroute-0.92-9.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/paris-traceroute-0.92-9.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/paris-traceroute-0.92-9.fc28.riscv64 + cd paris-traceroute-current + make install DESTDIR=/builddir/build/BUILDROOT/paris-traceroute-0.92-9.fc28.riscv64 'INSTALL=install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/paris-traceroute-current/src' make[2]: Entering directory '/builddir/build/BUILD/paris-traceroute-current/src' test -z "/usr/bin" || mkdir -p -- "/builddir/build/BUILDROOT/paris-traceroute-0.92-9.fc28.riscv64/usr/bin" /bin/sh ../libtool --mode=install install -p 'paris-traceroute' '/builddir/build/BUILDROOT/paris-traceroute-0.92-9.fc28.riscv64/usr/bin/paris-traceroute' install -p paris-traceroute /builddir/build/BUILDROOT/paris-traceroute-0.92-9.fc28.riscv64/usr/bin/paris-traceroute make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/paris-traceroute-current/src' make[1]: Leaving directory '/builddir/build/BUILD/paris-traceroute-current/src' Making install in doc make[1]: Entering directory '/builddir/build/BUILD/paris-traceroute-current/doc' make[2]: Entering directory '/builddir/build/BUILD/paris-traceroute-current/doc' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/paris-traceroute-current/doc' make[1]: Leaving directory '/builddir/build/BUILD/paris-traceroute-current/doc' make[1]: Entering directory '/builddir/build/BUILD/paris-traceroute-current' make[2]: Entering directory '/builddir/build/BUILD/paris-traceroute-current' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/paris-traceroute-current' make[1]: Leaving directory '/builddir/build/BUILD/paris-traceroute-current' + install -Dp -m 0644 man/paris-traceroute.8 /builddir/build/BUILDROOT/paris-traceroute-0.92-9.fc28.riscv64/usr/share/man/man8/paris-traceroute.8 + /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: paris-traceroute-0.92-9.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.blYQly + umask 022 + cd /builddir/build/BUILD + cd paris-traceroute-current + DOCDIR=/builddir/build/BUILDROOT/paris-traceroute-0.92-9.fc28.riscv64/usr/share/doc/paris-traceroute + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/paris-traceroute-0.92-9.fc28.riscv64/usr/share/doc/paris-traceroute + cp -pr AUTHORS /builddir/build/BUILDROOT/paris-traceroute-0.92-9.fc28.riscv64/usr/share/doc/paris-traceroute + cp -pr COPYING /builddir/build/BUILDROOT/paris-traceroute-0.92-9.fc28.riscv64/usr/share/doc/paris-traceroute + cp -pr README /builddir/build/BUILDROOT/paris-traceroute-0.92-9.fc28.riscv64/usr/share/doc/paris-traceroute + exit 0 Provides: paris-traceroute = 0.92-9.fc28 paris-traceroute(riscv-64) = 0.92-9.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-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) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_4.3.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/paris-traceroute-0.92-9.fc28.riscv64 Wrote: /builddir/build/SRPMS/paris-traceroute-0.92-9.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/paris-traceroute-0.92-9.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.gNFgLj + umask 022 + cd /builddir/build/BUILD + cd paris-traceroute-current + /usr/bin/rm -rf /builddir/build/BUILDROOT/paris-traceroute-0.92-9.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff