D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/t-engine4-1.7.6-1.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.KPR2xA + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf t-engine4-1.7.6 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/t-engine4-1.7.6.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd t-engine4-1.7.6 + rm -rf /home/pterjan/rpmbuild/BUILD/t-engine4-1.7.6-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/t-engine4-1.7.6-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/t-engine4-1.3.1-mga-include-sdl2.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/t-engine4-1.4.1-mga-no-stripping.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.v26qrQ + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd t-engine4-1.7.6 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + premake4 --lua=jit2 gmake Building configurations... Running action 'gmake'... Generating Makefile... Generating build/TEngine.make... Generating build/physfs.make... Generating build/minilua.make... Generating build/buildvm.make... Generating build/luajit2.make... Generating build/luasocket.make... Generating build/fov.make... Generating build/lpeg.make... Generating build/luaprofiler.make... Generating build/tcodimport.make... Generating build/expatstatic.make... Generating build/lxp.make... Generating build/luamd5.make... Generating build/luazlib.make... Generating build/luabitop.make... Generating build/te4-bzip.make... Generating build/te4-wfc.make... Generating build/utf8proc.make... Done. + echo .NOTPARALLEL: + echo .NOTPARALLEL: + /usr/bin/make -O -j4 V=1 VERBOSE=1 config=release CC=gcc CXX=g++ ==== Building physfs (release) ==== ==== Building minilua (release) ==== ==== Building fov (release) ==== ==== Building luasocket (release) ==== Creating ../bin/Release Creating ../bin/Release Creating ../obj/Release/minilua Creating ../obj/Release/fov Creating ../obj/Release/luasocket Creating ../obj/Release/physfs physfs.c ../src/physfs/physfs.c:76:5: error: initialization of 'const PHYSFS_ArchiveInfo *' from incompatible pointer type 'const PHYSFS_Archiver *' [-Wincompatible-pointer-types] 76 | &__PHYSFS_Archiver_BIND_PHYSFS, | ^ ../src/physfs/physfs.c:76:5: note: (near initialization for 'supported_types[0]') make[1]: *** [physfs.make:155: ../obj/Release/physfs/physfs.o] Error 1 make: *** [Makefile:21: physfs] Error 2 make: *** Waiting for unfinished jobs.... auxiliar.c except.c buffer.c io.c inet.c luasocket.c options.c select.c tcp.c timeout.c udp.c usocket.c mime.c Linking luasocket minilua.c Linking minilua Running post-build commands cp ../bin/Release/minilua ../src/luajit2/src/host/ fov.c Linking fov error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.v26qrQ (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.v26qrQ (%build) I: [iurt_root_command] ERROR: chroot