Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't find unit Graphics used by IntfGraphics (Lazarus Upgrade) #504

Closed
BrainWaveCC opened this issue Feb 7, 2022 · 26 comments
Closed

Can't find unit Graphics used by IntfGraphics (Lazarus Upgrade) #504

BrainWaveCC opened this issue Feb 7, 2022 · 26 comments

Comments

@BrainWaveCC
Copy link

I am using version 2.2.0i of FPCupDeluxe, and I cannot get any version of Lazarus to install.

I have gotten FPC 3.2.0, 3.2.2 and fixes-3.2 to install successful (by themselves)
But, trying to install Lazarus fixes failed.
-- so did 2.2.0
-- so did 2.3.0
-- so did fixes-2.0
-- so did fixes-2.2

The Lazarus installs all fail with the following:

fpcupdeluxe: info: LazarusNativeInstaller (GetModule: Lazarus): Lazarus was at revision/hash: lazarus_2_2_0-0-g4d49533f10
fpcupdeluxe: info: LazarusNativeInstaller (GetModule: Lazarus): Lazarus is now at revision/hash: lazarus_2_2_0-64-gff329cf453
fpcupdeluxe: info: Lazarus native builder: Detected source version Lazarus: 2.2.0
fpcupdeluxe: info: Lazarus native builder: Using FPC compiler with version: 3.2.3
fpcupdeluxe: Start of compile error summary.
Fatal: (10022) Can't find unit Graphics used by IntfGraphics
(10028) Recompiling Graphics, checksum changed for C:\Programs\Lazarus.Fixes\lazarus\components\lazutils\lib\x86_64-win64\graphmath.ppu
fpcupdeluxe: Start of compile error summary.
Fatal: (1018) Compilation aborted
Fatal: (10022) Can't find unit Graphics used by IntfGraphics
fpcupdeluxe: Start of compile error summary.
Error: C:\Programs\Lazarus.Fixes\fpc\bin\x86_64-win64\ppcx64.exe returned an error exitcode
fpcupdeluxe: Start of compile error summary.
fpcupdeluxe: ERROR: LazarusNativeInstaller (BuildModuleCustom: Lazbuild): make.exe returned exit status #2
fpcupdeluxe: Done !!

I renamed the PPU file mentioned above, and tried it again, and received the very same error.

image

@BrainWaveCC BrainWaveCC changed the title Can't find unit Graphics used by IntfGraphics Can't find unit Graphics used by IntfGraphics (Lazarus Upgrade) Feb 7, 2022
@BrainWaveCC
Copy link
Author

Tried to upgrade my FPC/Lazarus install on another system, and received a very similar error message:

fpcupdeluxe: info: Lazarus native builder: Detected source version Lazarus: 2.2.0
fpcupdeluxe: info: Lazarus native builder: Using FPC compiler with version: 3.2.3
fpcupdeluxe: Start of compile error summary.
Fatal: (10022) Can't find unit Graphics used by IntfGraphics
(10028) Recompiling Graphics, checksum changed for C:\Programs\Lazarus.Fixes\lazarus\components\lazutils\lib\x86_64-win64\graphmath.ppu
fpcupdeluxe: Start of compile error summary.
Fatal: (1018) Compilation aborted
Fatal: (10022) Can't find unit Graphics used by IntfGraphics
fpcupdeluxe: Start of compile error summary.
Error: C:\Programs\Lazarus.Fixes\fpc\bin\x86_64-win64\ppcx64.exe returned an error exitcode
fpcupdeluxe: Start of compile error summary.
fpcupdeluxe: ERROR: LazarusNativeInstaller (BuildModuleCustom: Lazbuild): make.exe returned exit status #2
fpcupdeluxe: Done !!

image

The first system I did this on was running Windows 11, btw. But this second system is running Windows 10 (like all my other systems).

@BrainWaveCC
Copy link
Author

I need to clarify that these were not clean installs, but were upgrades over earlier FPCupDeluxe installs of earlier, functional versions of FPC/Lazarus.

The previous x64 installation contained the following:
-- FreePascal 3.2.1 (fixes-r49055) + Lazarus 2.0.13 (fixes-r64843)

With Windows x86, and Linux/Arm cross-compiles.

I just tried a new install to a different folder, with the same config as above, and it did work. I had to copy back some of my configuration files (I ultimately renamed the folders of the new install and old install to make the migration easier).

I'm going to verify this with one more of my machines, and then I'll likely close the ticket if it works, but I would love to know why it failed the first time, and if there was a different way around it.

@resistancelion
Copy link
Contributor

resistancelion commented Feb 10, 2022

I need to clarify that these were not clean installs, but were upgrades over earlier FPCupDeluxe installs of earlier, functional versions of FPC/Lazarus.

The previous x64 installation contained the following: -- FreePascal 3.2.1 (fixes-r49055) + Lazarus 2.0.13 (fixes-r64843)

With Windows x86, and Linux/Arm cross-compiles.

I just tried a new install to a different folder, with the same config as above, and it did work. I had to copy back some of my configuration files (I ultimately renamed the folders of the new install and old install to make the migration easier).

I'm going to verify this with one more of my machines, and then I'll likely close the ticket if it works, but I would love to know why it failed the first time, and if there was a different way around it.

Uninstalling cross-compilers and then upgrading also works

Win 8.1E x64, same issue

@BrainWaveCC
Copy link
Author

Uninstalling cross-compilers and then upgrading also works

Win 8.1E x64, same issue

Awesome. I'm going to try that in the morning.

Thanks for that response.

@LongDirtyAnimAlf
Copy link
Owner

Thanks for trying to pinpoint this issue !
It is definitely caused by another install that on the same machine.
However, this should NOT happen, so I am still in the dark about this issue.

@BrainWaveCC
Copy link
Author

Thanks for trying to pinpoint this issue !
It is definitely caused by another install that on the same machine.
However, this should NOT happen, so I am still in the dark about this issue.

Well, I got busy for a few days...

I tried by first uninstalling both cross-compilers, then trying to install just Lazarus.

Still didn't work, but the error is different.

image

image

@BrainWaveCC
Copy link
Author

Uninstalling cross-compilers and then upgrading also works

This did not work for me on my machine.

Right now, I have three systems running FPC/Lazarus.

I have one system (LAPTOP) which works, but where I did the following:

  • Renamed folder A to A.old
  • Installed using v2.2.0i to folder A
  • Copied a few config files over to A from A.old, once completed.
  • Completely functional
    - Follow-up: Just tried another upgrade and it failed.

I have one system (this primary one, DESKTOP) where I am still using the older build (pre Git)

And I have the test system (DESKTOP) where I have tried a variety of things including:

  • Upgrade both FPC and Lazarus (failed)
  • Upgrade FPC only (succeed)
  • Upgrade Lazarus only (failed)
  • Upgrade both cross-compilers (succeed)
  • Upgrade Lazarus only (failed)
  • Uninstall both cross-compilers (succeed)
  • Upgrade Lazarus only (failed, with new error)

I will play with this for a few more days -- maybe a week -- and then I will just use the method I did on the first machine. And if it works (which I fully expect), then I will do it on my primary machine also.

(Follow-up)
I just tried to upgrade the first system listed above, and it also failed.

image

@LongDirtyAnimAlf
Copy link
Owner

Thanks for your update.
However. The errors reported are different from each other.
I would prefer to limit this issue to its title and try to solve that issue.

@BrainWaveCC
Copy link
Author

Thanks for your update.
However. The errors reported are different from each other.
I would prefer to limit this issue to its title and try to solve that issue.

Fair enough, but what do you propose as the next step.

While I know how to get around the problem one time, what I am now seeing is that even after the first fix, I am unable to upgrade any longer...

@BrainWaveCC
Copy link
Author

Uninstalling cross-compilers and then upgrading also works

That hasn't been as helpful for me.

I have, however, seen better outcomes by doing the following:

  • Upgrade FPC only
  • Upgrade cross-compilers (one at a time or in bulk doesn't matter)
  • Upgrade FPC only (again)
  • NOW try to upgrade Lazarus (if this errors, do FPC only, then Lazarus only)

Slow, but has worked twice now. I'm about to try it with the instance that has been untouched so far.

@BrainWaveCC
Copy link
Author

Thanks for your update.
However. The errors reported are different from each other.
I would prefer to limit this issue to its title and try to solve that issue.

I finally tried to tackle the FPC/Lazarus install on my last (primary) system, and this is what I get all day for the Lazarus upgrade portion...


.
.
.
(1008) 7699 lines compiled, 0.5 sec
C:/Programs/Lazarus.Fixes/fpcbootstrap/make.exe -C components/lazcontrols LCL_PLATFORM=nogui
C:/Programs/Lazarus.Fixes/fpc/bin/x86_64-win64/fpc.exe -MObjFPC -Scghi -O1 -g -gl -l -vewnhibq -dLCL -dLCLnogui -Fu../../packager/units/x86_64-win64 -Fu../lazutils/lib/x86_64-win64 -Fu../freetype/lib/x86_64-win64 -Fu../../lcl/units/x86_64-win64 -Fu../../lcl/units/x86_64-win64/nogui -Fu. -FuC:/Programs/Lazarus.Fixes/fpcsrc/rtl -FE. -FUlib/x86_64-win64/nogui -vw-n-h-l-d-u-t-p-c- -g -gl -dx86_64 lazcontrols.pas
(1002) Target OS: Win64 for x64
(3104) Compiling lazcontrols.pas
(3104) Compiling checkboxthemed.pas
(10001) PPU Loading C:\Programs\Lazarus.Fixes\lazarus\lcl\units\x86_64-win64\graphics.ppu
(10011) PPU Source: graphics.pp not found
(10011) PPU Source: lcl_defines.inc not available
(10011) PPU Source: graphicsobject.inc not available
(10011) PPU Source: graphic.inc not available
(10011) PPU Source: picture.inc not available
(10011) PPU Source: sharedimage.inc not available
(10011) PPU Source: sharedrasterimage.inc not available
(10011) PPU Source: sharedcustombitmap.inc not available
(10011) PPU Source: rasterimage.inc not available
(10011) PPU Source: custombitmap.inc not available
(10011) PPU Source: bitmapcanvas.inc not available
(10011) PPU Source: pen.inc not available
(10011) PPU Source: brush.inc not available
(10011) PPU Source: region.inc not available
(10011) PPU Source: font.inc not available
(10011) PPU Source: canvas.inc not available
(10011) PPU Source: pixmap.inc not available
(10011) PPU Source: png.inc not available
(10011) PPU Source: pnm.inc not available
(10011) PPU Source: jpegimage.inc not available
(10011) PPU Source: icon.inc not available
(10011) PPU Source: icnsicon.inc not available
(10011) PPU Source: cursorimage.inc not available
(10011) PPU Source: fpimagebitmap.inc not available
(10011) PPU Source: bitmap.inc not available
(10011) PPU Source: tiffimage.inc not available
(10011) PPU Source: gifimage.inc not available
(10011) PPU Source: patternbitmap.inc not available
(10001) PPU Loading C:\Programs\Lazarus.Fixes\lazarus\lcl\units\x86_64-win64\graphics.ppu
(10011) PPU Source: graphics.pp not found
(10011) PPU Source: lcl_defines.inc not available
(10011) PPU Source: graphicsobject.inc not available
(10011) PPU Source: graphic.inc not available
(10011) PPU Source: picture.inc not available
(10011) PPU Source: sharedimage.inc not available
(10011) PPU Source: sharedrasterimage.inc not available
(10011) PPU Source: sharedcustombitmap.inc not available
(10011) PPU Source: rasterimage.inc not available
(10011) PPU Source: custombitmap.inc not available
(10011) PPU Source: bitmapcanvas.inc not available
(10011) PPU Source: pen.inc not available
(10011) PPU Source: brush.inc not available
(10011) PPU Source: region.inc not available
(10011) PPU Source: font.inc not available
(10011) PPU Source: canvas.inc not available
(10011) PPU Source: pixmap.inc not available
(10011) PPU Source: png.inc not available
(10011) PPU Source: pnm.inc not available
(10011) PPU Source: jpegimage.inc not available
(10011) PPU Source: icon.inc not available
(10011) PPU Source: icnsicon.inc not available
(10011) PPU Source: cursorimage.inc not available
(10011) PPU Source: fpimagebitmap.inc not available
(10011) PPU Source: bitmap.inc not available
(10011) PPU Source: tiffimage.inc not available
(10011) PPU Source: gifimage.inc not available
(10011) PPU Source: patternbitmap.inc not available
(10028) Recompiling Graphics, checksum changed for C:\Programs\Lazarus.Fixes\lazarus\components\lazutils\lib\x86_64-win64\graphmath.ppu
Fatal: (10022) Can't find unit Graphics used by IntfGraphics
Fatal: (1018) Compilation aborted
Error: C:\Programs\Lazarus.Fixes\fpc\bin\x86_64-win64\ppcx64.exe returned an error exitcode
C:\Programs\Lazarus.Fixes\fpcbootstrap\make.exe: *** [lazbuild] Error 2
fpcupdeluxe: ERROR: LazarusNativeInstaller (BuildModuleCustom: Lazbuild): make.exe returned exit status #2

ERROR: Fpcupdeluxe fatal error !
Sequencer (UserIDE): Failure running fpcupdeluxe: error executing sequence UserIDE
Sequencer (Lazarus): Failure running fpcupdeluxe: error executing sequence Lazarus
Sequencer (Only): Failure running fpcupdeluxe: error executing sequence Only

image

@BrainWaveCC
Copy link
Author

Still having this issue...

Everything is going well until:

C:/Programs/Lazarus.Fixes/fpc/bin/x86_64-win64/fpc.exe -MObjFPC -Scghi -O1 -g -gl -l -vewnhibq -dLCL -dLCLnogui -Fu../../packager/units/x86_64-win64 -Fu../lazutils/lib/x86_64-win64 -Fu../freetype/lib/x86_64-win64 -Fu../../lcl/units/x86_64-win64 -Fu../../lcl/units/x86_64-win64/nogui -Fu. -FuC:/Programs/Lazarus.Fixes/fpcsrc/rtl -FE. -FUlib/x86_64-win64/nogui -vw-n-h-l-d-u-t-p-c- -g -gl -dx86_64 lazcontrols.pas
(1002) Target OS: Win64 for x64
(3104) Compiling lazcontrols.pas
(3104) Compiling checkboxthemed.pas
(10001) PPU Loading C:\Programs\Lazarus.Fixes\lazarus\lcl\units\x86_64-win64\graphics.ppu
(10011) PPU Source: graphics.pp not found
(10011) PPU Source: lcl_defines.inc not available
(10011) PPU Source: graphicsobject.inc not available
(10011) PPU Source: graphic.inc not available
(10011) PPU Source: picture.inc not available
(10011) PPU Source: sharedimage.inc not available
(10011) PPU Source: sharedrasterimage.inc not available
(10011) PPU Source: sharedcustombitmap.inc not available
(10011) PPU Source: rasterimage.inc not available
(10011) PPU Source: custombitmap.inc not available
(10011) PPU Source: bitmapcanvas.inc not available
(10011) PPU Source: pen.inc not available
(10011) PPU Source: brush.inc not available
(10011) PPU Source: region.inc not available
(10011) PPU Source: font.inc not available
(10011) PPU Source: canvas.inc not available
(10011) PPU Source: pixmap.inc not available
(10011) PPU Source: png.inc not available
(10011) PPU Source: pnm.inc not available
(10011) PPU Source: jpegimage.inc not available
(10011) PPU Source: icon.inc not available
(10011) PPU Source: icnsicon.inc not available
(10011) PPU Source: cursorimage.inc not available
(10011) PPU Source: fpimagebitmap.inc not available
(10011) PPU Source: bitmap.inc not available
(10011) PPU Source: tiffimage.inc not available
(10011) PPU Source: gifimage.inc not available
(10011) PPU Source: patternbitmap.inc not available
(10001) PPU Loading C:\Programs\Lazarus.Fixes\lazarus\lcl\units\x86_64-win64\graphics.ppu
(10011) PPU Source: graphics.pp not found
(10011) PPU Source: lcl_defines.inc not available
(10011) PPU Source: graphicsobject.inc not available
(10011) PPU Source: graphic.inc not available
(10011) PPU Source: picture.inc not available
(10011) PPU Source: sharedimage.inc not available
(10011) PPU Source: sharedrasterimage.inc not available
(10011) PPU Source: sharedcustombitmap.inc not available
(10011) PPU Source: rasterimage.inc not available
(10011) PPU Source: custombitmap.inc not available
(10011) PPU Source: bitmapcanvas.inc not available
(10011) PPU Source: pen.inc not available
(10011) PPU Source: brush.inc not available
(10011) PPU Source: region.inc not available
(10011) PPU Source: font.inc not available
(10011) PPU Source: canvas.inc not available
(10011) PPU Source: pixmap.inc not available
(10011) PPU Source: png.inc not available
(10011) PPU Source: pnm.inc not available
(10011) PPU Source: jpegimage.inc not available
(10011) PPU Source: icon.inc not available
(10011) PPU Source: icnsicon.inc not available
(10011) PPU Source: cursorimage.inc not available
(10011) PPU Source: fpimagebitmap.inc not available
(10011) PPU Source: bitmap.inc not available
(10011) PPU Source: tiffimage.inc not available
(10011) PPU Source: gifimage.inc not available
(10011) PPU Source: patternbitmap.inc not available
(10028) Recompiling Graphics, checksum changed for C:\Programs\Lazarus.Fixes\lazarus\components\lazutils\lib\x86_64-win64\graphmath.ppu
Fatal: (10022) Can't find unit Graphics used by IntfGraphics
Fatal: (1018) Compilation aborted
Error: C:\Programs\Lazarus.Fixes\fpc\bin\x86_64-win64\ppcx64.exe returned an error exitcode
C:\Programs\Lazarus.Fixes\fpcbootstrap\make.exe: *** [lazbuild] Error 2
fpcupdeluxe: ERROR: LazarusNativeInstaller (BuildModuleCustom: Lazbuild): make.exe returned exit status #2

ERROR: Fpcupdeluxe fatal error !
Sequencer (UserIDE): Failure running fpcupdeluxe: error executing sequence UserIDE
Sequencer (Lazarus): Failure running fpcupdeluxe: error executing sequence Lazarus
Sequencer (Default): Failure running fpcupdeluxe: error executing sequence Default

@BrainWaveCC
Copy link
Author

I ran the following command manually, and it generated errors until I did two things:

C:\Programs\Lazarus.Fixes\fpc\bin\x86_64-win64\fpc.exe -MObjFPC -Scghi -O1 -g -gl -l -vewnhibq -dLCL -dLCLnogui -Fu....\packager\units\x86_64-win64 -Fu..\lazutils\lib\x86_64-win64 -Fu..\freetype\lib\x86_64-win64 -Fu....\lcl\units\x86_64-win64 -Fu....\lcl\units\x86_64-win64\nogui -Fu. -FuC:\Programs\Lazarus.Fixes\fpcsrc\rtl -FE. -FUlib\x86_64-win64\nogui -vw-n-h-l-d-u-t-p-c- -g -gl -dx86_64 lazcontrols.pas

  1. I started the command while in the \lazarus\components\lazcontrols folder
  2. I added the following parameters: -FuC:\Programs\Lazarus.Fixes\lazarus\lcl -FuC:\Programs\Lazarus.Fixes\lazarus\lcl\include

@BrainWaveCC
Copy link
Author

Thanks for your update. However. The errors reported are different from each other. I would prefer to limit this issue to its title and try to solve that issue.

I believe I have found the issue. Not sure why it happens in an upgrade scenario, but not a new install into a clean folder.

@BrainWaveCC
Copy link
Author

Here is the output at the command point, with both the old command and the new command...
2022-03-02 FpcUpDeluxe.TXT

@BrainWaveCC
Copy link
Author

Hey, @LongDirtyAnimAlf, have you had any time to take a peek at the last few posts?

@LongDirtyAnimAlf
Copy link
Owner

No. Sorry.
I have problems with my back.
And some business related things to handle.
So, I lack time and motivation unfortunately.
However, this issue will be handled naturally !
Please permit me a bit more time (to heal).

@BrainWaveCC
Copy link
Author

Hi Don,

Sorry to hear about your current situation. Please get well soon.

@LongDirtyAnimAlf
Copy link
Owner

I am back.
Please update me about your latest findings please.
Did you pinpoint the error yourself ?
And can you direct me to the error once more (it has been a long time away for me) ?
Thanks !

@BrainWaveCC
Copy link
Author

Hi Don,

This link outlines where I found the error:
#504 (comment)

For reasons I cannot decipher, it seems like it ignores key components in an upgrade vs a new install.

@BrainWaveCC
Copy link
Author

Hi Don,

I tried to use 2.2.0j-prerelease, and I am still getting the same issue if I try to install both FPC/Lazarus at the same time.

FPC updates to FIXES level okay by itself.
Lazarus gives a different error if I try to install 2.3.0 by itself.

graphmath.pp(744,13) Error: Identifier not found "TruncToInt"
graphmath.pp(1053) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
Error: C:\Programs\Lazarus.Fixes\fpc\bin\x86_64-win64\ppcx64.exe returned an error exitcode
C:\Programs\Lazarus.Fixes\fpcbootstrap\make.exe: *** [lazbuild] Error 2
fpcupdeluxe: ERROR: LazarusNativeInstaller (BuildModuleCustom: Lazbuild): make.exe returned exit status #2

ERROR: Fpcupdeluxe fatal error !
Sequencer (UserIDE): Failure running fpcupdeluxe: error executing sequence UserIDE
Sequencer (Lazarus): Failure running fpcupdeluxe: error executing sequence Lazarus
Sequencer (Only): Failure running fpcupdeluxe: error executing sequence Only

Lazarus gives the same error as before if I try to install 2.2.2 by itself.

Fatal: (10022) Can't find unit Graphics used by IntfGraphics
Fatal: (1018) Compilation aborted
Error: C:\Programs\Lazarus.Fixes\fpc\bin\x86_64-win64\ppcx64.exe returned an error exitcode
C:\Programs\Lazarus.Fixes\fpcbootstrap\make.exe: *** [lazbuild] Error 2
fpcupdeluxe: ERROR: LazarusNativeInstaller (BuildModuleCustom: Lazbuild): make.exe returned exit status #2

ERROR: Fpcupdeluxe fatal error !
Sequencer (UserIDE): Failure running fpcupdeluxe: error executing sequence UserIDE
Sequencer (Lazarus): Failure running fpcupdeluxe: error executing sequence Lazarus
Sequencer (Only): Failure running fpcupdeluxe: error executing sequence Only

@LongDirtyAnimAlf
Copy link
Owner

I cannot reproduce unfortunately.
If I do a vanilla FPC + Lazarus stable install, all is well.

@BrainWaveCC
Copy link
Author

If I do a vanilla FPC + Lazarus stable install, all is well.

Yes, I was able to do that when testing as well. But, once I add back the components I was using from before, the next upgrade doesn't work again.

I'll verify that this still happens with one of my installs. (I have to keep at least one of them working, so I only have two to test with.)

Is there a place where I can upload to you the install folder (compressed) as it now is, to aid in the troubleshooting?

@BrainWaveCC
Copy link
Author

BrainWaveCC commented May 20, 2022

Here's what I get when I run 2.2.0j, with Fixes/Fixes on a machine (my #2 system) that had also initial issue, but for which I resolved by doing a clean build and then installing needed components again.

(3104) Compiling tatypes.pas
(10001) PPU Loading C:\Programs\Lazarus.Fixes\lazarus\components\projectgroups\lib\x86_64-win64\projectgroupintf.ppu
(10011) PPU Source: projectgroupintf.pp not found
(10028) Recompiling ProjectGroupIntf, checksum changed for C:\Programs\Lazarus.Fixes\fpc\units\x86_64-win64\rtl\system.ppu
C:\Programs\Lazarus.Fixes\lazarus\components\projectgroups\projectgroup.pp(49,3) Fatal: (10022) Can't find unit ProjectGroupIntf used by ProjectGroup
(3104) Compiling C:\Programs\Lazarus.Fixes\lazarus\components\jcf2\Process\Nesting.pas
(3104) Compiling addassignmethoddlg.pas
(3104) Compiling gdbmistringconstants.pas
Fatal: (1018) Compilation aborted
Error: C:\Programs\Lazarus.Fixes\fpc\bin\x86_64-win64\ppcx64.exe returned an error exitcode
Error: (lazarus) Compile package lazprojectgroups 0.7: stopped with exit code 1
(3104) Compiling tatextelements.pas
(3104) Compiling C:\Programs\Lazarus.Fixes\lazarus\components\jcf2\Parse\BuildTokenList.pas
Error: (lazarus) Compile package ChmHelpPkg 0.2.1: terminated
Error: (lazarus) Compile package leakview 1.0: terminated
Error: (lazarus) Compile package SQLDBLaz 1.0.2: terminated
(3104) Compiling codyctrls.pas
Error: (lazarus) Compile package TAChartLazarusPkg 1.0: terminated
Error: (lazarus) Compile package jcfidelazarus 2.0: terminated
Error: (lazarus) Compile package LazDebuggerGdbmi 0.1: terminated
Error: (lazarus) Compile package Cody 1.1: terminated
Error: (lazarus) [TLazPackageGraph.CompileRequiredPackages] "Exit code 1"
Error: (lazarus) Building IDE: Compile AutoInstall Packages failed.
C:\Programs\Lazarus.Fixes\fpcbootstrap\make.exe: *** [useride] Error 2
fpcupdeluxe: ERROR: LazarusNativeInstaller (BuildModuleCustom: UserIDE): make.exe returned exit status #2

ERROR: Fpcupdeluxe fatal error !
Sequencer (UserIDE): Failure running fpcupdeluxe: error executing sequence UserIDE
Sequencer (Lazarus): Failure running fpcupdeluxe: error executing sequence Lazarus
Sequencer (Default): Failure running fpcupdeluxe: error executing sequence Default

Something about the issue continues to linger underneath...

I can successfully update FPC alone to Fixes level, but Lazarus won't do it afterwards.

@LongDirtyAnimAlf
Copy link
Owner

I am closing this issue due to the fact that its not something that can be solved by fpcupdeluxe.

@BrainWaveCC
Copy link
Author

After a break to deal with some other things, I put some more effort into testing this, and I started making progress when I searched for each problematic .pas file and deleted it.

I don't know why I had so many historical files in there, but I finally deleted all .pas files in the destination, prior to Oct 2022, and then ran the install again. It finally worked flawlessly.

Not sure what made it break all of a sudden back in Feb, when I've been updating it steadily for a couple years now, but getting rid of all the old .pas files in the destination appears to have totally resolved the issue for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants