Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/tcputils.spec'], chrootPath='/var/lib/mock/f29-build-10724-4848/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/tcputils.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/tcputils-0.6.2-20.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/tcputils.spec'], chrootPath='/var/lib/mock/f29-build-10724-4848/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/tcputils.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.UdV6OU + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tcputils-0.6.2 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/tcputils-0.6.2.tar.gz + 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.gBgeKF + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection" 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o tcplisten.o tcplisten.c BUILDSTDERR: 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o tcp_listen.o tcp_listen.c BUILDSTDERR: tcplisten.c:63:1: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] BUILDSTDERR: log(const char *fmt, ...) BUILDSTDERR: ^~~ BUILDSTDERR: tcplisten.c: In function 'main': BUILDSTDERR: tcplisten.c:133:50: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] BUILDSTDERR: client = accept(lp, (struct sockaddr*)&cliaddr, &cliaddrsize); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/netinet/in.h:23, BUILDSTDERR: from tcplisten.c:36: BUILDSTDERR: /usr/include/sys/socket.h:232:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: extern int accept (int __fd, __SOCKADDR_ARG __addr, BUILDSTDERR: ^~~~~~ BUILDSTDERR: tcpconnect.c:63:1: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] BUILDSTDERR: log(const char *fmt, ...) BUILDSTDERR: ^~~ BUILDSTDERR: tcpconnect.c: In function 'main': BUILDSTDERR: tcpconnect.c:135:50: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] BUILDSTDERR: if (getpeername(tcp, (struct sockaddr*)&server, &serversize) >= 0) BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/netinet/in.h:23, BUILDSTDERR: from tcpconnect.c:36: BUILDSTDERR: /usr/include/sys/socket.h:130:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: extern int getpeername (int __fd, __SOCKADDR_ARG __addr, BUILDSTDERR: ^~~~~~~~~~~ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o tcpbug.o tcpbug.c ar ruv libiphelp.a addr.o tcp_connect.o tcp_open.o tcp_listen.o BUILDSTDERR: ar: creating libiphelp.a a - addr.o a - tcp_connect.o a - tcp_open.o a - tcp_listen.o ranlib libiphelp.a 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o getpeername.o getpeername.c BUILDSTDERR: tcpbug.c:83:1: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] BUILDSTDERR: log(const char *fmt, ...) BUILDSTDERR: ^~~ BUILDSTDERR: tcpbug.c: In function 'main': BUILDSTDERR: tcpbug.c:377:64: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] BUILDSTDERR: client_fd = accept(listen_fd, (struct sockaddr *)&cliaddr, &cliaddrlen); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/netinet/in.h:23, BUILDSTDERR: from tcpbug.c:36: BUILDSTDERR: /usr/include/sys/socket.h:232:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: extern int accept (int __fd, __SOCKADDR_ARG __addr, BUILDSTDERR: ^~~~~~ BUILDSTDERR: getpeername.c: In function 'main': BUILDSTDERR: getpeername.c:74:54: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] BUILDSTDERR: if (getpeername(sockno, (struct sockaddr*)&peer, &peersize) < 0) BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from getpeername.c:7: BUILDSTDERR: /usr/include/sys/socket.h:130:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: extern int getpeername (int __fd, __SOCKADDR_ARG __addr, BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: getpeername.c:89:28: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] BUILDSTDERR: (char*)&socktype, &socktypelen) < 0) BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: In file included from getpeername.c:7: BUILDSTDERR: /usr/include/sys/socket.h:208:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: extern int getsockopt (int __fd, int __level, int __optname, BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: mini-inetd.c: In function 'main': BUILDSTDERR: mini-inetd.c:133:47: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] BUILDSTDERR: int ns = accept(sd, (struct sockaddr*)&them, &len); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from mini-inetd.c:12: BUILDSTDERR: /usr/include/sys/socket.h:232:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: extern int accept (int __fd, __SOCKADDR_ARG __addr, BUILDSTDERR: ^~~~~~ BUILDSTDERR: mini-inetd.c: In function 'reap_children': BUILDSTDERR: mini-inetd.c:75:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(2, buf, strlen(buf)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/tcputils-0.6.2/ip' 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 gcc -Wall -g -O2 mini-inetd.o ip/libiphelp.a ip/libiphelp.a -o mini-inetd gcc -Wall -g -O2 getpeername.o ip/libiphelp.a -o getpeername 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.WrLtTN + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/tcputils-0.6.2-20.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/tcputils-0.6.2-20.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/tcputils-0.6.2-20.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/tcputils-0.6.2-20.fc29.riscv64 + cd tcputils-0.6.2 + rm -rf /builddir/build/BUILDROOT/tcputils-0.6.2-20.fc29.riscv64 + make install DESTDIR=/builddir/build/BUILDROOT/tcputils-0.6.2-20.fc29.riscv64 'INSTALL=install -p' mkdir -p /builddir/build/BUILDROOT/tcputils-0.6.2-20.fc29.riscv64/usr/bin install -p tcpconnect tcplisten tcpbug mini-inetd getpeername /builddir/build/BUILDROOT/tcputils-0.6.2-20.fc29.riscv64/usr/bin mkdir -p /builddir/build/BUILDROOT/tcputils-0.6.2-20.fc29.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-20.fc29.riscv64/usr/share/man/man1 + chmod 0644 /builddir/build/BUILDROOT/tcputils-0.6.2-20.fc29.riscv64/usr/share/man/man1/getpeername.1 /builddir/build/BUILDROOT/tcputils-0.6.2-20.fc29.riscv64/usr/share/man/man1/mini-inetd.1 /builddir/build/BUILDROOT/tcputils-0.6.2-20.fc29.riscv64/usr/share/man/man1/tcpbug.1 /builddir/build/BUILDROOT/tcputils-0.6.2-20.fc29.riscv64/usr/share/man/man1/tcpconnect.1 /builddir/build/BUILDROOT/tcputils-0.6.2-20.fc29.riscv64/usr/share/man/man1/tcplisten.1 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.6.2-20.fc29 --unique-debug-suffix -0.6.2-20.fc29.riscv64 --unique-debug-src-base tcputils-0.6.2-20.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/tcputils-0.6.2 extracting debug info from /builddir/build/BUILDROOT/tcputils-0.6.2-20.fc29.riscv64/usr/bin/tcpbug extracting debug info from /builddir/build/BUILDROOT/tcputils-0.6.2-20.fc29.riscv64/usr/bin/mini-inetd extracting debug info from /builddir/build/BUILDROOT/tcputils-0.6.2-20.fc29.riscv64/usr/bin/getpeername extracting debug info from /builddir/build/BUILDROOT/tcputils-0.6.2-20.fc29.riscv64/usr/bin/tcplisten extracting debug info from /builddir/build/BUILDROOT/tcputils-0.6.2-20.fc29.riscv64/usr/bin/tcpconnect /usr/lib/rpm/sepdebugcrcfix: Updated 5 CRC32s, 0 CRC32s did match. BUILDSTDERR: 62 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /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-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-20.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.RSZJ7v + umask 022 + cd /builddir/build/BUILD + cd tcputils-0.6.2 + DOCDIR=/builddir/build/BUILDROOT/tcputils-0.6.2-20.fc29.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-20.fc29.riscv64/usr/share/doc/tcputils + cp -pr README /builddir/build/BUILDROOT/tcputils-0.6.2-20.fc29.riscv64/usr/share/doc/tcputils + exit 0 Provides: tcputils = 0.6.2-20.fc29 tcputils(riscv-64) = 0.6.2-20.fc29 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) Processing files: tcputils-debugsource-0.6.2-20.fc29.riscv64 Provides: tcputils-debugsource = 0.6.2-20.fc29 tcputils-debugsource(riscv-64) = 0.6.2-20.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: tcputils-debuginfo-0.6.2-20.fc29.riscv64 Provides: debuginfo(build-id) = 52ad3fa30d48386e1df790b71d7d881a8593d7db debuginfo(build-id) = 60b0ffbedf05b065993568633adf9997c8768fc4 debuginfo(build-id) = 65e62e01c862477ce5798f0c9c846ba9f8bfd625 debuginfo(build-id) = 6e8dd4e0482f75783e7c81a8367bfdc7e8fdd81f debuginfo(build-id) = eefb8bd72af39ddeab37398da302d9093f5a22f8 tcputils-debuginfo = 0.6.2-20.fc29 tcputils-debuginfo(riscv-64) = 0.6.2-20.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: tcputils-debugsource(riscv-64) = 0.6.2-20.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/tcputils-0.6.2-20.fc29.riscv64 Wrote: /builddir/build/RPMS/tcputils-0.6.2-20.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/tcputils-debugsource-0.6.2-20.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/tcputils-debuginfo-0.6.2-20.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.RmG0Av + umask 022 + cd /builddir/build/BUILD + cd tcputils-0.6.2 + rm -rf /builddir/build/BUILDROOT/tcputils-0.6.2-20.fc29.riscv64 + exit 0 Child return code was: 0