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/atanks.spec'], chrootPath='/var/lib/mock/f29-build-7155-1762/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/atanks.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/atanks-6.5-6.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/atanks.spec'], chrootPath='/var/lib/mock/f29-build-7155-1762/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/atanks.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.9f4Bgp + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf atanks-6.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/atanks-6.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd atanks-6.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (atanks-remove-cxxflags-mangling.patch):' Patch #0 (atanks-remove-cxxflags-mangling.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1gAJPL + umask 022 + cd /builddir/build/BUILD + cd atanks-6.5 + CXXFLAGS='-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' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + make -j4 DEBUG=NO Compiling obj/aicore.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -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 -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/aicore.o -c src/aicore.cpp Compiling obj/atanks.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -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 -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/atanks.o -c src/atanks.cpp Compiling obj/beam.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -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 -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/beam.o -c src/beam.cpp Compiling obj/button.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -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 -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/button.o -c src/button.cpp BUILDSTDERR: In file included from /usr/include/c++/8/cmath:45, BUILDSTDERR: from src/main.h:72, BUILDSTDERR: from src/environment.h:24, BUILDSTDERR: from src/beam.cpp:20: 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/main.h:55, BUILDSTDERR: from src/environment.h:24, BUILDSTDERR: from src/beam.cpp:20: 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 src/main.h:72, BUILDSTDERR: from src/environment.h:24, BUILDSTDERR: from src/beam.cpp:20: BUILDSTDERR: /usr/include/bits/mathcalls-narrow.h:27:20: error: conflicting declaration of C function 'float fdiv(double, double)' BUILDSTDERR: __MATHCALL_NARROW (__MATHCALL_NAME (div), __MATHCALL_REDIR_NAME (div), 2); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from src/main.h:55, BUILDSTDERR: from src/environment.h:24, BUILDSTDERR: from src/beam.cpp:20: BUILDSTDERR: /usr/include/allegro/alcompat.h:47:7: note: previous declaration 'fixed fdiv(fixed, fixed)' BUILDSTDERR: AL_ALIAS(fixed fdiv(fixed x, fixed y), fixdiv(x, y)) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/c++/8/cmath:45, BUILDSTDERR: from src/main.h:72, BUILDSTDERR: from src/environment.h:24, BUILDSTDERR: from src/beam.cpp:20: BUILDSTDERR: /usr/include/bits/mathcalls-narrow.h:30:20: error: conflicting declaration of C function 'float fmul(double, double)' BUILDSTDERR: __MATHCALL_NARROW (__MATHCALL_NAME (mul), __MATHCALL_REDIR_NAME (mul), 2); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from src/main.h:55, BUILDSTDERR: from src/environment.h:24, BUILDSTDERR: from src/beam.cpp:20: BUILDSTDERR: /usr/include/allegro/alcompat.h:46:7: note: previous declaration 'fixed fmul(fixed, fixed)' BUILDSTDERR: AL_ALIAS(fixed fmul(fixed x, fixed y), fixmul(x, y)) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/c++/8/cmath:45, BUILDSTDERR: from src/main.h:72, BUILDSTDERR: from src/environment.h:24, BUILDSTDERR: from src/beam.cpp:20: BUILDSTDERR: /usr/include/bits/mathcalls-narrow.h:33: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/main.h:55, BUILDSTDERR: from src/environment.h:24, BUILDSTDERR: from src/beam.cpp:20: 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: In file included from /usr/include/c++/8/cmath:45, BUILDSTDERR: from src/main.h:72, BUILDSTDERR: from src/button.h:4, BUILDSTDERR: from src/button.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/main.h:55, BUILDSTDERR: from src/button.h:4, BUILDSTDERR: from src/button.cpp:10: 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 src/main.h:72, BUILDSTDERR: from src/button.h:4, BUILDSTDERR: from src/button.cpp:10: BUILDSTDERR: /usr/include/bits/mathcalls-narrow.h:27:20: error: conflicting declaration of C function 'float fdiv(double, double)' BUILDSTDERR: __MATHCALL_NARROW (__MATHCALL_NAME (div), __MATHCALL_REDIR_NAME (div), 2); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from src/main.h:55, BUILDSTDERR: from src/button.h:4, BUILDSTDERR: from src/button.cpp:10: BUILDSTDERR: /usr/include/allegro/alcompat.h:47:7: note: previous declaration 'fixed fdiv(fixed, fixed)' BUILDSTDERR: AL_ALIAS(fixed fdiv(fixed x, fixed y), fixdiv(x, y)) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/c++/8/cmath:45, BUILDSTDERR: from src/main.h:72, BUILDSTDERR: from src/button.h:4, BUILDSTDERR: from src/button.cpp:10: BUILDSTDERR: /usr/include/bits/mathcalls-narrow.h:30:20: error: conflicting declaration of C function 'float fmul(double, double)' BUILDSTDERR: __MATHCALL_NARROW (__MATHCALL_NAME (mul), __MATHCALL_REDIR_NAME (mul), 2); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from src/main.h:55, BUILDSTDERR: from src/button.h:4, BUILDSTDERR: from src/button.cpp:10: BUILDSTDERR: /usr/include/allegro/alcompat.h:46:7: note: previous declaration 'fixed fmul(fixed, fixed)' BUILDSTDERR: AL_ALIAS(fixed fmul(fixed x, fixed y), fixmul(x, y)) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/c++/8/cmath:45, BUILDSTDERR: from src/main.h:72, BUILDSTDERR: from src/button.h:4, BUILDSTDERR: from src/button.cpp:10: BUILDSTDERR: /usr/include/bits/mathcalls-narrow.h:33: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/main.h:55, BUILDSTDERR: from src/button.h:4, BUILDSTDERR: from src/button.cpp:10: 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: In file included from /usr/include/c++/8/cmath:45, BUILDSTDERR: from src/main.h:72, BUILDSTDERR: from src/player_types.h:9, BUILDSTDERR: from src/aicore.h:45, BUILDSTDERR: from src/aicore.cpp:1: 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/main.h:55, BUILDSTDERR: from src/player_types.h:9, BUILDSTDERR: from src/aicore.h:45, BUILDSTDERR: from src/aicore.cpp:1: 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 src/main.h:72, BUILDSTDERR: from src/player_types.h:9, BUILDSTDERR: from src/aicore.h:45, BUILDSTDERR: from src/aicore.cpp:1: BUILDSTDERR: /usr/include/bits/mathcalls-narrow.h:27:20: error: conflicting declaration of C function 'float fdiv(double, double)' BUILDSTDERR: __MATHCALL_NARROW (__MATHCALL_NAME (div), __MATHCALL_REDIR_NAME (div), 2); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from src/main.h:55, BUILDSTDERR: from src/player_types.h:9, BUILDSTDERR: from src/aicore.h:45, BUILDSTDERR: from src/aicore.cpp:1: BUILDSTDERR: /usr/include/allegro/alcompat.h:47:7: note: previous declaration 'fixed fdiv(fixed, fixed)' BUILDSTDERR: AL_ALIAS(fixed fdiv(fixed x, fixed y), fixdiv(x, y)) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/c++/8/cmath:45, BUILDSTDERR: from src/main.h:72, BUILDSTDERR: from src/player_types.h:9, BUILDSTDERR: from src/aicore.h:45, BUILDSTDERR: from src/aicore.cpp:1: BUILDSTDERR: /usr/include/bits/mathcalls-narrow.h:30:20: error: conflicting declaration of C function 'float fmul(double, double)' BUILDSTDERR: __MATHCALL_NARROW (__MATHCALL_NAME (mul), __MATHCALL_REDIR_NAME (mul), 2); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from src/main.h:55, BUILDSTDERR: from src/player_types.h:9, BUILDSTDERR: from src/aicore.h:45, BUILDSTDERR: from src/aicore.cpp:1: BUILDSTDERR: /usr/include/allegro/alcompat.h:46:7: note: previous declaration 'fixed fmul(fixed, fixed)' BUILDSTDERR: AL_ALIAS(fixed fmul(fixed x, fixed y), fixmul(x, y)) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/c++/8/cmath:45, BUILDSTDERR: from src/main.h:72, BUILDSTDERR: from src/player_types.h:9, BUILDSTDERR: from src/aicore.h:45, BUILDSTDERR: from src/aicore.cpp:1: BUILDSTDERR: /usr/include/bits/mathcalls-narrow.h:33: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/main.h:55, BUILDSTDERR: from src/player_types.h:9, BUILDSTDERR: from src/aicore.h:45, BUILDSTDERR: from src/aicore.cpp:1: 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: In file included from /usr/include/c++/8/cmath:45, BUILDSTDERR: from src/main.h:72, BUILDSTDERR: from src/globaldata.h:23, BUILDSTDERR: from src/globals.h:5, BUILDSTDERR: from src/atanks.cpp:23: 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/main.h:55, BUILDSTDERR: from src/globaldata.h:23, BUILDSTDERR: from src/globals.h:5, BUILDSTDERR: from src/atanks.cpp:23: 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 src/main.h:72, BUILDSTDERR: from src/globaldata.h:23, BUILDSTDERR: from src/globals.h:5, BUILDSTDERR: from src/atanks.cpp:23: BUILDSTDERR: /usr/include/bits/mathcalls-narrow.h:27:20: error: conflicting declaration of C function 'float fdiv(double, double)' BUILDSTDERR: __MATHCALL_NARROW (__MATHCALL_NAME (div), __MATHCALL_REDIR_NAME (div), 2); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from src/main.h:55, BUILDSTDERR: from src/globaldata.h:23, BUILDSTDERR: from src/globals.h:5, BUILDSTDERR: from src/atanks.cpp:23: BUILDSTDERR: /usr/include/allegro/alcompat.h:47:7: note: previous declaration 'fixed fdiv(fixed, fixed)' BUILDSTDERR: AL_ALIAS(fixed fdiv(fixed x, fixed y), fixdiv(x, y)) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/c++/8/cmath:45, BUILDSTDERR: from src/main.h:72, BUILDSTDERR: from src/globaldata.h:23, BUILDSTDERR: from src/globals.h:5, BUILDSTDERR: from src/atanks.cpp:23: BUILDSTDERR: /usr/include/bits/mathcalls-narrow.h:30:20: error: conflicting declaration of C function 'float fmul(double, double)' BUILDSTDERR: __MATHCALL_NARROW (__MATHCALL_NAME (mul), __MATHCALL_REDIR_NAME (mul), 2); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from src/main.h:55, BUILDSTDERR: from src/globaldata.h:23, BUILDSTDERR: from src/globals.h:5, BUILDSTDERR: from src/atanks.cpp:23: BUILDSTDERR: /usr/include/allegro/alcompat.h:46:7: note: previous declaration 'fixed fmul(fixed, fixed)' BUILDSTDERR: AL_ALIAS(fixed fmul(fixed x, fixed y), fixmul(x, y)) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/c++/8/cmath:45, BUILDSTDERR: from src/main.h:72, BUILDSTDERR: from src/globaldata.h:23, BUILDSTDERR: from src/globals.h:5, BUILDSTDERR: from src/atanks.cpp:23: BUILDSTDERR: /usr/include/bits/mathcalls-narrow.h:33: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/main.h:55, BUILDSTDERR: from src/globaldata.h:23, BUILDSTDERR: from src/globals.h:5, BUILDSTDERR: from src/atanks.cpp:23: 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: src/beam.cpp: In member function 'virtual void BEAM::applyPhysics()': BUILDSTDERR: src/beam.cpp:201:18: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] BUILDSTDERR: } catch (std::exception) { BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: src/beam.cpp:211:17: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] BUILDSTDERR: } catch (std::exception) { BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from src/menu.h:24, BUILDSTDERR: from src/optionscreens.h:28, BUILDSTDERR: from src/atanks.cpp:24: BUILDSTDERR: src/optionitem.h: In constructor 'OptionItem::OptionItem(int32_t, tgt_T*, int32_t (*)(tgt_T*, int32_t), const char*, int32_t, BUTTON*, int32_t, int32_t, int32_t, int32_t, int32_t)': BUILDSTDERR: src/optionitem.h:304:16: warning: invalid use of incomplete type 'class BUTTON' BUILDSTDERR: this->button->getLocation(this->left, this->top, this->width, this->height); BUILDSTDERR: ^~ BUILDSTDERR: In file included from src/optionitem.h:24, BUILDSTDERR: from src/menu.h:24, BUILDSTDERR: from src/optionscreens.h:28, BUILDSTDERR: from src/atanks.cpp:24: BUILDSTDERR: src/optionitembase.h:40:7: note: forward declaration of 'class BUTTON' BUILDSTDERR: class BUTTON; BUILDSTDERR: ^~~~~~ BUILDSTDERR: src/beam.cpp: In member function 'void BEAM::createBeamPath()': BUILDSTDERR: src/beam.cpp:271:17: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] BUILDSTDERR: } catch (std::exception) { BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: make: *** [Makefile:285: obj/button.o] Error 1 BUILDSTDERR: make: *** Waiting for unfinished jobs.... BUILDSTDERR: make: *** [Makefile:285: obj/beam.o] Error 1 BUILDSTDERR: make: *** [Makefile:285: obj/aicore.o] Error 1 BUILDSTDERR: make: *** [Makefile:285: obj/atanks.o] Error 1 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.1gAJPL (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.1gAJPL (%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/atanks.spec