Mock Version: 2.4 Mock Version: 2.4 Mock Version: 2.4 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-565037-65909/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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'}shell=Falselogger=timeout=604800uid=998gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zlln2_iy:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zlln2_iy:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '9d6ae4bfb8e7469d9faa9c886993bdf3', '-D', '/var/lib/mock/f33-build-565037-65909/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zlln2_iy:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--setenv=SYSTEMD_NSPAWN_TMPFS_TMP=0', '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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} 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-565037-65909/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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'}shell=Falselogger=timeout=604800uid=998gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zlln2_iy:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zlln2_iy:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'ee947b7c51bf416b8772d1270d2e9fcd', '-D', '/var/lib/mock/f33-build-565037-65909/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zlln2_iy:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--setenv=SYSTEMD_NSPAWN_TMPFS_TMP=0', '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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} 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.cGSWMt + 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 + 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 -p1 --fuzz=0 patching file code/qcommon/files.c + echo 'Patch #2 (0011-Double-the-maximum-number-of-cvars.patch):' 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 + echo 'Patch #4 (quake3-1.36-build.patch):' Patch #4 (quake3-1.36-build.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file code/qcommon/q_platform.h + echo 'Patch #5 (quake3-fastcall.patch):' 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 + echo 'Patch #7 (quake3-1.36-unaligned-qvm.patch):' 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.oJ4Skv + 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_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_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_game.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_bot.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_client.o] Error 1 make[2]: *** [Makefile:2214: build/release-linux-riscv64/ded/sv_game.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: Bad exit status from /var/tmp/rpm-tmp.oJ4Skv (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.oJ4Skv (%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 776, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M ee947b7c51bf416b8772d1270d2e9fcd -D /var/lib/mock/f33-build-565037-65909/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.zlln2_iy:/etc/resolv.conf --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=C.UTF-8 --setenv=SYSTEMD_NSPAWN_TMPFS_TMP=0 bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/quake3.spec