[fpc-pascal] FPC x86+x64 win trunk failing to build (using fpcup): 2 different errors

Jonas Maebe jonas.maebe at elis.ugent.be
Thu Sep 20 16:57:22 CEST 2012

On 20 Sep 2012, at 16:50, Reinier Olislagers wrote:

> -FuC:\development\fpctrunk\packages\httpd22\units\x86_64-win64\
> -Filnet/sys -Ur -Xs -O2 -n
> -FuC:/development/fpctrunk/rtl/units/x86_64-win64
> -FuC:/development/fpctrunk/packages/paszlib/units/x86_64-win64
> -FuC:/development/fpctrunk
> /packages/fcl-process/units/x86_64-win64
> -FuC:/development/fpctrunk/packages/hash/units/x86_64-win64
> -FuC:/development/fpctrunk/packages/fpmkunit/units/x86_64-win64 -gw -gl
> -dx86_64 -dRELEASE -viq pkglnet.pp" failed with exit code 1. Console output:
> Target OS: Win64 for x64
> Compiling pkglnet.pp
> PPU Loading
> C:\development\fpctrunk\packages\fppkg\units\x86_64-win64\pkgglobals
> .ppu
> PPU Source: pkgglobals.pp not available
> Recompiling pkgglobals, checksum changed for fpmkunit
> Fatal: Can't find unit pkgglobals used by pkghandler
> Fatal: Compilation aborted

It's a bug in the fpmake-related cleaning logic that doesn't delete all units (even when using make distclean). You have to manually delete all units/$fpctarget directories under packages to work around it.


More information about the fpc-pascal mailing list