Recent

Author Topic: Fpcupdeluxe  (Read 1059363 times)

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1903
Re: Fpcupdeluxe
« Reply #2685 on: June 30, 2026, 11:37:55 am »
Please report this issue with (much) more details on fpcupdeluxe Github as a new issue.
Or, if not possible, provide more info here.

Edit.
I just saw the original post of OP.
So, please provide the wrong path and the correct path, so I have a chance of checking this.

sstvmaster

  • Sr. Member
  • ****
  • Posts: 312
Re: Fpcupdeluxe
« Reply #2686 on: July 03, 2026, 06:01:34 pm »
i have a error compiling trunk, fpc is fine, only Lazarus have error (maybe gtk3 related).

Quote
...
(3104) Compiling debuginstructions.pas
(3104) Compiling tacustomsource.pas
(3104) Compiling tamath.pas
/home/user/Lazarus/trunk/config_lazarus/onlinepackagemanager/packages/lnet/lazaruspackage/lclnet.pas(45,15) Error: (5005) Forward declaration not solved "HandleIgnoreError(TLHandle);"
/home/user/Lazarus/trunk/config_lazarus/onlinepackagemanager/packages/lnet/lazaruspackage/lclnet.pas(46,15) Error: (5005) Forward declaration not solved "HandleIgnoreWrite(TLHandle);"
/home/user/Lazarus/trunk/config_lazarus/onlinepackagemanager/packages/lnet/lazaruspackage/lclnet.pas(47,15) Error: (5005) Forward declaration not solved "HandleIgnoreRead(TLHandle);"
/home/user/Lazarus/trunk/config_lazarus/onlinepackagemanager/packages/lnet/lazaruspackage/lclnet.pas(48,15) Error: (5005) Forward declaration not solved "InternalUnplugHandle(TLHandle);"
/home/user/Lazarus/trunk/config_lazarus/onlinepackagemanager/packages/lnet/lazaruspackage/lclnet.pas(50,15) Error: (5005) Forward declaration not solved "HandleEvents(Int64;LongWord);"
/home/user/Lazarus/trunk/config_lazarus/onlinepackagemanager/packages/lnet/lazaruspackage/lclnet.pas(58,14) Error: (5005) Forward declaration not solved "AddHandle(TLHandle):System.Boolean;"
/home/user/Lazarus/trunk/config_lazarus/onlinepackagemanager/packages/lnet/lazaruspackage/lclnet.pas(85) Fatal: (10026) There were 6 errors compiling module, stopping
(3104) Compiling debuggerpropertiesbase.pas
Fatal: (1018) Compilation aborted
Error: /home/user/Lazarus/trunk/fpc/bin/x86_64-linux/ppcx64 returned an error exitcode
Error: (lazarus) Compile package lnetvisual 0.6.6: stopped with exit code 1
(3104) Compiling ./units/gtk3/laz.virtualpanningwindow.pas
(3104) Compiling tadrawutils.pas
(3104) Compiling talinepatterns.pas
(3104) Compiling tageometry.pas
Error: (lazarus) Compile package TurboPowerIProDsgn 0.0: terminated
Error: (lazarus) Compile package MemDSLaz 1.2.1: terminated
Error: (lazarus) Compile package ProjTemplates 1.0: terminated
Error: (lazarus) Compile package LazSerialPort 0.6: terminated
Error: (lazarus) Compile package lazdaemon 0.9.9: terminated
Error: (lazarus) Compile package jcfidelazarus 2.0: terminated
Error: (lazarus) Compile package InstantFPCLaz 1.0: terminated
Error: (lazarus) Compile package fpcunitide 0.1: terminated
Error: (lazarus) Compile package DateTimeCtrlsDsgn 1.5.1: terminated
Error: (lazarus) Compile package ExternHelp 1.3: terminated
Error: (lazarus) Compile package CmdLineDebuggerBase 0.0: terminated
Error: (lazarus) Compile package ChmHelpPkg 0.2.1: terminated
Error: (lazarus) Compile package laz.virtualtreeview_package 5.5.3.1: terminated
Error: (lazarus) Compile package TAChartLazarusPkg 1.0: terminated
Error: (lazarus) Compile package SynEdit 1.0: terminated
Error: (lazarus) [TLazPackageGraph.CompileRequiredPackages] "Exit code 1"
Error: (lazbuild) Building IDE: Compile AutoInstall Packages failed

fpcupdeluxe: ERROR: Lazarus Native Installer (BuildModuleCustom: UserIDE): lazbuild returned error code 512
Details: .


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

Or should i post this in the Lazarus Bug-Tracker?
greetings Maik

Windows, Linux
- Lazarus 4.8 (stable) + fpc 3.2.2 (stable)
- Lazarus 4.99 (trunk) + fpc 3.3.1 (main/trunk)

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1903
Re: Fpcupdeluxe
« Reply #2687 on: July 03, 2026, 06:41:38 pm »
I guess not. Problem is with the lnet package installed with OPM.
Try to solve (or investigate) the lnet issue first.

sstvmaster

  • Sr. Member
  • ****
  • Posts: 312
Re: Fpcupdeluxe
« Reply #2688 on: July 03, 2026, 06:59:38 pm »
Thank you DonAlfredo, but i dont know how to solve the problem. I opend another Thread.
greetings Maik

Windows, Linux
- Lazarus 4.8 (stable) + fpc 3.2.2 (stable)
- Lazarus 4.99 (trunk) + fpc 3.3.1 (main/trunk)

sstvmaster

  • Sr. Member
  • ****
  • Posts: 312
Re: Fpcupdeluxe
« Reply #2689 on: July 03, 2026, 08:21:19 pm »
Hi,

i think i found the problem. It's related to GTK3 under trunk.

In "lclnet.pas" add this after line 77:

Code: Pascal  [Select][+][-]
  1. {$ifdef LCLGTK3}
  2.   {$i lclgtkeventer.inc}
  3. {$endif}
  4.  

then the compilation with fpcupdeluxe works.
greetings Maik

Windows, Linux
- Lazarus 4.8 (stable) + fpc 3.2.2 (stable)
- Lazarus 4.99 (trunk) + fpc 3.3.1 (main/trunk)

cdbc

  • Hero Member
  • *****
  • Posts: 2927
    • http://www.cdbc.dk
Re: Fpcupdeluxe
« Reply #2690 on: July 10, 2026, 11:26:16 pm »
Hi Don Alfredo :)
I'm having trouble with lazbuilding laz-trunk, in fpcupdeluxe v.'jp', please see attached screenshot, this came /after/ I installed gtk3's -devel package...
Any help will be very much appreciated
TIA - Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE6/QT6 -> FPC Release -> Lazarus Release &  FPC Main -> Lazarus Main

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1903
Re: Fpcupdeluxe
« Reply #2691 on: July 11, 2026, 04:36:46 pm »
I do not think this is related to gtk3.
Might be a double-quote problem. But the screenshot gives  not enough info. Please run again until failure. Right-click on command screen and copy-paste the log into a new message. That will allow me to dive deeper.
Thanks.

cdbc

  • Hero Member
  • *****
  • Posts: 2927
    • http://www.cdbc.dk
Re: Fpcupdeluxe
« Reply #2692 on: July 11, 2026, 04:53:22 pm »
Hi DonAlfredo
HA! Wouldn't you know it, this time it succeeded \o/
Alas, that means no logs for you mate, or do you stiil want the successful one?
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE6/QT6 -> FPC Release -> Lazarus Release &  FPC Main -> Lazarus Main

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1903
Re: Fpcupdeluxe
« Reply #2693 on: July 11, 2026, 06:21:58 pm »
That is good news. So all ok. No logs needed. Enjoy.

cdbc

  • Hero Member
  • *****
  • Posts: 2927
    • http://www.cdbc.dk
Re: Fpcupdeluxe
« Reply #2694 on: July 11, 2026, 06:40:29 pm »
Hi
Thanks mate and for the quick response \o/
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE6/QT6 -> FPC Release -> Lazarus Release &  FPC Main -> Lazarus Main

heejit

  • Sr. Member
  • ****
  • Posts: 251
Re: Fpcupdeluxe
« Reply #2695 on: July 26, 2026, 05:16:54 pm »
I am not able to build cross compiler for windows 64bit from MacOS M4 processor

fpcupdeluxe version : 2.4.0jp

v=assemble.pas(260,7) Fatal: Can't find unit sfpux80 used by assemble
Fatal: Compilation aborted
Error: /Users/jiten/lazarus4/fpc/bin/aarch64-darwin/ppca64 returned an error exitcode
fpcupdeluxe: ERROR: FPC Cross Installer (BuildModuleCustom: FPC): Running cross compiler fpc /usr/bin/make for x86_64-win64 failed with an error code.
fpcupdeluxe: ERROR: FPC Cross Installer (BuildModuleCustom: FPC): Removing all x86_64-win64 compiler settings from fpc.cfg.
fpcupdeluxe: info: FPCCrossInstaller (InsertFPCCFGSnippet: fpc.cfg): Inserting snippet in /Users/jiten/lazarus4/fpc/bin/aarch64-darwin/fpc.cfg done.


ERROR: Fpcupdeluxe fatal error !
Sequencer (FPCCleanBuildOnly): Failure running fpcupdeluxe: error executing sequence FPCCleanBuildOnly
Sequencer (Only): Failure running fpcupdeluxe: error executing sequence Only
ERROR: Building cross-tools failed. Aborting.


Thaddy

  • Hero Member
  • *****
  • Posts: 19614
  • Glad to be alive.
Re: Fpcupdeluxe
« Reply #2696 on: July 26, 2026, 05:49:08 pm »
Confirmed. Fails.
(Funny I did not test that before)
This is probably not due to fpcupdeluxe, though, but looks like an error in the make script.
Tested mac mini M4 fully up-to-date.

I think there are not many people who tried this.....(Just us two, maybe?)
Although sfpux80 (soft floats) is not really used on x86_64-win64 it needs to be compiled in.

What is strange, though: Error: /Users/jiten/lazarus4/fpc/bin/aarch64-darwin/ppca64 ???
It should be already a ppcrossXXX at that point? The aarch64 compiler is never to compile sfpux80 because it is not part of aarch64 eco system. But the cross compiler should.
« Last Edit: July 26, 2026, 06:09:04 pm by Thaddy »
Any "programmer" that knows only one programming language is not a programmer

zoltanleo

  • Hero Member
  • *****
  • Posts: 523
Re: Fpcupdeluxe
« Reply #2697 on: July 27, 2026, 12:53:19 pm »
Hi DonAlfredo

I’m using fpcupdeluxe 2.4.0jp (Cacao version) to build on Darwin x86_64.

FPC trunk builds without errors, but when I try to build Lazarus trunk I get an error:
 
Code: Bash  [Select][+][-]
  1. fpcupdeluxe: info: Lazarus Native Installer (BuildModuleCustom: StartLazarus): Running: make starter.
  2. fpcupdeluxe: Executing: /usr/bin/make --directory=/Users/leyba/lazarus/laz_test/lazarus USESVN2REVISIONINC=0 FPC=/Users/leyba/lazarus/laz_test/fpc/bin/x86_64-darwin/fpc.sh PP=/Users/leyba/lazarus/laz_test/fpc/bin/x86_64-darwin/ppcx64 PREFIX=/Users/leyba/lazarus/laz_test/lazarus INSTALL_PREFIX=/Users/leyba/lazarus/laz_test/lazarus INSTALL_BASEDIR=/Users/leyba/lazarus/laz_test/lazarus LAZARUS_INSTALL_DIR=/Users/leyba/lazarus/laz_test/lazarus/ FPCDIR=/Users/leyba/lazarus/laz_test/fpcsrc FPCMAKE=/Users/leyba/lazarus/laz_test/fpc/bin/x86_64-darwin/fpcmake PPUMOVE=/Users/leyba/lazarus/laz_test/fpc/bin/x86_64-darwin/ppumove OPT=-vw-n-h-l-d-u-t-p-c- -g -gl -O1 starter (working dir: /Users/leyba/lazarus/laz_test/lazarus)
  3. ./lazbuild --lazarusdir=. --compiler=/Users/leyba/lazarus/laz_test/fpc/bin/x86_64-darwin/ppcx64 --cpu=x86_64 --os=darwin --opt="-vw-n-h-l-d-u-t-p-c- -g -gl -O1" --pkg-release --build-mode=release ide/startlazarus.lpi
  4.   Old="/Users/leyba/lazarus/laz_test/fpc/bin/x86_64-darwin/fpc.sh"
  5.   Now="/Users/leyba/lazarus/laz_test/fpc/bin/x86_64-darwin/ppcx64"
  6. (1002) Target OS: Darwin for x86_64
  7. (3104) Compiling fcllaz.pas
  8. /Users/leyba/lazarus/laz_test/lazarus/packager/registration/fcllaz.pas(8,10) Fatal: (10022) Can't find unit system used by fcllaz
  9. Fatal: (1018) Compilation aborted
  10. make: *** [starter] Error 2
  11. Error: (lazarus) Compile package FCL 1.0.1: stopped with exit code 1
  12. Error: (lazarus) [TLazPackageGraph.CompileRequiredPackages] "Exit code 1"
  13. Error: (lazbuild) Project dependencies of "/Users/leyba/lazarus/laz_test/lazarus/ide/startlazarus.lpi"
  14. fpcupdeluxe: ERROR: Lazarus Native Installer (BuildModuleCustom: StartLazarus): make returned exit status #512.
  15. ERROR: Fpcupdeluxe fatal error !
  16. Sequencer (Lazarus): Failure running fpcupdeluxe: error executing sequence Lazarus
  17. Sequencer (Only): Failure running fpcupdeluxe: error executing sequence Only

if building Lazarus in the terminal using commands

Code: Bash  [Select][+][-]
  1. ~/ cd /Users/leyba/lazarus/laz_test/lazarus
  2.  
  3. ~/ make starter \
  4.   FPC=/Users/leyba/lazarus/laz_test/fpc/bin/x86_64-darwin/fpc.sh \
  5.   PP=/Users/leyba/lazarus/laz_test/fpc/bin/x86_64-darwin/fpc.sh \
  6.   PREFIX=/Users/leyba/lazarus/laz_test/lazarus \
  7.   INSTALL_PREFIX=/Users/leyba/lazarus/laz_test/lazarus \
  8.   FPCDIR=/Users/leyba/lazarus/laz_test/fpcsrc
 
then the build completes successfully

Trying to specify the path to the fpc.sh file in Setup+ → Compiler Override does not eliminate the build error.
Win10 LTSC x64/LMDE7-x11-x86_64(gtk2/gtk3)/Fedora-44-wayland-x86_64(gtk2/gtk3)/ Kubuntu-24-x11-x86_64(qt5/qt6)/KDE Neon-wayland-x86_64(qt5/qt6)/Darwin Cocoa x86_64 (15.7.7):
Lazarus x32_64 (trunk); FPC(trunk), FireBird 5.0.3 x86_64; IBX by TonyW

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

ALLIGATOR

  • Sr. Member
  • ****
  • Posts: 469
  • FPC git[main] Lazarus git[main] 💪🐯💪
Re: Fpcupdeluxe
« Reply #2698 on: July 27, 2026, 02:51:13 pm »
Hi DonAlfredo

I’m using fpcupdeluxe 2.4.0jp (Cacao version) to build on Darwin x86_64.

FPC trunk builds without errors, but when I try to build Lazarus trunk I get an error:

Already fixed in git[main]

https://gitlab.com/freepascal.org/lazarus/lazarus/-/work_items/42449
https://gitlab.com/freepascal.org/lazarus/lazarus/-/work_items/42455

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1903
Re: Fpcupdeluxe
« Reply #2699 on: July 27, 2026, 03:04:18 pm »
Quote
Already fixed in git[main]

Correct. But fix is not yet released. Still working on some details.

 

TinyPortal © 2005-2018