D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/easyrpg-player-0.5.4-1.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.AJ3h9R + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf easyrpg-player-0.5.4 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/easyrpg-player-0.5.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd easyrpg-player-0.5.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.hokQDx + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd easyrpg-player-0.5.4 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export FFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + CONFIGURE_TOP=. + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . Fixing libtool inside configure to pass -Wl,xxx options before libraries + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + '[' -f ./configure.in -o -f ./configure.ac ']' + CONFIGURE_XPATH='--x-includes=/usr/include --x-libraries=/usr/lib64' + ./configure --build=x86_64-mageia-linux-gnu --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 --x-includes=/usr/include --x-libraries=/usr/lib64 --bindir=/usr/games 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 make supports nested variables... yes checking whether UID '500' is supported by ustar format... yes checking whether GID '1001' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking whether to enable maintainer-specific portions of Makefiles... yes checking whether make supports nested variables... (cached) yes checking for style of include used by make... GNU 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 whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking for ar... ar checking the archiver (ar) interface... ar 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++... gcc3 checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop checking how to convert x86_64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E 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 for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for LCF... yes checking for PIXMAN... yes checking for FREETYPE... yes checking for HARFBUZZ... no checking for SDL... yes checking for SDLMIXER... yes checking for PNG... yes checking for ZLIB... yes checking for MPG123... no checking for OGGVORBIS... yes checking for OPUS... no checking for SNDFILE... no checking for XMP... no checking for SPEEXDSP... no checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking whether byte ordering is bigendian... no checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for inline... inline checking for int16_t... yes checking for int32_t... yes checking for int8_t... yes checking for size_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint8_t... yes checking for error_at_line... yes checking for malloc... yes checking for floor... no checking for getcwd... yes checking for memset... yes checking for putenv... yes checking for strerror... yes checking for a2x... no checking for a2x.py... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating resources/Doxyfile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make -O -j8 /usr/bin/make all-am make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/easyrpg-player-0.5.4' CXX src/libeasyrpg_player_la-async_handler.lo In file included from src/async_handler.cpp:31: src/main_data.h:22:10: fatal error: data.h: No such file or directory #include "data.h" ^~~~~~~~ compilation terminated. make[1]: *** [Makefile:1825: src/libeasyrpg_player_la-async_handler.lo] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/easyrpg-player-0.5.4' make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/easyrpg-player-0.5.4' CXX src/libeasyrpg_player_la-audio_al.lo make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/easyrpg-player-0.5.4' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/easyrpg-player-0.5.4' CXX src/libeasyrpg_player_la-audio_sdl.lo make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/easyrpg-player-0.5.4' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/easyrpg-player-0.5.4' CXX src/libeasyrpg_player_la-audio_resampler.lo make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/easyrpg-player-0.5.4' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/easyrpg-player-0.5.4' CXX src/libeasyrpg_player_la-audio.lo make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/easyrpg-player-0.5.4' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/easyrpg-player-0.5.4' CXX src/libeasyrpg_player_la-audio_generic.lo make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/easyrpg-player-0.5.4' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/easyrpg-player-0.5.4' CXX src/libeasyrpg_player_la-audio_decoder.lo make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/easyrpg-player-0.5.4' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/easyrpg-player-0.5.4' CXX src/libeasyrpg_player_la-audio_sdl_mixer.lo make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/easyrpg-player-0.5.4' make: *** [Makefile:1143: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.hokQDx (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.hokQDx (%build) I: [iurt_root_command] ERROR: chroot