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/tetrinetx.spec'], chrootPath='/var/lib/mock/f29-build-22520-11649/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/tetrinetx.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/tetrinetx-1.13.16-21.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/tetrinetx.spec'], chrootPath='/var/lib/mock/f29-build-22520-11649/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/tetrinetx.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.ZuPOsz + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tetrinetx-1.13.16+qirc-1.40c + /usr/bin/gzip -dc /builddir/build/SOURCES/tetrinetx-1.13.16+qirc-1.40c.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd tetrinetx-1.13.16+qirc-1.40c + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i 's:/usr/local:/usr:g; s/tetrix\.linux/tetrinetx/g' -i src/compile.linux + sed -i 's:game\.pid:/var/run/tetrinetx/game.pid:' bin/game.conf + sed -i 's:game\.log:/var/log/tetrinetx/game\.log:; BUILDSTDERR: s:game\.pid:/var/run/tetrinetx/game\.pid:; BUILDSTDERR: s:game\.winlist:/var/games/tetrinetx/game\.winlist:g; BUILDSTDERR: s:"game:"/etc/tetrinetx/game:g' src/config.h + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.G9QKt2 + umask 022 + cd /builddir/build/BUILD + cd tetrinetx-1.13.16+qirc-1.40c + cd src + ./compile.linux -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 -j4 [Linux] Compiling TetriNET Server [../bin/tetrinetx] + gcc -O2 -fno-strength-reduce -Wall -I/usr/include main.c -o ../bin/tetrinetx -O2 -g -pipe -L/usr/lib -ladns BUILDSTDERR: In file included from main.c:32: BUILDSTDERR: dns.c: In function 'query_done': BUILDSTDERR: dns.c:165:21: warning: variable 'realowner' set but not used [-Wunused-but-set-variable] BUILDSTDERR: const char *rrp, *realowner, *typename; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from main.c:34: BUILDSTDERR: net.c: In function 'setopt': BUILDSTDERR: net.c:174:11: warning: variable 'x' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int parm, x; BUILDSTDERR: ^ BUILDSTDERR: net.c: In function 'open_listen_socket': BUILDSTDERR: net.c:244:49: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] BUILDSTDERR: if (getsockname(sock,(struct sockaddr *)&name,&addrlen)<0) { BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/netinet/in.h:23, BUILDSTDERR: from /usr/include/netdb.h:27, BUILDSTDERR: from main.h:12, BUILDSTDERR: from main.c:25: BUILDSTDERR: /usr/include/sys/socket.h:116:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: extern int getsockname (int __fd, __SOCKADDR_ARG __addr, BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: In file included from main.c:34: BUILDSTDERR: net.c: In function 'answer': BUILDSTDERR: net.c:288:49: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] BUILDSTDERR: new_sock=accept(sock,(struct sockaddr *)&from,&addrlen); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/netinet/in.h:23, BUILDSTDERR: from /usr/include/netdb.h:27, BUILDSTDERR: from main.h:12, BUILDSTDERR: from main.c:25: 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: In file included from main.c:36: BUILDSTDERR: game.c: In function 'read_allowlist': BUILDSTDERR: game.c:1118:12: warning: variable 'allow' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int i, allow; BUILDSTDERR: ^~~~~ BUILDSTDERR: game.c: In function 'sendwinlist': BUILDSTDERR: game.c:1269:22: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: P=w[j].name; BUILDSTDERR: ^ BUILDSTDERR: main.c: In function 'net_connected': BUILDSTDERR: main.c:2084:33: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] BUILDSTDERR: sprintf(newgamestr ,"%s %d %d\xff", newgamestr, n->channel->average_levels, n->channel->classic_rules); BUILDSTDERR: ^~~~~~~~~~ ~~~~~~~~~~ BUILDSTDERR: main.c: In function 'net_query_cwhois': BUILDSTDERR: main.c:2629:19: warning: variable 'argc' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int idle, argc, found; BUILDSTDERR: ^~~~ BUILDSTDERR: main.c: In function 'net_query_cwho': BUILDSTDERR: main.c:2710:37: warning: variable 'found' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int argc, plen, i, cmdnum, found, nusers, nchans, done; BUILDSTDERR: ^~~~~ BUILDSTDERR: main.c: In function 'check_timeouts': BUILDSTDERR: main.c:4776:9: warning: variable 'found' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int found,i; BUILDSTDERR: ^~~~~ BUILDSTDERR: main.c: In function 'net_query': BUILDSTDERR: main.c:3484:11: warning: 'ip' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: net->addr=ip; BUILDSTDERR: ~~~~~~~~~^~~ BUILDSTDERR: main.c: In function 'net_playback': BUILDSTDERR: main.c:3662:18: warning: 'ip' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: net->addr=ip; BUILDSTDERR: ~~~~~~~~~^~~ BUILDSTDERR: main.c: In function 'net_telnet': BUILDSTDERR: main.c:4364:14: warning: 'ip' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: net->addr=ip; BUILDSTDERR: ~~~~~~~~~^~~ BUILDSTDERR: main.c: In function 'net_connected': BUILDSTDERR: main.c:1685:28: warning: '%s' directive writing up to 600 bytes into a region of size 513 [-Wformat-overflow=] BUILDSTDERR: sprintf(STRG, "%s%s", MSG, P); BUILDSTDERR: ^~ ~~~ BUILDSTDERR: main.c:1685:13: note: 'sprintf' output 1 or more bytes (assuming 601) into a destination of size 513 BUILDSTDERR: sprintf(STRG, "%s%s", MSG, P); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.c:2084:49: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 2047 [-Wformat-overflow=] BUILDSTDERR: sprintf(newgamestr ,"%s %d %d\xff", newgamestr, n->channel->average_levels, n->channel->classic_rules); BUILDSTDERR: ^~ BUILDSTDERR: main.c:2084:25: note: 'sprintf' output between 6 and 2073 bytes into a destination of size 2048 BUILDSTDERR: sprintf(newgamestr ,"%s %d %d\xff", newgamestr, n->channel->average_levels, n->channel->classic_rules); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + cd .. + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7Jrwos + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/tetrinetx-1.13.16-21.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/tetrinetx-1.13.16-21.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/tetrinetx-1.13.16-21.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/tetrinetx-1.13.16-21.fc29.riscv64 + cd tetrinetx-1.13.16+qirc-1.40c + mkdir -p /builddir/build/BUILDROOT/tetrinetx-1.13.16-21.fc29.riscv64/usr/bin + install -m 755 bin/tetrinetx /builddir/build/BUILDROOT/tetrinetx-1.13.16-21.fc29.riscv64/usr/bin/ + mkdir -p /builddir/build/BUILDROOT/tetrinetx-1.13.16-21.fc29.riscv64/etc/tetrinetx + install -p -m 644 bin/game.conf /builddir/build/BUILDROOT/tetrinetx-1.13.16-21.fc29.riscv64/etc/tetrinetx + install -p -m 644 bin/game.motd /builddir/build/BUILDROOT/tetrinetx-1.13.16-21.fc29.riscv64/etc/tetrinetx + install -p -m 644 bin/game.pmotd /builddir/build/BUILDROOT/tetrinetx-1.13.16-21.fc29.riscv64/etc/tetrinetx + install -p -m 600 bin/game.secure /builddir/build/BUILDROOT/tetrinetx-1.13.16-21.fc29.riscv64/etc/tetrinetx + mkdir -p /builddir/build/BUILDROOT/tetrinetx-1.13.16-21.fc29.riscv64/etc/rc.d/init.d + install -p -m 755 /builddir/build/SOURCES/tetrinetx.init /builddir/build/BUILDROOT/tetrinetx-1.13.16-21.fc29.riscv64/etc/rc.d/init.d/tetrinetx + mkdir -p /builddir/build/BUILDROOT/tetrinetx-1.13.16-21.fc29.riscv64/etc/logrotate.d + install -p -m 644 /builddir/build/SOURCES/tetrinetx.logrotate /builddir/build/BUILDROOT/tetrinetx-1.13.16-21.fc29.riscv64/etc/logrotate.d/tetrinetx + mkdir -p /builddir/build/BUILDROOT/tetrinetx-1.13.16-21.fc29.riscv64/var/log/tetrinetx + mkdir -p /builddir/build/BUILDROOT/tetrinetx-1.13.16-21.fc29.riscv64/var/games/tetrinetx + mkdir -p /builddir/build/BUILDROOT/tetrinetx-1.13.16-21.fc29.riscv64/var/run/tetrinetx + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.13.16-21.fc29 --unique-debug-suffix -1.13.16-21.fc29.riscv64 --unique-debug-src-base tetrinetx-1.13.16-21.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/tetrinetx-1.13.16+qirc-1.40c extracting debug info from /builddir/build/BUILDROOT/tetrinetx-1.13.16-21.fc29.riscv64/usr/bin/tetrinetx /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 558 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/tetrinetx-1.13.16-21.fc29.riscv64/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 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /etc/rc.d/init.d/tetrinetx from /bin/sh to #!/usr/bin/sh Processing files: tetrinetx-1.13.16-21.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.J2wojK + umask 022 + cd /builddir/build/BUILD + cd tetrinetx-1.13.16+qirc-1.40c + DOCDIR=/builddir/build/BUILDROOT/tetrinetx-1.13.16-21.fc29.riscv64/usr/share/doc/tetrinetx + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tetrinetx-1.13.16-21.fc29.riscv64/usr/share/doc/tetrinetx + cp -pr AUTHORS /builddir/build/BUILDROOT/tetrinetx-1.13.16-21.fc29.riscv64/usr/share/doc/tetrinetx + cp -pr ChangeLog /builddir/build/BUILDROOT/tetrinetx-1.13.16-21.fc29.riscv64/usr/share/doc/tetrinetx + cp -pr README /builddir/build/BUILDROOT/tetrinetx-1.13.16-21.fc29.riscv64/usr/share/doc/tetrinetx + cp -pr README.qirc.spectators /builddir/build/BUILDROOT/tetrinetx-1.13.16-21.fc29.riscv64/usr/share/doc/tetrinetx + cp -pr bin/game.allow.example /builddir/build/BUILDROOT/tetrinetx-1.13.16-21.fc29.riscv64/usr/share/doc/tetrinetx + cp -pr bin/game.ban.compromise.example /builddir/build/BUILDROOT/tetrinetx-1.13.16-21.fc29.riscv64/usr/share/doc/tetrinetx + cp -pr bin/game.ban.example /builddir/build/BUILDROOT/tetrinetx-1.13.16-21.fc29.riscv64/usr/share/doc/tetrinetx Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ZhSaY6 + exit 0 + umask 022 + cd /builddir/build/BUILD + cd tetrinetx-1.13.16+qirc-1.40c + LICENSEDIR=/builddir/build/BUILDROOT/tetrinetx-1.13.16-21.fc29.riscv64/usr/share/licenses/tetrinetx + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tetrinetx-1.13.16-21.fc29.riscv64/usr/share/licenses/tetrinetx + cp -pr COPYING /builddir/build/BUILDROOT/tetrinetx-1.13.16-21.fc29.riscv64/usr/share/licenses/tetrinetx + exit 0 Provides: config(tetrinetx) = 1.13.16-21.fc29 tetrinetx = 1.13.16-21.fc29 tetrinetx(riscv-64) = 1.13.16-21.fc29 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh shadow-utils Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: /usr/bin/sh libadns.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: tetrinetx-debugsource-1.13.16-21.fc29.riscv64 Provides: tetrinetx-debugsource = 1.13.16-21.fc29 tetrinetx-debugsource(riscv-64) = 1.13.16-21.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: tetrinetx-debuginfo-1.13.16-21.fc29.riscv64 Provides: debuginfo(build-id) = 9eaba5c3d68a60bfbf547149fd6fa292f316e26d tetrinetx-debuginfo = 1.13.16-21.fc29 tetrinetx-debuginfo(riscv-64) = 1.13.16-21.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: tetrinetx-debugsource(riscv-64) = 1.13.16-21.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/tetrinetx-1.13.16-21.fc29.riscv64 Wrote: /builddir/build/RPMS/tetrinetx-1.13.16-21.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/tetrinetx-debugsource-1.13.16-21.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/tetrinetx-debuginfo-1.13.16-21.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.VxnEdw + umask 022 + cd /builddir/build/BUILD + cd tetrinetx-1.13.16+qirc-1.40c + /usr/bin/rm -rf /builddir/build/BUILDROOT/tetrinetx-1.13.16-21.fc29.riscv64 + exit 0 Child return code was: 0