Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/quake3.spec'], chrootPath='/var/lib/mock/f31-build-108001-33720/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=986gid=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=1564099200 Wrote: /builddir/build/SRPMS/quake3-1.36-34.svn2102.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/quake3.spec'], chrootPath='/var/lib/mock/f31-build-108001-33720/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=986gid=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=1564099200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GK8DyI + 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):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #1 (quake3-1.34-rc4-demo-pak.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #2 (0011-Double-the-maximum-number-of-cvars.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #3 (0012-Increase-the-command-buffer-from-16K-to-128K-followi.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #4 (quake3-1.36-build.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #5 (quake3-fastcall.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #6 (quake3-aarch64.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #7 (quake3-1.36-unaligned-qvm.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + cp -p /builddir/build/SOURCES/jpeg_memsrc.h /builddir/build/SOURCES/jpeg_memsrc.c ./code/renderer/ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (quake3-1.36-syslibs.patch): patching file code/renderer/tr_image_jpg.c Patch #1 (quake3-1.34-rc4-demo-pak.patch): patching file code/qcommon/files.c Patch #2 (0011-Double-the-maximum-number-of-cvars.patch): patching file code/qcommon/cvar.c Patch #3 (0012-Increase-the-command-buffer-from-16K-to-128K-followi.patch): patching file code/qcommon/cmd.c Patch #4 (quake3-1.36-build.patch): patching file code/qcommon/q_platform.h Patch #5 (quake3-fastcall.patch): patching file code/asm/vm_x86_64.asm patching file code/qcommon/vm_x86.c Patch #6 (quake3-aarch64.patch): patching file code/qcommon/q_platform.h Patch #7 (quake3-1.36-unaligned-qvm.patch): patching file code/qcommon/vm.c patching file code/qcommon/vm_interpreted.c patching file code/qcommon/vm_local.h Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.TpaJJJ + umask 022 + cd /builddir/build/BUILD + cd quake3-1.36 + make -j4 'OPTIMIZE=-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' 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 BUILDSTDERR: In file included from code/server/../qcommon/q_shared.h:169, BUILDSTDERR: from code/server/server.h:24, BUILDSTDERR: from code/server/sv_ccmds.c:23: BUILDSTDERR: code/server/../qcommon/q_platform.h:328:2: error: #error "Architecture not supported" BUILDSTDERR: 328 | #error "Architecture not supported" BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from code/server/../qcommon/q_shared.h:169, BUILDSTDERR: from code/server/server.h:24, BUILDSTDERR: from code/server/sv_client.c:24: BUILDSTDERR: code/server/../qcommon/q_platform.h:328:2: error: #error "Architecture not supported" BUILDSTDERR: 328 | #error "Architecture not supported" BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from code/server/../qcommon/q_shared.h:169, BUILDSTDERR: from code/server/server.h:24, BUILDSTDERR: from code/server/sv_game.c:24: BUILDSTDERR: code/server/../qcommon/q_platform.h:328:2: error: #error "Architecture not supported" BUILDSTDERR: 328 | #error "Architecture not supported" BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from code/server/../qcommon/q_shared.h:169, BUILDSTDERR: from code/server/server.h:24, BUILDSTDERR: from code/server/sv_bot.c:24: BUILDSTDERR: code/server/../qcommon/q_platform.h:328:2: error: #error "Architecture not supported" BUILDSTDERR: 328 | #error "Architecture not supported" BUILDSTDERR: | ^~~~~ BUILDSTDERR: make[2]: *** [Makefile:2214: build/release-linux-riscv64/ded/sv_bot.o] Error 1 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... BUILDSTDERR: make[2]: *** [Makefile:2214: build/release-linux-riscv64/ded/sv_game.o] Error 1 BUILDSTDERR: make[2]: *** [Makefile:2214: build/release-linux-riscv64/ded/sv_ccmds.o] Error 1 BUILDSTDERR: make[2]: *** [Makefile:2214: build/release-linux-riscv64/ded/sv_client.o] Error 1 BUILDSTDERR: make[1]: *** [Makefile:1093: targets] Error 2 BUILDSTDERR: make: *** [Makefile:1055: release] Error 2 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 -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 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_client.c DED_CC code/server/sv_game.c DED_CC code/server/sv_ccmds.c make[2]: Leaving directory '/builddir/build/BUILD/quake3-1.36' make[1]: Leaving directory '/builddir/build/BUILD/quake3-1.36' RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.TpaJJJ (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.TpaJJJ (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 700, 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/quake3.spec