Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/linuxconsoletools.spec'], chrootPath='/var/lib/mock/dist-el8-loongarch64-build-53173-25327/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=86400uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/linuxconsoletools.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: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/linuxconsoletools-1.6.0-4.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/linuxconsoletools.spec'], chrootPath='/var/lib/mock/dist-el8-loongarch64-build-53173-25327/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=86400uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/linuxconsoletools.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: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0f8GV2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf linuxconsoletools-1.6.0 + /usr/bin/tar -xof - + /usr/bin/bzip2 -dc /builddir/build/SOURCES/linuxconsoletools-1.6.0.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd linuxconsoletools-1.6.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.svckEh + umask 022 + cd /builddir/build/BUILD + cd linuxconsoletools-1.6.0 + export 'LDFLAGS= -Wl,-z,relro,-z,now -fPIE -pie' + LDFLAGS=' -Wl,-z,relro,-z,now -fPIE -pie' + make PREFIX=/usr 'CFLAGS= -O2 -g' -j4 make -C utils compile make[1]: Entering directory '/builddir/build/BUILD/linuxconsoletools-1.6.0/utils' cc -O2 -g -funsigned-char inputattach.c -Wl,-z,relro,-z,now -fPIE -pie -lm -o inputattach cc -O2 -g -c -o jstest.o jstest.c cc -O2 -g -c -o axbtnmap.o axbtnmap.c cc -O2 -g -c -o jscal.o jscal.c cc -O2 -g -Wl,-z,relro,-z,now -fPIE -pie fftest.c -o fftest cc -O2 -g -c ffmvforce.c -o ffmvforce.o `sdl-config --cflags` In file included from /usr/include/SDL/SDL_stdinc.h:30, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from ffmvforce.c:38: /usr/include/SDL/SDL_config.h:75:2: error: #error "The SDL-devel package is not usable with the architecture." #error "The SDL-devel package is not usable with the architecture." ^~~~~ In file included from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from ffmvforce.c:38: /usr/include/SDL/SDL_stdinc.h:99:9: error: unknown type name 'uint8_t' typedef uint8_t Uint8; ^~~~~~~ /usr/include/SDL/SDL_stdinc.h:101:9: error: unknown type name 'uint16_t' typedef uint16_t Uint16; ^~~~~~~~ /usr/include/SDL/SDL_stdinc.h:103:9: error: unknown type name 'uint32_t' typedef uint32_t Uint32; ^~~~~~~~ /usr/include/SDL/SDL_stdinc.h:123:20: error: size of array 'SDL_dummy_uint8' is negative typedef int SDL_dummy_ ## name[(x) * 2 - 1] ^~~~~~~~~~ /usr/include/SDL/SDL_stdinc.h:125:1: note: in expansion of macro 'SDL_COMPILE_TIME_ASSERT' SDL_COMPILE_TIME_ASSERT(uint8, sizeof(Uint8) == 1); ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/SDL/SDL_stdinc.h:123:20: error: size of array 'SDL_dummy_uint16' is negative typedef int SDL_dummy_ ## name[(x) * 2 - 1] ^~~~~~~~~~ /usr/include/SDL/SDL_stdinc.h:127:1: note: in expansion of macro 'SDL_COMPILE_TIME_ASSERT' SDL_COMPILE_TIME_ASSERT(uint16, sizeof(Uint16) == 2); ^~~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [Makefile:54: ffmvforce.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/builddir/build/BUILD/linuxconsoletools-1.6.0/utils' RPM build errors: make: *** [Makefile:29: compile] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.svckEh (%build) Bad exit status from /var/tmp/rpm-tmp.svckEh (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/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 loongarch64 --nodeps /builddir/build/SPECS/linuxconsoletools.spec