Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/sdljava.spec'], chrootPath='/var/lib/mock/f33-build-201881-48096/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/sdljava.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 setting SOURCE_DATE_EPOCH=1583712000 Wrote: /builddir/build/SRPMS/sdljava-0.9.1-48.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sdljava.spec'], chrootPath='/var/lib/mock/f33-build-201881-48096/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sdljava.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 setting SOURCE_DATE_EPOCH=1583712000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.yH5AKU + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sdljava-0.9.1 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/sdljava-0.9.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd sdljava-0.9.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (sdljava-0.9.1-regen.patch):' 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 + echo 'Patch #1 (sdljava-0.9.1-ftgl213.patch):' 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 + echo 'Patch #2 (sdljava-0.9.1-ruby19.patch):' 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 ++ grep install ++ cut -f 2 -d ' ' + 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 + xargs sed -i -e 's|testdata|/usr/share/sdljava/testdata|g' + find ./testsrc -name '*.java' + 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.8Eg8BU + umask 022 + cd /builddir/build/BUILD + cd sdljava-0.9.1 + '[' -z '' ']' + export ARCH_DEFINE=-D__riscv64__ + ARCH_DEFINE=-D__riscv64__ ~/build/BUILD/sdljava-0.9.1/src/sdljava/native ~/build/BUILD/sdljava-0.9.1 + 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 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.8Eg8BU (%build) Bad exit status from /var/tmp/rpm-tmp.8Eg8BU (%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