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/quake3.spec'], chrootPath='/var/lib/mock/f33-build-400971-62558/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/quake3.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=1596240000 Wrote: /builddir/build/SRPMS/quake3-1.36-37.svn2102.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/quake3.spec'], chrootPath='/var/lib/mock/f33-build-400971-62558/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/quake3.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=1596240000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.btwOM4 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf quake3-1.36 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/quake3-1.36-svn2102.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd quake3-1.36 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (quake3-1.36-syslibs.patch):' Patch #0 (quake3-1.36-syslibs.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file code/renderer/tr_image_jpg.c Patch #1 (quake3-1.34-rc4-demo-pak.patch): + echo 'Patch #1 (quake3-1.34-rc4-demo-pak.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file code/qcommon/files.c Patch #2 (0011-Double-the-maximum-number-of-cvars.patch): + echo 'Patch #2 (0011-Double-the-maximum-number-of-cvars.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file code/qcommon/cvar.c + echo 'Patch #3 (0012-Increase-the-command-buffer-from-16K-to-128K-followi.patch):' Patch #3 (0012-Increase-the-command-buffer-from-16K-to-128K-followi.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file code/qcommon/cmd.c Patch #4 (quake3-1.36-build.patch): + echo 'Patch #4 (quake3-1.36-build.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file code/qcommon/q_platform.h Patch #5 (quake3-fastcall.patch): + echo 'Patch #5 (quake3-fastcall.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file code/asm/vm_x86_64.asm patching file code/qcommon/vm_x86.c + echo 'Patch #6 (quake3-aarch64.patch):' Patch #6 (quake3-aarch64.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file code/qcommon/q_platform.h Patch #7 (quake3-1.36-unaligned-qvm.patch): + echo 'Patch #7 (quake3-1.36-unaligned-qvm.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file code/qcommon/vm.c patching file code/qcommon/vm_interpreted.c patching file code/qcommon/vm_local.h + cp -p /builddir/build/SOURCES/jpeg_memsrc.h /builddir/build/SOURCES/jpeg_memsrc.c ./code/renderer/ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IiHz92 + umask 022 + cd /builddir/build/BUILD + cd quake3-1.36 + make -j4 'OPTIMIZE=-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' DEFAULT_BASEDIR=/usr/share/quake3 USE_CODEC_VORBIS=1 USE_LOCAL_HEADERS=0 BUILD_GAME_SO=0 GENERATE_DEPENDENCIES=0 USE_INTERNAL_SPEEX=0 USE_INTERNAL_ZLIB=0 USE_INTERNAL_JPEG=0 BUILD_CLIENT_SMP=1 CROSS_COMPILING=1 make[1]: Entering directory '/builddir/build/BUILD/quake3-1.36' Building ioquake3 in build/release-linux-riscv64: PLATFORM: linux ARCH: riscv64 VERSION: 1.36 COMPILE_PLATFORM: linux COMPILE_ARCH: riscv64 CC: cc CFLAGS: -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes -pipe -DUSE_ICON -DNO_VM_COMPILED -DDEFAULT_BASEDIR="/usr/share/quake3" -DPRODUCT_VERSION="1.36" -Wformat=2 -Wno-format-zero-length -Wformat-security -Wno-format-nonliteral -Wstrict-aliasing=2 -Wmissing-format-attribute -Wdisabled-optimization -Werror-implicit-function-declaration -DNDEBUG -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 CLIENT_CFLAGS: -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_OPENAL -DUSE_OPENAL_DLOPEN -DUSE_CURL -DUSE_CURL_DLOPEN -DUSE_CODEC_VORBIS -DUSE_MUMBLE -DUSE_VOIP SERVER_CFLAGS: -DUSE_VOIP LDFLAGS: LIBS: -ldl -lm -lz CLIENT_LIBS: -lSDL -lpthread -lGL -lvorbisfile -lvorbis -logg -lrt -lspeex -lspeexdsp -ljpeg Output: build/release-linux-riscv64/ioq3ded.riscv64 build/release-linux-riscv64/ioquake3.riscv64 build/release-linux-riscv64/ioquake3-smp.riscv64 make[2]: Entering directory '/builddir/build/BUILD/quake3-1.36' DED_CC code/server/sv_bot.c DED_CC code/server/sv_game.c DED_CC code/server/sv_client.c DED_CC code/server/sv_ccmds.c In file included from code/server/../qcommon/q_shared.h:169, from code/server/server.h:24, from code/server/sv_ccmds.c:23: code/server/../qcommon/q_platform.h:328:2: error: #error "Architecture not supported" 328 | #error "Architecture not supported" | ^~~~~ In file included from code/server/../qcommon/q_shared.h:169, from code/server/server.h:24, from code/server/sv_game.c:24: code/server/../qcommon/q_platform.h:328:2: error: #error "Architecture not supported" 328 | #error "Architecture not supported" | ^~~~~ In file included from code/server/../qcommon/q_shared.h:169, from code/server/server.h:24, from code/server/sv_bot.c:24: code/server/../qcommon/q_platform.h:328:2: error: #error "Architecture not supported" 328 | #error "Architecture not supported" | ^~~~~ In file included from code/server/../qcommon/q_shared.h:169, from code/server/server.h:24, from code/server/sv_client.c:24: code/server/../qcommon/q_platform.h:328:2: error: #error "Architecture not supported" 328 | #error "Architecture not supported" | ^~~~~ make[2]: *** [Makefile:2214: build/release-linux-riscv64/ded/sv_game.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [Makefile:2214: build/release-linux-riscv64/ded/sv_ccmds.o] Error 1 make[2]: *** [Makefile:2214: build/release-linux-riscv64/ded/sv_bot.o] Error 1 make[2]: *** [Makefile:2214: build/release-linux-riscv64/ded/sv_client.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/quake3-1.36' make[1]: Leaving directory '/builddir/build/BUILD/quake3-1.36' make[1]: *** [Makefile:1093: targets] Error 2 make: *** [Makefile:1055: release] Error 2 error: RPM build errors: Bad exit status from /var/tmp/rpm-tmp.IiHz92 (%build) Bad exit status from /var/tmp/rpm-tmp.IiHz92 (%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/quake3.spec