Recent

Author Topic: Fpcupdeluxe  (Read 813103 times)

zoltanleo

  • Sr. Member
  • ****
  • Posts: 488
Re: Fpcupdeluxe
« Reply #1995 on: January 04, 2022, 01:30:21 pm »
Hi

I decided to install trunk fpc/lazarus in a new directory. When I tried to install the compiler, I found that fpcupdeluxe cannot download gnu-utilities from the internet. This results in the error:

Code: Bash  [Select][+][-]
  1. Using PowerShell to download C:\laz_test_\fpcbootstrap\cpp.exe
  2. Using WinINet to download C:\laz_test_\fpcbootstrap\cpp.exe
  3. fpcupdeluxe: info: FPCNativeInstaller (GetFile): Could not download file with URL https://github.com/fpc/FPCBuild/raw/master/install/binw32/cpp.exe into C:\laz_test_\fpcbootstrap (filename: cpp.exe)
  4. fpcupdeluxe: ERROR: FPCNativeInstaller (GetFile): Error downloading binutil: cpp.exe into C:\laz_test_\fpcbootstrap.
  5. fpcupdeluxe: info: FPCNativeInstaller (GetFile): Downloading https://github.com/fpc/FPCBuild/raw/master/install/binw32/dlltool.exe
  6.  
  7. <skiped>
  8.  
  9. makefile:29: *** You need the GNU utils package to use this Makefile.  Stop.
  10.  
  11. fpcupdeluxe: ERROR: FPCNativeInstaller (CleanModule: FPC): Error running C:\laz_test_\fpcbootstrap\make.exe for FPC failed with exit code 2
  12. . Details:

If I copy the files to the new fpcbootstrap directory from the directory where the old version of fpc/lazarus was previously installed, the installation process is completed successfully.

I've tried using FPCUPdeluxe V2.2.0b and FPCUPdeluxe V2.2.0g versions on Windows.
« Last Edit: January 04, 2022, 01:36:32 pm by zoltanleo »
Win10 LTSC x64/Deb 11 amd64(gtk2/qt5)/Darwin Cocoa (Monterey):
Lazarus x32/x64 2.3(trunk); FPC 3.3.1 (trunk), FireBird 3.0.10; IBX by TonyW

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

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: Fpcupdeluxe
« Reply #1996 on: January 04, 2022, 01:47:12 pm »
I guess you also reported this issue on GitHub ? If so, please do not cross-post these (obvious) fpcupdeluxe errors. If not, please use GitHub issues for reporting these issues. But not this one: its already reported.
I will look into it. Thanks.

zoltanleo

  • Sr. Member
  • ****
  • Posts: 488
Re: Fpcupdeluxe
« Reply #1997 on: January 04, 2022, 03:30:46 pm »
Hi DonAlfredo

no problem.  i thought it might be a good idea if you know about it
Win10 LTSC x64/Deb 11 amd64(gtk2/qt5)/Darwin Cocoa (Monterey):
Lazarus x32/x64 2.3(trunk); FPC 3.3.1 (trunk), FireBird 3.0.10; IBX by TonyW

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

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: Fpcupdeluxe
« Reply #1998 on: January 06, 2022, 01:29:02 pm »
New fpcupdeluxe version (that celebrates a new Lazarus stable version) should solve this issue !
https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/tag/v2.2.0h

zoltanleo

  • Sr. Member
  • ****
  • Posts: 488
Re: Fpcupdeluxe
« Reply #1999 on: January 06, 2022, 03:13:41 pm »
Hi DonAlfredo

Thank a lot!
Win10 LTSC x64/Deb 11 amd64(gtk2/qt5)/Darwin Cocoa (Monterey):
Lazarus x32/x64 2.3(trunk); FPC 3.3.1 (trunk), FireBird 3.0.10; IBX by TonyW

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

af0815

  • Hero Member
  • *****
  • Posts: 1291
Re: Fpcupdeluxe
« Reply #2000 on: January 08, 2022, 05:34:55 pm »
I have some problems with creating a crosscompiler for ESP8266 Compiling with xtensa-freertos, because the path are specific for stm32 (lx6) and did not care, if the toolchain of ESP8266 is used.

Actual i have extended some things in the crosstools, to reflect more the difference. Today it is not possible to create both toolchains, because fpc can not handle stm32(lx6) and esp8266(lx106) at the same time. If you build one, you overwrite the other, only with moving and reorg the data (by hand) it can be possible actual.

In the last fes day a extra commandline option -WPx.y in cross-FPC is used to change the toolchain version to x.y, because there are more toolchain version with different behavior. 
 
regards
Andreas

Thaddy

  • Hero Member
  • *****
  • Posts: 14359
  • Sensorship about opinions does not belong here.
Re: Fpcupdeluxe
« Reply #2001 on: January 08, 2022, 05:56:03 pm »
I have some problems with creating a crosscompiler for ESP8266 Compiling with xtensa-freertos, because the path are specific for stm32 (lx6) and did not care, if the toolchain of ESP8266 is used.
You must make sure there are different directories for the rtl, but for the (cross)compilers themselves you can use the -V<x> option, where <x> is the cpu type. Fpcupdeluxe allows both requirements.
V must be uppercase of course.
E,g.
-VESP8266 will generate ppcESP8266
and
-Vstm32x6 will generate ppcstm32x6

Note that it is possible that the compiler already appends someting to ppc but the principle is the same: use different directories  and use -V<x>
« Last Edit: January 08, 2022, 06:03:09 pm by Thaddy »
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.

af0815

  • Hero Member
  • *****
  • Posts: 1291
Re: Fpcupdeluxe
« Reply #2002 on: January 08, 2022, 06:21:03 pm »
no problem with the crosscompiler itself, but with the building of the rtl. stm32 and esp8266 use the same directorystructure in xtensa-freertos. it was misspelled by me.

Edit:
Good news - with the patched fpcupdeluxe and a lot of help, i have the first blink example on a esp8266 running, compiled with fpc and the crosscompiler for extensa-freertos.

The LED on my ESP8266MOD12-F is blinking.

Edit2: Files for the actual cross for windows ESP8266 are here to find. https://github.com/afriess/fpc-xtensa-freertos/tree/SDK_V3.4 there are the bin files for bootloader etc. included. This is a early version to test if it works correct with the patched fpcupdeluxe
« Last Edit: January 09, 2022, 08:43:56 pm by af0815 »
regards
Andreas

Josh

  • Hero Member
  • *****
  • Posts: 1273
Re: Fpcupdeluxe
« Reply #2003 on: January 11, 2022, 11:06:49 am »
hi
using 2.2.0h

just tried to install a fresh installation of trunk fpc and trunk laz but get error
Code: [Select]
1008) 71550 lines compiled, 12.6 sec, 4200016 bytes code, 523668 bytes data
Found valid lazbuild.exe application.
fpcupdeluxe: info: LazarusNativeInstaller (BuildModuleCustom: UserIDE): Running: make useride
fpcupdeluxe: Executing: M:\LazarusTrunk\fpcbootstrap\make.exe --directory=M:\LazarusTrunk\lazarus FPC=M:\LazarusTrunk\fpc\bin\x86_64-win64\fpc.exe PP=M:\LazarusTrunk\fpc\bin\x86_64-win64\ppcx64.exe USESVN2REVISIONINC=0 PREFIX=M:\LazarusTrunk\lazarus INSTALL_PREFIX=M:\LazarusTrunk\lazarus LAZARUS_INSTALL_DIR=M:\LazarusTrunk\lazarus\ FPCDIR=M:\LazarusTrunk\fpcsrc FPCMAKE=M:\LazarusTrunk\fpc\bin\x86_64-win64\fpcmake.exe PPUMOVE=M:\LazarusTrunk\fpc\bin\x86_64-win64\ppumove.exe UPXPROG=echo OPT=-vw-n-h-l-d-u-t-p-c- -g -gl -O1 LAZBUILDJOBS=4 useride CFGFILE=M:\LazarusTrunk\config_lazarus\idemake.cfg (working dir: M:\LazarusTrunk\lazarus)
./lazbuild.exe --max-process-count=4 --lazarusdir=. --build-ide=
using config file M:\LazarusTrunk\lazarus\lazarus.cfg
SetPrimaryConfigPath NewValue="M:\LazarusTrunk\config_lazarus" -> "M:\LazarusTrunk\config_lazarus"
  $0000000100061AC5  DEBUGLNSTACK,  line 899 of lazloggerbase.pas
  $000000010005F8D5  DEBUGLNSTACK,  line 11 of LazLoggerImpl.inc
  $0000000100002660  ONIDEQUESTIONDIALOG,  line 347 of lazbuild.lpr
  $000000010036E913  IDEQUESTIONDIALOG,  line 131 of idedialogs.pas
  $0000000100115BF1  OPENINSTALLEDDEPENDENCY,  line 6110 of ../packager/packagesystem.pas
  $0000000100104AEC  LOADLAZARUSBASEPACKAGE,  line 2239 of ../packager/packagesystem.pas
  $00000001001049B5  LOADSTATICBASEPACKAGES,  line 2253 of ../packager/packagesystem.pas
  $00000001000061AA  INIT,  line 1174 of lazbuild.lpr
  $00000001000031BD  BUILDLAZARUSIDE,  line 530 of lazbuild.lpr
Error: (lazbuild) Package file not found
The package "IdeDebugger" is installed but no valid package file (.lpk) was found.
A broken dummy package was created.
lazbuild is non interactive, aborting now.
M:\LazarusTrunk\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 (Only): Failure running fpcupdeluxe: error executing sequence Only

« Last Edit: January 11, 2022, 11:08:29 am by josh »
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

af0815

  • Hero Member
  • *****
  • Posts: 1291
Re: Fpcupdeluxe
« Reply #2004 on: January 11, 2022, 11:21:06 am »
This can happen with Trunk. It looks like a Problem with a package. You can try to build Lazarus in a commandline.
regards
Andreas

RDL

  • Jr. Member
  • **
  • Posts: 71
Re: Fpcupdeluxe
« Reply #2005 on: January 11, 2022, 02:01:18 pm »
hello
fpcupdeluxe 2.2.0h
lazarus 2.2.0 on archlinux x86-64 I compile for i386 and get errors

I also have lazarus 2.0.12 installed which I installed with fpcupdeluxe a year ago. There is no such problem

Why is lazarus referring to /usr/lib32?
« Last Edit: January 12, 2022, 12:20:20 pm by RDL »
Sorry for my english, google translation!

RDL

  • Jr. Member
  • **
  • Posts: 71
Re: Fpcupdeluxe
« Reply #2006 on: January 12, 2022, 01:00:24 pm »
Hey
Can anyone share the version of fpcupdeluxe 1.8.2u?
for linux x86-64-qt5
Sorry for my english, google translation!

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: Fpcupdeluxe
« Reply #2007 on: January 12, 2022, 01:03:13 pm »
Do not revert to an old version.
Its better to solve the issue with the current version. That will allow all users to enjoy the fix.
So, please provide more details about your issue.

RDL

  • Jr. Member
  • **
  • Posts: 71
Re: Fpcupdeluxe
« Reply #2008 on: January 12, 2022, 01:18:10 pm »
@DonAlfredo
I don't know what to write in more detail.
Over a year ago I installed Lazarus 2.0.12 on Linux Acrh x86-64 + Cross Linux i386. (fpcupdeluxe 1.8.2u)
I could compile on x86-64 and i386.

I have now installed pure lazarus 2.2.0 on Linux Acrh x86-64 + Cross Linux i386. (fpcupdeluxe 2.2.0h).
I am getting errors when compiling on i386.
I attached a screenshot of the errors above. I don't know what the problem is.

Why is lazarus trying to look for something in /usr/lib32?
As I understand it, lazarus should take all libraries from (installdir)/cross/lib/i386-linux

I am ready to provide any information, just tell me what?

P.S. I will add that I still have lazarus 2.0.12 which I installed a year ago and it still compiles on x86-64 and i386
« Last Edit: January 12, 2022, 01:26:56 pm by RDL »
Sorry for my english, google translation!

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: Fpcupdeluxe
« Reply #2009 on: January 12, 2022, 01:42:44 pm »
@RDL
Its clear now.
The new fpcupdeluxe looks for availability of 32bits libraries and binaries on your 64 bits system. This is due to the fact that the libs (and bins) delivered by fpcupdeluxe cannot be easily kept up-to-date for all those systems out there. In your case, it finds (some) libs in /usr/lib32. But incomplete and perhaps with a seemingly outdated dynamic linker.
As I do not know the details about your system, as a temporary workaround, I would like to advice you to copy the i386-linux cross libs from your previous install into the new install and re-run fpcupdeluxe to build the cross-compiler.

 

TinyPortal © 2005-2018