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/ninvaders.spec'], chrootPath='/var/lib/mock/f29-build-7623-1885/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=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/ninvaders.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 Wrote: /builddir/build/SRPMS/ninvaders-0.1.1-17.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ninvaders.spec'], chrootPath='/var/lib/mock/f29-build-7623-1885/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=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/ninvaders.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1yTn5V + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ninvaders-0.1.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/ninvaders-0.1.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ninvaders-0.1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (ninvaders-0.1.1-fedora.patch): + echo 'Patch #0 (ninvaders-0.1.1-fedora.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file Makefile + iconv -f iso-8859-1 -t utf8 ChangeLog + touch -r ChangeLog ChangeLog.new + mv ChangeLog.new ChangeLog + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.FluJSW + umask 022 + cd /builddir/build/BUILD + cd ninvaders-0.1.1 + make -j4 gcc -c -I. -O3 -Wall -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 globals.c gcc -c -I. -O3 -Wall -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 view.c gcc -c -I. -O3 -Wall -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 aliens.c gcc -c -I. -O3 -Wall -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 ufo.c BUILDSTDERR: globals.c: In function 'waitForReturn': BUILDSTDERR: globals.c:86:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets(b, sizeof(b), stdin); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: aliens.c: In function 'render': BUILDSTDERR: aliens.c:167:17: warning: iteration 10 invokes undefined behavior [-Waggressive-loop-optimizations] BUILDSTDERR: lowest_ship[k]=-1; BUILDSTDERR: ~~~~~~~~~~~~~~^~~ BUILDSTDERR: aliens.c:166:2: note: within this loop BUILDSTDERR: for (k=0;k<11;k++) { BUILDSTDERR: ^~~ gcc -c -I. -O3 -Wall -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 player.c gcc -c -I. -O3 -Wall -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 nInvaders.c gcc -onInvaders globals.o view.o aliens.o ufo.o player.o nInvaders.o -lncurses + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.cQGyfK + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ninvaders-0.1.1-17.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ninvaders-0.1.1-17.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/ninvaders-0.1.1-17.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ninvaders-0.1.1-17.fc29.riscv64 + cd ninvaders-0.1.1 + rm -rf /builddir/build/BUILDROOT/ninvaders-0.1.1-17.fc29.riscv64 + install -Dp -m0755 nInvaders /builddir/build/BUILDROOT/ninvaders-0.1.1-17.fc29.riscv64/usr/bin/nInvaders + /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: ninvaders-0.1.1-17.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.mZOASQ + umask 022 + cd /builddir/build/BUILD + cd ninvaders-0.1.1 + DOCDIR=/builddir/build/BUILDROOT/ninvaders-0.1.1-17.fc29.riscv64/usr/share/doc/ninvaders + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ninvaders-0.1.1-17.fc29.riscv64/usr/share/doc/ninvaders + cp -pr ChangeLog /builddir/build/BUILDROOT/ninvaders-0.1.1-17.fc29.riscv64/usr/share/doc/ninvaders + cp -pr README /builddir/build/BUILDROOT/ninvaders-0.1.1-17.fc29.riscv64/usr/share/doc/ninvaders + cp -pr gpl.txt /builddir/build/BUILDROOT/ninvaders-0.1.1-17.fc29.riscv64/usr/share/doc/ninvaders + exit 0 Provides: ninvaders = 0.1.1-17.fc29 ninvaders(riscv-64) = 0.1.1-17.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/ninvaders-0.1.1-17.fc29.riscv64 Wrote: /builddir/build/RPMS/ninvaders-0.1.1-17.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.kQZbVI + umask 022 + cd /builddir/build/BUILD + cd ninvaders-0.1.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ninvaders-0.1.1-17.fc29.riscv64 + exit 0 Child return code was: 0