Hello all,
Could anybody compile a project using Lazarus from trunk? When I try to compile any project:
...
Warning: Recompiling varutils, checksum changed for System varutils.pp(11,35) Fatal: Can't find unit varutils used by variants
Thank you!

Mailing lists / lazarus / 2016-12
8 messages · 3 people · –
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Hello all,
Could anybody compile a project using Lazarus from trunk? When I try to compile any project:
...
Warning: Recompiling varutils, checksum changed for System varutils.pp(11,35) Fatal: Can't find unit varutils used by variants
Thank you!
silvioprog wroteCould anybody compile a project using Lazarus from trunk?
I tested with many projects. They all compile OK.
Warning: Recompiling varutils, checksum changed for System varutils.pp(11,35) Fatal: Can't find unit varutils used by variants
Those are not Lazarus units. Sounds like an FPC issue.
Juha
On Sun, Dec 18, 2016 at 7:22 AM, Juha Manninen via Lazarus <
Indeed. It seems FPC is looking for a Windows unit however on Linux. When I try to compile any project, it raises that exception and open the file "~/freepascal/packages/rtl-objpas/src/win/varutils.pp" in the IDE.
silvioprog wroteIndeed. It seems FPC is looking for a Windows unit however on Linux. When I try to compile any project, it raises that exception and open the file "~/freepascal/packages/rtl-objpas/src/win/varutils.pp" in the IDE.
Did r53711 from yesterday affect it?
Juha
Could anybody compile a project using Lazarus from trunk? When I try to compile any…
Normally the FPC units are compiled with -Ur, so any checksum change is ignored.
Either you have a broken FPC install or you have a unit with the same name as a FPC unit.
Mattias
On Sun, Dec 18, 2016 at 5:17 PM, silvioprog via Lazarus Did r53711 from yesterday affect…
On Sun, Dec 18, 2016 at 12:32 PM, Juha Manninen via Lazarus <
Oops, sorry, my fault. The problem was fixed: after save the default project1 it finally compiles properly. It seems Lazarus can't compile the default project1 when it is not saved yet.
Now, after reinstalling Lazarus from scratch, I got the following error at its startup:
"The package "DateTimeCtrlsDsgn" is installed, but no valid package file (.lpk) was found.
A broken dummy package was created."
However I'm going to fix it by uninstalling the `DateTimeCtrlsDsgn` package. :-)
On Sat, 17 Dec 2016 22:25:50 -0300 Normally the FPC units are compiled with -Ur, so any…
On Sun, Dec 18, 2016 at 1:15 PM, Mattias Gaertner via Lazarus <
I didn't know this option existed, thanks.
Either you have a broken FPC install or you have a unit with the same name as a FPC unit. Mattias
So it seems Lazarus can't compile its default project when it still unsaved, after saving that I can't see the error again.
(my new environment: Lazarus 1.7 r53723 FPC 3.1.1 x86_64-linux-gtk 2 - it's working again ^^ )
Then please check the files in your temporary building directory (Tools / Options / Environment / Files / Directory for building test projects)
Maybe there is name clashing unit.
(my new environment: Lazarus 1.7 r53723 FPC 3.1.1 x86_64-linux-gtk 2 - it's working again ^^ )
Mattias