Sign in Join

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

Mailing lists / lazarus / 2026-02

Fatal Error building trunk under Windows

9 messages · 5 people ·

Reply by email Subscribe to this list Your subscription

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

Tony Whyman

I'm trying to build Lazarus trunk under Windows-11 using the x86_64-win64 FPC 3.3.1 compiler and got the error

Fatal: (10022) Can't find unit AssemblerDlg used by Editor

The unit does exist in .\ide\packages\idedebugger so I guess that one of the makefiles has a configuration error.

The build environment is a clean Win-11 image with fpc build itself from trunk and fpc.cfg generated using fpcmkcfg and default options. Lazarus is built by simply calling "make" with the make program, etc. from the current GNU utils package.

last few lines of compiler output are:

make[2]: Entering directory `C:/Users/tony/SoftwareDev/Lazarus/ide' C:/FPC/3.3.1/bin/x86_64-win64/ppcx64.exe -gl -vbqewnhi -Sci -dlclnogui -Fu../designer -Fu../debugger -Fu../debugger/frames -Fu../converter -Fu../packager -Fu../packager/frames -Fu../components/custom -Fuinclude/win -Fuframes -Fu. -Fiinclude -Fiinclude/win64 -Fi../images -FE.. -FU../units/x86_64-win64/nogui -Fu../packager/units/x86_64-win64 -Fu../components/codetools/units/x86_64-win64
-Fu../components/debuggerintf/lib/x86_64-win64
-Fu../components/lazutils/lib/x86_64-win64
-Fu../components/freetype/lib/x86_64-win64 -Fu../lcl/units/x86_64-win64 -Fu../lcl/units/x86_64-win64/nogui
-Fu../components/lazedit/lib/x86_64-win64
-Fu../components/buildintf/units/x86_64-win64
-Fu../components/ideintf/units/x86_64-win64/nogui
-Fu../components/lazedit/lib/x86_64-win64/nogui
-Fu../components/synedit/units/x86_64-win64/nogui
-Fu../components/lazcontrols/lib/x86_64-win64/nogui -Fu../components/lazcontrols/design/lib/x86_64-win64/nogui -Fu../components/lazdebuggers/lazdebuggerintf/lib/x86_64-win64 -Fu../components/lazdebuggers/cmdlinedebuggerbase/lib/x86_64-win64/nogui -Fu../components/lazdebuggergdbmi/units/x86_64-win64/nogui -Fu../components/lclextensions/lib/x86_64-win64-nogui -Fu../components/virtualtreeview/lib/x86_64-win64-nogui -Fu../components/fpdebug/lib/x86_64-win64
-Fu../components/lazdebuggers/lazdebuggerfp/lib/x86_64-win64/nogui -Fu../components/lazdebuggers/lazdebuggerlldb/lib/x86_64-win64/nogui -Fu../components/lazdebuggers/lazdebuggerfplldb/lib/x86_64-win64/nogui -Fupackages/ideconfig/lib/x86_64-win64/nogui
-Fupackages/ideutils/lib/x86_64-win64/nogui
-Fupackages/idepackager/lib/x86_64-win64/nogui
-Fupackages/ideproject/lib/x86_64-win64/nogui
-Fupackages/idedebugger/lib/x86_64-win64/nogui -dx86_64 lazbuild.lpr Hint: (11030) Start of reading config file
C:\FPC\3.3.1\bin\x86_64-win64\fpc.cfg
Hint: (11031) End of reading config file
C:\FPC\3.3.1\bin\x86_64-win64\fpc.cfg
Free Pascal Compiler version 3.3.1 [2026/02/24] for x86_64 Copyright (c) 1993-2026 by Florian Klaempfl and others (1002) Target OS: Win64 for x64
(3104) Compiling lazbuild.lpr
(3104) Compiling basebuildmanager.pas
(3104) Compiling buildmanager.pas
(3104) Compiling idetransfermacros.pas
(3104) Compiling fpcsrcscan.pas
(3104) Compiling progresswnd.pas
(3104) Compiling etpas2jsmsgparser.pas
(3104) Compiling etfpcmsgparser.pas
(3104) Compiling exttools.pas
(3104) Compiling lfmunitresource.pas
(3104) Compiling checklfmdlg.pas
(3104) Compiling C:\Users\tony\SoftwareDev\Lazarus\designer\jitforms.pp (3104) Compiling editoroptions.pp
C:\Users\tony\SoftwareDev\Lazarus\ide\editoroptions.pp(77,66) Fatal: (10022) Can't find unit AssemblerDlg used by EditorOptions Fatal: (1018) Compilation aborted
make[2]: *** [lazbuild.exe] Error 1
make[2]: Leaving directory `C:/Users/tony/SoftwareDev/Lazarus/ide' make[1]: *** [lazbuilder] Error 2
make[1]: Leaving directory `C:/Users/tony/SoftwareDev/Lazarus/ide' make: *** [lazbuild] Error 2

Reply by email

Mattias Gaertner
to Tony Whyman
Tony Whyman wrote
I'm trying to build Lazarus trunk under Windows-11 using the x86_64- win64 FPC 3.3.1 compiler and got the error Fatal: (10022) Can't find unit AssemblerDlg used by Editor

That has been fixed a few hours ago.

Mattias

Reply by email

n7800
to Mattias Gaertner

I just created a bug report for this yesterday: https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/42073

I confirm it's resolved.?Thanks, Mattias!

Show quoted text 11 lines
On 2/25/26 13:40, Tony Whyman via lazarus wrote: > I'm trying to build Lazarus trunk under Windows-11 using the x86_64- > win64 FPC 3.3.1 compiler and got the error > > Fatal: (10022) Can't find unit AssemblerDlg used by Editor That has been fixed a few hours ago. Mattias

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20260225/51e529e1/attachment.htm>

Reply by email

Tony Whyman
to Mattias Gaertner: That has been fixed a few hours ago. Mattias

Thanks.

I had done a "git fetch origin main" before generating the report and a "make distclean" but the error was still there. Only by checking out a fresh clone did I pick up the fix. Oh well, at least it works now.

Mattias Gaertner wrote 12 lines
On 2/25/26 13:40, Tony Whyman via lazarus wrote: > I'm trying to build Lazarus trunk under Windows-11 using the x86_64- > win64 FPC 3.3.1 compiler and got the error > > Fatal: (10022) Can't find unit AssemblerDlg used by Editor That has been fixed a few hours ago. Mattias

Reply by email

Tony Whyman
to Tony Whyman

Just one extra bit of feedback:?I can today successfully build a Win64 Lazarus using FPC 3.3.1 (both built using up-to-date clones of their respective main branches). I have also successfully installed the default versions of fbintf, ibcontrols and ibx4lazarus packages under this IDE and compiler and run an example program using Firebird 4.0.6 as the server. So all looks good.

Tony Whyman wrote 19 lines
Thanks. I had done a "git fetch origin main" before generating the report and a "make distclean" but the error was still there. Only by checking out a fresh clone did I pick up the fix. Oh well, at least it works now. On 25/02/2026 12:59, Mattias Gaertner via lazarus wrote: > > > On 2/25/26 13:40, Tony Whyman via lazarus wrote: >> I'm trying to build Lazarus trunk under Windows-11 using the x86_64- >> win64 FPC 3.3.1 compiler and got the error >> >> Fatal: (10022) Can't find unit AssemblerDlg used by Editor > > That has been fixed a few hours ago. > > Mattias >

Reply by email

Michael Van Canneyt
to Tony Whyman
Tony Whyman wrote 6 lines
Just one extra bit of feedback:?I can today successfully build a Win64 Lazarus using FPC 3.3.1 (both built using up-to-date clones of their respective main branches). I have also successfully installed the default versions of fbintf, ibcontrols and ibx4lazarus packages under this IDE and compiler and run an example program using Firebird 4.0.6 as the server. So all looks good.

Out of curiosity: what was failing before ?
I use 64-bit lazarus since many years (on linux, though) ?

Michael.

Reply by email

Tony Whyman
to Michael Van Canneyt

Nothing important. I had a report from a user (doing some testing) that there was a link error when trying to install ibx on a win64/FPC 3.3.1 build using the current trunk. I too usually prefer to test on Linux (especially unstable versions) and I could find no such problem with Linux (64-bit) and Lazarus/FPC 3.3.1.

I wanted to confirm this with a proper win64 build before dismissing the issue as just "what do you expect when working with unstable software" and I had been meaning for some time to set up a KVM Win-11 image that could test trunk builds. I ran into the problem I reported when I tried to set this up. Once it was fixed I could then confirm that there was no linker issue with IBX and?win64/FPC 3.3.1 and that generally all seemed to work.

Michael Van Canneyt wrote 16 lines
On Wed, 25 Feb 2026, Tony Whyman via lazarus wrote: > Just one extra bit of feedback:?I can today successfully build a > Win64 Lazarus using FPC 3.3.1 (both built using up-to-date clones of > their respective main branches). I have also successfully installed > the default versions of fbintf, ibcontrols and ibx4lazarus packages > under this IDE and compiler and run an example program using Firebird > 4.0.6 as the server. So all looks good. Out of curiosity: what was failing before ? I use 64-bit lazarus since many years (on linux, though) ? Michael.

Reply by email

Juha Manninen
to Tony Whyman: Thanks. I had done a "git fetch origin main" before generating the report and a "make…

On Wed, Feb 25, 2026 at 3:22?PM Tony Whyman via lazarus <

wrote: I had done a "git fetch origin main" before generating the report...

Don't do that. AFAIK it retrieves commits from the remote repository but does not merge them into your local branch.
Do "git pull" instead.
You can check what you have in your local repository with "gitk" or some similar tool.

Juha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20260225/d02ff3f4/attachment.htm>

Reply by email

Tony Whyman
to Juha Manninen

You are of course correct. It must be one of those days.

Juha Manninen wrote 15 lines
On Wed, Feb 25, 2026 at 3:22?PM Tony Whyman via lazarus wrote: I had done a "git fetch origin main" before generating the report... Don't do that. AFAIK it?retrieves commits from the remote repository but does not?merge them into your local branch. Do "git pull" instead. You can check what you?have in your local repository with "gitk" or some similar tool. Juha

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20260225/628defa5/attachment.htm>

Reply by email