svn revision 42594 breaks cross building the packages winceunits for the targets i386-wince and arm-wince

Original Reporter info from Mantis: karl-michael.schindler@web.de @KaMiSchi
  • Reporter name: Karl-Michael Schindler

Description:

svn revision 42594 breaks cross building the packages winceunits for the targets i386-wince and arm-wince with this error message (example with i386-wince):

...
Start compiling package winceunits for target i386-wince.
Warning: Source file "activex.pp" from package winceunits not found for i386-wince

       Compiling winceunits/../winunits-base/src/comobj.pp
       Compiling winceunits/../winunits-base/src/activex.pp
       Compiling winceunits/../winunits-base/src/comconst.pp
       Compiling winceunits/../winunits-base/src/ole2.pp

The installer encountered the following error:
External command "/BlaBla/FreePascal/compiler/ppcross386 -Twince -FUwinceunits/units/i386-wince/ -Fu/BlaBla/FreePascal/rtl/units/i386-wince/ -Fu/BlaBla/FreePascal/packages/rtl-objpas/units/i386-wince/ -Fu/BlaBla/FreePascal/packages/rtl-extra/units/i386-wince/ -Twince -Pi386 -XPi386-wince- -Xr -Ur -Xs -O2 -n -ap -di386 -dRELEASE -Xe -Sc -Ur -viq winceunits/../winunits-base/src/comobj.pp" failed with exit code 256. Console output:
Target OS: WinCE for i386
Compiling winceunits/../winunits-base/src/comobj.pp
Compiling winceunits/../winunits-base/src/activex.pp
Compiling winceunits/../winunits-base/src/comconst.pp
Writing Resource String Table file: comconst.rsj
Compiling winceunits/../winunits-base/src/ole2.pp
comobj.pp(949,21) Error: Identifier not found "CoLockObjectExternal"
comobj.pp(1021,44) Error: Identifier not found "CoRevokeClassObject"
comobj.pp(1054,16) Error: Identifier not found "CoRegisterClassObject"
comobj.pp(1903) Fatal: There were 3 errors compiling module, stopping
Fatal: Compilation aborted
...

Steps to reproduce:

svn up -r 42594
make all OPT=-ap CPU_TARGET=i386 OS_TARGET=wince

Additional information:

I do not think it is relevant, but for the sake of completeness: The system is macOS 10.14.6 with Xcode 10.3, the bootstrap compiler is fpc 64bit 3.0.4a from fink.

Mantis conversion info:

  • Mantis ID: 35964
  • OS: Mac OS X
  • OS Build: 10.5, 10.6
  • Build: 42594
  • Platform: darwin
  • Version: 3.3.1
  • Fixed in version: 3.3.1
  • Fixed in revision: 42696 (#aa0422b2)