Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/quake3.spec'], chrootPath='/var/lib/mock/f37-build-675275-75947/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': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658534400 Wrote: /builddir/build/SRPMS/quake3-1.36-41.svn2102.fc37.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/f37-build-675275-75947/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': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.D7hNnb + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf quake3-1.36 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/quake3-1.36-svn2102.tar.bz2 + 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 -f -p1 --fuzz=0 patching file code/renderer/tr_image_jpg.c + echo 'Patch #1 (quake3-1.34-rc4-demo-pak.patch):' Patch #1 (quake3-1.34-rc4-demo-pak.patch): + /usr/bin/patch --no-backup-if-mismatch -f -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 -f -p1 --fuzz=0 patching file code/qcommon/cvar.c Patch #3 (0012-Increase-the-command-buffer-from-16K-to-128K-followi.patch): + echo 'Patch #3 (0012-Increase-the-command-buffer-from-16K-to-128K-followi.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -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 -f -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 -f -p1 --fuzz=0 patching file code/asm/vm_x86_64.asm patching file code/qcommon/vm_x86.c Patch #6 (quake3-aarch64.patch): + echo 'Patch #6 (quake3-aarch64.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -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 -f -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.g9CL2R + umask 022 + cd /builddir/build/BUILD + 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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + 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: gcc 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 -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: -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes LIBS: -ldl -lm -lz CLIENT_LIBS: -lSDL -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 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" | ^~~~~ 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" | ^~~~~ make[2]: *** [Makefile:2214: build/release-linux-riscv64/ded/sv_ccmds.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [Makefile:2214: build/release-linux-riscv64/ded/sv_game.o] Error 1 make[2]: *** [Makefile:2214: build/release-linux-riscv64/ded/sv_client.o] Error 1 make[2]: *** [Makefile:2214: build/release-linux-riscv64/ded/sv_bot.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/quake3-1.36' make[1]: *** [Makefile:1093: targets] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/quake3-1.36' make: *** [Makefile:1055: release] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.g9CL2R (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.g9CL2R (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, 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