STDERR: In file included from /usr/include/allegro/base.h:41, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from fading.cpp:31: 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 fading.cpp:32: 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 fading.cpp:31: 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 /usr/include/c++/8/math.h:36, BUILDSTDERR: from fading.cpp:32: 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 fading.cpp:31: 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 /usr/include/c++/8/math.h:36, BUILDSTDERR: from fading.cpp:32: 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 fading.cpp:31: 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[2]: *** [Makefile:548: desertbackground.o] Error 1 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/builddir/build/BUILD/ballz-1.0.3/src' BUILDSTDERR: make[2]: *** [Makefile:548: fading.o] Error 1 BUILDSTDERR: make[1]: *** [Makefile:392: all] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/ballz-1.0.3/src' BUILDSTDERR: make: *** [Makefile:358: all-recursive] Error 1 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.nbjeMn (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.nbjeMn (%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/ballz.spec