Sign in Join

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

Mailing lists / lazarus / 2022-01

Lazarus build fails

11 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

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

Michael Van Canneyt

Hello,

Lazarus build with today's sources fails:

Build IDE: Exit code 2, Errors: 2, Warnings: 1, Hints: 2
ideinstances.pas(579,3) Warning: Case statement does not handle all possible cases
modematrixopts.pas(342,19) Hint: Function result variable of a managed type does not seem to be initialized
modematrixopts.pas(820,22) Hint: Local variable "CurMode" of a managed type does not seem to be initialized
environmentopts.pp(55,50) Fatal: Cannot find debugger used by EnvironmentOpts.
make[2]: *** [Makefile:4872: lazarus] Error 1
make[1]: *** [Makefile:5310: ide] Error 2
Error: make: *** [Makefile:3731: ide] Error 2

See also attached screenshot.

I deleted all .ppu files, but to no avail.

Michael.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build_fails.png
Type: image/png
Size: 45476 bytes
Desc:
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20220125/9beb0b22/attachment-0001.png>

Reply by email

Mattias Gaertner
to Michael Van Canneyt
Show quoted text 9 lines
[...] environmentopts.pp(55,50) Fatal: Cannot find debugger used by EnvironmentOpts. make[2]: *** [Makefile:4872: lazarus] Error 1 make[1]: *** [Makefile:5310: ide] Error 2 Error: make: *** [Makefile:3731: ide] Error 2 See also attached screenshot. I deleted all .ppu files, but to no avail.

debugger is now in package idedebugger - a new base package. Have you tried to open the package and then compile?

Mattias

Reply by email

Michael Van Canneyt
to Mattias Gaertner
Mattias Gaertner wrote 15 lines
On Tue, 25 Jan 2022 13:16:49 +0100 (CET) Michael Van Canneyt via lazarus wrote: > [...] > environmentopts.pp(55,50) Fatal: Cannot find debugger used by > EnvironmentOpts. make[2]: *** [Makefile:4872: lazarus] Error 1 > make[1]: *** [Makefile:5310: ide] Error 2 Error: make: *** > [Makefile:3731: ide] Error 2 > > See also attached screenshot. > > I deleted all .ppu files, but to no avail. debugger is now in package idedebugger - a new base package. Have you tried to open the package and then compile?

Yes.

Michael.

Reply by email

Michael Van Canneyt
to Michael Van Canneyt
Michael Van Canneyt wrote 21 lines
On Tue, 25 Jan 2022, Mattias Gaertner via lazarus wrote: > On Tue, 25 Jan 2022 13:16:49 +0100 (CET) > Michael Van Canneyt via lazarus wrote: > >> [...] >> environmentopts.pp(55,50) Fatal: Cannot find debugger used by >> EnvironmentOpts. make[2]: *** [Makefile:4872: lazarus] Error 1 >> make[1]: *** [Makefile:5310: ide] Error 2 Error: make: *** >> [Makefile:3731: ide] Error 2 >> >> See also attached screenshot. >> >> I deleted all .ppu files, but to no avail. > > debugger is now in package idedebugger - a new base package. > Have you tried to open the package and then compile? Yes.

(and it does not help)

Michael.

Reply by email

Mattias Gaertner
to Michael Van Canneyt
[...] > Yes. (and it does not help)

Did you install it? The old IDE does not know it has to install it.

Did idedebugger package compile?

Does yourlazaruscfgdir/idemake.cfg contains
-Fuyour/lazarus/components/debuggerintf/lib/x86_64-linux

?

Mattias

Reply by email

Mattias Gaertner
to Mattias Gaertner
Show quoted text 14 lines
On Tue, 25 Jan 2022 13:32:22 +0100 (CET) Michael Van Canneyt via lazarus wrote: >[...] > > Yes. > > (and it does not help) Did you install it? The old IDE does not know it has to install it. Did idedebugger package compile? Does yourlazaruscfgdir/idemake.cfg contains -Fuyour/lazarus/components/debuggerintf/lib/x86_64-linux

I meant
...arus/ide/packages/idedebugger/lib/x86_64-linux

Mattias

Reply by email

Michael Van Canneyt
to Mattias Gaertner
Mattias Gaertner wrote 12 lines
On Tue, 25 Jan 2022 13:37:47 +0100 Mattias Gaertner via lazarus wrote: > On Tue, 25 Jan 2022 13:32:22 +0100 (CET) > Michael Van Canneyt via lazarus wrote: > >> [...] >>> Yes. >> >> (and it does not help) > > Did you install it? The old IDE does not know it has to install it.

Eh, should it not be in the dependencies of the lazarus project then ?

Show quoted text 8 lines
> > Did idedebugger package compile? > > Does yourlazaruscfgdir/idemake.cfg contains > -Fuyour/lazarus/components/debuggerintf/lib/x86_64-linux I meant ...arus/ide/packages/idedebugger/lib/x86_64-linux

See attachment for a rather scary message I got.

But after asking advice on the subject of fat from my dietician, I went ahad and then it worked...

Thank you !

Michael.

Reply by email

Michael Van Canneyt
to Michael Van Canneyt

Now with attachment.

Michael.

Michael Van Canneyt wrote 42 lines
On Tue, 25 Jan 2022, Mattias Gaertner via lazarus wrote: > On Tue, 25 Jan 2022 13:37:47 +0100 > Mattias Gaertner via lazarus wrote: > >> On Tue, 25 Jan 2022 13:32:22 +0100 (CET) >> Michael Van Canneyt via lazarus wrote: >> >>> [...] >>>> Yes. >>> >>> (and it does not help) >> >> Did you install it? The old IDE does not know it has to install it. Eh, should it not be in the dependencies of the lazarus project then ? >> >> Did idedebugger package compile? >> >> Does yourlazaruscfgdir/idemake.cfg contains >> -Fuyour/lazarus/components/debuggerintf/lib/x86_64-linux > > I meant > ...arus/ide/packages/idedebugger/lib/x86_64-linux See attachment for a rather scary message I got. But after asking advice on the subject of fat from my dietician, I went ahad and then it worked... Thank you ! Michael. -- _______________________________________________ lazarus mailing list https://lists.lazarus-ide.org/listinfo/lazarus

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fat.png
Type: image/png
Size: 17961 bytes
Desc:
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20220125/ba60e480/attachment-0001.png>

Reply by email

Ondrej Pokorny
to Michael Van Canneyt

I had the same problem and I got this nice answer from Martin:

Martin Frb wrote 17 lines
From within the IDE => New package have been added: - Once you have a new IDE, that new IDE will include them. - But an old IDE does not know to include them (Because IDE packages, are added to the source code in packager, and therefore are only seen after building) This conflicts happens each time, a new "core" dependency is added. 2 Options: (In either case make sure to have the very latest from git) 1) make bigide 2) Open the packages components/lazdebuggers/lazdebuggerintf/lazdebuggerintf.lpk? and ide/packages/idedebugger/idedebugger.lpk "Install" them to your ide. The do a clean build.

Ondrej

Reply by email

Mattias Gaertner
to Michael Van Canneyt: Eh, should it not be in the dependencies of the lazarus project then ? See attachment for…
Show quoted text 17 lines
On Tue, 25 Jan 2022, Mattias Gaertner via lazarus wrote: > On Tue, 25 Jan 2022 13:37:47 +0100 > Mattias Gaertner via lazarus wrote: > >> On Tue, 25 Jan 2022 13:32:22 +0100 (CET) >> Michael Van Canneyt via lazarus >> wrote: >>> [...] >>>> Yes. >>> >>> (and it does not help) >> >> Did you install it? The old IDE does not know it has to install >> it. Eh, should it not be in the dependencies of the lazarus project then ?

It is, but currently the IDE only uses the compiled list and does not yet read the lazarus.lpi. We don't add new base packages that often ....

Show quoted text 9 lines
>> Did idedebugger package compile? >> >> Does yourlazaruscfgdir/idemake.cfg contains >> -Fuyour/lazarus/components/debuggerintf/lib/x86_64-linux > > I meant > ...arus/ide/packages/idedebugger/lib/x86_64-linux See attachment for a rather scary message I got.

The old IDE does not know, that is a base package.

But after asking advice on the subject of fat from my dietician, I went ahad and then it worked...

Mattias

Reply by email

Gary Randall
to Mattias Gaertner

Please remove Gary passed away last Aug.

On Tue, Jan 25, 2022, 8:33 AM Mattias Gaertner via lazarus <

Show quoted text 51 lines
wrote: On Tue, 25 Jan 2022 13:59:48 +0100 (CET) Michael Van Canneyt via lazarus wrote: > On Tue, 25 Jan 2022, Mattias Gaertner via lazarus wrote: > > > On Tue, 25 Jan 2022 13:37:47 +0100 > > Mattias Gaertner via lazarus wrote: > > > >> On Tue, 25 Jan 2022 13:32:22 +0100 (CET) > >> Michael Van Canneyt via lazarus > >> wrote: > >>> [...] > >>>> Yes. > >>> > >>> (and it does not help) > >> > >> Did you install it? The old IDE does not know it has to install > >> it. > > Eh, should it not be in the dependencies of the lazarus project then ? It is, but currently the IDE only uses the compiled list and does not yet read the lazarus.lpi. We don't add new base packages that often .... > >> Did idedebugger package compile? > >> > >> Does yourlazaruscfgdir/idemake.cfg contains > >> -Fuyour/lazarus/components/debuggerintf/lib/x86_64-linux > > > > I meant > > ...arus/ide/packages/idedebugger/lib/x86_64-linux > > See attachment for a rather scary message I got. The old IDE does not know, that is a base package. > But after asking advice on the subject of fat from my dietician, > I went ahad and then it worked... Mattias -- _______________________________________________ lazarus mailing list https://lists.lazarus-ide.org/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20220126/3b2dd96e/attachment.htm>

Reply by email