+ exec
+ rm -rf /rpmbuild
+ mkdir -p /rpmbuild
+ su -c 'rpmbuild -ba /builddir/build/SPECS/lsnipes.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.WwO929
+ 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 .
+ echo 'Patch #1 (lsnipes-adapt-CFLAGS-LIBS.patch):'
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.A3thQf
+ 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 '
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  --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  --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  --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  --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]
   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  --pedantic -DVERSION="\"0.9.4\"" -DUSE_CURSES -DUSE_SOUND -c mazegen.c
mazegen.c: In function 'maze_init':
mazegen.c:347:4: warning: 'pt.y' may be used uninitialized in this function [-Wmaybe-uninitialized]
    maze_gen_vline( m, pt.x, pt.y, -1 );
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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  --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  --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  --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  --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  --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]
    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'
      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  --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  --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]
     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]
     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]
     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  --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  --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.UJMS6T
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/lsnipes-0.9.4-19.fc28.riscv64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/lsnipes-0.9.4-19.fc28.riscv64
++ dirname /builddir/build/BUILDROOT/lsnipes-0.9.4-19.fc28.riscv64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/lsnipes-0.9.4-19.fc28.riscv64
+ cd lsnipes-0.9.4
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/lsnipes-0.9.4-19.fc28.riscv64
+ /usr/bin/install -p -m 0755 -d /builddir/build/BUILDROOT/lsnipes-0.9.4-19.fc28.riscv64/usr/bin
+ /usr/bin/install -p -m 0755 snipes /builddir/build/BUILDROOT/lsnipes-0.9.4-19.fc28.riscv64/usr/bin/snipes
+ /usr/bin/install -p -m 0755 -d /builddir/build/BUILDROOT/lsnipes-0.9.4-19.fc28.riscv64/usr/share/man/man6
+ /usr/bin/install -p -m 0644 snipes.6 /builddir/build/BUILDROOT/lsnipes-0.9.4-19.fc28.riscv64/usr/share/man/man6/snipes.6
+ /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: lsnipes-0.9.4-19.fc28.riscv64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.nGHzXu
+ umask 022
+ cd /builddir/build/BUILD
+ cd lsnipes-0.9.4
+ DOCDIR=/builddir/build/BUILDROOT/lsnipes-0.9.4-19.fc28.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-19.fc28.riscv64/usr/share/doc/lsnipes
+ cp -pr README /builddir/build/BUILDROOT/lsnipes-0.9.4-19.fc28.riscv64/usr/share/doc/lsnipes
+ cp -pr TODO /builddir/build/BUILDROOT/lsnipes-0.9.4-19.fc28.riscv64/usr/share/doc/lsnipes
+ cp -pr COPYING /builddir/build/BUILDROOT/lsnipes-0.9.4-19.fc28.riscv64/usr/share/doc/lsnipes
+ cp -pr CHANGELOG /builddir/build/BUILDROOT/lsnipes-0.9.4-19.fc28.riscv64/usr/share/doc/lsnipes
+ exit 0
Provides: lsnipes = 0.9.4-19.fc28 lsnipes(riscv-64) = 0.9.4-19.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) 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-19.fc28.riscv64
Wrote: /builddir/build/SRPMS/lsnipes-0.9.4-19.fc28.src.rpm
Wrote: /builddir/build/RPMS/riscv64/lsnipes-0.9.4-19.fc28.riscv64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.naQJxE
+ umask 022
+ cd /builddir/build/BUILD
+ cd lsnipes-0.9.4
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/lsnipes-0.9.4-19.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