[Lazarus] It seems that "lazbuild" is NOT checking existence of executable

Mehmet Erol Sanliturk m.e.sanliturk at gmail.com
Tue Mar 17 10:09:46 CET 2015


Dears All ,



Today I have encountered a very interesting situation :



There is a script  in Fedora 19 KDE x86_64 Konsole :

--------------------------------------------------

rm Program_Name

lazbuild Program_Name.LPI

ls -l Program_Name


--------------------------------------------------


When the above script  is executed successively a few times , the output is
the following :


--------------------------------------------------


rm: cannot remove ‘Program_Name’: No such file or directory
primary config path: /home/User_Name/.lazarus
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Last= -Fu.  -MObjFPC
-Scghi -O1 -g -gl -vewnhi -l fcllaz.pas
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Last=
-Fu../../packager/units/x86_64-linux;.  -MObjFPC -Scghi -O1 -g -gl -vewnhi
-l lazutils.pas
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Last=
-Fuforms;widgetset;nonwin32;../packager/units/x86_64-linux;../components/lazutils/lib/x86_64-linux;.
-Fiinclude  -MObjFPC -Scghi -O1 -g -gl -vew -l alllclunits.pp
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Last= -MObjFPC -Scghi -O1
-g -gl -vewnhi -l
-Fugtk2;../../packager/units/x86_64-linux;../../components/lazutils/lib/x86_64-linux;../units/x86_64-linux;.
-Figtk2 lcl.pas
TLazBuildApplication.BuildProject
MainBuildBoss.DoCheckIfProjectNeedsCompilation nothing to be done
ls: cannot access Program_Name: No such file or directory


--------------------------------------------------


It seems that "lazbuild" is NOT checking existence of "Program_Name"
executable .

Then , I have closed the Konsole and reopened it , and executed the above
script .

It started to compile  "Program_Name.LPI" as expected .



Thank you very much .


Mehmet Erol Sanliturk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20150317/4bc1b977/attachment-0002.html>


More information about the Lazarus mailing list