Sign in Join

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

Mailing lists / fpc-devel / 2022-08

Cannot build Lazarus with actual FPC main

5 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

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

Gabor Boros

Hi All,

With actual FPC main (61debb15) got the below error. No error with an earlier FPC main (8028a769). Any idea?

make -C packager/registration
make[1]: Entering directory `e:/Lazarus/main/packager/registration' E:/FPC/3.2.2/bin/i386-Win32/rm.exe -f ../units/x86_64-win64/fcllaz.ppu E:/FPC/3.2.2/bin/i386-Win32/gmkdir.exe -p ../units/x86_64-win64 E:/FPC/3.3.1/bin/x86_64-win64/ppcx64.exe -MObjFPC -Scghi -O1 -g -gl -l -vewnhibq -Fu. -FE. -FU../units/x86_64-win64 -dx86_64 fcllaz.pas Hint: (11030) Start of reading config file
E:\FPC\3.3.1\bin\x86_64-win64\fpc.cfg
Hint: (11031) End of reading config file
E:\FPC\3.3.1\bin\x86_64-win64\fpc.cfg
Free Pascal Compiler version 3.3.1 [2022/08/19] for x86_64 Copyright (c) 1993-2022 by Florian Klaempfl and others (1002) Target OS: Win64 for x64
(3104) Compiling fcllaz.pas
e:\Lazarus\main\packager\registration\fcllaz.pas(11,3) Fatal: (10022) Can't find unit db used by fcllaz
Fatal: (1018) Compilation aborted
make[1]: *** [fcllaz.ppu] Error 1
make[1]: Leaving directory `e:/Lazarus/main/packager/registration' make: *** [registration] Error 2

Gabor

Reply by email

Michael Van Canneyt
to Gabor Boros
Gabor Boros wrote 26 lines
Hi All, With actual FPC main (61debb15) got the below error. No error with an earlier FPC main (8028a769). Any idea? make -C packager/registration make[1]: Entering directory `e:/Lazarus/main/packager/registration' E:/FPC/3.2.2/bin/i386-Win32/rm.exe -f ../units/x86_64-win64/fcllaz.ppu E:/FPC/3.2.2/bin/i386-Win32/gmkdir.exe -p ../units/x86_64-win64 E:/FPC/3.3.1/bin/x86_64-win64/ppcx64.exe -MObjFPC -Scghi -O1 -g -gl -l -vewnhibq -Fu. -FE. -FU../units/x86_64-win64 -dx86_64 fcllaz.pas Hint: (11030) Start of reading config file E:\FPC\3.3.1\bin\x86_64-win64\fpc.cfg Hint: (11031) End of reading config file E:\FPC\3.3.1\bin\x86_64-win64\fpc.cfg Free Pascal Compiler version 3.3.1 [2022/08/19] for x86_64 Copyright (c) 1993-2022 by Florian Klaempfl and others (1002) Target OS: Win64 for x64 (3104) Compiling fcllaz.pas e:\Lazarus\main\packager\registration\fcllaz.pas(11,3) Fatal: (10022) Can't find unit db used by fcllaz Fatal: (1018) Compilation aborted make[1]: *** [fcllaz.ppu] Error 1 make[1]: Leaving directory `e:/Lazarus/main/packager/registration' make: *** [registration] Error 2

Do you find the db.ppu unit if you look for it ?

It's a pretty basic unit, I can't imagine that it would not have been compiled.

Michael.

Reply by email

Karoly Balogh
to Michael Van Canneyt

Hi,

Michael Van Canneyt wrote 5 lines
> With actual FPC main (61debb15) got the below error. No error with an > earlier FPC main (8028a769). Any idea? It's a pretty basic unit, I can't imagine that it would not have been compiled.

I think such errors are also a sideeffect of a2d7503f, which breaks havoc with the config file parsing and replacements.

I'm going to revert it now.

Charlie

Reply by email

J. Gareth Moreton
to Gabor Boros

Speaking from experience, db is normally that's the first unit that the compiler fails to find if there's some kind of configuration problem (whether with the config file itself or a bug that prevents proper parsing of it).

Gareth aka. Kit

Gabor Boros wrote 20 lines
2022.08.19. 11:51 keltezéssel, Michael Van Canneyt írta: > > Do you find the db.ppu unit if you look for it ? > Yes: e:\FPC\3.3.1\units\i386-win32\fcl-db\db.ppu e:\FPC\3.3.1\units\x86_64-win64\fcl-db\db.ppu I found an issue from the past with same error: https://gitlab.com/freepascal.org/fpc/source/-/issues/34779 Gabor _______________________________________________ fpc-devel maillist  -  https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply by email