Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/arrows.spec'], chrootPath='/var/lib/mock/f30-build-38562-22233/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=995gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/arrows.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/arrows-0.6-24.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/arrows.spec'], chrootPath='/var/lib/mock/f30-build-38562-22233/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=995gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/arrows.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.6TIsVZ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf arrows-0.6 + /usr/bin/gzip -dc /builddir/build/SOURCES/arrows-0.6.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd arrows-0.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (arrows-level-5.patch):' Patch #0 (arrows-level-5.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file game.c + make clean rm *.o rm ./arrows + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.egRoC5 + umask 022 + cd /builddir/build/BUILD + cd arrows-0.6 + make -j4 'CCOPTS=-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 -DDEBUG -D__UNIX__ -DDEBUG_MEMORY -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -c arrows.c -o arrows.o 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 -DDEBUG -D__UNIX__ -DDEBUG_MEMORY -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -c draw.c -o draw.o 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 -DDEBUG -D__UNIX__ -DDEBUG_MEMORY -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -c game.c -o game.o BUILDSTDERR: game.c: In function 'game_main': BUILDSTDERR: game.c:136:12: warning: this 'while' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: while (level.arrows[j=(rand()%30+2)][k=(rand()%18+2)]!=0); BUILDSTDERR: ^~~~~ BUILDSTDERR: game.c:137:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' BUILDSTDERR: level.arrows[j][k]=-32768; BUILDSTDERR: ^~~~~ BUILDSTDERR: game.c:141:30: warning: comparison of constant '0' with boolean expression is always false [-Wbool-compare] BUILDSTDERR: if (!level.arrows[j][k]<0) fprintf(stderr, "DUMB!\n"); BUILDSTDERR: ^ BUILDSTDERR: game.c:141:30: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] BUILDSTDERR: game.c:141:11: note: add parentheses around left hand side expression to silence this warning BUILDSTDERR: if (!level.arrows[j][k]<0) fprintf(stderr, "DUMB!\n"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ( ) BUILDSTDERR: game.c:182:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (kbhit() && !shot && (dotx%20+doty%20)) BUILDSTDERR: ^ BUILDSTDERR: arrows.c:65:13: warning: 'draw_brush' defined but not used [-Wunused-function] BUILDSTDERR: static void draw_brush( GtkWidget *widget, BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: game.c: In function 'load': BUILDSTDERR: game.c:497:4: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fread(&initlevel, sizeof(initlevel), 1, stream); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: game.c: In function 'movedot': BUILDSTDERR: game.c:365:21: warning: 'AR' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: case ALT_RIGHT:draw_arrow(dotx,doty,AR+RIGHT,7); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc arrows.o draw.o game.o -o arrows -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.skdJ7h + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/arrows-0.6-24.fc30.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/arrows-0.6-24.fc30.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/arrows-0.6-24.fc30.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/arrows-0.6-24.fc30.riscv64 + cd arrows-0.6 + mkdir -p /builddir/build/BUILDROOT/arrows-0.6-24.fc30.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/arrows-0.6-24.fc30.riscv64/usr/share/arrows + install -m 755 arrows /builddir/build/BUILDROOT/arrows-0.6-24.fc30.riscv64/usr/bin + install -m 644 arrfl.1 arrfl.2 arrfl.3 arrfl.4 arrfl.5 /builddir/build/BUILDROOT/arrows-0.6-24.fc30.riscv64/usr/share/arrows + mkdir -p /builddir/build/BUILDROOT/arrows-0.6-24.fc30.riscv64/usr/share/applications + desktop-file-install --dir /builddir/build/BUILDROOT/arrows-0.6-24.fc30.riscv64/usr/share/applications /builddir/build/SOURCES/arrows.desktop /builddir/build/BUILDROOT/arrows-0.6-24.fc30.riscv64/usr/share/applications/arrows.desktop: error: (will be fatal in the future): value "arrows.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path + mkdir -p /builddir/build/BUILDROOT/arrows-0.6-24.fc30.riscv64/usr/share/icons/hicolor/24x24/apps + install -p -m 644 /builddir/build/SOURCES/arrows.png /builddir/build/BUILDROOT/arrows-0.6-24.fc30.riscv64/usr/share/icons/hicolor/24x24/apps + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.6-24.fc30 --unique-debug-suffix -0.6-24.fc30.riscv64 --unique-debug-src-base arrows-0.6-24.fc30.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/arrows-0.6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/arrows-0.6-24.fc30.riscv64/usr/bin/arrows extracting debug info from /builddir/build/BUILDROOT/arrows-0.6-24.fc30.riscv64/usr/bin/arrows /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 78 blocks + /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-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: arrows-0.6-24.fc30.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.yIUvBF + umask 022 + cd /builddir/build/BUILD + cd arrows-0.6 + DOCDIR=/builddir/build/BUILDROOT/arrows-0.6-24.fc30.riscv64/usr/share/doc/arrows + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/arrows-0.6-24.fc30.riscv64/usr/share/doc/arrows + cp -pr LICENSE /builddir/build/BUILDROOT/arrows-0.6-24.fc30.riscv64/usr/share/doc/arrows + cp -pr README /builddir/build/BUILDROOT/arrows-0.6-24.fc30.riscv64/usr/share/doc/arrows + exit 0 Provides: application() application(arrows.desktop) arrows = 0.6-24.fc30 arrows(riscv-64) = 0.6-24.fc30 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) libatk-1.0.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcairo.so.2()(64bit) libfontconfig.so.1()(64bit) libfreetype.so.6()(64bit) libgdk-x11-2.0.so.0()(64bit) libgdk_pixbuf-2.0.so.0()(64bit) libgio-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libgtk-x11-2.0.so.0()(64bit) libpango-1.0.so.0()(64bit) libpangocairo-1.0.so.0()(64bit) libpangoft2-1.0.so.0()(64bit) rtld(GNU_HASH) Processing files: arrows-debugsource-0.6-24.fc30.riscv64 Provides: arrows-debugsource = 0.6-24.fc30 arrows-debugsource(riscv-64) = 0.6-24.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: arrows-debuginfo-0.6-24.fc30.riscv64 Provides: arrows-debuginfo = 0.6-24.fc30 arrows-debuginfo(riscv-64) = 0.6-24.fc30 debuginfo(build-id) = 552fc7b1764404fdcc16f0e277a285ca88212769 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: arrows-debugsource(riscv-64) = 0.6-24.fc30 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/arrows-0.6-24.fc30.riscv64 Wrote: /builddir/build/RPMS/arrows-0.6-24.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/arrows-debugsource-0.6-24.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/arrows-debuginfo-0.6-24.fc30.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.fbDHgr + umask 022 + cd /builddir/build/BUILD + cd arrows-0.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/arrows-0.6-24.fc30.riscv64 + exit 0 Child return code was: 0