Recent

Author Topic: [SOLVED] Why does packager/registration/fcllaz.pas regenerate on compile?  (Read 830 times)

dsiders

  • Hero Member
  • *****
  • Posts: 1052
Using Lazarus 2.3.0 (rev main-2_3-2829-g7f92cc7c98) FPC 3.2.2 x86_64-win64-win32/win64

packager/registration/fcllaz.pas is being modified every time I compile an application in the IDE. The git client complains that it has been modified, and it has. The {$ifndef} in the uses clause has been removed...

Code: Bash  [Select][+][-]
  1. diff --git a/packager/registration/fcllaz.pas b/packager/registration/fcllaz.pas
  2. index c07bfe25b3..b9aa67f614 100644
  3. --- a/packager/registration/fcllaz.pas
  4. +++ b/packager/registration/fcllaz.pas
  5. @@ -8,7 +8,7 @@ unit fcllaz;
  6.  interface
  7.  
  8.  uses
  9. -  db, process, simpleipc, eventlog, XMLConf, {$ifndef HASAMIGA}sqldb,{$endif} LazarusPackageIntf;
  10. +  db, process, simpleipc, eventlog, XMLConf, sqldb, LazarusPackageIntf;
  11.  
  12.  implementation
  13.  

Any ideas why?
« Last Edit: February 13, 2023, 04:21:21 am by dsiders »
Preview Lazarus 3.99 documentation at: https://dsiders.gitlab.io/lazdocsnext

dsiders

  • Hero Member
  • *****
  • Posts: 1052
Re: Why does packager/registration/fcllaz.pas regenerate on compile?
« Reply #1 on: February 09, 2023, 05:16:42 am »
Using Lazarus 2.3.0 (rev main-2_3-2829-g7f92cc7c98) FPC 3.2.2 x86_64-win64-win32/win64

packager/registration/fcllaz.pas is being modified every time I compile an application in the IDE. The git client complains that it has been modified, and it has. The {$ifndef} in the uses clause has been removed...

Code: Bash  [Select][+][-]
  1. diff --git a/packager/registration/fcllaz.pas b/packager/registration/fcllaz.pas
  2. index c07bfe25b3..b9aa67f614 100644
  3. --- a/packager/registration/fcllaz.pas
  4. +++ b/packager/registration/fcllaz.pas
  5. @@ -8,7 +8,7 @@ unit fcllaz;
  6.  interface
  7.  
  8.  uses
  9. -  db, process, simpleipc, eventlog, XMLConf, {$ifndef HASAMIGA}sqldb,{$endif} LazarusPackageIntf;
  10. +  db, process, simpleipc, eventlog, XMLConf, sqldb, LazarusPackageIntf;
  11.  
  12.  implementation
  13.  

Any ideas why?

Seems that rebuilding the IDE using make solves the issue. Still curious why it needs it though. Resolved using:

Code: Bash  [Select][+][-]
  1. make clean bigide
Preview Lazarus 3.99 documentation at: https://dsiders.gitlab.io/lazdocsnext

dsiders

  • Hero Member
  • *****
  • Posts: 1052
Re: Why does packager/registration/fcllaz.pas regenerate on compile?
« Reply #2 on: February 11, 2023, 06:35:53 am »
Using Lazarus 2.3.0 (rev main-2_3-2829-g7f92cc7c98) FPC 3.2.2 x86_64-win64-win32/win64

packager/registration/fcllaz.pas is being modified every time I compile an application in the IDE. The git client complains that it has been modified, and it has. The {$ifndef} in the uses clause has been removed...

Code: Bash  [Select][+][-]
  1. diff --git a/packager/registration/fcllaz.pas b/packager/registration/fcllaz.pas
  2. index c07bfe25b3..b9aa67f614 100644
  3. --- a/packager/registration/fcllaz.pas
  4. +++ b/packager/registration/fcllaz.pas
  5. @@ -8,7 +8,7 @@ unit fcllaz;
  6.  interface
  7.  
  8.  uses
  9. -  db, process, simpleipc, eventlog, XMLConf, {$ifndef HASAMIGA}sqldb,{$endif} LazarusPackageIntf;
  10. +  db, process, simpleipc, eventlog, XMLConf, sqldb, LazarusPackageIntf;
  11.  
  12.  implementation
  13.  

Any ideas why?

Seems that rebuilding the IDE using make solves the issue. Still curious why it needs it though. Resolved using:

Code: Bash  [Select][+][-]
  1. make clean bigide

Not solved after all. It's back. Running make will fix it, until the next time the IDE is rebuilt using Tools > Configure Build > Build.

It's a mystery to me...
Preview Lazarus 3.99 documentation at: https://dsiders.gitlab.io/lazdocsnext

dsiders

  • Hero Member
  • *****
  • Posts: 1052
Re: Why does packager/registration/fcllaz.pas regenerate on compile?
« Reply #3 on: February 13, 2023, 04:20:57 am »
Using Lazarus 2.3.0 (rev main-2_3-2829-g7f92cc7c98) FPC 3.2.2 x86_64-win64-win32/win64

packager/registration/fcllaz.pas is being modified every time I compile an application in the IDE. The git client complains that it has been modified, and it has. The {$ifndef} in the uses clause has been removed...

Code: Bash  [Select][+][-]
  1. diff --git a/packager/registration/fcllaz.pas b/packager/registration/fcllaz.pas
  2. index c07bfe25b3..b9aa67f614 100644
  3. --- a/packager/registration/fcllaz.pas
  4. +++ b/packager/registration/fcllaz.pas
  5. @@ -8,7 +8,7 @@ unit fcllaz;
  6.  interface
  7.  
  8.  uses
  9. -  db, process, simpleipc, eventlog, XMLConf, {$ifndef HASAMIGA}sqldb,{$endif} LazarusPackageIntf;
  10. +  db, process, simpleipc, eventlog, XMLConf, sqldb, LazarusPackageIntf;
  11.  
  12.  implementation
  13.  

Any ideas why?

Seems that rebuilding the IDE using make solves the issue. Still curious why it needs it though. Resolved using:

Code: Bash  [Select][+][-]
  1. make clean bigide

Not solved after all. It's back. Running make will fix it, until the next time the IDE is rebuilt using Tools > Configure Build > Build.

It's a mystery to me...

Solved in commits to main.
Preview Lazarus 3.99 documentation at: https://dsiders.gitlab.io/lazdocsnext

 

TinyPortal © 2005-2018