Darwin Build Fails with fpc trunk revision 29537 or higher
Original Reporter info from Mantis: lks
-
Reporter name:
Original Reporter info from Mantis: lks
- Reporter name:
Description:
The latest trunk version of lazarus (1.5 svn) compiles properly on i386-darwin with the fpc compiler up to revision 29536.
However with revision 29537 or above, the build fails while compiling LCL. The last lines of the make log file are
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C lcl LCL_PLATFORM=nogui
/bin/rm -f units/i386-darwin/alllclunits.ppu
/opt/freepascal/bin/ppc386 -gl -Sc -Fu../packager/units/i386-darwin -Fu../components/lazutils/lib/i386-darwin -Fu. -Funonwin32 -Fuforms -Fuwidgetset -Fiinclude -FE. -FUunits/i386-darwin -gl -di386 alllclunits.pp
Free Pascal Compiler version 3.1.1 [2015/01/25] for i386
Copyright (c) 1993-2015 by Florian Klaempfl and others
Target OS: Darwin for i386
Compiling alllclunits.pp
Compiling checklst.pas
Compiling lclproc.pas
Compiling lclstrconsts.pas
Writing Resource String Table file: lclstrconsts.rsj
Assembling (pipe) units/i386-darwin/lclstrconsts.s
Compiling lcltype.pp
Assembling (pipe) units/i386-darwin/lcltype.s
Compiling ./widgetset/wsreferences.pp
Assembling (pipe) units/i386-darwin/wsreferences.s
Assembling (pipe) units/i386-darwin/lclproc.s
Compiling graphtype.pp
Assembling (pipe) units/i386-darwin/graphtype.s
Compiling graphics.pp
Compiling lclversion.pas
Assembling (pipe) units/i386-darwin/lclversion.s
Compiling intfgraphics.pas
Compiling icnstypes.pas
Assembling (pipe) units/i386-darwin/icnstypes.s
Compiling graphics.pp
Compiling lmessages.pp
Assembling (pipe) units/i386-darwin/lmessages.s
Compiling lresources.pp
Compiling dynqueue.pas
Assembling (pipe) units/i386-darwin/dynqueue.s
Assembling (pipe) units/i386-darwin/lresources.s
Compiling lclrescache.pas
Assembling (pipe) units/i386-darwin/lclrescache.s
Compiling graphmath.pp
Assembling (pipe) units/i386-darwin/graphmath.s
Compiling lclintf.pas
Compiling interfacebase.pp
Compiling themes.pas
Compiling tmschema.pas
Assembling (pipe) units/i386-darwin/tmschema.s
Compiling interfacebase.pp
Assembling (pipe) units/i386-darwin/interfacebase.s
Compiling lclintf.pas
Compiling maps.pp
Assembling (pipe) units/i386-darwin/maps.s
lclintf.inc(188,45) Warning: Symbol "FontCanUTF8" is deprecated
lclintf.inc(327,49) Warning: Symbol "IntfSendsUTF8KeyPress" is deprecated
Assembling (pipe) units/i386-darwin/lclintf.s
Assembling (pipe) units/i386-darwin/themes.s
font.inc(1228,22) Warning: Symbol "FontCanUTF8" is deprecated
Assembling (pipe) units/i386-darwin/graphics.s
Assembling (pipe) units/i386-darwin/intfgraphics.s
Compiling controls.pp
Compiling imglist.pp
Compiling lclclasses.pp
Compiling ./widgetset/wslclclasses.pp
Compiling lclclasses.pp
Assembling (pipe) units/i386-darwin/lclclasses.s
Assembling (pipe) units/i386-darwin/wslclclasses.s
Compiling ./widgetset/wsimglist.pp
Compiling ./widgetset/wsproc.pp
Compiling controls.pp
Compiling propertystorage.pas
Assembling (pipe) units/i386-darwin/propertystorage.s
Compiling menus.pp
Compiling actnlist.pas
Assembling (pipe) units/i386-darwin/actnlist.s
Compiling ./widgetset/wsmenus.pp
Compiling ./widgetset/wsfactory.pas
Assembling (pipe) units/i386-darwin/wsfactory.s
Assembling (pipe) units/i386-darwin/wsmenus.s
Compiling forms.pp
Compiling customtimer.pas
Assembling (pipe) units/i386-darwin/customtimer.s
Compiling clipbrd.pp
Assembling (pipe) units/i386-darwin/clipbrd.s
Compiling helpintfs.pas
Assembling (pipe) units/i386-darwin/helpintfs.s
Compiling controls.pp
Compiling ./widgetset/wscontrols.pp
Compiling ./widgetset/wsimglist.pp
Compiling ./widgetset/wsproc.pp
Assembling (pipe) units/i386-darwin/wsproc.s
Assembling (pipe) units/i386-darwin/wsimglist.s
Assembling (pipe) units/i386-darwin/wscontrols.s
Compiling forms.pp
Compiling ./widg{standard input}:23786:FATAL:Symbol _CONTROLS_
TWINCONTROL__ALIGNCONTROLS
TCONTROLTRECT_DOPOSITION
TCONTROLTALIGN
LONGINT_$_CONSTRAINTHEIGHT
crc42AA5AF5 already defined.
make[1]: *** [alllclunits.ppu] Broken pipe: 13
make: *** [lazbuild] Error 2
Additional information:
Not sure if this should be reported in fpc or lazarus, but I wasn't sure what to report as the fpc bug, so I reported it here.
Mantis conversion info:
- Mantis ID: 27355
- OS: OS X
- OS Build: 10.10.1
- Build: 47521
- Platform: i386-darwin