View Issue Details

IDProjectCategoryView StatusLast Update
0035964FPCPackagespublic2019-08-15 14:08
ReporterKarl-Michael SchindlerAssigned ToSven Barth 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformdarwinOSMac OS XOS Version10.5, 10.6
Product Version3.3.1Product Build42594 
Target VersionFixed in Version3.3.1 
Summary0035964: svn revision 42594 breaks cross building the packages winceunits for the targets i386-wince and arm-wince
Descriptionsvn 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 Reproducesvn up -r 42594
make all OPT=-ap CPU_TARGET=i386 OS_TARGET=wince
Additional InformationI 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.
TagsNo tags attached.
Fixed in Revision42696
FPCOldBugId
FPCTarget-
Attached Files

Activities

Karl-Michael Schindler

2019-08-14 17:05

reporter   ~0117672

Uploading the file fpmake.pp was a mistake. It has no meaning and can be deleted.

Anton Kavalenka

2019-08-14 17:14

reporter   ~0117673

Seems like WinCE has somewhat restricted COM support.
https://docs.microsoft.com/en-us/windows/win32/api/combaseapi/nf-combaseapi-colockobjectexternal
https://docs.microsoft.com/en-us/windows/win32/api/combaseapi/nf-combaseapi-corevokeclassobject
https://docs.microsoft.com/en-us/windows/win32/api/combaseapi/nf-combaseapi-coregisterclassobject

Minimum supported OS - Windows 2000

Sven Barth

2019-08-15 13:42

manager   ~0117686

Last edited: 2019-08-15 13:43

View 3 revisions

I reverted to the old behavior for WinCE.

Please test and close if okay.

(and I deleted the superfluous fpmake.pp attachment)

Karl-Michael Schindler

2019-08-15 14:08

reporter   ~0117687

Test confirms fix. Thanks.

Issue History

Date Modified Username Field Change
2019-08-14 17:03 Karl-Michael Schindler New Issue
2019-08-14 17:03 Karl-Michael Schindler File Added: fpmake.pp
2019-08-14 17:05 Karl-Michael Schindler Note Added: 0117672
2019-08-14 17:14 Anton Kavalenka Note Added: 0117673
2019-08-15 13:42 Sven Barth Assigned To => Sven Barth
2019-08-15 13:42 Sven Barth Status new => resolved
2019-08-15 13:42 Sven Barth Resolution open => fixed
2019-08-15 13:42 Sven Barth Fixed in Version => 3.3.1
2019-08-15 13:42 Sven Barth Fixed in Revision => 42696
2019-08-15 13:42 Sven Barth FPCTarget => -
2019-08-15 13:42 Sven Barth Note Added: 0117686
2019-08-15 13:42 Sven Barth File Deleted: fpmake.pp
2019-08-15 13:43 Sven Barth Note Edited: 0117686 View Revisions
2019-08-15 13:43 Sven Barth Note Edited: 0117686 View Revisions
2019-08-15 14:08 Karl-Michael Schindler Status resolved => closed
2019-08-15 14:08 Karl-Michael Schindler Note Added: 0117687