Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/warmux.spec'], chrootPath='/var/lib/mock/f29-build-29632-16082/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=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/warmux.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 Wrote: /builddir/build/SRPMS/warmux-11.04.1-25.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/warmux.spec'], chrootPath='/var/lib/mock/f29-build-29632-16082/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=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/warmux.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.p7y6U3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf warmux-11.04 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/warmux-11.04.1.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd warmux-11.04 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (warmux-zlib.patch): + echo 'Patch #1 (warmux-zlib.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .zlib --fuzz=0 patching file src/graphic/surface.cpp Patch #2 (warmux-gcc47.patch): + echo 'Patch #2 (warmux-gcc47.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .gcc47 --fuzz=0 patching file lib/warmux/action/action.cpp patching file tools/list_games/main.cpp Patch #3 (warmux-gcc60.patch): + echo 'Patch #3 (warmux-gcc60.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .gcc60 --fuzz=0 patching file src/interface/weapon_menu.cpp + rm -f data/game_mode/rope_objects.xml~ + rm -f data/game_mode/skin_viewer.xml~ + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.BOy7D0 + umask 022 + cd /builddir/build/BUILD + cd warmux-11.04 + CFLAGS='-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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-fribidi checking build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking target system type... riscv64-koji-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for style of include used by make... GNU checking for riscv64-koji-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... none checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E BUILDSTDERR: ./configure: line 4701: cd: /lib64/lp64d/../lib64/lp64d/: No such file or directory BUILDSTDERR: ./configure: line 4701: cd: /usr/lib64/lp64d/../lib64/lp64d/: No such file or directory checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking whether make sets $(MAKE)... (cached) yes checking for riscv64-koji-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) none checking for riscv64-koji-linux-gnu-g++... no checking for riscv64-koji-linux-gnu-c++... no checking for riscv64-koji-linux-gnu-gpp... no checking for riscv64-koji-linux-gnu-aCC... no checking for riscv64-koji-linux-gnu-CC... no checking for riscv64-koji-linux-gnu-cxx... no checking for riscv64-koji-linux-gnu-cc++... no checking for riscv64-koji-linux-gnu-cl.exe... no checking for riscv64-koji-linux-gnu-FCC... no checking for riscv64-koji-linux-gnu-KCC... no checking for riscv64-koji-linux-gnu-RCC... no checking for riscv64-koji-linux-gnu-xlC_r... no checking for riscv64-koji-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking how to run the C preprocessor... gcc -E checking for riscv64-koji-linux-gnu-ranlib... no checking for ranlib... ranlib checking for riscv64-koji-linux-gnu-strip... no checking for strip... strip checking for riscv64-koji-linux-gnu-windres... no checking for windres... no checking for g++... yes checking CXXFLAGS for maximum warnings... -Wall BUILDSTDERR: configure: WARNING: Building of servers is disabled. If you want build the index and servers, please use configure with this option : --enable-servers checking gcc version... 8 checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.2.6... yes checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking X11/Xlib.h usability... yes checking X11/Xlib.h presence... yes checking for X11/Xlib.h... yes checking for XOpenDisplay in -lX11... yes checking for riscv64-koji-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBXML2... yes checking for LIBPNG... yes checking for FRIBIDI... yes checking SDL_rotozoom.h usability... yes checking SDL_rotozoom.h presence... yes checking for SDL_rotozoom.h... yes checking for rotozoomSurfaceXY in -lSDL_gfx... yes checking whether SDL_gfx - version >= 2.0.22 ... 2.0.25, OK checking for gawk... (cached) gawk checking for curl-config... /usr/bin/curl-config checking for the version of libcurl... 7.61.1 checking for libcurl >= version 7.0... yes checking whether libcurl is usable... yes checking for curl_free... yes checking for IMG_Load in -lSDL_image... yes checking for Mix_OpenAudio in -lSDL_mixer... yes checking for TTF_OpenFont in -lSDL_ttf... yes checking for SDLNet_Init in -lSDL_net... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes configure: creating ./config.status config.status: creating Makefile config.status: creating data/Makefile config.status: creating src/Makefile config.status: creating lib/Makefile config.status: creating lib/fixedpoint/Makefile config.status: creating lib/warmux/Makefile config.status: creating po/Makefile config.status: creating lib/warmux-server/Makefile config.status: creating doc/Makefile config.status: creating tools/Makefile config.status: creating tools/list_games/Makefile config.status: creating tools/servers/Makefile config.status: creating tools/servers/game_server/Makefile config.status: creating tools/servers/index_server/Makefile config.status: creating lib/warmux/include/config_autotools.h config.status: executing po-directories commands config.status: executing depfiles commands *********************************************************** Configuration complete * Game data will be installed into /usr/share/warmux/ * Game locale will be installed into /usr/share/locale * Font file will be ${DATADIR}/font/Ubuntu-R.ttf * [Optional] DEBUG : no * [Optional] LOGGING feature : no * [Optional] Bi-directional rendering (fribidi) : yes * [Optional] Internationalisation (gettext) : yes * [Optional] Index and game servers : no *********************************************************** Execute make to compile then execute make install to install... + make -j4 Making all in data make[1]: Entering directory '/builddir/build/BUILD/warmux-11.04/data' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/warmux-11.04/data' Making all in lib make[1]: Entering directory '/builddir/build/BUILD/warmux-11.04/lib' Making all in warmux make[2]: Entering directory '/builddir/build/BUILD/warmux-11.04/lib/warmux' Making all in . make[3]: Entering directory '/builddir/build/BUILD/warmux-11.04/lib/warmux' g++ -DHAVE_CONFIG_H -I. -I../../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../../lib/warmux/include -I../../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -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 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o action.o `test -f './action/action.cpp' || echo './'`./action/action.cpp g++ -DHAVE_CONFIG_H -I. -I../../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../../lib/warmux/include -I../../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -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 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o action_handler.o `test -f './action/action_handler.cpp' || echo './'`./action/action_handler.cpp g++ -DHAVE_CONFIG_H -I. -I../../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../../lib/warmux/include -I../../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -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 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o error.o `test -f './base/error.cpp' || echo './'`./base/error.cpp g++ -DHAVE_CONFIG_H -I. -I../../lib/warmux/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../../lib/warmux/include -I../../lib/fixedpoint -Wall -Wextra -O2 -Wall -Wextra -O2 -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 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/fribidi -fno-rtti -fno-exceptions -c -o i18n.o `test -f './base/i18n.cpp' || echo './'`./base/i18n.cpp BUILDSTDERR: In file included from /usr/include/fribidi/fribidi-unicode.h:32, BUILDSTDERR: from /usr/include/fribidi/fribidi.h:31, BUILDSTDERR: from ./base/i18n.cpp:31: BUILDSTDERR: /usr/include/fribidi/fribidi-types.h:31:11: fatal error: config.h: No such file or directory BUILDSTDERR: # include BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: compilation terminated. BUILDSTDERR: make[3]: *** [Makefile:442: i18n.o] Error 1 BUILDSTDERR: make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory '/builddir/build/BUILD/warmux-11.04/lib/warmux' BUILDSTDERR: make[2]: *** [Makefile:626: all-recursive] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/warmux-11.04/lib/warmux' make[1]: Leaving directory '/builddir/build/BUILD/warmux-11.04/lib' BUILDSTDERR: make[1]: *** [Makefile:282: all-recursive] Error 1 BUILDSTDERR: make: *** [Makefile:369: all-recursive] Error 1 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.BOy7D0 (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.BOy7D0 (%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 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, 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/warmux.spec