Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/lsnipes.spec'], chrootPath='/var/lib/mock/f33-build-129763-40735/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580256000 Wrote: /builddir/build/SRPMS/lsnipes-0.9.4-24.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/lsnipes.spec'], chrootPath='/var/lib/mock/f33-build-129763-40735/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580256000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NSkh1f + 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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.aOidld + 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 player.c: In function 'find_nearest_player': player.c:323:46: warning: variable 'player_index' set but not used [-Wunused-but-set-variable] 323 | int deltax, deltay, dist, old_dist=MAXINT, player_index=0; | ^~~~~~~~~~~~ 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 mazegen.c: In function 'maze_init': mazegen.c:350:4: warning: 'pt.y' may be used uninitialized in this function [-Wmaybe-uninitialized] 350 | maze_gen_vline( m, pt.x, pt.y, 1 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mazegen.c:350: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 enemies.c: In function 'enemy_get_movement_preferences': enemies.c:489:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 489 | if( random()%10 == 0 ) | ^~ enemies.c:491:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 491 | enemy->step_count = 3 + random()%2; /* how long to wander */ | ^~~~~ 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 sound.c: In function 'sound_post_player_death': sound.c:265:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 265 | write( sound_handle, sndbuf_player_die, sndbuflen_player_die ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound.c: In function 'sound_post_enemy_death': sound.c:281:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 281 | write( sound_handle, sndbuf_hive_die, sndbuflen_hive_die ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound.c: In function 'sound_post_snipe_shot': sound.c:297:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 297 | write( sound_handle, sndbuf_snipe_shoot, sndbuflen_snipe_shoot ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.sIqVdc + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/lsnipes-0.9.4-24.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/lsnipes-0.9.4-24.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/lsnipes-0.9.4-24.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/lsnipes-0.9.4-24.fc33.riscv64 + cd lsnipes-0.9.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/lsnipes-0.9.4-24.fc33.riscv64 + /usr/bin/install -p -m 0755 -d /builddir/build/BUILDROOT/lsnipes-0.9.4-24.fc33.riscv64/usr/bin + /usr/bin/install -p -m 0755 snipes /builddir/build/BUILDROOT/lsnipes-0.9.4-24.fc33.riscv64/usr/bin/snipes + /usr/bin/install -p -m 0755 -d /builddir/build/BUILDROOT/lsnipes-0.9.4-24.fc33.riscv64/usr/share/man/man6 + /usr/bin/install -p -m 0644 snipes.6 /builddir/build/BUILDROOT/lsnipes-0.9.4-24.fc33.riscv64/usr/share/man/man6/snipes.6 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.9.4-24.fc33 --unique-debug-suffix -0.9.4-24.fc33.riscv64 --unique-debug-src-base lsnipes-0.9.4-24.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/lsnipes-0.9.4 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/lsnipes-0.9.4-24.fc33.riscv64/usr/bin/snipes extracting debug info from /builddir/build/BUILDROOT/lsnipes-0.9.4-24.fc33.riscv64/usr/bin/snipes original debug info size: 248kB, size after compression: 236kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 314 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: lsnipes-0.9.4-24.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ChZUSc + umask 022 + cd /builddir/build/BUILD + cd lsnipes-0.9.4 + DOCDIR=/builddir/build/BUILDROOT/lsnipes-0.9.4-24.fc33.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-24.fc33.riscv64/usr/share/doc/lsnipes + cp -pr README /builddir/build/BUILDROOT/lsnipes-0.9.4-24.fc33.riscv64/usr/share/doc/lsnipes + cp -pr TODO /builddir/build/BUILDROOT/lsnipes-0.9.4-24.fc33.riscv64/usr/share/doc/lsnipes + cp -pr COPYING /builddir/build/BUILDROOT/lsnipes-0.9.4-24.fc33.riscv64/usr/share/doc/lsnipes + cp -pr CHANGELOG /builddir/build/BUILDROOT/lsnipes-0.9.4-24.fc33.riscv64/usr/share/doc/lsnipes + RPM_EC=0 ++ jobs -p + exit 0 Provides: lsnipes = 0.9.4-24.fc33 lsnipes(riscv-64) = 0.9.4-24.fc33 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) Processing files: lsnipes-debugsource-0.9.4-24.fc33.riscv64 Provides: lsnipes-debugsource = 0.9.4-24.fc33 lsnipes-debugsource(riscv-64) = 0.9.4-24.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: lsnipes-debuginfo-0.9.4-24.fc33.riscv64 Provides: debuginfo(build-id) = 28fe5c7d540239525fb8291a87fbea52b6efb164 lsnipes-debuginfo = 0.9.4-24.fc33 lsnipes-debuginfo(riscv-64) = 0.9.4-24.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: lsnipes-debugsource(riscv-64) = 0.9.4-24.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/lsnipes-0.9.4-24.fc33.riscv64 Wrote: /builddir/build/RPMS/lsnipes-0.9.4-24.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/lsnipes-debugsource-0.9.4-24.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/lsnipes-debuginfo-0.9.4-24.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.S5JnEd + umask 022 + cd /builddir/build/BUILD + cd lsnipes-0.9.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/lsnipes-0.9.4-24.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0