[Lazarus] Is win32 svn broken?

Gregory M. Turner gmt at malth.us
Wed Oct 12 15:27:41 CEST 2011


I am despairing after two days of trying to get svn to build itself on win32 (under wow64) with the fixes_2_6 branch of fpc.

Is this, by any chance, in some known-not-working-for-now-while-somebody-hacks-on-something state?

What always happens -- well, almost always; I have vague memories of it working correctly at some point -- is that lazbuild installs -olazarus.new.exe into idemake.cfg (it has code to complain if it is prevented from doing so which I am very tempted to disable), and then leaves it there.  Then it builds lazbuild and startlazarus, also supplying the @idemake.cfg to fcp.  So each of these builds overwrites lazarus.new.exe, which is obviously wrong.  At the end of the process, lazbuild is saved as lazarus.new.exe and then renamed to lazarus.exe which results in a quick flash of "dos box" while it (lazbuild cum lazarus.exe) dumps its syntax cheat-sheet stdout.  Thereafter, of course, nothing happens until I put lazaurs.old.exe back (miraculously, it is preserved correctly despite this insane shell game).

Of course, that is when things go well.  When they go poorly, it just does this:

C:/lazarus/fpc/2.6/bin/i386-win32/fpc.exe -gl -dlclwin32 -Fu../lcl/units/i386-win32 -Fu../lcl/units/i386-win32/win32 -Fu../components/codetools/units/i386-win32 -Fu../components/lazutils/lib/i386-win32 -Fu../components/synedit/units/i386-win32 -Fu../components/lazcontrols/lib/i386-win32 -Fu../components/custom -Fu../components/mpaslex -Fu../ideintf/units/i386-win32 -Fu../designer -Fu../debugger -Fu../debugger/frames -Fu../converter -Fu../packager -Fu../packager/frames -Fu../packager/units/i386-win32 -Fu../units/i386-win32 -Fuframes -Fu. -Fiinclude -Fiinclude/win32 -Fi../images -FE.. -FU../units/i386-win32 -WG @C:\Users\greg\AppData\Local\lazarus\idemake.cfg -di386 lazarus.pp
.
.
.
Compiling projectwizarddlg.pas
PPU Loading C:\lazarus\components\sqldb\lib\i386-win32\win32\registersqldb.ppu
PPU Source: registersqldb.pas not found
PPU Source: registersqldb.lrs not found
Recompiling registersqldb, checksum changed for LResources
registersqldb.pas(76,12) Fatal: Can't find unit registersqldb used by SQLDBLaz
TExternalToolList.Run Exception: registersqldb.pas(76,12) Fatal: Can't find unit registersqldb used by SQLDBLaz
ERROR: tool reported error

I keep telling it "yeah?  Well -FU too, thingy!" but it doesn't care.  I have tried all the obvious conventional remedies such as make clean bigide & blow away %AppData%\lazarus, googling 'till my eyes bleed, and so-forth.  Anyone got a cure for this?  Or even some insight into where I should be looking to fix it?  Makefiles perhaps?

Thanks for your help,

-gmt




More information about the Lazarus mailing list