mnalis / ironseed_fpc

Iron Seed is a science-fiction DOS game from 1994, which was both developed and published by Channel 7. Gameplay is real-time, featuring trading, diplomacy, and strategy. This version has been changed to make it possible to compile it with the freepascal compiler under Linux.
GNU General Public License v3.0
17 stars 0 forks source link

FTBFS on arm64, armhf #87

Closed mnalis closed 3 years ago

mnalis commented 3 years ago

Fails to build from source: https://buildd.debian.org/status/package.php?p=ironseed

(9009) Assembling _paths_
(9009) Assembling utils_
(9009) Assembling ironseed
(9015) Linking is
is.pas(88) Warning: (9034) "crtbeginS.o" not found, this will probably cause a linking failure
is.pas(88) Warning: (9034) "crtendS.o" not found, this will probably cause a linking failure
is.pas(88) Fatal: (10026) There were 2 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Error: /usr/bin/ppca64 returned an error exitcode
make[2]: *** [Makefile:81: is] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j1 "INSTALL=install --strip-program=true" prefix=/usr libdir=/usr/libexec/ironseed returned exit code 2
make[1]: *** [debian/rules:14: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:8: binary-arch] Error 2

see fpc FAQ for possible reasons

mnalis commented 3 years ago

Failing compilation on warning/notes should only be done when developing. (as fixed in bda1037bb868a128c12c4242e890bb2aa0ad5de9 ?)

Although, we shouldn't be getting those warnings, as the system path should be included. Reported in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=978040

mnalis commented 3 years ago

we now also autocalculate the path in Makefile. Fixed.