Sign in Join

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

Mailing lists / lazarus / 2014-01

Building lazarus 1.2 fixes with fpc 2.6 fixes broken.

14 messages · 6 people · –

Reply by email Subscribe to this list Your subscription

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

Dimitrios Chr. Ioannidis

Hi all,

just for your information the lazarus 1.2 ".../branches/fixes_1_2" doesn't build with the fpc 2.6 ".../branches/fixes_2_6" but does compile with the 2.6.4 RC1.

I tried both branches whoch i checked out almost every day for the 5-6 days.

Regards,

Dimitrios Chr. Ioannidis

Reply by email

Mattias Gaertner
to Dimitrios Chr. Ioannidis
Show quoted text 5 lines
Hi all, just for your information the lazarus 1.2 ".../branches/fixes_1_2" doesn't build with the fpc 2.6 ".../branches/fixes_2_6" but does compile with the 2.6.4 RC1.

It compiles here one linux/64bit:
Lazarus fixes_1_0 and fixes_1_2 with fpc fixes_2_6.

I tried both branches whoch i checked out almost every day for the 5-6 days.

Mattias

Reply by email

Dimitrios Chr. Ioannidis
to Mattias Gaertner

Hi,

???? 13/1/2014 2:02 ??, ?/? Mattias Gaertner ??????:

Show quoted text 10 lines
On Mon, 13 Jan 2014 13:46:48 +0200 "Dimitrios Chr. Ioannidis" wrote: > Hi all, > > just for your information the lazarus 1.2 ".../branches/fixes_1_2" > doesn't build with the fpc 2.6 ".../branches/fixes_2_6" but does compile > with the 2.6.4 RC1. It compiles here one linux/64bit: Lazarus fixes_1_0 and fixes_1_2 with fpc fixes_2_6.

my apologies for not being more specific regarding the OS and error message

Windows 7 64bit

"Compiling lazaruspackageintf.pas
PPU Loading
C:\Users\dimitris\Programming\Tools\fpc\2.6.x\units\i386-win32\fcl-e xtra\ServiceManager.ppu
PPU Source: ServiceManager.pas not found
Recompiling ServiceManager, checksum changed for windows registerfcl.pas(43,3) Fatal: Can't find unit ServiceManager used by RegisterFCL
Fatal: Compilation aborted"

Regards,

Dimitrios Chr. Ioannidis

Reply by email

Mattias Gaertner
to Dimitrios Chr. Ioannidis
Show quoted text 17 lines
[...] >> just for your information the lazarus 1.2 ".../branches/fixes_1_2" >> doesn't build with the fpc 2.6 ".../branches/fixes_2_6" but does compile >> with the 2.6.4 RC1. > It compiles here one linux/64bit: > Lazarus fixes_1_0 and fixes_1_2 with fpc fixes_2_6. my apologies for not being more specific regarding the OS and error message Windows 7 64bit "Compiling lazaruspackageintf.pas PPU Loading C:\Users\dimitris\Programming\Tools\fpc\2.6.x\units\i386-win32\fcl-e xtra\ServiceManager.ppu PPU Source: ServiceManager.pas not found Recompiling ServiceManager, checksum changed for windows

Servicemanager and Windows are fpc units, not
Lazarus units.

And "checksum changed" should not happen in the fpc ppu files, because normally they are compiled with -Ur.

How did you built fpc and its packages?

Mattias

Reply by email

Michael Schnell
to Dimitrios Chr. Ioannidis: ???? 13/1/2014 2:02 ??, ?/? Mattias Gaertner ??????: my apologies for not being more…
Dimitrios Chr. Ioannidis wrote 16 lines
Windows 7 64bit "Compiling lazaruspackageintf.pas PPU Loading C:\Users\dimitris\Programming\Tools\fpc\2.6.x\units\i386-win32\fcl-e xtra\ServiceManager.ppu PPU Source: ServiceManager.pas not found Recompiling ServiceManager, checksum changed for windows registerfcl.pas(43,3) Fatal: Can't find unit ServiceManager used by RegisterFCL Fatal: Compilation aborted" Regards,

I see this:

(Linux 32 Bits)

Compiling fcllaz.pas
Compiling registerfcl.pas
Compiling lazaruspackageintf.pas
PPU Loading /usr/lib/fpc/2.7.1/units/i386-linux/rtl/variants.ppu PPU Source: variants.pp not available
Recompiling variants, checksum changed for System
Fatal: Can't find unit variants used by db
Fatal: Compilation aborted

-Michael

Reply by email

Michael Schnell
to Mattias Gaertner: On Mon, 13 Jan 2014 14:18:35 +0200 Servicemanager and Windows are fpc units, not Lazarus…
Mattias Gaertner wrote
And "checksum changed" should not happen in the fpc ppu files, because normally they are compiled with -Ur. How did you built fpc and its packages?

In the fpc/trunk directory:
make clean all FPC=/home/mschnell/bin/fpc-2.6.2/bin/ppc386

testing:

mschnell at mschnell-Linux:~/Downloads/svn/fpc/trunk> /home/mschnell/bin/fpc-2.6.2/bin/ppc386
Free Pascal Compiler version 2.6.2 [2013/02/16] for i386 Copyright (c) 1993-2012 by Florian Klaempfl and others /home/mschnell/bin/fpc-2.6.2/bin/ppc386 [options] <inputfile> [options]

-Michael

Reply by email

FreeMan
to Michael Schnell: I see this: (Linux 32 Bits) Compiling fcllaz.pas Compiling registerfcl.pas Compiling…

Stephano's answer fixed mine same problem

FreeMan wrote 5 lines
I had same problem, but after one more update to: fpc svn update 26427 lazarus svn update 43710 Kubuntu 13.10 x64

Did you try Tools/Rescan FPC source directory?

Stephano

Show quoted text 16 lines
I see this: (Linux 32 Bits) Compiling fcllaz.pas Compiling registerfcl.pas Compiling lazaruspackageintf.pas PPU Loading /usr/lib/fpc/2.7.1/units/i386-linux/rtl/variants.ppu PPU Source: variants.pp not available Recompiling variants, checksum changed for System Fatal: Can't find unit variants used by db Fatal: Compilation aborted -Michael

Reply by email

Dimitrios Chr. Ioannidis
to Mattias Gaertner: On Mon, 13 Jan 2014 14:18:35 +0200 Servicemanager and Windows are fpc units, not Lazarus…

Hi,

???? 13/1/2014 2:26 ??, ?/? Mattias Gaertner ??????:

Show quoted text 26 lines
On Mon, 13 Jan 2014 14:18:35 +0200 "Dimitrios Chr. Ioannidis" wrote: > [...] >>> just for your information the lazarus 1.2 ".../branches/fixes_1_2" >>> doesn't build with the fpc 2.6 ".../branches/fixes_2_6" but does compile >>> with the 2.6.4 RC1. >> It compiles here one linux/64bit: >> Lazarus fixes_1_0 and fixes_1_2 with fpc fixes_2_6. > my apologies for not being more specific regarding the OS and error message > > Windows 7 64bit > > "Compiling lazaruspackageintf.pas > PPU Loading > C:\Users\dimitris\Programming\Tools\fpc\2.6.x\units\i386-win32\fcl-e > xtra\ServiceManager.ppu > PPU Source: ServiceManager.pas not found > Recompiling ServiceManager, checksum changed for windows Servicemanager and Windows are fpc units, not Lazarus units. And "checksum changed" should not happen in the fpc ppu files, because normally they are compiled with -Ur. How did you built fpc and its packages?

i'm using fpc 2.6.2 release full installation with the following command :

"make all install OPT="-g -gl -gw -godwarfsets -O-" INSTALL_PREFIX=C:\Users\dimitris\Programming\Tools\fpc\2.6.x" then added the binutils from the
"../fpcbuild/branches/fixes_2_6/install/binw32" to the "..\Tools\fpc\2.6.x\bin\i386-win32" folder
and last executed "fpcmkcfg -d
"basepath=C:\Users\dimitris\Programming\Tools\fpc\2.6.x" -o C:\Users\dimitris\Programming\Tools\fpc\2.6.x\2.6.x\bin\i386-win32"

regards,

Dimitrios Chr. Ioannidis

Reply by email

Marco van de Voort
to Michael Schnell: I see this: (Linux 32 Bits) Compiling fcllaz.pas Compiling registerfcl.pas Compiling…
Michael Schnell wrote 12 lines
I see this: (Linux 32 Bits) Compiling fcllaz.pas Compiling registerfcl.pas Compiling lazaruspackageintf.pas PPU Loading /usr/lib/fpc/2.7.1/units/i386-linux/rtl/variants.ppu PPU Source: variants.pp not available Recompiling variants, checksum changed for System Fatal: Can't find unit variants used by db Fatal: Compilation aborted

As said above (to Waldo) remove .../units/i386-linux before installation, and it will go away.

If people get similar errors relating to "sockets" or "winsock", same procedure.

Reply by email

Dimitrios Chr. Ioannidis
to Michael Schnell: I see this: (Linux 32 Bits) Compiling fcllaz.pas Compiling registerfcl.pas Compiling…

Hi,

???? 13/1/2014 2:31 ??, ?/? Michael Schnell ??????:

Show quoted text 30 lines
On 01/13/2014 01:18 PM, Dimitrios Chr. Ioannidis wrote: > > > Windows 7 64bit > > "Compiling lazaruspackageintf.pas > PPU Loading > C:\Users\dimitris\Programming\Tools\fpc\2.6.x\units\i386-win32\fcl-e > xtra\ServiceManager.ppu > PPU Source: ServiceManager.pas not found > Recompiling ServiceManager, checksum changed for windows > registerfcl.pas(43,3) Fatal: Can't find unit ServiceManager used by > RegisterFCL > Fatal: Compilation aborted" > > Regards, > I see this: (Linux 32 Bits) Compiling fcllaz.pas Compiling registerfcl.pas Compiling lazaruspackageintf.pas PPU Loading /usr/lib/fpc/2.7.1/units/i386-linux/rtl/variants.ppu PPU Source: variants.pp not available Recompiling variants, checksum changed for System Fatal: Can't find unit variants used by db Fatal: Compilation aborted

well the problem i see is reg. the 2.6 fixes branch not trunk.

regards,

Dimitrios Chr. Ioannidis

Reply by email

Mattias Gaertner
to Dimitrios Chr. Ioannidis: ???? 13/1/2014 2:26 ??, ?/? Mattias Gaertner ??????: i'm using fpc 2.6.2 release full…
Show quoted text 40 lines
Hi, ???? 13/1/2014 2:26 ??, ?/? Mattias Gaertner ??????: > On Mon, 13 Jan 2014 14:18:35 +0200 > "Dimitrios Chr. Ioannidis" wrote: > >> [...] >>>> just for your information the lazarus 1.2 ".../branches/fixes_1_2" >>>> doesn't build with the fpc 2.6 ".../branches/fixes_2_6" but does compile >>>> with the 2.6.4 RC1. >>> It compiles here one linux/64bit: >>> Lazarus fixes_1_0 and fixes_1_2 with fpc fixes_2_6. >> my apologies for not being more specific regarding the OS and error message >> >> Windows 7 64bit >> >> "Compiling lazaruspackageintf.pas >> PPU Loading >> C:\Users\dimitris\Programming\Tools\fpc\2.6.x\units\i386-win32\fcl-e >> xtra\ServiceManager.ppu >> PPU Source: ServiceManager.pas not found >> Recompiling ServiceManager, checksum changed for windows > Servicemanager and Windows are fpc units, not > Lazarus units. > > And "checksum changed" should not happen in the fpc ppu files, because > normally they are compiled with -Ur. > > How did you built fpc and its packages? i'm using fpc 2.6.2 release full installation with the following command : "make all install OPT="-g -gl -gw -godwarfsets -O-" INSTALL_PREFIX=C:\Users\dimitris\Programming\Tools\fpc\2.6.x" then added the binutils from the "../fpcbuild/branches/fixes_2_6/install/binw32" to the "..\Tools\fpc\2.6.x\bin\i386-win32" folder and last executed "fpcmkcfg -d "basepath=C:\Users\dimitris\Programming\Tools\fpc\2.6.x" -o C:\Users\dimitris\Programming\Tools\fpc\2.6.x\2.6.x\bin\i386-win32"

The "make install" only adds new files, it does not delete old one. Please delete old files of
C:\Users\dimitris\Programming\Tools\fpc\2.6.x\units Then call make install.

Mattias

Reply by email

waldo kitty
to Marco van de Voort: I hope the selective quoting says all :-)
Marco van de Voort wrote 7 lines
On Mon, Jan 13, 2014 at 03:26:16PM +0200, Dimitrios Chr. Ioannidis wrote: >> PPU Loading /usr/lib/fpc/2.7.1/units/i386-linux/rtl/variants.ppu > > well the problem i see is reg. the 2.6 fixes branch not trunk. I hope the selective quoting says all :-)

when i went back and looked at previous messages and the responses in my own thread, i was finally able to open my eyes and see that the problem was in the FPC installation... that allowed me to correct the error as noted a few minutes ago in the other thread ;)

for me, the easiest fix was to rename *path*/fpc/%fpcversion%/units/i386-%OS% and then rebuild/install FPC followed by the same for LAZ...

NOTE: No off-list assistance is given without prior approval. Please keep mailing list traffic on the list unless private contact is specifically requested and granted.

Reply by email