+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/tcputils.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.A92HLG + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tcputils-0.6.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/tcputils-0.6.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd tcputils-0.6.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (tcputils-0.6.2-makefile.patch):' Patch #0 (tcputils-0.6.2-makefile.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .orig --fuzz=0 patching file Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.mhcIci + umask 022 + cd /builddir/build/BUILD + cd tcputils-0.6.2 + make -j4 cd ip; make prefix="/usr" CC="gcc -Wall " CFLAGS="-g -O2 -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 " AR="ar" RANLIB="ranlib" INSTALL="install -c" VPATH="" -j4 --jobserver-auth=3,4 all gcc -Wall -g -O2 -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 tcpconnect.o tcpconnect.c gcc -Wall -g -O2 -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 relay.o relay.c gcc -Wall -g -O2 -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 tcplisten.o tcplisten.c make[1]: warning: -jN forced in submake: disabling jobserver mode. make[1]: Entering directory '/builddir/build/BUILD/tcputils-0.6.2/ip' gcc -Wall -g -O2 -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 addr.o addr.c gcc -Wall -g -O2 -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 tcp_connect.o tcp_connect.c gcc -Wall -g -O2 -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 tcp_open.o tcp_open.c gcc -Wall -g -O2 -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 tcp_listen.o tcp_listen.c ar ruv libiphelp.a addr.o tcp_connect.o tcp_open.o tcp_listen.o tcpconnect.c:63:1: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] log(const char *fmt, ...) ^~~ tcpconnect.c: In function 'main': tcpconnect.c:135:50: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] if (getpeername(tcp, (struct sockaddr*)&server, &serversize) >= 0) ^ ar: In file included from /usr/include/netinet/in.h:23:0, from tcpconnect.c:36: /usr/include/sys/socket.h:130:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int getpeername (int __fd, __SOCKADDR_ARG __addr, ^~~~~~~~~~~ creating libiphelp.a tcplisten.c:63:1: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] log(const char *fmt, ...) ^~~ tcplisten.c: In function 'main': tcplisten.c:133:50: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] client = accept(lp, (struct sockaddr*)&cliaddr, &cliaddrsize); ^ In file included from /usr/include/netinet/in.h:23:0, from tcplisten.c:36: /usr/include/sys/socket.h:232:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int accept (int __fd, __SOCKADDR_ARG __addr, ^~~~~~ a - addr.o a - tcp_connect.o a - tcp_open.o a - tcp_listen.o ranlib libiphelp.a make[1]: Leaving directory '/builddir/build/BUILD/tcputils-0.6.2/ip' gcc -Wall -g -O2 -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 tcpbug.o tcpbug.c gcc -Wall -g -O2 -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 mini-inetd.o mini-inetd.c gcc -Wall -g -O2 -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 getpeername.o getpeername.c gcc -Wall -g -O2 tcpconnect.o relay.o ip/libiphelp.a ip/libiphelp.a -o tcpconnect gcc -Wall -g -O2 tcplisten.o relay.o ip/libiphelp.a ip/libiphelp.a -o tcplisten tcpbug.c:83:1: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] log(const char *fmt, ...) ^~~ getpeername.c: In function 'main': getpeername.c:74:54: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] if (getpeername(sockno, (struct sockaddr*)&peer, &peersize) < 0) ^ In file included from getpeername.c:7:0: /usr/include/sys/socket.h:130:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int getpeername (int __fd, __SOCKADDR_ARG __addr, ^~~~~~~~~~~ getpeername.c:89:28: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] (char*)&socktype, &socktypelen) < 0) ^ In file included from getpeername.c:7:0: /usr/include/sys/socket.h:208:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int getsockopt (int __fd, int __level, int __optname, ^~~~~~~~~~ tcpbug.c: In function 'main': tcpbug.c:377:64: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] client_fd = accept(listen_fd, (struct sockaddr *)&cliaddr, &cliaddrlen); ^ In file included from /usr/include/netinet/in.h:23:0, from tcpbug.c:36: /usr/include/sys/socket.h:232:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int accept (int __fd, __SOCKADDR_ARG __addr, ^~~~~~ mini-inetd.c: In function 'main': mini-inetd.c:133:47: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] int ns = accept(sd, (struct sockaddr*)&them, &len); ^ In file included from mini-inetd.c:12:0: /usr/include/sys/socket.h:232:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int accept (int __fd, __SOCKADDR_ARG __addr, ^~~~~~ mini-inetd.c: In function 'reap_children': mini-inetd.c:75:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(2, buf, strlen(buf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wall -g -O2 getpeername.o ip/libiphelp.a -o getpeername gcc -Wall -g -O2 mini-inetd.o ip/libiphelp.a ip/libiphelp.a -o mini-inetd gcc -Wall -g -O2 tcpbug.o relay.o ip/libiphelp.a ip/libiphelp.a -o tcpbug + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Y0hufy + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/tcputils-0.6.2-19.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/tcputils-0.6.2-19.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/tcputils-0.6.2-19.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/tcputils-0.6.2-19.fc28.riscv64 + cd tcputils-0.6.2 + rm -rf /builddir/build/BUILDROOT/tcputils-0.6.2-19.fc28.riscv64 + make install DESTDIR=/builddir/build/BUILDROOT/tcputils-0.6.2-19.fc28.riscv64 'INSTALL=install -p' mkdir -p /builddir/build/BUILDROOT/tcputils-0.6.2-19.fc28.riscv64/usr/bin install -p tcpconnect tcplisten tcpbug mini-inetd getpeername /builddir/build/BUILDROOT/tcputils-0.6.2-19.fc28.riscv64/usr/bin mkdir -p /builddir/build/BUILDROOT/tcputils-0.6.2-19.fc28.riscv64/usr/share/man/man1 install -p tcpconnect.1 tcplisten.1 tcpbug.1 mini-inetd.1 getpeername.1 /builddir/build/BUILDROOT/tcputils-0.6.2-19.fc28.riscv64/usr/share/man/man1 + chmod 0644 /builddir/build/BUILDROOT/tcputils-0.6.2-19.fc28.riscv64/usr/share/man/man1/getpeername.1 /builddir/build/BUILDROOT/tcputils-0.6.2-19.fc28.riscv64/usr/share/man/man1/mini-inetd.1 /builddir/build/BUILDROOT/tcputils-0.6.2-19.fc28.riscv64/usr/share/man/man1/tcpbug.1 /builddir/build/BUILDROOT/tcputils-0.6.2-19.fc28.riscv64/usr/share/man/man1/tcpconnect.1 /builddir/build/BUILDROOT/tcputils-0.6.2-19.fc28.riscv64/usr/share/man/man1/tcplisten.1 + /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: tcputils-0.6.2-19.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.TTcmpI + umask 022 + cd /builddir/build/BUILD + cd tcputils-0.6.2 + DOCDIR=/builddir/build/BUILDROOT/tcputils-0.6.2-19.fc28.riscv64/usr/share/doc/tcputils + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tcputils-0.6.2-19.fc28.riscv64/usr/share/doc/tcputils + cp -pr README /builddir/build/BUILDROOT/tcputils-0.6.2-19.fc28.riscv64/usr/share/doc/tcputils + exit 0 Provides: tcputils = 0.6.2-19.fc28 tcputils(riscv-64) = 0.6.2-19.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) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/tcputils-0.6.2-19.fc28.riscv64 Wrote: /builddir/build/SRPMS/tcputils-0.6.2-19.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/tcputils-0.6.2-19.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.5TBy5B + umask 022 + cd /builddir/build/BUILD + cd tcputils-0.6.2 + rm -rf /builddir/build/BUILDROOT/tcputils-0.6.2-19.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