Recent

Author Topic: Fpcupdeluxe  (Read 764059 times)

af0815

  • Hero Member
  • *****
  • Posts: 1265
Re: Fpcupdeluxe
« Reply #2325 on: September 02, 2023, 05:10:56 pm »
Use OPM inside Lazarus for packages. And remove first the old package. If you install the same package from different sources, without removing the old one you get normal garbage.
SSL with synapse is often discussed in the forum, look for the threads.
« Last Edit: September 02, 2023, 05:14:14 pm by af0815 »
regards
Andreas

AlexTP

  • Hero Member
  • *****
  • Posts: 2294
    • UVviewsoft
Re: Fpcupdeluxe
« Reply #2326 on: September 05, 2023, 11:02:19 am »
@DonAlfredo

https://forum.lazarus.freepascal.org/index.php/topic,64500.msg490491/topicseen.html#new
This bug occurs when I make the text editor using cross-compiler from Linux x64 -> FreeBSD.
The bug is not in the FPC fixes_3_2 (the user installed fixes_3_2 on FreeBSD and checked).
I installed FPC fixes_3_2 on Linux.
So it means that bug was intoduced by cross? It is possible?

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1688
Re: Fpcupdeluxe
« Reply #2327 on: September 05, 2023, 01:29:41 pm »
As the app has to run on FreeBSD13, the first thing you might try is to use the libs for FreeBSD13.
https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/download/crosslibs_all/FreeBSD_AMD64_FreeBSD_13.zip
Please re-install the cross-compiler with these libs. And re-compile your app with the new cross-compiler.
This might help.

AlexTP

  • Hero Member
  • *****
  • Posts: 2294
    • UVviewsoft
Re: Fpcupdeluxe
« Reply #2328 on: September 05, 2023, 06:29:45 pm »
DonAlfredo,
Binary works now! Your advice helped a lot! Thanks.

1)
I looked for 'FreeBSD_' string in the Deluxe's binary and found only this: 'FreeBSD_AMD64_FreeBSD_10.zip'.
So program does not know about FreeBSD 13 libs!
I think .so files for FreeBSD 10 can be dropped - since last FreeBSD release is 13.x and 14 will be here soon.

2)
I cannot find such libs for 32-bit FreeBSD?

Josh

  • Hero Member
  • *****
  • Posts: 1196
Re: Fpcupdeluxe
« Reply #2329 on: September 09, 2023, 04:17:15 pm »
Hi

tried to install fpc& laz trunk in new folders but get errors
64 bit install, fpc installs laz i get
Code: Pascal  [Select][+][-]
  1. using config file C:\lazarusTrunk_64\lazarus\lazarus.cfg
  2. Warning: [TPCTargetConfigCache.Update] no unit paths: C:\lazarusTrunk_64\fpc\bin\x86_64-win64\fpc.exe
  3. Warning: [TPCTargetConfigCache.Update] invalid fpc: Compiler="C:\lazarusTrunk_64\fpc\bin\x86_64-win64\fpc.exe" Options="" RealCompiler="C:\lazarusTrunk_64\fpc\bin\x86_64-win64\ppcx64.exe" missing FPC_FULLVERSION
  4. Warning: [TPCTargetConfigCache.Update] no unit paths: C:\lazarusTrunk_64\fpc\bin\x86_64-win64\fpc.exe -Px86_64 -Twin64 -FrC:\lazarusTrunk_64\lazarus\components\codetools\fpc.errore.msg
  5. Warning: [TPCTargetConfigCache.Update] invalid fpc: Compiler="C:\lazarusTrunk_64\fpc\bin\x86_64-win64\fpc.exe" Options="-Px86_64 -Twin64 -FrC:\lazarusTrunk_64\lazarus\components\codetools\fpc.errore.msg" RealCompiler="C:\lazarusTrunk_64\fpc\bin\x86_64-win64\ppcx64.exe" missing FPC_FULLVERSION
  6.   $0000000100062F05  DEBUGLNSTACK,  line 907 of lazloggerbase.pas
  7.   $0000000100060E75  DEBUGLNSTACK,  line 11 of LazLoggerImpl.inc
  8.   $0000000100002451  IDEMESSAGEDIALOGHANDLER,  line 341 of lazbuild.lpr
  9.   $00000001003B2393  IDEMESSAGEDIALOG,  line 124 of idedialogs.pas
  10.   $00000001001215F8  RESCANCOMPILERDEFINES,  line 1240 of buildmanager.pas
  11.   $000000010012B35F  SETBUILDTARGET,  line 3070 of buildmanager.pas
  12.   $000000010012B75A  SETBUILDTARGETIDE,  line 3107 of buildmanager.pas
  13.   $000000010000355F  BUILDLAZARUSIDE,  line 588 of lazbuild.lpr
  14.   $0000000100007ED8  RUN,  line 1522 of lazbuild.lpr
  15. Error: (lazbuild) Error
  16. The project uses target OS=win64 and CPU=x86_64.
  17. The system.ppu for this target was not found in the FPC binary directories.
  18. Make sure fpc is installed correctly for this target and the fpc.cfg contains the right directories.
  19. lazbuild is non interactive, aborting now.
  20. C:\lazarusTrunk_64\fpcbootstrap\make.exe: *** [useride] Error 2
  21. fpcupdeluxe: ERROR: Lazarus Native Installer (BuildModuleCustom: UserIDE): make.exe returned exit status #2.
  22.  
  23.  
  24. ERROR: Fpcupdeluxe fatal error !
  25. Sequencer (UserIDE): Failure running fpcupdeluxe: error executing sequence UserIDE
  26. Sequencer (Lazarus): Failure running fpcupdeluxe: error executing sequence Lazarus
  27. Sequencer (Only): Failure running fpcupdeluxe: error executing sequence Only

in seperate folder for win32, i get similar errors.

fpcupdeluxe 2.4.0a  win64 or win 32 dependent on install

tried adding cross compiler in win 32 install, and get various fails when adding x86-64 windows, and loads when trying aarch64 darwin
fpc will be trunk version

any ideas, or does fpc/laz trunk have major issues at the moment
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

Gustavo 'Gus' Carreno

  • Hero Member
  • *****
  • Posts: 969
  • Professional amateur ;-P
Re: Fpcupdeluxe
« Reply #2330 on: September 09, 2023, 09:45:08 pm »
Hey @DonAlfredo,

Sorry to pile on, but I can confirm this on Ubuntu 23.04 64b:

Code: Text  [Select][+][-]
  1. fpcupdeluxe: info: Lazarus Native Installer (BuildModuleCustom: UserIDE): Now building UserIDE.
  2. fpcupdeluxe: info: Lazarus Native Installer (BuildModuleCustom: UserIDE): Running: make useride.
  3. fpcupdeluxe: Executing: /usr/bin/make --directory=/home/gcarreno/FreePascal/lazarus USESVN2REVISIONINC=0 FPC=/home/gcarreno/FreePascal/fpc/bin/x86_64-linux/fpc.sh PP=/home/gcarreno/FreePascal/fpc/bin/x86_64-linux/ppcx64 PREFIX=/home/gcarreno/FreePascal/lazarus INSTALL_PREFIX=/home/gcarreno/FreePascal/lazarus INSTALL_BASEDIR=/home/gcarreno/FreePascal/lazarus LAZARUS_INSTALL_DIR=/home/gcarreno/FreePascal/lazarus/ FPCDIR=/home/gcarreno/FreePascal/fpcsrc FPCMAKE=/home/gcarreno/FreePascal/fpc/bin/x86_64-linux/fpcmake PPUMOVE=/home/gcarreno/FreePascal/fpc/bin/x86_64-linux/ppumove OPT=-vw-n-h-l-d-u-t-p-c- -g -gl -O1 LAZBUILDJOBS=2 useride CFGFILE=/home/gcarreno/FreePascal/config_lazarus/idemake.cfg (working dir: /home/gcarreno/FreePascal/lazarus)
  4. ./lazbuild --max-process-count=2 --lazarusdir=. --build-ide=
  5. using config file /home/gcarreno/FreePascal/lazarus/lazarus.cfg
  6. Warning: [TPCTargetConfigCache.Update] no unit paths: /home/gcarreno/FreePascal/fpc/bin/x86_64-linux/fpc.sh
  7. Warning: [TPCTargetConfigCache.Update] invalid fpc: Compiler="/home/gcarreno/FreePascal/fpc/bin/x86_64-linux/fpc.sh" Options="" RealCompiler="/home/gcarreno/FreePascal/fpc/bin/x86_64-linux/ppcx64" missing FPC_FULLVERSION
  8. Warning: [TPCTargetConfigCache.Update] no unit paths: /home/gcarreno/FreePascal/fpc/bin/x86_64-linux/fpc.sh -Px86_64 -Tlinux -Fr/home/gcarreno/FreePascal/lazarus/components/codetools/fpc.errore.msg
  9. Warning: [TPCTargetConfigCache.Update] invalid fpc: Compiler="/home/gcarreno/FreePascal/fpc/bin/x86_64-linux/fpc.sh" Options="-Px86_64 -Tlinux -Fr/home/gcarreno/FreePascal/lazarus/components/codetools/fpc.errore.msg" RealCompiler="/home/gcarreno/FreePascal/fpc/bin/x86_64-linux/ppcx64" missing FPC_FULLVERSION
  10.   $00000000004C2984  DebuglnStack,  line 907 of lazloggerbase.pas
  11.   $00000000004BE155  DebuglnStack,  line 11 of LazLoggerImpl.inc
  12.   $0000000000401D96  IDEMessageDialogHandler,  line 341 of lazbuild.lpr
  13.   $0000000000A2E853  IDEMessageDialog,  line 124 of idedialogs.pas
  14.   $00000000005E7698  RescanCompilerDefines,  line 1240 of buildmanager.pas
  15.   $00000000005F2493  SetBuildTarget,  line 3070 of buildmanager.pas
  16. make: *** [Makefile:3115: useride] Error 2
  17.   $00000000005F291B  SetBuildTargetIDE,  line 3107 of buildmanager.pas
  18.   $0000000000403120  BuildLazarusIDE,  line 588 of lazbuild.lpr
  19.   $00000000004086E8  Run,  line 1522 of lazbuild.lpr
  20. Error: (lazbuild) Error
  21. The project uses target OS=linux and CPU=x86_64.
  22. The system.ppu for this target was not found in the FPC binary directories.
  23. Make sure fpc is installed correctly for this target and the fpc.cfg contains the right directories.
  24. lazbuild is non interactive, aborting now.
  25. fpcupdeluxe: ERROR: Lazarus Native Installer (BuildModuleCustom: UserIDE): make returned exit status #512.
  26.  
  27.  
  28. ERROR: Fpcupdeluxe fatal error !
  29. Sequencer (UserIDE): Failure running fpcupdeluxe: error executing sequence UserIDE
  30. Sequencer (Lazarus): Failure running fpcupdeluxe: error executing sequence Lazarus
  31. Sequencer (Only): Failure running fpcupdeluxe: error executing sequence Only

The 2 highlighted lines ( 22, 24 ) should produce some kind of bearings for Google to help, but alas, that's not the case since they are old entries on this forum and the solutions, I don't apply.

The commits I'm at.

FPC
Code: Text  [Select][+][-]
  1. commit 0c3f7bb6645cc2b5122f78fcf12776a1da55ed76 (HEAD -> main, origin/main, origin/HEAD)
  2. Author: Michaël Van Canneyt <michael@freepascal.org>
  3. Date:   Sat Sep 9 17:07:31 2023 +0200
  4.  
  5.     * Allow event handlers to modify input

Lazarus
Code: Text  [Select][+][-]
  1. commit dbde03d6a31c4d938ddd1ba9643a4d6005e22204 (HEAD -> main, origin/main, origin/HEAD)
  2. Author: rich2014 <rich2014.git@outlook.com>
  3. Date:   Sat Sep 9 23:16:22 2023 +0800
  4.  
  5.     Cocoa: Fix #40495: auto language detection on MacOS
  6.    
  7.     add LANG environment variable from AppleLocale in GUI APP

I'm including my fpc.cfg, if that makes any difference.

Thanking in advance to anyone that can crack this one  ;)

Cheers,
Gus
« Last Edit: September 09, 2023, 09:52:24 pm by Gustavo 'Gus' Carreno »
Lazarus 2.3.0(trunk) FPC 3.3.1(trunk) Ubuntu 23.04 64b Dark Theme
Lazarus 2.2.6(stable) FPC 3.2.2(stable) Ubuntu 23.04 64b Dark Theme
http://github.com/gcarreno

Josh

  • Hero Member
  • *****
  • Posts: 1196
Re: Fpcupdeluxe
« Reply #2331 on: September 10, 2023, 09:23:30 am »
Appears to be FPC trunk issue?

FPC fixes work with Lazarus Trunk

i then have
Lazarus 3.99 (rev a6cf14e143)
Free Pascal Compiler version 3.2.3-772-gd520814adb [2023/09/05] for x86_64
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

lfyey121

  • Newbie
  • Posts: 3
Re: Fpcupdeluxe
« Reply #2332 on: September 10, 2023, 02:06:49 pm »
In Windows 10, I installed the fpc trunk, lazarus trunk, also encountered the same error.

runewalsh

  • Jr. Member
  • **
  • Posts: 72
Re: Fpcupdeluxe
« Reply #2333 on: September 10, 2023, 03:18:31 pm »
Don’t know if this is an FPCUpDeluxe or FPC problem, but it started with a recent commit. I notified the author.

pierre_muller

  • Newbie
  • Posts: 1
Re: Fpcupdeluxe
« Reply #2334 on: September 10, 2023, 04:04:05 pm »
  I pushed commit  d2edd6fd2f to compiler source,
this should restrict the change to explicit use of -vj option.
 According to runwalsh, it should be sufficient to fi the problem.

  Hoever, the code in DebuglnStack,  line 907 of lazloggerbase.pas might be too strictly bound to the format expected from the compiler...


Gustavo 'Gus' Carreno

  • Hero Member
  • *****
  • Posts: 969
  • Professional amateur ;-P
Re: Fpcupdeluxe
« Reply #2335 on: September 11, 2023, 05:38:53 am »
Hey Y'All,

  I pushed commit  d2edd6fd2f to compiler source,
this should restrict the change to explicit use of -vj option.
 According to runwalsh, it should be sufficient to fi the problem.

  Hoever, the code in DebuglnStack,  line 907 of lazloggerbase.pas might be too strictly bound to the format expected from the compiler...

I'm happy to announce that with the above change, and after updating the compiler, I was able to compile Lazarus with no issue.

Cheers,
Gus
Lazarus 2.3.0(trunk) FPC 3.3.1(trunk) Ubuntu 23.04 64b Dark Theme
Lazarus 2.2.6(stable) FPC 3.2.2(stable) Ubuntu 23.04 64b Dark Theme
http://github.com/gcarreno

totya

  • Hero Member
  • *****
  • Posts: 720
Re: Fpcupdeluxe
« Reply #2336 on: September 24, 2023, 06:18:33 pm »
Hi

2.3.0 Lazarus only install failed via latest fpcupdeluxe (2.4.0a) Win10/x64 win64

Code: Pascal  [Select][+][-]
  1. fpcupdeluxe: info: Lazarus Native Installer (CheckModule: Lazarus): Checking Lazarus sources with Git Client.
  2. fpcupdeluxe: Executing: C:\Program Files\Git\cmd\git.exe status --porcelain (working dir: C:\lazarus\lazarus)
  3. fpcupdeluxe: Executing: C:\Program Files\Git\cmd\git.exe config remote.origin.url (working dir: C:\lazarus\lazarus)
  4. fpcupdeluxe: Executing: C:\Program Files\Git\cmd\git.exe describe --tags (working dir: C:\lazarus\lazarus)
  5. fpcupdeluxe: ERROR: Lazarus Native Installer (CheckModule: Lazarus): Repo tag and desired tag do not match.
  6. fpcupdeluxe: ERROR: Lazarus Native Installer (CheckModule: Lazarus): The desired 2.3.0 is different from local repository-tag.
  7.  
  8.  
  9. ERROR: Fpcupdeluxe fatal error !
  10. Sequencer (Lazarus): Failure running fpcupdeluxe: error executing sequence Lazarus
  11. Sequencer (Only): Failure running fpcupdeluxe: error executing sequence Only

Something must be wrong, because I see 3.99 version number in the lazarus versions tab.

AlexTP

  • Hero Member
  • *****
  • Posts: 2294
    • UVviewsoft
Re: Fpcupdeluxe
« Reply #2337 on: November 07, 2023, 07:34:36 am »
I am having problems with making for macOS aarch64. Cross-compiler gives the error:

Quote
Error: Util aarch64-apple-darwin19-dsymutil not found, switching to external linking

https://github.com/LongDirtyAnimAlf/fpcupdeluxe/issues/604

Maybe it's incomplete cross-bins package, can you update it please?
« Last Edit: November 07, 2023, 07:47:44 am by AlexTP »

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1688
Re: Fpcupdeluxe
« Reply #2338 on: November 07, 2023, 03:14:29 pm »
The cross-binaries have been updated. Please test.

AlexTP

  • Hero Member
  • *****
  • Posts: 2294
    • UVviewsoft
Re: Fpcupdeluxe
« Reply #2339 on: November 07, 2023, 03:38:31 pm »
Thanks, old error was solved; but now I face different errors - on  linking: picture.

 

TinyPortal © 2005-2018