FPC does not build under FreeBSD 12
Original Reporter info from Mantis: trev @trevoz
-
Reporter name: Trevor Roydhouse
Original Reporter info from Mantis: trev @trevoz
- Reporter name: Trevor Roydhouse
Description:
build script:
#!/bin/sh
cd ~/fpc-3.3.1
svnlite cleanup --remove-unversioned
gmake clean all FPC=/usr/local/lib/fpc/3.0.4/ppcx64 PS_TARGET=freebsd CPU_TARGET=x86_64
gmake install OS_TARGET=freebsd CPU_TARGET=x86_64
[...]
gmake rtl
gmake[5]: Entering directory '/usr/home/trev/fpc-3.3.1/compiler'
gmake -C /usr/home/trev/fpc-3.3.1/rtl 'OPT=' all
gmake[6]: Entering directory '/usr/home/trev/fpc-3.3.1/rtl'
gmake -C freebsd all
gmake[7]: Entering directory '/usr/home/trev/fpc-3.3.1/rtl/freebsd'
as --64 -o /usr/home/trev/fpc-3.3.1/rtl/units/x86_64-freebsd/prt0.o x86_64/prt0.as
as --64 -o /usr/home/trev/fpc-3.3.1/rtl/units/x86_64-freebsd/cprt0.o x86_64/cprt0.as
as --64 -o /usr/home/trev/fpc-3.3.1/rtl/units/x86_64-freebsd/gprt0.o x86_64/gprt0.as
as --64 -o /usr/home/trev/fpc-3.3.1/rtl/units/x86_64-freebsd/dllprt0.o x86_64/dllprt0.as
/usr/home/trev/fpc-3.3.1/compiler/ppc1 -Ur -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -Fi../unix -Fi../bsd -Fi../bsd/x86_64 -Fi../freebsd/x86_64 -FE. -FU/usr/home/trev/fpc-3.3.1/rtl/units/x86_64-freebsd -Cg -dx86_64 -dRELEASE -Us -Sg ../bsd/system.pp
Error: Path "./" does not exist <<<<--- it does exist <<<<<
gmake[7]: *** [Makefile:3540: system.ppu] Error 1
gmake[7]: Leaving directory '/usr/home/trev/fpc-3.3.1/rtl/freebsd'
gmake[6]: *** [Makefile:2399: freebsd_all] Error 2
gmake[6]: Leaving directory '/usr/home/trev/fpc-3.3.1/rtl'
gmake[5]: *** [Makefile:5071: rtl] Error 2
gmake[5]: Leaving directory '/usr/home/trev/fpc-3.3.1/compiler'
gmake[4]: *** [Makefile:4917: next] Error 2
[...]
Steps to reproduce:
* Download trunk svn version
* Run build script
Additional information:
FreeBSD 12 has a new stat structure, complete with 64-bit inode numbers, link counts, and some field reorderings.
See version 1200031 and later here:
https://www.freebsd.org/doc/en/books/porters-handbook/versions-12.html
Mantis conversion info:
- Mantis ID: 37784
- OS: FreeBSD
- OS Build: 12+
- Platform: Intel
- Version: 3.3.1
- Monitored by: » @trevoz (Trevor Roydhouse)