Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-09

Lazarus SVN build "stucked" to TFPCSourceCache.Update after ran

10 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Thierry Bothorel

Hi,

since some days after successfully building Lazarus from svn, I can't run it on my Ubuntu 64 bit system : here is the outpout :

Adding "--pcp=~/.lazarus" as a parameter
Adding "--scp=~/.lazarus" as a parameter
TLazarusManager.Run starting
/home/thierrybo/Sys/local/opt/lazarus_FPC_svn/lazarus ... SetPrimaryConfigPath NewValue="~/.lazarus" -> "/home/thierrybo/.lazarus" SetSecondaryConfigPath NewValue="~/.lazarus" -> "/home/thierrybo/.lazarus" TMainIDE.ParseCmdLineOptions:
PrimaryConfigPath="/home/thierrybo/.lazarus"
SecondaryConfigPath="/home/thierrybo/.lazarus"
Note: environment config file not found - using defaults NOTE: editor options config file not found - using defaults NOTE: miscellaneous options file not found - using defaults NOTE : fichier de configuration codetools non trouv?. Valeurs par d?faut utilis?es.

NOTE: Compiler filename not set! (see Environment / Options ... / Environment / Files)

NOTE: FPC source directory not set! (see Environment / Options ... / Environment / Files)
TFPCTargetConfigCache.NeedsUpdate compiler file changed "/usr/bin/fpc" FileAge=1244031136 StoredAge=0
TFPCTargetConfigCache.Update /usr/bin/fpc TargetOS=linux TargetCPU=x86_64 CompilerOptions= ExtraOptions=
RunTool /usr/bin/fpc -iTOTP -Px86_64 -Tlinux
RunTool /usr/bin/fpc -va -Px86_64 -Tlinux compilertest.pas TFPCTargetConfigCache.Update: has changed
TFPCSourceCache.Update /home/thierrybo ...

As I write this post, the TFPCSourceCache.Update /home/thierrybo ... is running since 1 hour and my hard disk led is full red! I updated sources several times since the first time it appears without success. I delete the ~/.lazarus folder after each build.

I have fpc 2.2 installed from regular Ubuntu repositories, but the Lazarus version I build is build from FPC 2.5.1, as I usually do.

Thierry B.

Reply by email

Vincent Snijders
to Thierry Bothorel

2010/9/27 Thierry Bothorel :

Show quoted text 7 lines
Hi, since some days ?after successfully building Lazarus from svn, I can't run it on my Ubuntu 64 bit system : here is the outpout : Adding "--pcp=~/.lazarus" as a parameter Adding "--scp=~/.lazarus" as a parameter

Why are the primary and the secundary config directory the same. Data is copied from secundary config directory to primary config directory, and I can imagine that you create a endless loop, if they point to the same directory.

Vincent

Reply by email

Mattias Gaertner
to Thierry Bothorel: since some days after successfully building Lazarus from svn, I can't run it on my…
Show quoted text 7 lines
Hi, since some days after successfully building Lazarus from svn, I can't run it on my Ubuntu 64 bit system : here is the outpout : Adding "--pcp=~/.lazarus" as a parameter Adding "--scp=~/.lazarus" as a parameter

Remove the scp option.

Show quoted text 32 lines
TLazarusManager.Run starting /home/thierrybo/Sys/local/opt/lazarus_FPC_svn/lazarus ... SetPrimaryConfigPath NewValue="~/.lazarus" -> "/home/thierrybo/.lazarus" SetSecondaryConfigPath NewValue="~/.lazarus" -> "/home/thierrybo/.lazarus" TMainIDE.ParseCmdLineOptions: PrimaryConfigPath="/home/thierrybo/.lazarus" SecondaryConfigPath="/home/thierrybo/.lazarus" Note: environment config file not found - using defaults NOTE: editor options config file not found - using defaults NOTE: miscellaneous options file not found - using defaults NOTE : fichier de configuration codetools non trouv?. Valeurs par d?faut utilis?es. NOTE: Compiler filename not set! (see Environment / Options ... / Environment / Files) NOTE: FPC source directory not set! (see Environment / Options ... / Environment / Files) TFPCTargetConfigCache.NeedsUpdate compiler file changed "/usr/bin/fpc" FileAge=1244031136 StoredAge=0 TFPCTargetConfigCache.Update /usr/bin/fpc TargetOS=linux TargetCPU=x86_64 CompilerOptions= ExtraOptions= RunTool /usr/bin/fpc -iTOTP -Px86_64 -Tlinux RunTool /usr/bin/fpc -va -Px86_64 -Tlinux compilertest.pas TFPCTargetConfigCache.Update: has changed TFPCSourceCache.Update /home/thierrybo ... As I write this post, the TFPCSourceCache.Update /home/thierrybo ... is running since 1 hour and my hard disk led is full red! I updated sources several times since the first time it appears without success. I delete the ~/.lazarus folder after each build.

Compile lazarus clean with -dVerboseFPCSrcScan to show what directories are scanned.

I have fpc 2.2 installed from regular Ubuntu repositories, but the Lazarus version I build is build from FPC 2.5.1, as I usually do.

Mattias

Reply by email

Thierry Bothorel
to Vincent Snijders: 2010/9/27 Thierry Bothorel : Why are the primary and the secundary config directory the…

Vincent Snijders a ?crit :

Show quoted text 18 lines
2010/9/27 Thierry Bothorel : > Hi, > > since some days after successfully building Lazarus from svn, I can't > run it on my Ubuntu 64 bit system : here is the outpout : > > Adding "--pcp=~/.lazarus" as a parameter > Adding "--scp=~/.lazarus" as a parameter > Why are the primary and the secundary config directory the same. Data is copied from secundary config directory to primary config directory, and I can imagine that you create a endless loop, if they point to the same directory. Vincent

OK I understand, but this has not caused me troubles before (~ 6 months). Why I did that. I have several Lazarus installations. A "regular" one installed from :
deb http://www.hu.freepascal.org/lazarus/ lazarus-stable and some others in my home directory.

Previously I ran Lazarus installation, build from latest source, without any parameter, and others more "stable" with something like : startlazarus --pcp=~/.lazarus-stable

But this cause me lots of troubles when running just : startlazarus --pcp=~/.lazarus

when I believed deleting ~/.lazarus was enough, before I understand it use environment file for *regular" lazarus :

startlazarus
TLazarusManager.Run starting
/home/thierrybo/Sys/local/opt/lazarus_FPC_svn/lazarus ... TMainIDE.ParseCmdLineOptions:
PrimaryConfigPath="/home/thierrybo/.lazarus"
SecondaryConfigPath="/etc/lazarus"
<-------------------------------------------

So I added

--scp=~/.lazarus to avoid this. This used to work until now. I have another build using svn code from 1 month ago, without any problem. My regular installation use also the two identical --pcp and --scp parameters.

Thierry B.

Reply by email

Mattias Gaertner
to Thierry Bothorel
Show quoted text 47 lines
Vincent Snijders a ?crit : > 2010/9/27 Thierry Bothorel : > >> Hi, >> >> since some days after successfully building Lazarus from svn, I can't >> run it on my Ubuntu 64 bit system : here is the outpout : >> >> Adding "--pcp=~/.lazarus" as a parameter >> Adding "--scp=~/.lazarus" as a parameter >> > > Why are the primary and the secundary config directory the same. Data > is copied from secundary config directory to primary config directory, > and I can imagine that you create a endless loop, if they point to the > same directory. > > Vincent > OK I understand, but this has not caused me troubles before (~ 6 months). Why I did that. I have several Lazarus installations. A "regular" one installed from : deb http://www.hu.freepascal.org/lazarus/ lazarus-stable and some others in my home directory. Previously I ran Lazarus installation, build from latest source, without any parameter, and others more "stable" with something like : startlazarus --pcp=~/.lazarus-stable But this cause me lots of troubles when running just : startlazarus --pcp=~/.lazarus when I believed deleting ~/.lazarus was enough, before I understand it use environment file for *regular" lazarus : startlazarus TLazarusManager.Run starting /home/thierrybo/Sys/local/opt/lazarus_FPC_svn/lazarus ... TMainIDE.ParseCmdLineOptions: PrimaryConfigPath="/home/thierrybo/.lazarus" SecondaryConfigPath="/etc/lazarus" <------------------------------------------- So I added --scp=~/.lazarus to avoid this. This used to work until now. I have another build using svn code from 1 month ago, without any problem. My regular installation use also the two identical --pcp and --scp parameters.

Using the scp=pcp should not cause any trouble, because the logic behind the secondary config directory is this:

If a config file is missing in the pcp, but there is one in the scp then it is copied from the scp to the pcp.

Mattias

Reply by email

Thierry Bothorel
to Mattias Gaertner

Mattias Gaertner a ?crit :

Show quoted text 66 lines
On Tue, 28 Sep 2010 13:55:55 +0200 Thierry Bothorel wrote: > Vincent Snijders a ?crit : > >> 2010/9/27 Thierry Bothorel : >> >> >>> Hi, >>> >>> since some days after successfully building Lazarus from svn, I can't >>> run it on my Ubuntu 64 bit system : here is the outpout : >>> >>> Adding "--pcp=~/.lazarus" as a parameter >>> Adding "--scp=~/.lazarus" as a parameter >>> >>> >> Why are the primary and the secundary config directory the same. Data >> is copied from secundary config directory to primary config directory, >> and I can imagine that you create a endless loop, if they point to the >> same directory. >> >> Vincent >> >> > OK I understand, but this has not caused me troubles before (~ 6 > months). Why I did that. I have several Lazarus installations. A > "regular" one installed from : > deb http://www.hu.freepascal.org/lazarus/ lazarus-stable > and some others in my home directory. > > Previously I ran Lazarus installation, build from latest source, without > any parameter, and others more "stable" with something like : > startlazarus --pcp=~/.lazarus-stable > > But this cause me lots of troubles when running just : > startlazarus --pcp=~/.lazarus > > when I believed deleting ~/.lazarus was enough, before I understand it > use environment file for *regular" lazarus : > > startlazarus > TLazarusManager.Run starting > /home/thierrybo/Sys/local/opt/lazarus_FPC_svn/lazarus ... > TMainIDE.ParseCmdLineOptions: > PrimaryConfigPath="/home/thierrybo/.lazarus" > SecondaryConfigPath="/etc/lazarus" > <------------------------------------------- > > > So I added > > --scp=~/.lazarus to avoid this. This used to work until now. I have another build using svn code from 1 month ago, without any problem. My regular installation use also the two identical --pcp and --scp parameters. > Using the scp=pcp should not cause any trouble, because the logic behind the secondary config directory is this: If a config file is missing in the pcp, but there is one in the scp then it is copied from the scp to the pcp. Mattias

Ok, so this brings me to the starting point :-) I did a test. If I run just startlazarus --pcp=~/.lazarus
it starts properly ,because it reads
/etc/lazarus/environmentoptions.xml, but this file is not supposed to be there because it is installed and setup for another Lazarus installation.

But if /etc/lazarus/environmentoptions.xml does not exist (as if I has not installed Lazarus from Ubuntu repositories) , I get back to the TFPCSourceCache.Update problem. On a fresh install no primary or secondary config file is supposed to be there. I compiled Lazarus with-dVerboseFPCSrcScan but I did not noticed new lines in the output.

Thierry B.

Reply by email

Mattias Gaertner
to Thierry Bothorel
Show quoted text 12 lines
[...] Ok, so this brings me to the starting point :-) I did a test. If I run just startlazarus --pcp=~/.lazarus it starts properly ,because it reads /etc/lazarus/environmentoptions.xml, but this file is not supposed to be there because it is installed and setup for another Lazarus installation. But if /etc/lazarus/environmentoptions.xml does not exist (as if I has not installed Lazarus from Ubuntu repositories) , I get back to the TFPCSourceCache.Update problem. On a fresh install no primary or secondary config file is supposed to be there. I compiled Lazarus with-dVerboseFPCSrcScan but I did not noticed new lines in the output.

Then start the IDE in gdb, run it, stop it and see the backtrace.

Mattias

Reply by email

Thierry Bothorel
to Mattias Gaertner

Mattias Gaertner a ?crit :

Show quoted text 24 lines
On Tue, 28 Sep 2010 22:44:06 +0200 Thierry Bothorel wrote: > [...] > Ok, so this brings me to the starting point :-) I did a test. If I run just > startlazarus --pcp=~/.lazarus > it starts properly ,because it reads > /etc/lazarus/environmentoptions.xml, but this file is not supposed to be > there because it is installed and setup for another Lazarus installation. > > But if /etc/lazarus/environmentoptions.xml does not exist (as if I has > not installed Lazarus from Ubuntu repositories) , I get back to the > TFPCSourceCache.Update problem. On a fresh install no primary or > secondary config file is supposed to be there. I compiled Lazarus > with-dVerboseFPCSrcScan but I did not noticed new lines in the output. > Then start the IDE in gdb, run it, stop it and see the backtrace. Mattias --

Uhm I never used gdb this way. Is this what you mean (see the last lines)

~$ gdb --args
/home/thierrybo/Sys/local/opt/lazarus_FPC_svn/startlazarus --pcp=~/.lazarus --scp=~/.lazarus
GNU gdb (GDB) 7.0-ubuntu
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from
/home/thierrybo/Sys/local/opt/lazarus_FPC_svn/startlazarus...done. (gdb)
(gdb) r
Starting program:
/home/thierrybo/Sys/local/opt/lazarus_FPC_svn/startlazarus --pcp=\~/.lazarus --scp=\~/.lazarus
[Thread debugging using libthread_db enabled]
Adding "--pcp=~/.lazarus" as a parameter
Adding "--scp=~/.lazarus" as a parameter
TLazarusManager.Run starting
/home/thierrybo/Sys/local/opt/lazarus_FPC_svn/lazarus ... SetPrimaryConfigPath NewValue="~/.lazarus" -> "/home/thierrybo/.lazarus" SetSecondaryConfigPath NewValue="~/.lazarus" -> "/home/thierrybo/.lazarus" TMainIDE.ParseCmdLineOptions:
PrimaryConfigPath="/home/thierrybo/.lazarus"
SecondaryConfigPath="/home/thierrybo/.lazarus"
Note: environment config file not found - using defaults NOTE: editor options config file not found - using defaults NOTE: miscellaneous options file not found - using defaults NOTE : fichier de configuration codetools non trouv?. Valeurs par d?faut utilis?es.

NOTE: Compiler filename not set! (see Environment / Options ... / Environment / Files)

NOTE: FPC source directory not set! (see Environment / Options ... / Environment / Files)
TFPCTargetConfigCache.NeedsUpdate compiler file changed "/usr/bin/fpc" FileAge=1244031136 StoredAge=0
TFPCTargetConfigCache.Update /usr/bin/fpc TargetOS=linux TargetCPU=x86_64 CompilerOptions= ExtraOptions=
RunTool /usr/bin/fpc -iTOTP -Px86_64 -Tlinux
RunTool /usr/bin/fpc -va -Px86_64 -Tlinux compilertest.pas Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/rtl" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/gdbm" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/unzip" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/syslog" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/regexpr" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/uuid" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/fftw" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/utmp" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/x11" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/users" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/fv" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/dts" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/gtk2" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/iconvenc" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/libpng" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/mad" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/hash" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/oracle" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/chm" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/imagemagick" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/mysql" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/fcl-json" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/xforms" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/a52" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/fcl-base" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/opengl" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/bfd" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/tcl" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/fcl-registry" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/sdl" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/dbus" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/ncurses" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/fcl-image" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/ldap" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/httpd13" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/svgalib" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/pasjpeg" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/graph" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/pthreads" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/postgres" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/fcl-passrc" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/fcl-process" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/odbc" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/fcl-fpcunit" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/openal" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/oggvorbis" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/fcl-net" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/cairo" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/zlib" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/httpd20" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/numlib" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/libcurl" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/fcl-web" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/pcap" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/pxlib" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/newt" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/ggi" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/ibase" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/sqlite" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/fcl-db" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/fcl-async" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/fpmkunit" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/gdbint" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/libgd" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/openssl" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/modplug" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/paszlib" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/fcl-xml" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/cdrom" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/aspell" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/lexyacc" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/httpd22" Using unit path: "/usr/lib/fpc/2.2.4"
TFPCTargetConfigCache.Update: has changed
TMainIDE.RescanCompilerDefines A ClearCaches=False CompilerFilename=/usr/bin/fpc TargetOS=linux TargetCPU=x86_64 EnvFPCSrcDir=/usr/share/fpcsrc/$(FPCVer)/ FPCSrcDir= TFPCSourceCache.Update /home/thierrybo ...
^C
Program received signal SIGINT, Interrupt.
0x000000000053ff41 in
SYSTEM_FPSYSCALL$INT64$INT64$INT64$INT64$INT64$$INT64 () (gdb) bt
#0 0x000000000053ff41 in
SYSTEM_FPSYSCALL$INT64$INT64$INT64$INT64$INT64$$INT64 ()
#1 0x0000000000540520 in SYSTEM_FPWAITPID$LONGINT$PCINT$LONGINT$$LONGINT () #2 0x0000000000000000 in ?? ()
(gdb)

Reply by email

Mattias Gaertner
to Thierry Bothorel
Show quoted text 82 lines
Mattias Gaertner a ?crit : > On Tue, 28 Sep 2010 22:44:06 +0200 > Thierry Bothorel wrote: > > >> [...] >> Ok, so this brings me to the starting point :-) I did a test. If I run just >> startlazarus --pcp=~/.lazarus >> it starts properly ,because it reads >> /etc/lazarus/environmentoptions.xml, but this file is not supposed to be >> there because it is installed and setup for another Lazarus installation. >> >> But if /etc/lazarus/environmentoptions.xml does not exist (as if I has >> not installed Lazarus from Ubuntu repositories) , I get back to the >> TFPCSourceCache.Update problem. On a fresh install no primary or >> secondary config file is supposed to be there. I compiled Lazarus >> with-dVerboseFPCSrcScan but I did not noticed new lines in the output. >> > > Then start the IDE in gdb, run it, stop it and see the backtrace. > > Mattias > > -- > Uhm I never used gdb this way. Is this what you mean (see the last lines) ~$ gdb --args /home/thierrybo/Sys/local/opt/lazarus_FPC_svn/startlazarus --pcp=~/.lazarus --scp=~/.lazarus GNU gdb (GDB) 7.0-ubuntu Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /home/thierrybo/Sys/local/opt/lazarus_FPC_svn/startlazarus...done. (gdb) (gdb) r Starting program: /home/thierrybo/Sys/local/opt/lazarus_FPC_svn/startlazarus --pcp=\~/.lazarus --scp=\~/.lazarus [Thread debugging using libthread_db enabled] Adding "--pcp=~/.lazarus" as a parameter Adding "--scp=~/.lazarus" as a parameter TLazarusManager.Run starting /home/thierrybo/Sys/local/opt/lazarus_FPC_svn/lazarus ... SetPrimaryConfigPath NewValue="~/.lazarus" -> "/home/thierrybo/.lazarus" SetSecondaryConfigPath NewValue="~/.lazarus" -> "/home/thierrybo/.lazarus" TMainIDE.ParseCmdLineOptions: PrimaryConfigPath="/home/thierrybo/.lazarus" SecondaryConfigPath="/home/thierrybo/.lazarus" Note: environment config file not found - using defaults NOTE: editor options config file not found - using defaults NOTE: miscellaneous options file not found - using defaults NOTE : fichier de configuration codetools non trouv?. Valeurs par d?faut utilis?es. NOTE: Compiler filename not set! (see Environment / Options ... / Environment / Files) NOTE: FPC source directory not set! (see Environment / Options ... / Environment / Files) TFPCTargetConfigCache.NeedsUpdate compiler file changed "/usr/bin/fpc" FileAge=1244031136 StoredAge=0 TFPCTargetConfigCache.Update /usr/bin/fpc TargetOS=linux TargetCPU=x86_64 CompilerOptions= ExtraOptions= RunTool /usr/bin/fpc -iTOTP -Px86_64 -Tlinux RunTool /usr/bin/fpc -va -Px86_64 -Tlinux compilertest.pas Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/rtl" [...] Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux" Using unit path: "/usr/lib/fpc/2.2.4/units/x86_64-linux/httpd22" Using unit path: "/usr/lib/fpc/2.2.4" TFPCTargetConfigCache.Update: has changed TMainIDE.RescanCompilerDefines A ClearCaches=False CompilerFilename=/usr/bin/fpc TargetOS=linux TargetCPU=x86_64

Looks good.

EnvFPCSrcDir=/usr/share/fpcsrc/$(FPCVer)/ FPCSrcDir=

This can be improved. But I use a fpc source path with this macro too, so this can not be the bug.

Show quoted text 12 lines
TFPCSourceCache.Update /home/thierrybo ... ^C Program received signal SIGINT, Interrupt. 0x000000000053ff41 in SYSTEM_FPSYSCALL$INT64$INT64$INT64$INT64$INT64$$INT64 () (gdb) bt #0 0x000000000053ff41 in SYSTEM_FPSYSCALL$INT64$INT64$INT64$INT64$INT64$$INT64 () #1 0x0000000000540520 in SYSTEM_FPWAITPID$LONGINT$PCINT$LONGINT$$LONGINT () #2 0x0000000000000000 in ?? () (gdb)

Strange.

Mattias

Reply by email

Thierry Bothorel
to Mattias Gaertner

Mattias Gaertner a ?crit :

Show quoted text 8 lines
> EnvFPCSrcDir=/usr/share/fpcsrc/$(FPCVer)/ FPCSrcDir= > This can be improved. But I use a fpc source path with this macro too, so this can not be the bug.

This is what Lazarus read at first run from
/etc/lazarus/environmentoptions.xml

<FPCSourceDirectory Value="/usr/share/fpcsrc/$(FPCVER)/">

But normally right after first run, I go to IDE environment option to set :

Lazarus directory :
~/Sys/local/opt/lazarus_FPC_svn/

Compiler path :
~/Sys/local/opt/fpc/2.5.1/bin/fpc

FPC source directory :
~/Sys/local/opt/fpc/fpsrc/2.5.1/

Show quoted text 17 lines
> TFPCSourceCache.Update /home/thierrybo ... > ^C > Program received signal SIGINT, Interrupt. > 0x000000000053ff41 in > SYSTEM_FPSYSCALL$INT64$INT64$INT64$INT64$INT64$$INT64 () > (gdb) bt > #0 0x000000000053ff41 in > SYSTEM_FPSYSCALL$INT64$INT64$INT64$INT64$INT64$$INT64 > () > #1 0x0000000000540520 in SYSTEM_FPWAITPID$LONGINT$PCINT$LONGINT$$LONGINT () > #2 0x0000000000000000 in ?? () > (gdb) > Strange.

Well for the moment to solve my problem I have to run lazarus once with startlazarus --pcp=~/.lazarus

after each build, then I can set these environment options

and thereafter run
startlazarus --pcp=~/.lazarus --scp=~/.lazarus

Thierry B.

Reply by email