Lazarus

Programming => Widgetset => Cocoa => Topic started by: emhartner on August 18, 2019, 03:20:15 pm

Title: Cannot Build Trunk 61720 On Mac
Post by: emhartner on August 18, 2019, 03:20:15 pm
I was having trouble with the TRichMemo (when populating the Rtf property either by typing or using the Load button, the data is not saved upon clicking OK) so I decided to get the latest trunk.  Now when I build Lazarus I am getting the following error:

Assembling (pipe) units/x86_64-darwin/controls.s
controls.pp(4648) Fatal: Internal error 2013121801
Fatal: Compilation aborted
make[1]: *** [alllclunits.ppu] Error 1
make: *** [lazbuild] Error 2

Any ideas?

Thank you.
Title: Re: Cannot Build Trunk 61720 On Mac
Post by: skalogryz on August 18, 2019, 03:38:03 pm
fpc version?
Title: Re: Cannot Build Trunk 61720 On Mac
Post by: emhartner on August 18, 2019, 03:44:22 pm
fpc version is 3.3.1.  I have the same error when building with 3.0.4.
Title: Re: Cannot Build Trunk 61720 On Mac
Post by: Thaddy on August 18, 2019, 03:47:07 pm
fpc version is 3.3.1.  I have the same error when building with 3.0.4.
We need the revision of FPC too, not the version of trunk: trunk changes daily and I can not reproduce the issue with a trunk from today. (but did not test Apple)
Title: Re: Cannot Build Trunk 61720 On Mac
Post by: emhartner on August 18, 2019, 03:51:34 pm
The fpc revision for 3.3.1 is 42727.

Extra information below:

Here is my build line for fpc:
make OPT="-WM10.8" clean all

Here is my build line for lazarus:
make LCL_PLATFORM=cocoa CPU_TARGET=x86_64 bigide
Title: Re: Cannot Build Trunk 61720 On Mac
Post by: Jonas Maebe on August 18, 2019, 06:16:09 pm
I cannot reproduce the issue with either FPC 3.0.4 or the latest trunk. You could try doing a "make distclean" of your lazarus and fpc directories to try to get rid some stale units that "make clean" didn't find for some reason.
Title: Re: Cannot Build Trunk 61720 On Mac
Post by: emhartner on August 18, 2019, 07:11:31 pm
Ok it's working now.  Thank you!