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/tremulous.spec'], chrootPath='/var/lib/mock/f33-build-520744-64567/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/tremulous.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=1598745600 Wrote: /builddir/build/SRPMS/tremulous-1.2.0-0.28.beta1.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/tremulous.spec'], chrootPath='/var/lib/mock/f33-build-520744-64567/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/tremulous.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=1598745600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.iOzR89 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tremulous-1.2.beta1 + /usr/bin/gzip -dc /builddir/build/SOURCES/tremulous-1.2.0.beta1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd tremulous-1.2.beta1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (tremulous-1.2.0-dll-overwrite.patch):' Patch #0 (tremulous-1.2.0-dll-overwrite.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .dll-overwrite --fuzz=0 patching file src/qcommon/files.c patching file src/qcommon/q_shared.c patching file src/qcommon/q_shared.h Patch #1 (tremulous-getstatus-dos.patch): + echo 'Patch #1 (tremulous-getstatus-dos.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .getstatus-dos --fuzz=0 patching file src/server/sv_main.c Patch #2 (tremulous-aarch64.patch): + echo 'Patch #2 (tremulous-aarch64.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .aarch64 --fuzz=0 patching file src/qcommon/q_platform.h + echo 'Patch #3 (tremulous-i686.patch):' Patch #3 (tremulous-i686.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .i686 --fuzz=0 patching file src/qcommon/vm_x86.c + rm -r src/SDL12 src/AL src/libcurl src/libspeex src/libs + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Xcf0X7 + umask 022 + cd /builddir/build/BUILD + cd tremulous-1.2.beta1 + make -j4 'OPTIMIZE=-O2 -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 -ffast-math' DEFAULT_BASEDIR=/usr/share/tremulous USE_CODEC_VORBIS=1 USE_LOCAL_HEADERS=0 BUILD_GAME_SO=0 GENERATE_DEPENDENCIES=0 CROSS_COMPILING=1 USE_INTERNAL_SPEEX=0 USE_INTERNAL_ZLIB=0 make[1]: Entering directory '/builddir/build/BUILD/tremulous-1.2.beta1' Building Tremulous in build/release-linux-riscv64: PLATFORM: linux ARCH: riscv64 VERSION: gpp1 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/tremulous" -DPRODUCT_VERSION="gpp1" -O2 -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 -ffast-math 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: LDFLAGS: LIBS: -ldl -lm -lz CLIENT_LIBS: -lSDL -lpthread -lGL -lvorbisfile -lvorbis -logg -lrt -lspeex -lspeexdsp Output: build/release-linux-riscv64/tremded.riscv64 build/release-linux-riscv64/tremulous.riscv64 make[2]: Entering directory '/builddir/build/BUILD/tremulous-1.2.beta1' DED_CC src/server/sv_client.c DED_CC src/server/sv_ccmds.c DED_CC src/server/sv_game.c DED_CC src/server/sv_init.c In file included from src/server/../qcommon/q_shared.h:149, from src/server/server.h:25, from src/server/sv_ccmds.c:24: src/server/../qcommon/q_platform.h:286:2: error: #error "Architecture not supported" 286 | #error "Architecture not supported" | ^~~~~ In file included from src/server/../qcommon/q_shared.h:149, from src/server/server.h:25, from src/server/sv_game.c:25: src/server/../qcommon/q_platform.h:286:2: error: #error "Architecture not supported" 286 | #error "Architecture not supported" | ^~~~~ In file included from src/server/../qcommon/q_shared.h:149, from src/server/server.h:25, from src/server/sv_init.c:24: src/server/../qcommon/q_platform.h:286:2: error: #error "Architecture not supported" 286 | #error "Architecture not supported" | ^~~~~ In file included from src/server/../qcommon/q_shared.h:149, from src/server/server.h:25, from src/server/sv_client.c:25: src/server/../qcommon/q_platform.h:286:2: error: #error "Architecture not supported" 286 | #error "Architecture not supported" | ^~~~~ make[2]: *** [Makefile:1753: build/release-linux-riscv64/ded/sv_ccmds.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [Makefile:1753: build/release-linux-riscv64/ded/sv_game.o] Error 1 make[2]: *** [Makefile:1753: build/release-linux-riscv64/ded/sv_init.o] Error 1 make[2]: *** [Makefile:1753: build/release-linux-riscv64/ded/sv_client.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/tremulous-1.2.beta1' make[1]: *** [Makefile:1009: targets] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/tremulous-1.2.beta1' make: *** [Makefile:968: release] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.Xcf0X7 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.Xcf0X7 (%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/tremulous.spec