[Lazarus] Exception=Unable to create file "/etc/fppkg/default"

Vojtěch Čihák vojtech.cihak at atlas.cz
Sun Dec 30 14:42:38 CET 2018


Hi,
 
Lazarus(SVN) at startup tries to write at /etc/fppkg/ where it has no rights. The same file exists /home/$USERNAME/.fppkg/
 
Revision 59930 works well yet, revisions 59936 and 59940 are affected.
 
[v1 at nb-msi lazarus]$ ./startlazarus 
 is a file 
TLazarusManager.Run starting /home/v1/Lazarus_Qt/lazarus/lazarus ... 
Hint: (lazarus) [TMainIDE.ParseCmdLineOptions] PrimaryConfigPath="/home/
v1/.lazarus" 
Hint: (lazarus) [TMainIDE.ParseCmdLineOptions] SecondaryConfigPath="/etc
/lazarus" 
Hint: (lazarus) [TBuildManager.SetBuildTarget] Old=x86_64-linux-gtk2 New
=x86_64-linux-gtk2 FPC=True LCL=False 
Hint: (lazarus) [TMainIDE.Destroy] B  -> inherited Destroy... TMainIDE 
Hint: (lazarus) [TMainIDE.Destroy] END 
[FORMS.PP] ExceptionOccurred  
  Sender=EFCreateError 
  Exception=Unable to create file "/etc/fppkg/default" 
  Stack trace: 
  $000000000051EBA2 
  $000000000051E9F3 
  $0000000000E15EFC 
  $0000000000FA97CF  INSTANCE,  line 85 of ../packager/fppkghelper.pas 
  $0000000000AA7DA4  OPENDEPENDENCY,  line 5838 of ../packager/packagesy
stem.pas 
  $0000000000A94277  ADDPACKAGE,  line 2122 of ../packager/packagesystem
.pas 
  $0000000000A8F8BE  OPENDEPENDENCYWITHPACKAGELINK,  line 998 of ../pack
ager/packagesystem.pas 
  $0000000000AA78A0  OPENDEPENDENCY,  line 5785 of ../packager/packagesy
stem.pas 
  $0000000000AA8B2B  OPENINSTALLEDDEPENDENCY,  line 5995 of ../packager/
packagesystem.pas 
  $0000000000A949FE  LOADLAZARUSBASEPACKAGE,  line 2213 of ../packager/p
ackagesystem.pas 
  $0000000000A9486F  LOADSTATICBASEPACKAGES,  line 2217 of ../packager/p
ackagesystem.pas 
  $0000000000AB46C6  LOADINSTALLEDPACKAGES,  line 3086 of ../packager/pk
gmanager.pas 
  $00000000004A8683  CREATE,  line 1590 of main.pp 
  $000000000041ECE6  main,  line 140 of lazarus.pp 
TApplication.HandleException: EFCreateError 
Unable to create file "/etc/fppkg/default" 
  Stack trace: 
  $000000000051EBA2 
  $000000000051E9F3 
  $0000000000E15EFC 
  $0000000000FA97CF  INSTANCE,  line 85 of ../packager/fppkghelper.pas 
  $0000000000AA7DA4  OPENDEPENDENCY,  line 5838 of ../packager/packagesy
stem.pas 
  $0000000000A94277  ADDPACKAGE,  line 2122 of ../packager/packagesystem
.pas 
  $0000000000A8F8BE  OPENDEPENDENCYWITHPACKAGELINK,  line 998 of ../pack
ager/packagesystem.pas 
  $0000000000AA78A0  OPENDEPENDENCY,  line 5785 of ../packager/packagesy
stem.pas 
  $0000000000AA8B2B  OPENINSTALLEDDEPENDENCY,  line 5995 of ../packager/
packagesystem.pas 
  $0000000000A949FE  LOADLAZARUSBASEPACKAGE,  line 2213 of ../packager/p
ackagesystem.pas 
  $0000000000A9486F  LOADSTATICBASEPACKAGES,  line 2217 of ../packager/p
ackagesystem.pas 
  $0000000000AB46C6  LOADINSTALLEDPACKAGES,  line 3086 of ../packager/pk
gmanager.pas 
  $00000000004A8683  CREATE,  line 1590 of main.pp 
  $000000000041ECE6  main,  line 140 of lazarus.pp 
[v1 at nb-msi lazarus]$ 
 
 
V.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20181230/5038aff7/attachment.html>


More information about the Lazarus mailing list