D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/virtualjaguar-2.1.3-8.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Vd1LOP + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf linux-2.1.3 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/virtualjaguar-2.1.3.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd linux-2.1.3 + rm -rf /home/pterjan/rpmbuild/BUILD/linux-2.1.3-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/linux-2.1.3-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/virtualjaguar-2.1.3-optflags.patch + sed -i 's|qmake -qt=5|/usr/lib64/qt5/bin/qmake|' Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.A0UyVw + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd linux-2.1.3 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/make *** Preparing to compile Virtual Jaguar... *** Making Customized UAE 68K Core... make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/linux-2.1.3/src/m68000' *** Compiling build68k.c ... *** Generating cpudefs.c... *** Generating gencpu... *** Generating cpuemu.c... *** Compiling obj/cpustbl.c... In file included from obj/cpustbl.c:3: ./inlines.h: In function 'm68k_do_rts': ./inlines.h:82:20: error: implicit declaration of function 'm68k_read_memory_32' [-Wimplicit-function-declaration] 82 | m68k_setpc(m68k_read_memory_32(m68k_areg(regs, 7))); | ^~~~~~~~~~~~~~~~~~~ ./inlines.h: In function 'm68k_do_bsr': ./inlines.h:89:9: error: implicit declaration of function 'm68k_write_memory_32' [-Wimplicit-function-declaration] 89 | m68k_write_memory_32(m68k_areg(regs, 7), oldpc); | ^~~~~~~~~~~~~~~~~~~~ ./inlines.h: In function 'get_ibyte_prefetch': ./inlines.h:111:25: error: implicit declaration of function 'm68k_read_memory_8' [-Wimplicit-function-declaration] 111 | #define get_ibyte(o) m68k_read_memory_8(regs.pc + (o) + 1) | ^~~~~~~~~~~~~~~~~~ ./inlines.h:158:16: note: in expansion of macro 'get_ibyte' 158 | return get_ibyte(o); | ^~~~~~~~~ ./inlines.h: In function 'get_iword_prefetch': ./inlines.h:112:25: error: implicit declaration of function 'm68k_read_memory_16' [-Wimplicit-function-declaration] 112 | #define get_iword(o) m68k_read_memory_16(regs.pc + (o)) | ^~~~~~~~~~~~~~~~~~~ ./inlines.h:183:16: note: in expansion of macro 'get_iword' 183 | return get_iword(o); | ^~~~~~~~~ make[1]: *** [Makefile:58: obj/cpustbl.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/linux-2.1.3/src/m68000' make: *** [Makefile:75: obj/libm68k.a] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.A0UyVw (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.A0UyVw (%build) I: [iurt_root_command] ERROR: chroot