Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/quake3.spec'], chrootPath='/var/lib/mock/f40-build-1793347-24860/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=864000uid=997gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.op_w0e7j:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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.op_w0e7j:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', 'a5445d8e8ff84c9ba8594ec5ba8540a0', '-D', '/var/lib/mock/f40-build-1793347-24860/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.op_w0e7j:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '--console=pipe', '--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', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --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', 'SYSTEMD_SECCOMP': '0'} and shell False warning: %patchN is deprecated (8 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706227200 Wrote: /builddir/build/SRPMS/quake3-1.36-46.svn2102.fc40.src.rpm RPM build warnings: %patchN is deprecated (8 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/quake3.spec'], chrootPath='/var/lib/mock/f40-build-1793347-24860/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=864000uid=997gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.op_w0e7j:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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.op_w0e7j:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '82766d069c4b49919d4a995f97faab50', '-D', '/var/lib/mock/f40-build-1793347-24860/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.op_w0e7j:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '--console=pipe', '--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', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --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', 'SYSTEMD_SECCOMP': '0'} and shell False warning: %patchN is deprecated (8 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706227200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.OYPBKs + 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 + rm -rf /builddir/build/BUILD/quake3-1.36-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/quake3-1.36-SPECPARTS + /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 + 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 -f -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 -f -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 -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 + echo 'Patch #6 (quake3-aarch64.patch):' 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.98np8o + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -j32 'OPTIMIZE=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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-errors -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_ccmds.c DED_CC code/server/sv_init.c DED_CC code/server/sv_game.c DED_CC code/server/sv_net_chan.c DED_CC code/server/sv_main.c DED_CC code/server/sv_snapshot.c DED_CC code/server/sv_world.c DED_CC code/qcommon/cm_load.c DED_CC code/qcommon/cm_patch.c DED_CC code/qcommon/cm_polylib.c DED_CC code/qcommon/cm_test.c DED_CC code/qcommon/cm_trace.c DED_CC code/qcommon/cmd.c DED_CC code/qcommon/common.c DED_CC code/qcommon/cvar.c DED_CC code/qcommon/files.c DED_CC code/qcommon/md4.c DED_CC code/qcommon/msg.c DED_CC code/qcommon/net_chan.c DED_CC code/qcommon/net_ip.c DED_CC code/qcommon/huffman.c DED_CC code/qcommon/unzip.c DED_CC code/qcommon/q_shared.c DED_CC code/qcommon/q_math.c DED_CC code/qcommon/ioapi.c DED_CC code/qcommon/vm.c BOT_CC code/botlib/be_aas_bspq3.c DED_CC code/qcommon/vm_interpreted.c BOT_CC code/botlib/be_aas_cluster.c BOT_CC code/botlib/be_aas_debug.c In file included from code/server/../qcommon/q_shared.h:169, from code/server/server.h:24, from code/server/sv_world.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/qcommon/q_shared.h:169, from code/qcommon/cm_local.h:23, from code/qcommon/cm_trace.c:22: code/qcommon/q_platform.h:328:2: error: #error "Architecture not supported" 328 | #error "Architecture not supported" | ^~~~~ In file included from code/botlib/../qcommon/q_shared.h:169, from code/botlib/be_aas_debug.c:32: code/botlib/../qcommon/q_platform.h:328:2: error: #error "Architecture not supported" 328 | #error "Architecture not supported" | ^~~~~ In file included from code/qcommon/q_shared.h:169, from code/qcommon/vm_local.h:22, from code/qcommon/vm.c:36: code/qcommon/q_platform.h:328:2: error: #error "Architecture not supported" 328 | #error "Architecture not supported" | ^~~~~ In file included from code/qcommon/q_shared.h:169, from code/qcommon/huffman.c:27: code/qcommon/q_platform.h:328:2: error: #error "Architecture not supported" 328 | #error "Architecture not supported" | ^~~~~ In file included from code/qcommon/q_shared.h:169, from code/qcommon/cm_local.h:23, from code/qcommon/cm_polylib.c:26: code/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/qcommon/q_shared.h:169, from code/qcommon/msg.c:22: code/qcommon/q_platform.h:328:2: error: #error "Architecture not supported" 328 | #error "Architecture not supported" | ^~~~~ In file included from code/qcommon/q_shared.h:169, from code/qcommon/cvar.c:24: code/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/qcommon/../qcommon/q_shared.h:169, from code/qcommon/net_ip.c:23: code/qcommon/../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/sv_net_chan.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_init.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/botlib/../qcommon/q_shared.h:169, from code/botlib/be_aas_cluster.c:32: code/botlib/../qcommon/q_platform.h:328:2: error: #error "Architecture not supported" 328 | #error "Architecture not supported" | ^~~~~ In file included from code/qcommon/../qcommon/q_shared.h:169, from code/qcommon/unzip.c:38: code/qcommon/../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_snapshot.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/qcommon/q_shared.h:169, from code/qcommon/cm_local.h:23, from code/qcommon/cm_load.c:24: code/qcommon/q_platform.h:328:2: error: #error "Architecture not supported" 328 | #error "Architecture not supported" | ^~~~~ In file included from code/qcommon/q_shared.h:169, from code/qcommon/common.c:24: code/qcommon/q_platform.h:328:2: error: #error "Architecture not supported" 328 | #error "Architecture not supported" | ^~~~~ In file included from code/qcommon/q_shared.h:169, from code/qcommon/files.c:32: code/qcommon/q_platform.h:328:2: error: #error "Architecture not supported" 328 | #error "Architecture not supported" | ^~~~~ In file included from code/qcommon/q_shared.h:169, from code/qcommon/cmd.c:24: code/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" | ^~~~~ In file included from code/server/../qcommon/q_shared.h:169, from code/server/server.h:24, from code/server/sv_main.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/qcommon/q_shared.h:169, from code/qcommon/vm_local.h:22, from code/qcommon/vm_interpreted.c:22: code/qcommon/q_platform.h:328:2: error: #error "Architecture not supported" 328 | #error "Architecture not supported" | ^~~~~ In file included from code/qcommon/q_shared.h:169, from code/qcommon/cm_local.h:23, from code/qcommon/cm_test.c:22: code/qcommon/q_platform.h:328:2: error: #error "Architecture not supported" 328 | #error "Architecture not supported" | ^~~~~ In file included from code/botlib/../qcommon/q_shared.h:169, from code/botlib/be_aas_bspq3.c:32: code/botlib/../qcommon/q_platform.h:328:2: error: #error "Architecture not supported" 328 | #error "Architecture not supported" | ^~~~~ In file included from code/qcommon/q_shared.h:169, from code/qcommon/md4.c:30: code/qcommon/q_platform.h:328:2: error: #error "Architecture not supported" 328 | #error "Architecture not supported" | ^~~~~ In file included from code/qcommon/q_shared.h:169, from code/qcommon/q_math.c:32: code/qcommon/q_platform.h:328:2: error: #error "Architecture not supported" 328 | #error "Architecture not supported" | ^~~~~ In file included from code/qcommon/q_shared.h:169, from code/qcommon/cm_local.h:23, from code/qcommon/cm_patch.c:23: code/qcommon/q_platform.h:328:2: error: #error "Architecture not supported" 328 | #error "Architecture not supported" | ^~~~~ code/qcommon/cmd.c: In function ‘Cmd_Exec_f’: code/qcommon/cmd.c:272:25: warning: variable ‘len’ set but not used [-Wunused-but-set-variable] 272 | int len; | ^~~ In file included from code/qcommon/q_shared.h:169, from code/qcommon/net_chan.c:23: code/qcommon/q_platform.h:328:2: error: #error "Architecture not supported" 328 | #error "Architecture not supported" | ^~~~~ In file included from code/qcommon/q_shared.h:169, from code/qcommon/q_shared.c:24: code/qcommon/q_platform.h:328:2: error: #error "Architecture not supported" 328 | #error "Architecture not supported" | ^~~~~ code/qcommon/vm.c: In function ‘VM_LoadSymbols’: code/qcommon/vm.c:223:25: warning: variable ‘len’ set but not used [-Wunused-but-set-variable] 223 | int len; | ^~~ code/qcommon/vm.c: In function ‘VM_LoadQVM’: code/qcommon/vm.c:371:49: warning: variable ‘length’ set but not used [-Wunused-but-set-variable] 371 | int length; | ^~~~~~ code/qcommon/cm_trace.c: In function ‘CM_TraceThroughSphere’: code/qcommon/cm_trace.c:735:15: warning: variable ‘a’ set but not used [-Wunused-but-set-variable] 735 | float a, b, c, d, sqrtd; | ^ code/qcommon/common.c: In function ‘Z_TagMalloc’: code/server/sv_world.c: In function ‘SV_AreaEntities_r’: code/qcommon/common.c:936:32: warning: variable ‘allocSize’ set but not used [-Wunused-but-set-variable] 936 | int extra, allocSize; | ^~~~~~~~~ code/server/sv_world.c:385:33: warning: variable ‘count’ set but not used [-Wunused-but-set-variable] 385 | int count; | ^~~~~ make[2]: *** [Makefile:2214: build/release-linux-riscv64/ded/sv_net_chan.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [Makefile:2217: build/release-linux-riscv64/ded/md4.o] Error 1 make[2]: *** [Makefile:2217: build/release-linux-riscv64/ded/huffman.o] Error 1 make[2]: *** [Makefile:2217: build/release-linux-riscv64/ded/cm_test.o] Error 1 code/qcommon/cm_trace.c: In function ‘CM_TraceThroughVerticalCylinder’: code/qcommon/cm_trace.c:823:15: warning: variable ‘a’ set but not used [-Wunused-but-set-variable] 823 | float a, b, c, d, sqrtd; | ^ code/server/sv_world.c: In function ‘SV_PointContents’: code/server/sv_world.c:663:26: warning: variable ‘angles’ set but not used [-Wunused-but-set-variable] 663 | float *angles; | ^~~~~~ make[2]: *** [Makefile:2217: build/release-linux-riscv64/ded/cmd.o] Error 1 make[2]: *** [Makefile:2214: build/release-linux-riscv64/ded/sv_snapshot.o] Error 1 make[2]: *** [Makefile:2217: build/release-linux-riscv64/ded/cm_load.o] Error 1 make[2]: *** [Makefile:2217: build/release-linux-riscv64/ded/vm_interpreted.o] Error 1 make[2]: *** [Makefile:2214: build/release-linux-riscv64/ded/sv_init.o] Error 1 make[2]: *** [Makefile:2217: build/release-linux-riscv64/ded/cvar.o] Error 1 code/qcommon/q_shared.c: In function ‘Q_isanumber’: code/qcommon/q_shared.c:708:16: warning: variable ‘d’ set but not used [-Wunused-but-set-variable] 708 | double d; | ^ make[2]: *** [Makefile:2217: build/release-linux-riscv64/ded/vm.o] Error 1 make[2]: *** [Makefile:2223: build/release-linux-riscv64/ded/be_aas_debug.o] Error 1 make[2]: *** [Makefile:2214: build/release-linux-riscv64/ded/sv_bot.o] Error 1 make[2]: *** [Makefile:2223: build/release-linux-riscv64/ded/be_aas_bspq3.o] Error 1 code/qcommon/net_chan.c: In function ‘Netchan_Process’: code/qcommon/net_chan.c:246:33: warning: variable ‘qport’ set but not used [-Wunused-but-set-variable] 246 | int qport; | ^~~~~ make[2]: *** [Makefile:2214: build/release-linux-riscv64/ded/sv_ccmds.o] Error 1 make[2]: *** [Makefile:2217: build/release-linux-riscv64/ded/cm_polylib.o] Error 1 make[2]: *** [Makefile:2223: build/release-linux-riscv64/ded/be_aas_cluster.o] Error 1 make[2]: *** [Makefile:2217: build/release-linux-riscv64/ded/q_math.o] Error 1 make[2]: *** [Makefile:2214: build/release-linux-riscv64/ded/sv_world.o] Error 1 make[2]: *** [Makefile:2214: build/release-linux-riscv64/ded/sv_main.o] Error 1 code/qcommon/common.c: In function ‘Com_Init’: make[2]: *** [Makefile:2214: build/release-linux-riscv64/ded/sv_game.o] Error 1 code/qcommon/q_platform.h:392:39: error: expected ‘)’ before ‘ARCH_STRING’ 392 | #define PLATFORM_STRING OS_STRING "-" ARCH_STRING | ^~~~~~~~~~~ code/qcommon/common.c:2669:47: note: in expansion of macro ‘PLATFORM_STRING’ 2669 | Com_Printf( "%s %s %s\n", Q3_VERSION, PLATFORM_STRING, __DATE__ ); | ^~~~~~~~~~~~~~~ make[2]: *** [Makefile:2217: build/release-linux-riscv64/ded/msg.o] Error 1 code/qcommon/common.c:2669:19: note: to match this ‘(’ 2669 | Com_Printf( "%s %s %s\n", Q3_VERSION, PLATFORM_STRING, __DATE__ ); | ^ code/qcommon/files.c: In function ‘FS_FindVM’: code/qcommon/files.c:1399:59: error: expected ‘)’ before ‘ARCH_STRING’ 1399 | Com_sprintf(dllName, sizeof(dllName), "%s" ARCH_STRING DLL_EXT, name); | ~ ^~~~~~~~~~~~ | ) make[2]: *** [Makefile:2214: build/release-linux-riscv64/ded/sv_client.o] Error 1 make[2]: *** [Makefile:2217: build/release-linux-riscv64/ded/net_chan.o] Error 1 code/qcommon/files.c:1399:57: warning: format ‘%s’ expects a matching ‘char *’ argument [-Wformat=] 1399 | Com_sprintf(dllName, sizeof(dllName), "%s" ARCH_STRING DLL_EXT, name); | ~^ | | | char * code/qcommon/common.c:2669:29: warning: format ‘%s’ expects a matching ‘char *’ argument [-Wformat=] 2669 | Com_Printf( "%s %s %s\n", Q3_VERSION, PLATFORM_STRING, __DATE__ ); | ~^ | | | char * code/qcommon/net_ip.c: In function ‘NET_OpenSocks’: code/qcommon/net_ip.c:1076:49: warning: variable ‘err’ set but not used [-Wunused-but-set-variable] 1076 | int err; | ^~~ code/qcommon/q_platform.h:392:39: error: expected ‘)’ before ‘ARCH_STRING’ 392 | #define PLATFORM_STRING OS_STRING "-" ARCH_STRING | ^~~~~~~~~~~ code/qcommon/common.c:2788:40: note: in expansion of macro ‘PLATFORM_STRING’ 2788 | s = va("%s %s %s", Q3_VERSION, PLATFORM_STRING, __DATE__ ); | ^~~~~~~~~~~~~~~ code/qcommon/common.c:2788:15: note: to match this ‘(’ 2788 | s = va("%s %s %s", Q3_VERSION, PLATFORM_STRING, __DATE__ ); | ^ make[2]: *** [Makefile:2217: build/release-linux-riscv64/ded/cm_trace.o] Error 1 code/qcommon/common.c:2788:24: warning: format ‘%s’ expects a matching ‘char *’ argument [-Wformat=] 2788 | s = va("%s %s %s", Q3_VERSION, PLATFORM_STRING, __DATE__ ); | ~^ | | | char * make[2]: *** [Makefile:2217: build/release-linux-riscv64/ded/q_shared.o] Error 1 make[2]: *** [Makefile:2217: build/release-linux-riscv64/ded/unzip.o] Error 1 code/qcommon/files.c: In function ‘FS_ComparePaks’: code/qcommon/files.c:2949:27: warning: variable ‘badchecksum’ set but not used [-Wunused-but-set-variable] 2949 | qboolean havepak, badchecksum; | ^~~~~~~~~~~ make[2]: *** [Makefile:2217: build/release-linux-riscv64/ded/cm_patch.o] Error 1 make[2]: *** [Makefile:2217: build/release-linux-riscv64/ded/net_ip.o] Error 1 make[2]: *** [Makefile:2217: build/release-linux-riscv64/ded/common.o] Error 1 make[2]: *** [Makefile:2217: build/release-linux-riscv64/ded/files.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.98np8o (%build) RPM build warnings: RPM build errors: %patchN is deprecated (8 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.98np8o (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 82766d069c4b49919d4a995f97faab50 -D /var/lib/mock/f40-build-1793347-24860/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.op_w0e7j:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --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 --console=pipe --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 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/quake3.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 82766d069c4b49919d4a995f97faab50 -D /var/lib/mock/f40-build-1793347-24860/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.op_w0e7j:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --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 --console=pipe --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 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/quake3.spec'