Recent

Author Topic: BGRABitmap err trying to update a fixes/fixes installation FPCUPDeluxe 2.4.0i  (Read 162 times)

mizar

  • New Member
  • *
  • Posts: 46
Hi all,

I'm trying to update a fixes/fixes fpc/lazarus installation (Linux Mint 22.3 gtk) using FPCUPDeluxe 2.4.0i but got a compiling error regarding package BGRABitmap in bgracanvas.pas:

Code: Pascal  [Select][+][-]
  1. FPCUP(deluxe) is starting up.
  2.  
  3. FPCupdeluxe basedir:       /home/fernando/lazarus_fixes
  4. Bootstrap dir:             /home/fernando/lazarus_fixes/fpcbootstrap
  5.  
  6. FPC URL:                   https://gitlab.com/freepascal.org/fpc/source
  7. FPC source directory:      /home/fernando/lazarus_fixes/fpcsrc
  8. FPC install directory:     /home/fernando/lazarus_fixes/fpc
  9. FPC options:              
  10.  
  11. Lazarus URL:               https://gitlab.com/freepascal.org/lazarus/lazarus
  12. Lazarus source directory:  /home/fernando/lazarus_fixes/lazarus
  13. Lazarus install directory: /home/fernando/lazarus_fixes/lazarus
  14. Lazarus options:           -g -gl -O1
  15.  
  16. Please stand back and enjoy !
  17.  
  18. 29-5-26 17:28:57: fpcupdeluxe: V512 (20260225) started.
  19. FPCUPdeluxe V2.4.0i for x86_64-linux running on Linux Mint
  20. Build with: FPC 3.2.3 on Win11 x86_64
  21.  
  22. Found valid as application.
  23. Found valid gunzip application.
  24. Found valid tar application.
  25. Found valid make application.
  26. Found valid make application.
  27. /usr/bin/ld is not a valid ld application. ld exists but shows no (GNU ld) in its output.
  28. fpcupdeluxe: WARNING: Universal Installer (DownloadBinUtils): Found ld binary here: /usr/bin/ld. But it is not GNU ld. Expect errors.
  29. /usr/bin/ld.bfd is not a valid ld.bfd application. ld.bfd exists but shows no (GNU ld) in its output.
  30. fpcupdeluxe: WARNING: Universal Installer (DownloadBinUtils): Found GNU ld.bfd binary here: /usr/bin/ld.bfd. Could be used through symlinking.
  31. fpcupdeluxe: Executing: /home/fernando/lazarus_fixes/lazarus/lazbuild --version (working dir: /home/fernando/fpcupdeluxe/)
  32. 4.7
  33. fpcupdeluxe: info: Universal Installer (GetModule: opm): Getting module opm.
  34. fpcupdeluxe: info: Universal Installer (GetModule: opm): No opm patches defined.
  35. fpcupdeluxe: info: Universal Installer (InstallPackage): Installing laz.virtualtreeview_package.
  36. fpcupdeluxe: Executing: /home/fernando/lazarus_fixes/lazarus/lazbuild --version (working dir: /home/fernando/fpcupdeluxe/)
  37. 4.7
  38. fpcupdeluxe: Executing: /home/fernando/lazarus_fixes/lazarus/lazbuild --pcp=/home/fernando/lazarus_fixes/config_lazarus --cpu=x86_64 --os=linux --add-package /home/fernando/lazarus_fixes/lazarus/components/virtualtreeview/laz.virtualtreeview_package.lpk (working dir: /home/fernando/fpcupdeluxe/)
  39. SetPrimaryConfigPath NewValue="/home/fernando/lazarus_fixes/config_lazarus"
  40. fpcupdeluxe: info: Universal Installer (InstallPackage): Installing onlinepackagemanager version 1.0.1.2.
  41. fpcupdeluxe: Executing: /home/fernando/lazarus_fixes/lazarus/lazbuild --version (working dir: /home/fernando/fpcupdeluxe/)
  42. 4.7
  43. fpcupdeluxe: Executing: /home/fernando/lazarus_fixes/lazarus/lazbuild --pcp=/home/fernando/lazarus_fixes/config_lazarus --cpu=x86_64 --os=linux --add-package /home/fernando/lazarus_fixes/lazarus/components/onlinepackagemanager/onlinepackagemanager.lpk (working dir: /home/fernando/fpcupdeluxe/)
  44. SetPrimaryConfigPath NewValue="/home/fernando/lazarus_fixes/config_lazarus"
  45. fpcupdeluxe: info: Universal Installer (ConfigModule: opm): Packages were installed.
  46. fpcupdeluxe: info: Universal Installer (ConfigModule: opm): Going to rebuild Lazarus.
  47. fpcupdeluxe: info: Universal Installer (ConfigModule: opm): Running lazbuild to get IDE with user-specified packages.
  48. fpcupdeluxe: Executing: /home/fernando/lazarus_fixes/lazarus/lazbuild --max-process-count=4 --pcp=/home/fernando/lazarus_fixes/config_lazarus --cpu=x86_64 --os=linux --build-ide=-dKeepInstalledPackages -g -gl -O1 (working dir: /home/fernando/lazarus_fixes/lazarus)
  49. SetPrimaryConfigPath NewValue="/home/fernando/lazarus_fixes/config_lazarus"
  50. Warning: (lazarus) Duplicate file "splash.lfm" in "#IDE", path="/home/fernando/lazarus_fixes/lazarus/ide/splash.lfm"
  51. Warning: (lazarus) Duplicate file "splash.lfm" in "etpackage 1.0.0.1", path="/home/fernando/lazarus_fixes/config_lazarus/onlinepackagemanager/packages/epiktimer/splash.lfm"
  52. (1002) Target OS: Linux for x86-64
  53. (3104) Compiling etpackage_dsgn.pas
  54. (3104) Compiling etpackage_lcl.pas
  55. (3104) Compiling epiktimer.pas
  56. (1008) 849 lines compiled, 0.3 sec
  57. (1002) Target OS: Linux for x86-64
  58. (3104) Compiling atflatcontrols_package.pas
  59. (3104) Compiling atbuttons.pas
  60. (3104) Compiling atflatthemes.pas
  61. (3104) Compiling atcanvasprimitives.pas
  62. (1002) Target OS: Linux for x86-64
  63. (3104) Compiling bgrabitmappack.pas
  64. (3104) Compiling bgraanimatedgif.pas
  65. (3104) Compiling bgrabitmap.pas
  66. (3104) Compiling bgragtkbitmap.pas
  67. (3104) Compiling bgralclbitmap.pas
  68. (3104) Compiling bgradefaultbitmap.pas
  69. (3104) Compiling bgracanvas.pas
  70. (1002) Target OS: Linux for x86-64
  71. (3104) Compiling anchordockpkg.pas
  72. (1008) 23 lines compiled, 0.4 sec
  73. /home/fernando/lazarus_fixes/config_lazarus/onlinepackagemanager/packages/BGRABitmap/bgrabitmap/bgracanvas.pas(1458,25) Error: (4001) Incompatible types: got "TFPGradientDirection" expected "TGradientDirection"
  74. /home/fernando/lazarus_fixes/config_lazarus/onlinepackagemanager/packages/BGRABitmap/bgrabitmap/bgracanvas.pas(1488,23) Error: (4001) Incompatible types: got "TFPGradientDirection" expected "TGradientDirection"
  75. /home/fernando/lazarus_fixes/config_lazarus/onlinepackagemanager/packages/BGRABitmap/bgrabitmap/bgracanvas.pas(1500,19) Error: (4001) Incompatible types: got "TFPGradientDirection" expected "TGradientDirection"
  76. bgracanvas.pas(1910) Fatal: (10026) There were 3 errors compiling module, stopping
  77. Fatal: (1018) Compilation aborted
  78. Error: /home/fernando/lazarus_fixes/fpc/bin/x86_64-linux/ppcx64 returned an error exitcode
  79. Error: (lazarus) Compile package BGRABitmapPack 11.6.6: stopped with exit code 1
  80. Error: (lazarus) Compile package laz.virtualtreeview_package 5.5.3.1: terminated
  81. /home/fernando/lazarus_fixes/config_lazarus/onlinepackagemanager/packages/ATFlatControls/atflatcontrols/atbuttons.pas(389,21) H
  82. Error: (lazarus) Compile package SynEdit 1.0: terminated
  83. Error: (lazarus) Compile package atflatcontrols_package 2.3: terminated
  84. Error: (lazarus) [TLazPackageGraph.CompileRequiredPackages] "Exit code 1"
  85. Error: (lazbuild) Building IDE: Compile AutoInstall Packages failed
  86.  
  87. fpcupdeluxe: ERROR: Universal Installer (ConfigModule: opm): lazbuild returned error code 512
  88. Details: .
  89.  
  90.  
  91. ERROR: Fpcupdeluxe fatal error !
  92. Sequencer (opm): Failure running fpcupdeluxe: error executing sequence opm
  93. Sequencer (Only): Failure running fpcupdeluxe: error executing sequence Only
  94.  

Is someone else getting the same results ?
Any clues about what is going wrong ?

Thank you

paweld

  • Hero Member
  • *****
  • Posts: 1638
You must apply the changes from the attachment to the bgracanvas.pas unit.
Best regards / Pozdrawiam
paweld

mizar

  • New Member
  • *
  • Posts: 46
It worked !

Thank you

 

TinyPortal © 2005-2018