Mock Version: 1.1.39 Mock Version: 1.1.39 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target i686 --nodeps builddir/build/SPECS/lsnipes.spec'], False, '/var/lib/mock/f21-build-2120668-392843/root/', None, 86400, True, False, 1000, 425, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target i686 --nodeps builddir/build/SPECS/lsnipes.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} warning: Could not canonicalize hostname: buildvm-11.phx2.fedoraproject.org Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/lsnipes-0.9.4-12.fc21.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target i686 --nodeps builddir/build/SPECS/lsnipes.spec'], False, '/var/lib/mock/f21-build-2120668-392843/root/', None, 86400, True, False, 1000, 425, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target i686 --nodeps builddir/build/SPECS/lsnipes.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.zJId5p + 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 -xf - + 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/cat /builddir/build/SOURCES/lsnipes-adapt-CFLAGS-LIBS.patch + /usr/bin/patch -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/cat /builddir/build/SOURCES/lsnipes-man-levels-doc.patch + /usr/bin/patch -p1 -b --suffix .man-levels --fuzz=0 patching file snipes.6 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.cFnD6v + 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables --pedantic -DVERSION="\"0.9.4\"" -DUSE_CURSES -DUSE_SOUND -c snipes.c In file included from snipes.c:36:0: snipes.h:70:8: warning: C++ style comments are not allowed in ISO C90 #endif // SNIPES_HEADER ^ snipes.h:70:8: warning: (this will be reported only once per input file) In file included from snipes.c:37:0: player.h:45:8: warning: C++ style comments are not allowed in ISO C90 #endif // SNIPES_PLAYER ^ player.h:45:8: warning: (this will be reported only once per input file) In file included from snipes.c:38:0: enemies.h:38:8: warning: C++ style comments are not allowed in ISO C90 #endif // SNIPES_ENEMIES ^ enemies.h:38:8: warning: (this will be reported only once per input file) In file included from weapons.h:27:0, from snipes.c:39: walls.h:77:8: warning: C++ style comments are not allowed in ISO C90 #endif // SNIPES_WALLS ^ walls.h:77:8: warning: (this will be reported only once per input file) In file included from snipes.c:39:0: weapons.h:36:8: warning: C++ style comments are not allowed in ISO C90 #endif // _SNIPES_WEAPONS_H ^ weapons.h:36:8: warning: (this will be reported only once per input file) In file included from snipes.c:40:0: hive.h:36:8: warning: C++ style comments are not allowed in ISO C90 #endif // SNIPES_HIVES_H ^ hive.h:36:8: warning: (this will be reported only once per input file) In file included from snipes.c:43:0: chars.h:26:1: warning: C++ style comments are not allowed in ISO C90 //#define PLAIN_CHARS ^ chars.h:26:1: warning: (this will be reported only once per input file) snipes.c:63:1: warning: C++ style comments are not allowed in ISO C90 //#ifdef DOUBLEWIDE_FONT_HACK ^ snipes.c:63:1: warning: (this will be reported only once per input file) gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables --pedantic -DVERSION="\"0.9.4\"" -DUSE_CURSES -DUSE_SOUND -c coords.c In file included from coords.c:24:0: snipes.h:70:8: warning: C++ style comments are not allowed in ISO C90 #endif // SNIPES_HEADER ^ snipes.h:70:8: warning: (this will be reported only once per input file) gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables --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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables --pedantic -DVERSION="\"0.9.4\"" -DUSE_CURSES -DUSE_SOUND -c player.c In file included from player.c:37:0: snipes.h:70:8: warning: C++ style comments are not allowed in ISO C90 #endif // SNIPES_HEADER ^ snipes.h:70:8: warning: (this will be reported only once per input file) In file included from player.c:40:0: chars.h:26:1: warning: C++ style comments are not allowed in ISO C90 //#define PLAIN_CHARS ^ chars.h:26:1: warning: (this will be reported only once per input file) In file included from weapons.h:27:0, from player.c:41: walls.h:77:8: warning: C++ style comments are not allowed in ISO C90 #endif // SNIPES_WALLS ^ walls.h:77:8: warning: (this will be reported only once per input file) In file included from player.c:41:0: weapons.h:36:8: warning: C++ style comments are not allowed in ISO C90 #endif // _SNIPES_WEAPONS_H ^ weapons.h:36:8: warning: (this will be reported only once per input file) 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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables --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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables --pedantic -DVERSION="\"0.9.4\"" -DUSE_CURSES -DUSE_SOUND -c walls.c In file included from walls.c:31:0: snipes.h:70:8: warning: C++ style comments are not allowed in ISO C90 #endif // SNIPES_HEADER ^ snipes.h:70:8: warning: (this will be reported only once per input file) In file included from walls.c:33:0: chars.h:26:1: warning: C++ style comments are not allowed in ISO C90 //#define PLAIN_CHARS ^ chars.h:26:1: warning: (this will be reported only once per input file) walls.c:47:17: warning: C++ style comments are not allowed in ISO C90 BLANK_CHAR, // 0 ^ walls.c:47:17: warning: (this will be reported only once per input file) gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables --pedantic -DVERSION="\"0.9.4\"" -DUSE_CURSES -DUSE_SOUND -c kbd.c In file included from kbd.c:52:0: snipes.h:70:8: warning: C++ style comments are not allowed in ISO C90 #endif // SNIPES_HEADER ^ snipes.h:70:8: warning: (this will be reported only once per input file) In file included from kbd.c:53:0: keys.h:62:8: warning: C++ style comments are not allowed in ISO C90 #endif // SNIPES_KEY_DEFS ^ keys.h:62:8: warning: (this will be reported only once per input file) gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables --pedantic -DVERSION="\"0.9.4\"" -DUSE_CURSES -DUSE_SOUND -c keys.c In file included from keys.c:5:0: keys.h:62:8: warning: C++ style comments are not allowed in ISO C90 #endif // SNIPES_KEY_DEFS ^ keys.h:62:8: warning: (this will be reported only once per input file) gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables --pedantic -DVERSION="\"0.9.4\"" -DUSE_CURSES -DUSE_SOUND -c hive.c In file included from hive.c:26:0: snipes.h:70:8: warning: C++ style comments are not allowed in ISO C90 #endif // SNIPES_HEADER ^ snipes.h:70:8: warning: (this will be reported only once per input file) In file included from hive.c:27:0: enemies.h:38:8: warning: C++ style comments are not allowed in ISO C90 #endif // SNIPES_ENEMIES ^ enemies.h:38:8: warning: (this will be reported only once per input file) In file included from hive.c:30:0: chars.h:26:1: warning: C++ style comments are not allowed in ISO C90 //#define PLAIN_CHARS ^ chars.h:26:1: warning: (this will be reported only once per input file) gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables --pedantic -DVERSION="\"0.9.4\"" -DUSE_CURSES -DUSE_SOUND -c enemies.c In file included from enemies.c:27:0: snipes.h:70:8: warning: C++ style comments are not allowed in ISO C90 #endif // SNIPES_HEADER ^ snipes.h:70:8: warning: (this will be reported only once per input file) In file included from enemies.c:30:0: chars.h:26:1: warning: C++ style comments are not allowed in ISO C90 //#define PLAIN_CHARS ^ chars.h:26:1: warning: (this will be reported only once per input file) In file included from weapons.h:27:0, from enemies.c:31: walls.h:77:8: warning: C++ style comments are not allowed in ISO C90 #endif // SNIPES_WALLS ^ walls.h:77:8: warning: (this will be reported only once per input file) In file included from enemies.c:31:0: weapons.h:36:8: warning: C++ style comments are not allowed in ISO C90 #endif // _SNIPES_WEAPONS_H ^ weapons.h:36:8: warning: (this will be reported only once per input file) In file included from enemies.c:32:0: player.h:45:8: warning: C++ style comments are not allowed in ISO C90 #endif // SNIPES_PLAYER ^ player.h:45:8: warning: (this will be reported only once per input file) gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables --pedantic -DVERSION="\"0.9.4\"" -DUSE_CURSES -DUSE_SOUND -c weapons.c In file included from weapons.c:27:0: snipes.h:70:8: warning: C++ style comments are not allowed in ISO C90 #endif // SNIPES_HEADER ^ snipes.h:70:8: warning: (this will be reported only once per input file) In file included from weapons.c:30:0: walls.h:77:8: warning: C++ style comments are not allowed in ISO C90 #endif // SNIPES_WALLS ^ walls.h:77:8: warning: (this will be reported only once per input file) In file included from weapons.c:31:0: hive.h:36:8: warning: C++ style comments are not allowed in ISO C90 #endif // SNIPES_HIVES_H ^ hive.h:36:8: warning: (this will be reported only once per input file) In file included from weapons.c:32:0: chars.h:26:1: warning: C++ style comments are not allowed in ISO C90 //#define PLAIN_CHARS ^ chars.h:26:1: warning: (this will be reported only once per input file) gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables --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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables --pedantic -DVERSION="\"0.9.4\"" -DUSE_CURSES -DUSE_SOUND -c screen.c In file included from screen.c:27:0: snipes.h:70:8: warning: C++ style comments are not allowed in ISO C90 #endif // SNIPES_HEADER ^ snipes.h:70:8: warning: (this will be reported only once per input file) screen.c:473:3: warning: C++ style comments are not allowed in ISO C90 //XSetSizeHints(disp, win, &xsh); ^ screen.c:473:3: warning: (this will be reported only once per input file) gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables --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.tVysLG + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/lsnipes-0.9.4-12.fc21.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/lsnipes-0.9.4-12.fc21.i386 ++ dirname /builddir/build/BUILDROOT/lsnipes-0.9.4-12.fc21.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/lsnipes-0.9.4-12.fc21.i386 + cd lsnipes-0.9.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/lsnipes-0.9.4-12.fc21.i386 + /usr/bin/install -p -m 0755 -d /builddir/build/BUILDROOT/lsnipes-0.9.4-12.fc21.i386/usr/bin + /usr/bin/install -p -m 0755 snipes /builddir/build/BUILDROOT/lsnipes-0.9.4-12.fc21.i386/usr/bin/snipes + /usr/bin/install -p -m 0755 -d /builddir/build/BUILDROOT/lsnipes-0.9.4-12.fc21.i386/usr/share/man/man6 + /usr/bin/install -p -m 0644 snipes.6 /builddir/build/BUILDROOT/lsnipes-0.9.4-12.fc21.i386/usr/share/man/man6/snipes.6 + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/lsnipes-0.9.4 extracting debug info from /builddir/build/BUILDROOT/lsnipes-0.9.4-12.fc21.i386/usr/bin/snipes dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 314 blocks + /usr/lib/rpm/check-buildroot + /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 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: lsnipes-0.9.4-12.fc21.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.4vtc4T + umask 022 + cd /builddir/build/BUILD + cd lsnipes-0.9.4 + DOCDIR=/builddir/build/BUILDROOT/lsnipes-0.9.4-12.fc21.i386/usr/share/doc/lsnipes + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lsnipes-0.9.4-12.fc21.i386/usr/share/doc/lsnipes + cp -pr README /builddir/build/BUILDROOT/lsnipes-0.9.4-12.fc21.i386/usr/share/doc/lsnipes + cp -pr TODO /builddir/build/BUILDROOT/lsnipes-0.9.4-12.fc21.i386/usr/share/doc/lsnipes + cp -pr COPYING /builddir/build/BUILDROOT/lsnipes-0.9.4-12.fc21.i386/usr/share/doc/lsnipes + cp -pr CHANGELOG /builddir/build/BUILDROOT/lsnipes-0.9.4-12.fc21.i386/usr/share/doc/lsnipes + exit 0 Provides: lsnipes = 0.9.4-12.fc21 lsnipes(x86-32) = 0.9.4-12.fc21 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libncurses.so.5 libtinfo.so.5 rtld(GNU_HASH) Processing files: lsnipes-debuginfo-0.9.4-12.fc21.i686 Provides: lsnipes-debuginfo = 0.9.4-12.fc21 lsnipes-debuginfo(x86-32) = 0.9.4-12.fc21 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/lsnipes-0.9.4-12.fc21.i386 warning: Could not canonicalize hostname: buildvm-11.phx2.fedoraproject.org Wrote: /builddir/build/RPMS/lsnipes-0.9.4-12.fc21.i686.rpm Wrote: /builddir/build/RPMS/lsnipes-debuginfo-0.9.4-12.fc21.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.x504YH + umask 022 + cd /builddir/build/BUILD + cd lsnipes-0.9.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/lsnipes-0.9.4-12.fc21.i386 + exit 0 Child return code was: 0 LEAVE do -->