Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/lsnipes.spec'], chrootPath='/var/lib/mock/f30-build-15132349-1076084/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': 'C.UTF-8'}shell=Falselogger=timeout=172800uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --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': 'C.UTF-8'} and shell False Building target platforms: s390x Building for target s390x Wrote: /builddir/build/SRPMS/lsnipes-0.9.4-22.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/lsnipes.spec'], chrootPath='/var/lib/mock/f30-build-15132349-1076084/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': 'C.UTF-8'}shell=Falselogger=timeout=172800uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --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': 'C.UTF-8'} and shell False Building target platforms: s390x Building for target s390x Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CkRP2E + 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 Patch #2 (lsnipes-man-levels-doc.patch): + echo '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 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.m6c5Ed + exit 0 + 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 -m64 -march=zEC12 -mtune=z13 -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 -m64 -march=zEC12 -mtune=z13 -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 -m64 -march=zEC12 -mtune=z13 -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 -m64 -march=zEC12 -mtune=z13 -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 -m64 -march=zEC12 -mtune=z13 -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: 323 | 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 -m64 -march=zEC12 -mtune=z13 -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:356:4: warning: 'pt.y' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 356 | maze_gen_hline( m, pt.x, pt.y, -1 ); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mazegen.c:356: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 -m64 -march=zEC12 -mtune=z13 -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 -m64 -march=zEC12 -mtune=z13 -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 -m64 -march=zEC12 -mtune=z13 -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 -m64 -march=zEC12 -mtune=z13 -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 -m64 -march=zEC12 -mtune=z13 -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: 489 | 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: 491 | 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 -m64 -march=zEC12 -mtune=z13 -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 -m64 -march=zEC12 -mtune=z13 -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: 265 | 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: 281 | 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: 297 | 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 -m64 -march=zEC12 -mtune=z13 -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 -m64 -march=zEC12 -mtune=z13 -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.s8HBC9 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/lsnipes-0.9.4-22.fc30.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/lsnipes-0.9.4-22.fc30.s390x BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/lsnipes-0.9.4-22.fc30.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/lsnipes-0.9.4-22.fc30.s390x + cd lsnipes-0.9.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/lsnipes-0.9.4-22.fc30.s390x + /usr/bin/install -p -m 0755 -d /builddir/build/BUILDROOT/lsnipes-0.9.4-22.fc30.s390x/usr/bin + /usr/bin/install -p -m 0755 snipes /builddir/build/BUILDROOT/lsnipes-0.9.4-22.fc30.s390x/usr/bin/snipes + /usr/bin/install -p -m 0755 -d /builddir/build/BUILDROOT/lsnipes-0.9.4-22.fc30.s390x/usr/share/man/man6 + /usr/bin/install -p -m 0644 snipes.6 /builddir/build/BUILDROOT/lsnipes-0.9.4-22.fc30.s390x/usr/share/man/man6/snipes.6 + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0.9.4-22.fc30 --unique-debug-suffix -0.9.4-22.fc30.s390x --unique-debug-src-base lsnipes-0.9.4-22.fc30.s390x --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-22.fc30.s390x/usr/bin/snipes extracting debug info from /builddir/build/BUILDROOT/lsnipes-0.9.4-22.fc30.s390x/usr/bin/snipes /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 314 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /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 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: lsnipes-0.9.4-22.fc30.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.pKq2aC + umask 022 + cd /builddir/build/BUILD + cd lsnipes-0.9.4 + DOCDIR=/builddir/build/BUILDROOT/lsnipes-0.9.4-22.fc30.s390x/usr/share/doc/lsnipes + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lsnipes-0.9.4-22.fc30.s390x/usr/share/doc/lsnipes + cp -pr README /builddir/build/BUILDROOT/lsnipes-0.9.4-22.fc30.s390x/usr/share/doc/lsnipes + cp -pr TODO /builddir/build/BUILDROOT/lsnipes-0.9.4-22.fc30.s390x/usr/share/doc/lsnipes + cp -pr COPYING /builddir/build/BUILDROOT/lsnipes-0.9.4-22.fc30.s390x/usr/share/doc/lsnipes + cp -pr CHANGELOG /builddir/build/BUILDROOT/lsnipes-0.9.4-22.fc30.s390x/usr/share/doc/lsnipes + exit 0 Provides: lsnipes = 0.9.4-22.fc30 lsnipes(s390-64) = 0.9.4-22.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libncurses.so.6()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: lsnipes-debugsource-0.9.4-22.fc30.s390x Provides: lsnipes-debugsource = 0.9.4-22.fc30 lsnipes-debugsource(s390-64) = 0.9.4-22.fc30 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-22.fc30.s390x Provides: debuginfo(build-id) = d1688bbf71d54cb0995cc14e28cf97e5f9563154 lsnipes-debuginfo = 0.9.4-22.fc30 lsnipes-debuginfo(s390-64) = 0.9.4-22.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: lsnipes-debugsource(s390-64) = 0.9.4-22.fc30 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/lsnipes-0.9.4-22.fc30.s390x Wrote: /builddir/build/RPMS/lsnipes-0.9.4-22.fc30.s390x.rpm Wrote: /builddir/build/RPMS/lsnipes-debugsource-0.9.4-22.fc30.s390x.rpm Wrote: /builddir/build/RPMS/lsnipes-debuginfo-0.9.4-22.fc30.s390x.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.oz1F5s + umask 022 + cd /builddir/build/BUILD + cd lsnipes-0.9.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/lsnipes-0.9.4-22.fc30.s390x + exit 0 Child return code was: 0