D: [iurt_root_command] chroot warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Installing /home/iurt/rpmbuild/SRPMS/gearhead-1.310-2.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.pwT3Sl + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf gearhead-1-1.310 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/gearhead-1-1.310.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd gearhead-1-1.310 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/gearhead-1.300-deb-mga-unixpaths.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/gearhead-1.300-mga-unbundle-fonts.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm -f Image/Vera.ttf Image/VeraBI.ttf Image/VeraBd.ttf Image/VeraIt.ttf Image/VeraMoBI.ttf Image/VeraMoBd.ttf Image/VeraMoIt.ttf Image/VeraMono.ttf Image/VeraSe.ttf Image/VeraSeBd.ttf + mkdir -p /home/iurt/rpmbuild/BUILD/gearhead-1-1.310-ascii + cp -a Design GameData Image Series ability.pp action.pp aibrain.pp arenacfe.pp arenahq.pp arenaplay.pp arenascript.pp backpack.pp boxdraw.inc colormenu.pp compiling.txt congfx.pp coninfo.pp conmap.pp conmenus.pp context.pp cosplay.pas damage.pp doc effects.pp factory.pp gears.pp gearutil.pp gflooker.pp gharena.pas ghchars.pp ghcpit.pp gheffect.pp ghguard.pp ghholder.pp ghintrinsic.pp ghmecha.pp ghmodule.pp ghmovers.pp ghparser.pp ghprop.pp ghsensor.pp ghsupport.pp ghswag.pp ghweapon.pp grabgear.pp history.txt interact.pp license.txt locale.pp mapedit.pp menugear.pp movement.pp navigate.pp pcaction.pp playwright.pp randchar.pp randmaps.pp readme.md rpgdice.pp sdlgfx.pp sdlinfo.pp sdlmap.pp sdlmenus.pp services.pp skilluse.pp texutil.pp ui4gh.pp wmonster.pp xterm-boxdrawing xxcomp.txt xxran.pas /home/iurt/rpmbuild/BUILD/gearhead-1-1.310-ascii + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.k6rEGY + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd gearhead-1-1.310 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + fpc -g -O2 -XD -dSDLMODE gharena Free Pascal Compiler version 3.2.0 [2020/07/05] for aarch64 Copyright (c) 1993-2020 by Florian Klaempfl and others Target OS: Linux for AArch64 Compiling gharena.pas gharena.pas(31,2) Warning: APPTYPE is not supported by the target OS Compiling gears.pp Compiling texutil.pp Assembling texutil gears.pp(1257,2) Note: Local variable "S" not used Assembling gears Compiling sdlgfx.pp Compiling ui4gh.pp Compiling ability.pp Compiling ghsensor.pp Assembling ghsensor Compiling ghintrinsic.pp ghintrinsic.pp(77,3) Warning: Comment level 2 found ghintrinsic.pp(78,3) Warning: Comment level 2 found Assembling ghintrinsic Compiling damage.pp Compiling context.pp Compiling congfx.pp Assembling congfx Assembling context Compiling gearutil.pp Compiling ghchars.pp Assembling ghchars Compiling ghcpit.pp ghcpit.pp(54,2) Note: Local variable "Master" not used ghcpit.pp(54,9) Note: Local variable "S" not used ghcpit.pp(54,11) Note: Local variable "S2" not used Assembling ghcpit Compiling ghguard.pp Compiling ghmecha.pp Assembling ghmecha Compiling ghmodule.pp Compiling ghholder.pp Assembling ghholder Assembling ghmodule Assembling ghguard Compiling ghmovers.pp Assembling ghmovers Compiling ghprop.pp Assembling ghprop Compiling ghsupport.pp Assembling ghsupport Compiling ghswag.pp Assembling ghswag Compiling ghweapon.pp Assembling ghweapon Assembling gearutil damage.pp(1265,10) Warning: Function result does not seem to be set damage.pp(1268,5) Note: Local variable "MyInfo" is assigned but never used Assembling damage Compiling movement.pp movement.pp(450,2) Note: Local variable "WingPoints" not used movement.pp(616,8) Note: Local variable "SF" not used Assembling movement Compiling rpgdice.pp Assembling rpgdice ability.pp(928,2) Note: Local variable "it" not used Assembling ability Assembling ui4gh sdlgfx.pp(46,48) Warning: Some fields coming after "b" were not initialized sdlgfx.pp(47,48) Warning: Some fields coming after "b" were not initialized sdlgfx.pp(48,47) Warning: Some fields coming after "b" were not initialized sdlgfx.pp(49,49) Warning: Some fields coming after "b" were not initialized sdlgfx.pp(50,49) Warning: Some fields coming after "b" were not initialized sdlgfx.pp(51,49) Warning: Some fields coming after "b" were not initialized sdlgfx.pp(52,48) Warning: Some fields coming after "b" were not initialized sdlgfx.pp(53,50) Warning: Some fields coming after "b" were not initialized sdlgfx.pp(54,48) Warning: Some fields coming after "b" were not initialized sdlgfx.pp(55,49) Warning: Some fields coming after "b" were not initialized sdlgfx.pp(56,50) Warning: Some fields coming after "b" were not initialized sdlgfx.pp(58,50) Warning: Some fields coming after "b" were not initialized sdlgfx.pp(59,51) Warning: Some fields coming after "b" were not initialized sdlgfx.pp(60,49) Warning: Some fields coming after "b" were not initialized sdlgfx.pp(61,51) Warning: Some fields coming after "b" were not initialized sdlgfx.pp(650,2) Note: Local variable "m2" not used sdlgfx.pp(1115,2) Note: Local variable "X0" not used sdlgfx.pp(1115,5) Note: Local variable "Y0" not used sdlgfx.pp(1115,8) Note: Local variable "W32" not used sdlgfx.pp(1115,12) Note: Local variable "H32" not used Assembling sdlgfx Compiling arenahq.pp Compiling arenaplay.pp Compiling locale.pp locale.pp(2235,2) Note: Local variable "Terrain" not used locale.pp(2235,19) Note: Local variable "MM" not used locale.pp(2236,2) Note: Local variable "MTerr" not used Assembling locale Compiling aibrain.pp Compiling action.pp Compiling interact.pp Assembling interact Assembling action Compiling arenacfe.pp Compiling effects.pp Compiling ghparser.pp Assembling ghparser Compiling skilluse.pp skilluse.pp(488,2) Note: Local variable "Bulk" not used Assembling skilluse effects.pp(2387,8) Note: Local variable "N" not used effects.pp(2387,12) Note: Local variable "AtOp2" not used effects.pp(2389,2) Note: Local variable "SRS" not used Assembling effects Compiling sdlinfo.pp Compiling sdlmap.pp Compiling randmaps.pp Assembling randmaps Compiling menugear.pp Compiling sdlmenus.pp Assembling sdlmenus Assembling menugear Compiling sdlinfo.pp sdlinfo.pp(61,51) Warning: Some fields coming after "b" were not initialized sdlinfo.pp(62,47) Warning: Some fields coming after "b" were not initialized sdlinfo.pp(63,49) Warning: Some fields coming after "b" were not initialized sdlinfo.pp(64,48) Warning: Some fields coming after "b" were not initialized sdlinfo.pp(65,52) Warning: Some fields coming after "b" were not initialized sdlinfo.pp(66,47) Warning: Some fields coming after "b" were not initialized sdlinfo.pp(203,2) Note: Local variable "PLine" not used sdlinfo.pp(313,2) Note: Local variable "MM" not used sdlinfo.pp(313,5) Note: Local variable "A" not used sdlinfo.pp(313,7) Note: Local variable "B" not used sdlinfo.pp(879,2) Note: Local variable "msg" not used sdlinfo.pp(879,6) Note: Local variable "job" not used sdlinfo.pp(882,2) Note: Local variable "SS" not used sdlinfo.pp(959,6) Note: Local variable "job" not used sdlinfo.pp(966,2) Note: Local variable "SS" not used sdlinfo.pp(1187,5) Note: Local variable "AI_Dest" not used sdlinfo.pp(1303,7) Note: Local variable "sval" not used sdlinfo.pp(1304,5) Note: Local variable "SS" not used sdlinfo.pp(1384,5) Note: Local variable "msg" not used sdlinfo.pp(1385,5) Note: Local variable "n" not used sdlinfo.pp(1478,5) Note: Local variable "SS" not used sdlinfo.pp(1480,5) Note: Local variable "t" not used Assembling sdlinfo sdlmap.pp(1045,2) Note: Local variable "pmsg" not used sdlmap.pp(1046,2) Note: Local variable "MyImage" not used sdlmap.pp(1269,2) Note: Local variable "SL" not used sdlmap.pp(1486,14) Warning: Some fields coming after "Y" were not initialized sdlmap.pp(1486,26) Warning: Some fields coming after "Y" were not initialized sdlmap.pp(1487,14) Warning: Some fields coming after "Y" were not initialized sdlmap.pp(1487,26) Warning: Some fields coming after "Y" were not initialized sdlmap.pp(1488,14) Warning: Some fields coming after "Y" were not initialized sdlmap.pp(1488,26) Warning: Some fields coming after "Y" were not initialized sdlmap.pp(1489,14) Warning: Some fields coming after "Y" were not initialized sdlmap.pp(1489,26) Warning: Some fields coming after "Y" were not initialized sdlmap.pp(1490,14) Warning: Some fields coming after "Y" were not initialized sdlmap.pp(1490,26) Warning: Some fields coming after "Y" were not initialized sdlmap.pp(1491,14) Warning: Some fields coming after "Y" were not initialized sdlmap.pp(1491,26) Warning: Some fields coming after "Y" were not initialized sdlmap.pp(1564,2) Note: Local variable "A" not used sdlmap.pp(220,2) Note: Local variable "Opening_X" not used sdlmap.pp(220,12) Note: Local variable "Opening_Y" not used Assembling sdlmap Assembling arenacfe aibrain.pp(643,2) Note: Local variable "BestWeight" is assigned but never used aibrain.pp(1878,2) Note: Local variable "it" not used Assembling aibrain Compiling arenascript.pp Compiling grabgear.pp Assembling grabgear Compiling playwright.pp Assembling playwright Compiling services.pp Compiling backpack.pp Compiling colormenu.pp Assembling colormenu backpack.pp(212,5) Note: Local variable "mysprite" not used Assembling backpack services.pp(236,5) Note: Local variable "ATmp" not used services.pp(236,10) Note: Local variable "AVar" not used services.pp(236,15) Note: Local variable "VarList" not used Assembling services Compiling wmonster.pp Assembling wmonster arenascript.pp(2384,2) Note: Local variable "Scene" not used arenascript.pp(4123,5) Note: Local variable "IntRoot" not used arenascript.pp(122,2) Note: Local variable "ASRD_InfoGear" is assigned but never used Assembling arenascript Compiling pcaction.pp Compiling gflooker.pp gflooker.pp(306,2) Note: Local variable "P" is assigned but never used Assembling gflooker Compiling randchar.pp Assembling randchar pcaction.pp(1864,3) Note: Local variable "FXP" is assigned but never used pcaction.pp(1905,3) Note: Local variable "FXP" is assigned but never used Assembling pcaction Assembling arenaplay Compiling navigate.pp Assembling navigate arenahq.pp(726,3) Note: Local variable "msg" is assigned but never used Assembling arenahq Compiling cosplay.pas cosplay.pas(54,9) Note: Local variable "MySprite" not used Assembling cosplay Assembling gharena Linking gharena gharena.pas(140) Warning: "crtbegin.o" not found, this will probably cause a linking failure gharena.pas(140) Warning: "crtend.o" not found, this will probably cause a linking failure /usr/bin/ld: /usr/lib64/fpc/3.2.0/units/aarch64-linux/rtl/cprt0.o: in function `_start': (.text+0x54): undefined reference to `__libc_csu_init' /usr/bin/ld: (.text+0x58): undefined reference to `__libc_csu_init' /usr/bin/ld: (.text+0x5c): undefined reference to `__libc_csu_fini' /usr/bin/ld: (.text+0x60): undefined reference to `__libc_csu_fini' gharena.pas(140) Error: Error while linking gharena.pas(140) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted Error: /usr/bin/ppca64 returned an error exitcode error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.k6rEGY (%build) RPM build errors: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.k6rEGY (%build) I: [iurt_root_command] ERROR: chroot