Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/bing.spec'], chrootPath='/var/lib/mock/f30-build-40517-22785/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=996gid=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 Wrote: /builddir/build/SRPMS/bing-1.1.3-17.fc30.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/f30-build-40517-22785/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=996gid=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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.oQhZhT + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bing_src-1.1.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/bing_src-1.1.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd bing_src-1.1.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (bing-1.1.3-debian.patch): + echo 'Patch #0 (bing-1.1.3-debian.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .debian --fuzz=0 patching file bing.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.HGhw73 + 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__' 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 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: close(s); BUILDSTDERR: ^~~~~ BUILDSTDERR: pclose BUILDSTDERR: unix/icmp_ux.c:123:15: warning: implicit declaration of function 'getpid'; did you mean 'getenv'? [-Wimplicit-function-declaration] BUILDSTDERR: new->id = getpid() & 0xFFFF; BUILDSTDERR: ^~~~~~ BUILDSTDERR: getenv 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: cc = recvfrom(h->s, buf, buflen, 0, from_addr, from_addr_size); BUILDSTDERR: ^~~~~~~~~~~~~~ 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:64:1: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, 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: 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: 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: setgid(getgid()); BUILDSTDERR: ^~~~~~ BUILDSTDERR: set_ip BUILDSTDERR: bing.c:1259:9: warning: implicit declaration of function 'getgid'; did you mean 'set_ip'? [-Wimplicit-function-declaration] BUILDSTDERR: setgid(getgid()); BUILDSTDERR: ^~~~~~ BUILDSTDERR: set_ip BUILDSTDERR: bing.c:1260:2: warning: implicit declaration of function 'setuid'; did you mean 'set_ip'? [-Wimplicit-function-declaration] BUILDSTDERR: setuid(getuid()); BUILDSTDERR: ^~~~~~ BUILDSTDERR: set_ip BUILDSTDERR: bing.c:1260:9: warning: implicit declaration of function 'getuid'; did you mean 'set_ip'? [-Wimplicit-function-declaration] BUILDSTDERR: setuid(getuid()); BUILDSTDERR: ^~~~~~ BUILDSTDERR: set_ip BUILDSTDERR: bing.c:1264:15: warning: implicit declaration of function 'getopt'; did you mean 'getsubopt'? [-Wimplicit-function-declaration] BUILDSTDERR: 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: gethostname(myname, sizeof myname); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: gethostbyname BUILDSTDERR: bing.c:1220:14: warning: variable 'loop' set but not used [-Wunused-but-set-variable] BUILDSTDERR: u_char ttl, loop; BUILDSTDERR: ^~~~ BUILDSTDERR: At top level: BUILDSTDERR: bing.c:96:13: warning: 'rcsid' defined but not used [-Wunused-variable] BUILDSTDERR: 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: ++(ts->nrepeats); BUILDSTDERR: ^~~~~~~~~~~~~~~~ cc -o bing bing.o icmp_ux.o -lm + iconv -f 863 -t UTF-8 Readme.txt + mv foo Readme.txt + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.9UNeBW + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/bing-1.1.3-17.fc30.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/bing-1.1.3-17.fc30.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/bing-1.1.3-17.fc30.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/bing-1.1.3-17.fc30.riscv64 + cd bing_src-1.1.3 + rm -rf /builddir/build/BUILDROOT/bing-1.1.3-17.fc30.riscv64 + install -d /builddir/build/BUILDROOT/bing-1.1.3-17.fc30.riscv64/usr/bin /builddir/build/BUILDROOT/bing-1.1.3-17.fc30.riscv64/usr/share/man/man8 + install -m 755 bing /builddir/build/BUILDROOT/bing-1.1.3-17.fc30.riscv64/usr/bin + install -m 444 unix/bing.8 /builddir/build/BUILDROOT/bing-1.1.3-17.fc30.riscv64/usr/share/man/man8 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.1.3-17.fc30 --unique-debug-suffix -1.1.3-17.fc30.riscv64 --unique-debug-src-base bing-1.1.3-17.fc30.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 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/bing-1.1.3-17.fc30.riscv64/usr/bin/bing extracting debug info from /builddir/build/BUILDROOT/bing-1.1.3-17.fc30.riscv64/usr/bin/bing /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 97 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 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: bing-1.1.3-17.fc30.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.5rXxl3 + umask 022 + cd /builddir/build/BUILD + cd bing_src-1.1.3 + DOCDIR=/builddir/build/BUILDROOT/bing-1.1.3-17.fc30.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-17.fc30.riscv64/usr/share/doc/bing + cp -pr Readme.1st /builddir/build/BUILDROOT/bing-1.1.3-17.fc30.riscv64/usr/share/doc/bing + cp -pr Readme.txt /builddir/build/BUILDROOT/bing-1.1.3-17.fc30.riscv64/usr/share/doc/bing + exit 0 Provides: bing = 1.1.3-17.fc30 bing(riscv-64) = 1.1.3-17.fc30 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-17.fc30.riscv64 Provides: bing-debugsource = 1.1.3-17.fc30 bing-debugsource(riscv-64) = 1.1.3-17.fc30 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-17.fc30.riscv64 Provides: bing-debuginfo = 1.1.3-17.fc30 bing-debuginfo(riscv-64) = 1.1.3-17.fc30 debuginfo(build-id) = b0a878e56c98c6f763b117b3e2527ef6a2c4aa1e 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-17.fc30 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/bing-1.1.3-17.fc30.riscv64 Wrote: /builddir/build/RPMS/bing-1.1.3-17.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/bing-debugsource-1.1.3-17.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/bing-debuginfo-1.1.3-17.fc30.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.UpHwF4 + umask 022 + cd /builddir/build/BUILD + cd bing_src-1.1.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/bing-1.1.3-17.fc30.riscv64 + exit 0 Child return code was: 0