Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/tremulous.spec'], chrootPath='/var/lib/mock/f29-build-33529-18231/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=432000uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/tremulous-1.2.0-0.21.beta1.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/tremulous.spec'], chrootPath='/var/lib/mock/f29-build-33529-18231/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=432000uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9NzIJj + 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 . Patch #0 (tremulous-1.2.0-dll-overwrite.patch): + echo '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 Patch #3 (tremulous-i686.patch): + echo '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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0bR9fn + umask 022 + cd /builddir/build/BUILD + cd tremulous-1.2.beta1 + 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 -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 -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 -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 BUILDSTDERR: In file included from src/server/../qcommon/q_shared.h:149, BUILDSTDERR: from src/server/server.h:25, BUILDSTDERR: from src/server/sv_ccmds.c:24: BUILDSTDERR: src/server/../qcommon/q_platform.h:286:2: error: #error "Architecture not supported" BUILDSTDERR: #error "Architecture not supported" BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from src/server/../qcommon/q_shared.h:149, BUILDSTDERR: from src/server/server.h:25, BUILDSTDERR: from src/server/sv_game.c:25: BUILDSTDERR: src/server/../qcommon/q_platform.h:286:2: error: #error "Architecture not supported" BUILDSTDERR: #error "Architecture not supported" BUILDSTDERR: ^~~~~ BUILDSTDERR: make[2]: *** [Makefile:1753: build/release-linux-riscv64/ded/sv_ccmds.o] Error 1 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... BUILDSTDERR: In file included from src/server/../qcommon/q_shared.h:149, BUILDSTDERR: from src/server/server.h:25, BUILDSTDERR: from src/server/sv_init.c:24: BUILDSTDERR: src/server/../qcommon/q_platform.h:286:2: error: #error "Architecture not supported" BUILDSTDERR: #error "Architecture not supported" BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from src/server/../qcommon/q_shared.h:149, BUILDSTDERR: from src/server/server.h:25, BUILDSTDERR: from src/server/sv_client.c:25: BUILDSTDERR: src/server/../qcommon/q_platform.h:286:2: error: #error "Architecture not supported" BUILDSTDERR: #error "Architecture not supported" BUILDSTDERR: ^~~~~ BUILDSTDERR: make[2]: *** [Makefile:1753: build/release-linux-riscv64/ded/sv_game.o] Error 1 BUILDSTDERR: make[2]: *** [Makefile:1753: build/release-linux-riscv64/ded/sv_init.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/tremulous-1.2.beta1' BUILDSTDERR: make[2]: *** [Makefile:1753: build/release-linux-riscv64/ded/sv_client.o] Error 1 BUILDSTDERR: make[1]: *** [Makefile:1009: targets] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/tremulous-1.2.beta1' RPM build errors: BUILDSTDERR: make: *** [Makefile:968: release] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.0bR9fn (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.0bR9fn (%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 636, 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/tremulous.spec