Recent

Author Topic: [Solved]Compiling error lazarus trunk(win10)  (Read 925 times)

zoltanleo

  • Hero Member
  • *****
  • Posts: 509
[Solved]Compiling error lazarus trunk(win10)
« on: August 06, 2023, 06:04:15 pm »
Hi folks.

fpc 3.3.1-13708-g2e5c62e086
win10

When I update or reinstall (via fpcupdeluxe) the lazarus trunk I get an error

Code: Pascal  [Select][+][-]
  1. (3104) Compiling C:\laz_test\config_lazarus\onlinepackagemanager\packages\VampyreImaging\Source\ImagingJpeg.pas
  2. C:\laz_test\config_lazarus\onlinepackagemanager\packages\VampyreImaging\Source\ImagingJpeg.pas(229,43) Error: (4028) Can''t take the address of constant expressions
  3. C:\laz_test\config_lazarus\onlinepackagemanager\packages\VampyreImaging\Source\ImagingJpeg.pas(768) Fatal: (10026) There were 1 errors compiling module, stopping
  4. Fatal: (1018) Compilation aborted
  5. Error: C:\laz_test\fpc\bin\x86_64-win64\ppcx64.exe returned an error exitcode
  6. Error: (lazarus) Compile package VampyreImagingPackage 0.80: stopped with exit code 1
  7. Error: (lazarus) Compile package SynEdit 1.0: terminated
  8. (3104) Compiling shortpathedit.pas
  9. Error: (lazarus) Compile package fpdebug 1.0: terminated
  10. Error: (lazarus) Compile package LazControls 1.0.1: terminated
  11. Error: (lazarus) [TLazPackageGraph.CompileRequiredPackages] "Exit code 1"
  12. Error: (lazarus) Building IDE: Compile AutoInstall Packages failed.
  13. C:\laz_test\fpcbootstrap\make.exe: *** [useride] Error 2
  14. fpcupdeluxe: ERROR: Lazarus Native Installer (BuildModuleCustom: UserIDE): make.exe returned exit status #2.

fpcupdeluxe log
Code: Pascal  [Select][+][-]
  1. fpcupdeluxe: info: Lazarus Native Installer (CheckModule: Lazarus): Checking Lazarus sources with Git Client.
  2. fpcupdeluxe: info: Lazarus Native Installer (GetModule: Lazarus): Start checkout/update of Lazarus sources.
  3. fpcupdeluxe: info: Lazarus Native Installer (GitClient: Lazarus): Running GIT checkout or update of branch main.
  4. fpcupdeluxe: info: Performing SVN/GIT/HG/FTP/URL checkout/download. Please wait, could take some time.
  5. fpcupdeluxe: info: Lazarus Native Installer (GitClient: Lazarus): Current commit name: main_3_99-483-ga8cde74bcf.
  6. fpcupdeluxe: info: Lazarus Native Installer (GitClient: Lazarus): Current commit message: codetools: test case insensitive.
  7. fpcupdeluxe: info: Lazarus Native Installer (GetModule: Lazarus): Lazarus was at revision/hash: FRET_UNKNOWN_REVISION.
  8. fpcupdeluxe: info: Lazarus Native Installer (GetModule: Lazarus): Lazarus is now at revision/hash: a8cde74bcf.
  9. fpcupdeluxe: info: Lazarus Native Installer (GetModule: Lazarus): No Lazarus patches defined.
  10. fpcupdeluxe: info: Lazarus Native Installer (BuildModuleCustom: Lazbuild): Running: make lazbuild.
  11. fpcupdeluxe: info: Lazarus Native Installer (BuildModuleCustom: UserIDE): Now building UserIDE.
  12. fpcupdeluxe: info: Lazarus Native Installer (BuildModuleCustom: UserIDE): Running: make useride.
  13. fpcupdeluxe: Start of compile error summary.
  14. C:\laz_test\config_lazarus\onlinepackagemanager\packages\VampyreImaging\Source\ImagingJpeg.pas(229,43) Error: (4028) Can''t take the address of constant expressions
  15. fpcupdeluxe: Start of compile error summary.
  16. C:\laz_test\config_lazarus\onlinepackagemanager\packages\VampyreImaging\Source\ImagingJpeg.pas(768) Fatal: (10026) There were 1 errors compiling module, stopping
  17. C:\laz_test\config_lazarus\onlinepackagemanager\packages\VampyreImaging\Source\ImagingJpeg.pas(229,43) Error: (4028) Can''t take the address of constant expressions
  18. fpcupdeluxe: Start of compile error summary.
  19. Fatal: (1018) Compilation aborted
  20. C:\laz_test\config_lazarus\onlinepackagemanager\packages\VampyreImaging\Source\ImagingJpeg.pas(768) Fatal: (10026) There were 1 errors compiling module, stopping
  21. fpcupdeluxe: Start of compile error summary.
  22. Error: C:\laz_test\fpc\bin\x86_64-win64\ppcx64.exe returned an error exitcode
  23. fpcupdeluxe: Start of compile error summary.
  24. Error: (lazarus) Compile package VampyreImagingPackage 0.80: stopped with exit code 1
  25. fpcupdeluxe: Start of compile error summary.
  26. Error: (lazarus) Compile package SynEdit 1.0: terminated
  27. fpcupdeluxe: Start of compile error summary.
  28. Error: (lazarus) Compile package fpdebug 1.0: terminated
  29. fpcupdeluxe: Start of compile error summary.
  30. Error: (lazarus) Compile package LazControls 1.0.1: terminated
  31. fpcupdeluxe: Start of compile error summary.
  32. Error: (lazarus) [TLazPackageGraph.CompileRequiredPackages] "Exit code 1"
  33. fpcupdeluxe: Start of compile error summary.
  34. Error: (lazarus) Building IDE: Compile AutoInstall Packages failed.
  35. fpcupdeluxe: Start of compile error summary.
  36. fpcupdeluxe: ERROR: Lazarus Native Installer (BuildModuleCustom: UserIDE): make.exe returned exit status #2.
  37. fpcupdeluxe: Done !!

Fix it pls
« Last Edit: August 06, 2023, 06:27:28 pm by zoltanleo »
Win10 LTSC x64/Deb 12 amd64(gtk2)/Kubuntu(qt5)/Darwin Cocoa x86_64 (Sequoia):
Lazarus x32_64 (trunk); FPC(trunk), FireBird 3.0.11; IBX by TonyW

Sorry for my bad English, I'm using translator ;)

Leledumbo

  • Hero Member
  • *****
  • Posts: 8833
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Compiling error lazarus trunk(win10)
« Reply #1 on: August 06, 2023, 06:09:04 pm »
Quote
onlinepackagemanager\packages\VampyreImaging\Source\ImagingJpeg.pas
...
Fix it pls
Contact VampyreImaging maintainer to fix, they use an old construct that's no longer supported. This is the package you install yourself, which I believe fpcupdeluxe has no idea about.

zoltanleo

  • Hero Member
  • *****
  • Posts: 509
Re: Compiling error lazarus trunk(win10)
« Reply #2 on: August 06, 2023, 06:17:46 pm »
Contact VampyreImaging maintainer to fix, they use an old construct that's no longer supported. This is the package you install yourself, which I believe fpcupdeluxe has no idea about.
Hmmmm..... I'm installing pure lazarus. Maybe fpcupdeluxe does it on its own?

update: I renamed the default lazarus config directory and reinstalled the IDE. Now the build process was successful. Thanks for the idea  :)
« Last Edit: August 06, 2023, 06:27:12 pm by zoltanleo »
Win10 LTSC x64/Deb 12 amd64(gtk2)/Kubuntu(qt5)/Darwin Cocoa x86_64 (Sequoia):
Lazarus x32_64 (trunk); FPC(trunk), FireBird 3.0.11; IBX by TonyW

Sorry for my bad English, I'm using translator ;)

 

TinyPortal © 2005-2018