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/lsnipes.spec'], chrootPath='/var/lib/mock/f29-build-7351-1808/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=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/lsnipes.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/lsnipes-0.9.4-20.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/lsnipes.spec'], chrootPath='/var/lib/mock/f29-build-7351-1808/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=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/lsnipes.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.FLJ1It + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lsnipes-0.9.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/lsnipes-0.9.4.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd lsnipes-0.9.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (lsnipes-adapt-CFLAGS-LIBS.patch): + echo 'Patch #1 (lsnipes-adapt-CFLAGS-LIBS.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .cflags --fuzz=0 patching file Makefile + echo 'Patch #2 (lsnipes-man-levels-doc.patch):' Patch #2 (lsnipes-man-levels-doc.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .man-levels --fuzz=0 patching file snipes.6 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.uo48sH + umask 022 + cd /builddir/build/BUILD + cd lsnipes-0.9.4 + /usr/bin/make 'RPM_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' gcc -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 --pedantic -DVERSION="\"0.9.4\"" -DUSE_CURSES -DUSE_SOUND -c snipes.c gcc -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 --pedantic -DVERSION="\"0.9.4\"" -DUSE_CURSES -DUSE_SOUND -c coords.c gcc -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 --pedantic -DVERSION="\"0.9.4\"" -DUSE_CURSES -DUSE_SOUND -c collision.c gcc -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 --pedantic -DVERSION="\"0.9.4\"" -DUSE_CURSES -DUSE_SOUND -c player.c BUILDSTDERR: player.c: In function 'find_nearest_player': BUILDSTDERR: player.c:323:46: warning: variable 'player_index' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int deltax, deltay, dist, old_dist=MAXINT, player_index=0; BUILDSTDERR: ^~~~~~~~~~~~ gcc -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 --pedantic -DVERSION="\"0.9.4\"" -DUSE_CURSES -DUSE_SOUND -c mazegen.c BUILDSTDERR: mazegen.c: In function 'maze_init': BUILDSTDERR: mazegen.c:347:4: warning: 'pt.y' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: maze_gen_vline( m, pt.x, pt.y, -1 ); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mazegen.c:347:4: warning: 'pt.x' may be used uninitialized in this function [-Wmaybe-uninitialized] gcc -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 --pedantic -DVERSION="\"0.9.4\"" -DUSE_CURSES -DUSE_SOUND -c walls.c gcc -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 --pedantic -DVERSION="\"0.9.4\"" -DUSE_CURSES -DUSE_SOUND -c kbd.c gcc -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 --pedantic -DVERSION="\"0.9.4\"" -DUSE_CURSES -DUSE_SOUND -c keys.c gcc -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 --pedantic -DVERSION="\"0.9.4\"" -DUSE_CURSES -DUSE_SOUND -c hive.c gcc -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 --pedantic -DVERSION="\"0.9.4\"" -DUSE_CURSES -DUSE_SOUND -c enemies.c BUILDSTDERR: enemies.c: In function 'enemy_get_movement_preferences': BUILDSTDERR: enemies.c:489:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if( random()%10 == 0 ) BUILDSTDERR: ^~ BUILDSTDERR: enemies.c:491:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: enemy->step_count = 3 + random()%2; /* how long to wander */ BUILDSTDERR: ^~~~~ gcc -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 --pedantic -DVERSION="\"0.9.4\"" -DUSE_CURSES -DUSE_SOUND -c weapons.c gcc -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 --pedantic -DVERSION="\"0.9.4\"" -DUSE_CURSES -DUSE_SOUND -c sound.c BUILDSTDERR: sound.c: In function 'sound_post_player_death': BUILDSTDERR: sound.c:265:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write( sound_handle, sndbuf_player_die, sndbuflen_player_die ); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: sound.c: In function 'sound_post_enemy_death': BUILDSTDERR: sound.c:281:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write( sound_handle, sndbuf_hive_die, sndbuflen_hive_die ); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: sound.c: In function 'sound_post_snipe_shot': BUILDSTDERR: sound.c:297:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write( sound_handle, sndbuf_snipe_shoot, sndbuflen_snipe_shoot ); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -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 --pedantic -DVERSION="\"0.9.4\"" -DUSE_CURSES -DUSE_SOUND -c screen.c gcc -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 --pedantic -DVERSION="\"0.9.4\"" -DUSE_CURSES -DUSE_SOUND -o snipes -lncurses snipes.o coords.o collision.o player.o mazegen.o walls.o kbd.o keys.o hive.o enemies.o weapons.o sound.o screen.o + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.PcTPVM + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/lsnipes-0.9.4-20.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/lsnipes-0.9.4-20.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/lsnipes-0.9.4-20.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/lsnipes-0.9.4-20.fc29.riscv64 + cd lsnipes-0.9.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/lsnipes-0.9.4-20.fc29.riscv64 + /usr/bin/install -p -m 0755 -d /builddir/build/BUILDROOT/lsnipes-0.9.4-20.fc29.riscv64/usr/bin + /usr/bin/install -p -m 0755 snipes /builddir/build/BUILDROOT/lsnipes-0.9.4-20.fc29.riscv64/usr/bin/snipes + /usr/bin/install -p -m 0755 -d /builddir/build/BUILDROOT/lsnipes-0.9.4-20.fc29.riscv64/usr/share/man/man6 + /usr/bin/install -p -m 0644 snipes.6 /builddir/build/BUILDROOT/lsnipes-0.9.4-20.fc29.riscv64/usr/share/man/man6/snipes.6 + /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 /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: lsnipes-0.9.4-20.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.pUzST4 + umask 022 + cd /builddir/build/BUILD + cd lsnipes-0.9.4 + DOCDIR=/builddir/build/BUILDROOT/lsnipes-0.9.4-20.fc29.riscv64/usr/share/doc/lsnipes + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lsnipes-0.9.4-20.fc29.riscv64/usr/share/doc/lsnipes + cp -pr README /builddir/build/BUILDROOT/lsnipes-0.9.4-20.fc29.riscv64/usr/share/doc/lsnipes + cp -pr TODO /builddir/build/BUILDROOT/lsnipes-0.9.4-20.fc29.riscv64/usr/share/doc/lsnipes + cp -pr COPYING /builddir/build/BUILDROOT/lsnipes-0.9.4-20.fc29.riscv64/usr/share/doc/lsnipes + cp -pr CHANGELOG /builddir/build/BUILDROOT/lsnipes-0.9.4-20.fc29.riscv64/usr/share/doc/lsnipes + exit 0 Provides: lsnipes = 0.9.4-20.fc29 lsnipes(riscv-64) = 0.9.4-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) libncurses.so.6()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/lsnipes-0.9.4-20.fc29.riscv64 Wrote: /builddir/build/RPMS/lsnipes-0.9.4-20.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.YJkWda + umask 022 + cd /builddir/build/BUILD + cd lsnipes-0.9.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/lsnipes-0.9.4-20.fc29.riscv64 + exit 0 Child return code was: 0