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-an8.7-build-185204-60509/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.7.1-3.an8.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-an8.7-build-185204-60509/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.vlm4XG + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf linuxconsoletools-1.7.1 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/linuxconsoletools-1.7.1.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd linuxconsoletools-1.7.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.la3ZoI + umask 022 + cd /builddir/build/BUILD + cd linuxconsoletools-1.7.1 + CFLAGS='-O2 -g' + export CFLAGS + CXXFLAGS='-O2 -g' + export CXXFLAGS + FFLAGS='-O2 -g -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + /usr/bin/make -O -j4 PREFIX=/usr /usr/bin/make -C utils compile make[1]: Entering directory '/builddir/build/BUILD/linuxconsoletools-1.7.1/utils' cc -O2 -g -c -o axbtnmap.o axbtnmap.c make[1]: Leaving directory '/builddir/build/BUILD/linuxconsoletools-1.7.1/utils' make[1]: Entering directory '/builddir/build/BUILD/linuxconsoletools-1.7.1/utils' cc -O2 -g -c -o jstest.o jstest.c make[1]: Leaving directory '/builddir/build/BUILD/linuxconsoletools-1.7.1/utils' make[1]: Entering directory '/builddir/build/BUILD/linuxconsoletools-1.7.1/utils' cc -O2 -g -c ffmvforce.c -o ffmvforce.o `pkg-config --cflags sdl2` make[1]: Leaving directory '/builddir/build/BUILD/linuxconsoletools-1.7.1/utils' In file included from /usr/include/SDL2/SDL_stdinc.h:31, from /usr/include/SDL2/SDL_main.h:25, from /usr/include/SDL2/SDL.h:32, from ffmvforce.c:38: /usr/include/SDL2/SDL_config.h:80:2: error: #error "The SDL2-devel package is not usable with the architecture." #error "The SDL2-devel package is not usable with the architecture." ^~~~~ In file included from /usr/include/SDL2/SDL_main.h:25, from /usr/include/SDL2/SDL.h:32, from ffmvforce.c:38: /usr/include/SDL2/SDL_stdinc.h:179:9: error: unknown type name 'uint8_t' typedef uint8_t Uint8; ^~~~~~~ /usr/include/SDL2/SDL_stdinc.h:191:9: error: unknown type name 'uint16_t' typedef uint16_t Uint16; ^~~~~~~~ /usr/include/SDL2/SDL_stdinc.h:203:9: error: unknown type name 'uint32_t' typedef uint32_t Uint32; ^~~~~~~~ /usr/include/SDL2/SDL_stdinc.h:216:9: error: unknown type name 'uint64_t' typedef uint64_t Uint64; ^~~~~~~~ /usr/include/SDL2/SDL_stdinc.h:313:20: error: size of array 'SDL_compile_time_assert_uint8' is negative typedef int SDL_compile_time_assert_ ## name[(x) * 2 - 1] ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/SDL2/SDL_stdinc.h:316:1: note: in expansion of macro 'SDL_COMPILE_TIME_ASSERT' SDL_COMPILE_TIME_ASSERT(uint8, sizeof(Uint8) == 1); ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/SDL2/SDL_stdinc.h:313:20: error: size of array 'SDL_compile_time_assert_uint16' is negative typedef int SDL_compile_time_assert_ ## name[(x) * 2 - 1] ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/SDL2/SDL_stdinc.h:318:1: note: in expansion of macro 'SDL_COMPILE_TIME_ASSERT' SDL_COMPILE_TIME_ASSERT(uint16, sizeof(Uint16) == 2); ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/SDL2/SDL_stdinc.h:313:20: error: size of array 'SDL_compile_time_assert_uint64' is negative typedef int SDL_compile_time_assert_ ## name[(x) * 2 - 1] ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/SDL2/SDL_stdinc.h:322:1: note: in expansion of macro 'SDL_COMPILE_TIME_ASSERT' SDL_COMPILE_TIME_ASSERT(uint64, sizeof(Uint64) == 8); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/SDL2/SDL_assert.h:25, from /usr/include/SDL2/SDL.h:34, from ffmvforce.c:38: /usr/include/SDL2/SDL_config.h:80:2: error: #error "The SDL2-devel package is not usable with the architecture." #error "The SDL2-devel package is not usable with the architecture." ^~~~~ In file included from /usr/include/SDL2/SDL_audio.h:33, from /usr/include/SDL2/SDL.h:36, from ffmvforce.c:38: /usr/include/SDL2/SDL_endian.h: In function 'SDL_Swap64': /usr/include/SDL2/SDL_endian.h:202:7: warning: right shift count >= width of type [-Wshift-count-overflow] x >>= 32; ^~~ /usr/include/SDL2/SDL_endian.h:205:7: warning: left shift count >= width of type [-Wshift-count-overflow] x <<= 32; ^~~ In file included from /usr/include/SDL2/SDL_main.h:25, from /usr/include/SDL2/SDL.h:32, from ffmvforce.c:38: /usr/include/SDL2/SDL_events.h: At top level: /usr/include/SDL2/SDL_stdinc.h:313:20: error: size of array 'SDL_compile_time_assert_SDL_Event' is negative typedef int SDL_compile_time_assert_ ## name[(x) * 2 - 1] ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/SDL2/SDL_events.h:598:1: note: in expansion of macro 'SDL_COMPILE_TIME_ASSERT' SDL_COMPILE_TIME_ASSERT(SDL_Event, sizeof(SDL_Event) == 56); ^~~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [Makefile:55: ffmvforce.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/builddir/build/BUILD/linuxconsoletools-1.7.1/utils' cc -O2 -g -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld fftest.c -o fftest make[1]: Leaving directory '/builddir/build/BUILD/linuxconsoletools-1.7.1/utils' make[1]: Entering directory '/builddir/build/BUILD/linuxconsoletools-1.7.1/utils' cc -O2 -g -c -o jscal.o jscal.c make[1]: Leaving directory '/builddir/build/BUILD/linuxconsoletools-1.7.1/utils' make[1]: Entering directory '/builddir/build/BUILD/linuxconsoletools-1.7.1/utils' cc -O2 -g -funsigned-char inputattach.c serio-ids.h -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lm -o inputattach make[1]: Leaving directory '/builddir/build/BUILD/linuxconsoletools-1.7.1/utils' make: *** [Makefile:29: compile] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.la3ZoI (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.la3ZoI (%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