Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/bing.spec'], chrootPath='/var/lib/mock/f31-build-55869-28154/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'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/bing.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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1548892800 Wrote: /builddir/build/SRPMS/bing-1.1.3-18.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/bing.spec'], chrootPath='/var/lib/mock/f31-build-55869-28154/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'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/bing.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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1548892800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.crrvdn + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bing_src-1.1.3 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/bing_src-1.1.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd bing_src-1.1.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (bing-1.1.3-debian.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .debian --fuzz=0 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (bing-1.1.3-debian.patch): patching file bing.c Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.i0W9Ap + umask 022 + cd /builddir/build/BUILD + cd bing_src-1.1.3 + make -j4 '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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D__GNU__' BUILDSTDERR: unix/icmp_ux.c: In function 'icmp_open': BUILDSTDERR: unix/icmp_ux.c:118:2: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] BUILDSTDERR: 118 | close(s); BUILDSTDERR: | ^~~~~ BUILDSTDERR: | pclose BUILDSTDERR: unix/icmp_ux.c:123:15: warning: implicit declaration of function 'getpid' [-Wimplicit-function-declaration] BUILDSTDERR: 123 | new->id = getpid() & 0xFFFF; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: unix/icmp_ux.c: In function 'icmp_recv': BUILDSTDERR: unix/icmp_ux.c:226:49: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] BUILDSTDERR: 226 | cc = recvfrom(h->s, buf, buflen, 0, from_addr, from_addr_size); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int * BUILDSTDERR: In file included from /usr/include/sys/socket.h:269, BUILDSTDERR: from /usr/include/netinet/in.h:23, BUILDSTDERR: from /usr/include/netdb.h:27, BUILDSTDERR: from unix/icmp_ux.c:15: BUILDSTDERR: /usr/include/bits/socket2.h:65:49: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: 65 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: bing.c: In function 'pr_addr': BUILDSTDERR: bing.c:692:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 692 | inet_ntoa(*(struct in_addr *)&l)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: bing.c:696:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 696 | inet_ntoa(*(struct in_addr *)&l)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: bing.c: In function 'main': BUILDSTDERR: bing.c:1259:2: warning: implicit declaration of function 'setgid'; did you mean 'set_ip'? [-Wimplicit-function-declaration] BUILDSTDERR: 1259 | setgid(getgid()); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | set_ip BUILDSTDERR: bing.c:1259:9: warning: implicit declaration of function 'getgid' [-Wimplicit-function-declaration] BUILDSTDERR: 1259 | setgid(getgid()); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: bing.c:1260:2: warning: implicit declaration of function 'setuid'; did you mean 'set_ip'? [-Wimplicit-function-declaration] BUILDSTDERR: 1260 | setuid(getuid()); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | set_ip BUILDSTDERR: bing.c:1260:9: warning: implicit declaration of function 'getuid' [-Wimplicit-function-declaration] BUILDSTDERR: 1260 | setuid(getuid()); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: bing.c:1264:15: warning: implicit declaration of function 'getopt'; did you mean 'getsubopt'? [-Wimplicit-function-declaration] BUILDSTDERR: 1264 | while ((ch = getopt(argc, argv, "c:dDe:f:I:i:LnPp:RrS:s:t:u:vVwz")) != EOF) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | getsubopt BUILDSTDERR: bing.c:1518:6: warning: implicit declaration of function 'gethostname'; did you mean 'gethostbyname'? [-Wimplicit-function-declaration] BUILDSTDERR: 1518 | gethostname(myname, sizeof myname); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: | gethostbyname BUILDSTDERR: bing.c:1220:14: warning: variable 'loop' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1220 | u_char ttl, loop; BUILDSTDERR: | ^~~~ BUILDSTDERR: At top level: BUILDSTDERR: bing.c:96:13: warning: 'rcsid' defined but not used [-Wunused-variable] BUILDSTDERR: 96 | static char rcsid[] = "$Id: bing.c,v 1.17 1997/01/23 21:00:03 pb Exp $"; BUILDSTDERR: | ^~~~~ BUILDSTDERR: bing.c: In function 'pr_pack': BUILDSTDERR: bing.c:792:4: warning: 'ts' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 792 | ++(ts->nrepeats); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ + iconv -f 863 -t UTF-8 Readme.txt + mv foo Readme.txt + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 cc -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 -D__GNU__ -I. -DNO_SNPRINTF=1 -o bing.o -c bing.c cc -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 -D__GNU__ -I. -DNO_SNPRINTF=1 -o icmp_ux.o -c unix/icmp_ux.c nroff -man unix/bing.8 > bing.0 groff -man unix/bing.8 > bing.ps cc -o bing bing.o icmp_ux.o -lm Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.FQ5bKo + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/bing-1.1.3-18.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/bing-1.1.3-18.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/bing-1.1.3-18.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/bing-1.1.3-18.fc31.riscv64 + cd bing_src-1.1.3 + rm -rf /builddir/build/BUILDROOT/bing-1.1.3-18.fc31.riscv64 + install -d /builddir/build/BUILDROOT/bing-1.1.3-18.fc31.riscv64/usr/bin /builddir/build/BUILDROOT/bing-1.1.3-18.fc31.riscv64/usr/share/man/man8 + install -m 755 bing /builddir/build/BUILDROOT/bing-1.1.3-18.fc31.riscv64/usr/bin + install -m 444 unix/bing.8 /builddir/build/BUILDROOT/bing-1.1.3-18.fc31.riscv64/usr/share/man/man8 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.1.3-18.fc31 --unique-debug-suffix -1.1.3-18.fc31.riscv64 --unique-debug-src-base bing-1.1.3-18.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/bing_src-1.1.3 BUILDSTDERR: 97 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /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 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/bing-1.1.3-18.fc31.riscv64/usr/bin/bing extracting debug info from /builddir/build/BUILDROOT/bing-1.1.3-18.fc31.riscv64/usr/bin/bing original debug info size: 120kB, size after compression: 120kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Processing files: bing-1.1.3-18.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.mxraTl + umask 022 + cd /builddir/build/BUILD + cd bing_src-1.1.3 + DOCDIR=/builddir/build/BUILDROOT/bing-1.1.3-18.fc31.riscv64/usr/share/doc/bing + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bing-1.1.3-18.fc31.riscv64/usr/share/doc/bing + cp -pr Readme.1st /builddir/build/BUILDROOT/bing-1.1.3-18.fc31.riscv64/usr/share/doc/bing + cp -pr Readme.txt /builddir/build/BUILDROOT/bing-1.1.3-18.fc31.riscv64/usr/share/doc/bing + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: bing = 1.1.3-18.fc31 bing(riscv-64) = 1.1.3-18.fc31 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) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: bing-debugsource-1.1.3-18.fc31.riscv64 Provides: bing-debugsource = 1.1.3-18.fc31 bing-debugsource(riscv-64) = 1.1.3-18.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: bing-debuginfo-1.1.3-18.fc31.riscv64 Provides: bing-debuginfo = 1.1.3-18.fc31 bing-debuginfo(riscv-64) = 1.1.3-18.fc31 debuginfo(build-id) = 14339d89b9bcb2f6abbcc1346e7f7cb4f5f0d211 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: bing-debugsource(riscv-64) = 1.1.3-18.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/bing-1.1.3-18.fc31.riscv64 Wrote: /builddir/build/RPMS/bing-debugsource-1.1.3-18.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/bing-1.1.3-18.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/bing-debuginfo-1.1.3-18.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.4BHmvm + umask 022 + cd /builddir/build/BUILD + cd bing_src-1.1.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/bing-1.1.3-18.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0