Patch #0 (sdljava-0.9.1-regen.patch): + echo 'Patch #0 (sdljava-0.9.1-regen.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .regen --fuzz=0 patching file etc/build/linux/Makefile patching file etc/build/gljava/linux/Makefile patching file etc/build/gljava/linux/ftgl/Makefile Patch #1 (sdljava-0.9.1-ftgl213.patch): + echo 'Patch #1 (sdljava-0.9.1-ftgl213.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/org/gljava/opengl/native/ftgl/FTFont.i patching file src/org/gljava/opengl/native/ftgl/FTGL.i Patch #2 (sdljava-0.9.1-ruby19.patch): + echo 'Patch #2 (sdljava-0.9.1-ruby19.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/org/gljava/opengl/native/ftgl/post-process.rb + find -name '*.jar' -or -name '*.class' -or -name '*.bat' -name '*.so' -delete + rm -r etc/build/gljava/windows etc/build/windows + rm src/org/gljava/opengl/ftgl/FTFace.java + iconv -f ISO_8859-2 -t UTF8 docs/CHANGES_0_9_1 + touch -r docs/CHANGES_0_9_1 docs/CHANGES_0_9_1.tmp + mv docs/CHANGES_0_9_1.tmp docs/CHANGES_0_9_1 ++ gcc -print-search-dirs ++ cut -f 2 -d ' ' ++ grep install + GCC_PATH=/usr/lib/gcc/riscv64-redhat-linux/10/ + sed -i s#@GCC_INCLUDE_PATH@#/usr/lib/gcc/riscv64-redhat-linux/10//include#g etc/build/linux/Makefile etc/build/gljava/linux/Makefile etc/build/gljava/linux/ftgl/Makefile + find ./testsrc -name '*.java' + xargs sed -i -e 's|testdata|/usr/share/sdljava/testdata|g' + build-jar-repository -p lib jdom bsh + cp etc/build/linux/Makefile src/sdljava/native + cp etc/build/gljava/linux/Makefile src/org/gljava/opengl/native + cp etc/build/gljava/linux/ftgl/Makefile src/org/gljava/opengl/native/ftgl + rm src/sdljava/native/SDLAudio_wrap.c src/sdljava/native/SDLCdrom_wrap.c src/sdljava/native/SDLEvent_wrap.c src/sdljava/native/SDLGFX_wrap.c src/sdljava/native/SDLImage_wrap.c src/sdljava/native/SDLJoystick_wrap.c src/sdljava/native/SDLMain_wrap.c src/sdljava/native/SDLMixer_wrap.c src/sdljava/native/SDLTTF_wrap.c src/sdljava/native/SDLVideo_wrap.c src/sdljava/native/SDL_types.h + rm src/org/gljava/opengl/native/glew_wrap.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.TXaD5J + umask 022 + cd /builddir/build/BUILD + cd sdljava-0.9.1 + '[' -z '' ']' + export ARCH_DEFINE=-D__riscv64__ ~/build/BUILD/sdljava-0.9.1/src/sdljava/native ~/build/BUILD/sdljava-0.9.1 + ARCH_DEFINE=-D__riscv64__ + export JAVA_HOME=/usr/lib/jvm/java + JAVA_HOME=/usr/lib/jvm/java + pushd src/sdljava/native + make '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 -fno-strict-aliasing -fPIC' swig -I. -I/usr/lib/jvm/java/include -I/usr/lib/jvm/java/include/linux -I/usr/include -I/usr/include/SDL -I/usr/lib/gcc/riscv64-redhat-linux/10//include -D__NO_CTYPE -D_ISbit -D__riscv64__ -importall -java -package sdljava.x.swig -outdir ../x/swig SDLAudio.i /usr/include/SDL/SDL_config.h:77: Error: CPP #error ""The SDL-devel package is not usable with the architecture."". Use the -cpperraswarn option to continue swig processing. make: *** [Makefile:50: SDLAudio_wrap.c] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.TXaD5J (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.TXaD5J (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status 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/sdljava.spec