[Lazarus] Broken cross compile build.

Brad Campbell brad at wasp.net.au
Tue May 18 03:37:34 CEST 2010


> Mattias Gärtner wrote:
>> No, no. You have probably just some wrong source paths (too many) 
>> which created duplicate ppu files.

Ok, I'm pretty sure there is a bug here.
Steps to reproduce.

rm ~/.lazarus
cp -a lazarus.clean lazarus.a
cd lazarus.a
make
lazarus
<here I simply set the ide build options to all and re-build the IDE from within lazarus. I need to 
do this so lazarus will create an ~/.lazarus/idemake.cfg file>
cd ..
cp -a lazarus.clean lazarus.b
cd lazarus.b
make all idepkg
<snip>
make[2]: Entering directory `/home/brad/devel/fpc/lazarus.b/ide'
/opt/cross/bin/ppc386 -gl -dlclgtk2 -Fu../lcl/units/i386-linux -Fu../lcl/units/i386-linux/gtk2 
-Fu../components/codetools/units/i386-linux -Fu../components/synedit/units/i386-linux 
-Fu../components/custom -Fu../components/mpaslex -Fu../ideintf/units/i386-linux -Fu../designer 
-Fu../debugger -Fu../debugger/frames -Fu../converter -Fu../packager -Fu../packager/frames 
-Fu../packager/units/i386-linux -Fu../units/i386-linux -Fuframes -Fu. -Fiinclude -Fiinclude/linux 
-Fi../images -FE.. -FU../units/i386-linux -Fl/usr/lib/gcc/i486-linux-gnu/4.2.4 -Flinclude 
-Fl/etc/ld.so.conf.d/*.conf @/home/brad/.lazarus/idemake.cfg -di386 lazarus.pp
Free Pascal Compiler version 2.4.1 [2010/02/13] for i386
Copyright (c) 1993-2009 by Florian Klaempfl
Target OS: Linux for i386
Compiling lazarus.pp
Fatal: Can't find unit codetools used by Lazarus
Fatal: Compilation aborted
make[2]: *** [lazarus] Error 1
make[2]: Leaving directory `/home/brad/devel/fpc/lazarus.b/ide'
make[1]: *** [idepkg] Error 2
make[1]: Leaving directory `/home/brad/devel/fpc/lazarus.b/ide'
make: *** [idepkg] Error 2

lazarus.clean is a pristine svn checkout.

I have to do the lazarus.a build / run to recreate my ~/.lazarus directory. No packages installed, 
no pre-existing configuration.

-- 
Dolphins are so intelligent that within a few weeks they can
train Americans to stand at the edge of the pool and throw them
fish.





More information about the Lazarus mailing list