+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/bing.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.tEEhLr + 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 . + echo 'Patch #0 (bing-1.1.3-debian.patch):' 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.7qxUY9 + 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 -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 -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 -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 unix/icmp_ux.c: In function 'icmp_open': unix/icmp_ux.c:118:2: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close(s); ^~~~~ pclose unix/icmp_ux.c:123:15: warning: implicit declaration of function 'getpid'; did you mean 'getenv'? [-Wimplicit-function-declaration] new->id = getpid() & 0xFFFF; ^~~~~~ getenv unix/icmp_ux.c: In function 'icmp_recv': unix/icmp_ux.c:226:49: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] cc = recvfrom(h->s, buf, buflen, 0, from_addr, from_addr_size); ^~~~~~~~~~~~~~ In file included from /usr/include/sys/socket.h:269:0, from /usr/include/netinet/in.h:23, from /usr/include/netdb.h:27, from unix/icmp_ux.c:15: /usr/include/bits/socket2.h:64:1: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, ^~~~~~~~ bing.c: In function 'pr_addr': bing.c:692:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] inet_ntoa(*(struct in_addr *)&l)); ^~~~~~~ bing.c:696:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] inet_ntoa(*(struct in_addr *)&l)); ^~~~~~~ bing.c: In function 'main': bing.c:1259:2: warning: implicit declaration of function 'setgid'; did you mean 'set_ip'? [-Wimplicit-function-declaration] setgid(getgid()); ^~~~~~ set_ip bing.c:1259:9: warning: implicit declaration of function 'getgid'; did you mean 'set_ip'? [-Wimplicit-function-declaration] setgid(getgid()); ^~~~~~ set_ip bing.c:1260:2: warning: implicit declaration of function 'setuid'; did you mean 'set_ip'? [-Wimplicit-function-declaration] setuid(getuid()); ^~~~~~ set_ip bing.c:1260:9: warning: implicit declaration of function 'getuid'; did you mean 'set_ip'? [-Wimplicit-function-declaration] setuid(getuid()); ^~~~~~ set_ip bing.c:1264:15: warning: implicit declaration of function 'getopt'; did you mean 'getsubopt'? [-Wimplicit-function-declaration] while ((ch = getopt(argc, argv, "c:dDe:f:I:i:LnPp:RrS:s:t:u:vVwz")) != EOF) ^~~~~~ getsubopt bing.c:1518:6: warning: implicit declaration of function 'gethostname'; did you mean 'gethostbyname'? [-Wimplicit-function-declaration] gethostname(myname, sizeof myname); ^~~~~~~~~~~ gethostbyname bing.c:1220:14: warning: variable 'loop' set but not used [-Wunused-but-set-variable] u_char ttl, loop; ^~~~ At top level: bing.c:96:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: bing.c,v 1.17 1997/01/23 21:00:03 pb Exp $"; ^~~~~ bing.c: In function 'pr_pack': bing.c:792:4: warning: 'ts' may be used uninitialized in this function [-Wmaybe-uninitialized] ++(ts->nrepeats); ^~~~~~~~~~~~~~~~ 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.jNcXgx + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/bing-1.1.3-15.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/bing-1.1.3-15.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/bing-1.1.3-15.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/bing-1.1.3-15.fc28.riscv64 + cd bing_src-1.1.3 + rm -rf /builddir/build/BUILDROOT/bing-1.1.3-15.fc28.riscv64 + install -d /builddir/build/BUILDROOT/bing-1.1.3-15.fc28.riscv64/usr/bin /builddir/build/BUILDROOT/bing-1.1.3-15.fc28.riscv64/usr/share/man/man8 + install -m 755 bing /builddir/build/BUILDROOT/bing-1.1.3-15.fc28.riscv64/usr/bin + install -m 444 unix/bing.8 /builddir/build/BUILDROOT/bing-1.1.3-15.fc28.riscv64/usr/share/man/man8 + /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: bing-1.1.3-15.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.k5dxSu + umask 022 + cd /builddir/build/BUILD + cd bing_src-1.1.3 + DOCDIR=/builddir/build/BUILDROOT/bing-1.1.3-15.fc28.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-15.fc28.riscv64/usr/share/doc/bing + cp -pr Readme.1st /builddir/build/BUILDROOT/bing-1.1.3-15.fc28.riscv64/usr/share/doc/bing + cp -pr Readme.txt /builddir/build/BUILDROOT/bing-1.1.3-15.fc28.riscv64/usr/share/doc/bing + exit 0 Provides: bing = 1.1.3-15.fc28 bing(riscv-64) = 1.1.3-15.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) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/bing-1.1.3-15.fc28.riscv64 Wrote: /builddir/build/SRPMS/bing-1.1.3-15.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/bing-1.1.3-15.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.3nNi4E + umask 022 + cd /builddir/build/BUILD + cd bing_src-1.1.3 + rm -rf /builddir/build/BUILDROOT/bing-1.1.3-15.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