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-538440-65028/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=1595980800 Wrote: /builddir/build/SRPMS/sdljava-0.9.1-50.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-538440-65028/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=1595980800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.4inyPd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sdljava-0.9.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/sdljava-0.9.1.tar.gz + /usr/bin/tar -xof - + 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 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 ++ 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 + 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.23GMff + umask 022 + cd /builddir/build/BUILD + cd sdljava-0.9.1 + '[' -z '' ']' + export ARCH_DEFINE=-D__riscv64__ + ARCH_DEFINE=-D__riscv64__ + export JAVA_HOME=/usr/lib/jvm/java + JAVA_HOME=/usr/lib/jvm/java + pushd src/sdljava/native ~/build/BUILD/sdljava-0.9.1/src/sdljava/native ~/build/BUILD/sdljava-0.9.1 + make 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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.23GMff (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.23GMff (%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