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/magicmaze.spec'], chrootPath='/var/lib/mock/f29-build-3254-880/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}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/magicmaze.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/magicmaze-1.0.2-21.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/magicmaze.spec'], chrootPath='/var/lib/mock/f29-build-3254-880/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}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/magicmaze.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.P9J2Mi + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf magicmaze + /usr/bin/gzip -dc /builddir/build/SOURCES/magicmaze-1.0.2_src.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd magicmaze + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (maze-1.0-gcc4.patch):' Patch #0 (maze-1.0-gcc4.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/3d.cpp Hunk #1 succeeded at 171 (offset 6 lines). Hunk #2 succeeded at 184 (offset 4 lines). patching file src/maze_ai.cpp Patch #1 (maze-1.0-no-sound.patch): + echo 'Patch #1 (maze-1.0-no-sound.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file include/mengine.h Hunk #1 succeeded at 17 (offset 4 lines). Hunk #2 succeeded at 36 (offset 4 lines). patching file src/main.cpp Hunk #1 succeeded at 82 (offset 5 lines). Hunk #2 succeeded at 101 (offset 5 lines). patching file src/mengine.cpp Hunk #1 succeeded at 48 (offset 5 lines). Hunk #2 succeeded at 92 (offset 5 lines). Patch #2 (maze-1.0-fhs.patch): + echo 'Patch #2 (maze-1.0-fhs.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file makefile.unx patching file src/hiscore.cpp Hunk #2 succeeded at 45 (offset 3 lines). Hunk #3 succeeded at 69 (offset 3 lines). patching file src/mengine.cpp Hunk #1 succeeded at 10 (offset 5 lines). Hunk #2 succeeded at 66 (offset 5 lines). Hunk #3 succeeded at 108 (offset 5 lines). Patch #3 (magicmaze-1.0.2-license-clarification.patch): + echo 'Patch #3 (magicmaze-1.0.2-license-clarification.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file license.txt + echo 'Patch #4 (magicmaze-1.0.2-trademarks.patch):' Patch #4 (magicmaze-1.0.2-trademarks.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/msg.cpp Patch #5 (magicmaze-1.0.2-format-security.patch): + echo 'Patch #5 (magicmaze-1.0.2-format-security.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/hiscore.cpp BUILDSTDERR: ++ find -type f + chmod -x ./makefile.unx ./zipsrc.txt ./license.txt ./docs/readme.txt ./docs/todo.txt ./zip.pl ./include/jgmod.h ./include/shandler.h ./include/martijnd.h ./include/game.h ./include/maze_ai.h ./include/menu.h ./include/JBdraw.h ./include/mengine.h ./include/msg.h ./include/board3d.h ./include/scrshot.h ./include/hiscore.h ./include/3d.h ./include/test2.h ./include/particle.h ./obj/linux/tempfile.txt ./obj/djgpp/tempfile.txt ./obj/mingw32/tempfile.txt ./icon.ico ./src/particle.cpp ./src/menu.cpp ./src/hiscore.cpp ./src/scrshot.cpp ./src/shandler.cpp ./src/main.cpp ./src/3d.cpp ./src/game.cpp ./src/jgmod.c ./src/maze_ai.cpp ./src/mengine.cpp ./src/msg.cpp ./src/JBdraw.cpp ./icon.rc ./magicmaze.png ./maze.dat + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YkGOjt + umask 022 + cd /builddir/build/BUILD + cd magicmaze + make -j4 -f makefile.unx PREFIX=/usr '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 -fasynchronous-unwind-tables -fstack-clash-protection -fsigned-char -Wno-deprecated-declarations -I/usr/include/gstream' g++ -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 -fsigned-char -Wno-deprecated-declarations -I/usr/include/gstream -Iinclude -DDATADIR=\"/usr/share/magicmaze/\" -o src/main.o -c src/main.cpp g++ -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 -fsigned-char -Wno-deprecated-declarations -I/usr/include/gstream -Iinclude -DDATADIR=\"/usr/share/magicmaze/\" -o src/3d.o -c src/3d.cpp g++ -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 -fsigned-char -Wno-deprecated-declarations -I/usr/include/gstream -Iinclude -DDATADIR=\"/usr/share/magicmaze/\" -o src/game.o -c src/game.cpp g++ -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 -fsigned-char -Wno-deprecated-declarations -I/usr/include/gstream -Iinclude -DDATADIR=\"/usr/share/magicmaze/\" -o src/hiscore.o -c src/hiscore.cpp BUILDSTDERR: In file included from /usr/include/c++/8/cmath:45, BUILDSTDERR: from /usr/include/c++/8/math.h:36, BUILDSTDERR: from src/3d.cpp:10: BUILDSTDERR: /usr/include/bits/mathcalls-narrow.h:24:20: error: conflicting declaration of C function 'float fadd(double, double)' BUILDSTDERR: __MATHCALL_NARROW (__MATHCALL_NAME (add), __MATHCALL_REDIR_NAME (add), 2); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from src/3d.cpp:9: BUILDSTDERR: /usr/include/allegro/alcompat.h:44:7: note: previous declaration 'fixed fadd(fixed, fixed)' BUILDSTDERR: AL_ALIAS(fixed fadd(fixed x, fixed y), fixadd(x, y)) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/c++/8/cmath:45, BUILDSTDERR: from /usr/include/c++/8/math.h:36, BUILDSTDERR: from src/3d.cpp:10: BUILDSTDERR: /usr/include/bits/mathcalls-narrow.h:27:20: error: conflicting declaration of C function 'float fsub(double, double)' BUILDSTDERR: __MATHCALL_NARROW (__MATHCALL_NAME (sub), __MATHCALL_REDIR_NAME (sub), 2); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from src/3d.cpp:9: BUILDSTDERR: /usr/include/allegro/alcompat.h:45:7: note: previous declaration 'fixed fsub(fixed, fixed)' BUILDSTDERR: AL_ALIAS(fixed fsub(fixed x, fixed y), fixsub(x, y)) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: make: *** [makefile.unx:15: src/3d.o] Error 1 BUILDSTDERR: make: *** Waiting for unfinished jobs.... BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.YkGOjt (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.YkGOjt (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/magicmaze.spec