+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/trickle.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.F2Ktx1 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf trickle-1.07 + /usr/bin/gzip -dc /builddir/build/SOURCES/trickle-1.07.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd trickle-1.07 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (trickle-1.07-include_netdb.patch):' Patch #0 (trickle-1.07-include_netdb.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .include_netdb --fuzz=0 patching file client.c patching file tricklectl.c patching file trickled.c patching file trickledu.c patching file trickle-overload.c + echo 'Patch #1 (trickle-1.07-libdir.patch):' Patch #1 (trickle-1.07-libdir.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .libdir --fuzz=0 patching file configure.in patching file configure + echo 'Patch #2 (trickle-1.07-CVE-2009-0415.patch):' Patch #2 (trickle-1.07-CVE-2009-0415.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .cve --fuzz=0 patching file trickle.c + echo 'Patch #3 (trickle-1.07-bwsta_getdelay-stop-if-no-packets.patch):' Patch #3 (trickle-1.07-bwsta_getdelay-stop-if-no-packets.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file bwstat.c + echo 'Patch #4 (trickle-1.07-err-Werror=format-security.patch):' Patch #4 (trickle-1.07-err-Werror=format-security.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .err-Werror=format-security.patch --fuzz=0 patching file tricklectl.c + touch -r configure aclocal.m4 Makefile.in stamp-h.in + iconv -f ISO88591 -t UTF8 + mv README.UTF8 README + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.jlvXYi + umask 022 + cd /builddir/build/BUILD + cd trickle-1.07 + 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 checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets $(MAKE)... yes checking for working aclocal-1.4... missing checking for working autoconf... missing checking for working automake-1.4... missing checking for working autoheader... missing checking for working makeinfo... missing checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc 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 gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed 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... nm 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 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 whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... 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 nm 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... no checking for ranlib... ranlib checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking if gcc static flag works... 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 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++ 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 checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking whether make sets $(MAKE)... (cached) yes checking for riscv64-redhat-linux-gnu-ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking for socket in -lsocket... no checking for gethostbyname in -lnsl... no checking for dlopen in -ldl... yes checking for err in -lc... yes checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking if libc defines __progname... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking err.h usability... yes checking err.h presence... yes checking for err.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for unistd.h... (cached) yes checking for stdint.h... (cached) yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking asm/poll.h usability... yes checking asm/poll.h presence... yes checking for asm/poll.h... yes checking for an ANSI C-conforming const... yes checking for pid_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking for u_int64_t... yes checking for u_int32_t... yes checking for u_int16_t... yes checking for u_int8_t... yes checking for in_addr_t... no checking whether gcc needs -traditional... no checking return type of signal handlers... void checking for socket... yes checking for strlcat... no checking for strlcpy... no checking for daemon... yes checking for setenv... yes checking for strsep... yes checking for sendfile... yes checking for libevent... yes checking if underscores are needed for symbols... no checking if we can access libc without dlopen... yes checking for sendfile... (cached) yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing default-1 commands + make gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -Icompat -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 trickle.c trickle.c: In function 'main': trickle.c:47:7: warning: variable 'latency' set but not used [-Wunused-but-set-variable] *latency = "0"; ^~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -Icompat -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 util.c gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -Icompat -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 getopt.c gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -Icompat -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 strlcat.c gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -Icompat -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 strlcpy.c /bin/sh ./libtool --mode=link gcc -Wall -Icompat -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 trickle trickle.o util.o getopt.o strlcat.o strlcpy.o -ldl mkdir .libs gcc -Wall -Icompat -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 trickle trickle.o util.o getopt.o strlcat.o strlcpy.o -ldl gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -Icompat -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 trickled.c gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -Icompat -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 atomicio.c gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -Icompat -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 print.c gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -Icompat -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 bwstat.c bwstat.c: In function 'bwstat_getdelay': bwstat.c:151:7: warning: variable 'initent' set but not used [-Wunused-but-set-variable] uint initent; ^~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -Icompat -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 client.c gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -Icompat -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 conf.c conf.c: In function 'conf_decode_base64': conf.c:548:17: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (buf, "==")) ^~~ In file included from conf.c:55:0: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ conf.c:564:17: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp (buf, "=")) ^~~ In file included from conf.c:55:0: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -Icompat -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 cleanup.c gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -Icompat -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 xdr.c xdr.c:10:10: fatal error: rpc/rpc.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. make: *** [Makefile:250: xdr.o] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.jlvXYi (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.jlvXYi (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff