Recent

Author Topic: FPCUPdeluxe hangs on `fpmake`  (Read 3862 times)

Thaddy

  • Hero Member
  • *****
  • Posts: 15523
  • Censorship about opinions does not belong here.
Re: FPCUPdeluxe hangs on `fpmake`
« Reply #15 on: March 12, 2024, 05:50:22 pm »
Did you also purge the hidden directories? These contain the config files.
Usually they are in ~/
Type ls -a to view if these are still there and remove them too.
My great hero has found the key to the highway. Rest in peace John Mayall.
Playing: "Broken Wings" in your honour. As well as taking out some mouth organs.

yay

  • New Member
  • *
  • Posts: 24
Re: FPCUPdeluxe hangs on `fpmake`
« Reply #16 on: March 12, 2024, 06:01:59 pm »
I don't see any hidden files/folders that seem to have anything to do with fpcud.

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1756
Re: FPCUPdeluxe hangs on `fpmake`
« Reply #17 on: March 12, 2024, 06:05:10 pm »
Fpcupdeluxe only checks (runtime) for the availability of a native assembler, GNU make and GIT. That might not be enough. And is certainly not enough to build Lazarus.
However, install-scripts are also available. It is recommended to run this script before using fpcupdeluxe.

https://github.com/LongDirtyAnimAlf/fpcupdeluxe/blob/master/installscripts/debian.sh

Ps: there are no hidden files; all is located in the install-directory.

yay

  • New Member
  • *
  • Posts: 24
Re: FPCUPdeluxe hangs on `fpmake`
« Reply #18 on: March 12, 2024, 06:13:27 pm »
Fpcupdeluxe only checks (runtime) for the availability of a native assembler, GNU make and GIT. That might not be enough. And is certainly not enough to build Lazarus.
However, install-scripts are also available. It is recommended to run this script before using fpcupdeluxe.

https://github.com/LongDirtyAnimAlf/fpcupdeluxe/blob/master/installscripts/debian.sh

Ps: there are no hidden files; all is located in the install-directory.

I already ran that, but there was nothing in that script that wasn't already present on my system.

TRon

  • Hero Member
  • *****
  • Posts: 3141
Re: FPCUPdeluxe hangs on `fpmake`
« Reply #19 on: March 12, 2024, 08:04:12 pm »
Could a trace perhaps provide useful information ?
All software is open source (as long as you can read assembler)

PascalDragon

  • Hero Member
  • *****
  • Posts: 5644
  • Compiler Developer
Re: FPCUPdeluxe hangs on `fpmake`
« Reply #20 on: March 12, 2024, 09:30:07 pm »
Quote
Now, to my eye, the `ppcx64` at the end of the path there stands out as being blatantly wrong
Would be interesting to know why this is supposed to be wrong.

PPC to me means "PowerPC". But again, I know nothing about build systems.

Just for clarification: the ppc is a prefix for “Pascal Parser & Compiler” (or something along those lines) and is the same for all platforms. After that follows the specific platform of the compiler (in this case x64 for the x86_64 platform). The PowerPC compiler is named ppcppc for 32-bit PowerPC, ppcppc64 for 64-bit PowerPC or ppcppc64le for 64-bit PowerPC Little Endian.

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11731
  • FPC developer.
Re: FPCUPdeluxe hangs on `fpmake`
« Reply #21 on: March 12, 2024, 09:35:14 pm »
Just for clarification: the ppc is a prefix for “Pascal Parser & Compiler” (or something along those lines)

Portable Pascal Compiler, actually.

PascalDragon

  • Hero Member
  • *****
  • Posts: 5644
  • Compiler Developer
Re: FPCUPdeluxe hangs on `fpmake`
« Reply #22 on: March 12, 2024, 09:54:26 pm »
Just for clarification: the ppc is a prefix for “Pascal Parser & Compiler” (or something along those lines)

Portable Pascal Compiler, actually.

Thanks :) Maybe I'll get to remember it this time till I'll need it again in some years :P

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11731
  • FPC developer.
Re: FPCUPdeluxe hangs on `fpmake`
« Reply #23 on: March 12, 2024, 10:10:52 pm »
Thanks :) Maybe I'll get to remember it this time till I'll need it again in some years :P

You don't think of it any time you run the compiler? Ouch  :)

TRon

  • Hero Member
  • *****
  • Posts: 3141
Re: FPCUPdeluxe hangs on `fpmake`
« Reply #24 on: March 12, 2024, 10:11:26 pm »
Portable Pascal Compiler, actually.
Thank you very much for that explanation.

I always wondered what the first P meant.
All software is open source (as long as you can read assembler)

dbannon

  • Hero Member
  • *****
  • Posts: 3015
    • tomboy-ng, a rewrite of the classic Tomboy
Re: FPCUPdeluxe hangs on `fpmake`
« Reply #25 on: March 13, 2024, 12:15:02 am »
I just used fpcupdeluxe to install release FPC and Lazarus on a clean U22.04 VM without problems. I added the usual dependencies but not using DonAlfredo's script because I did not want to wait around for Qt5 and Qt6.

( DonAlfredo, do you also install a libqt6Pas library ?  Systems like U22.04 won't have one of their own and (excepting Trixie and maybe arch) ones that do will have an old one. And the local libqt5pas won't work with Laz3 either ....
Oh, and libgtk2.0-0-dev ? wots that ? )

Anyway, all worked here.

this-sucks (and I don't like your username), have you some 'alien' binutils ?  I note you play with the Arduino, I have seen kits around with the utils names without the $TARGET prefix, if fpcupdeluxe is finding those, then it sure would be unhappy. If you can build, locally anything, anyhow, thats not the case.

Otherwise, I suppose we have to assume there is something distinct about your system. But I understand you are using a VM (good) but a long term experimental one ?  Other 'interesting' things installed ?  I keep a clean VM of each OS, then clone it to make a short term experimental VM, blow that away when finished.

Davo
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

TRon

  • Hero Member
  • *****
  • Posts: 3141
Re: FPCUPdeluxe hangs on `fpmake`
« Reply #26 on: March 13, 2024, 12:36:55 am »
In addition to dbannon's post,

note that in case you indeed use a VM and use a shared directory on the host for your installation that the filesystem used by the VM can act differently and which can cause issues (issues of similar nature were reported and confirmed but in that case you would have seen a lot of other file-system related errors as well)
All software is open source (as long as you can read assembler)


dbannon

  • Hero Member
  • *****
  • Posts: 3015
    • tomboy-ng, a rewrite of the classic Tomboy
Re: FPCUPdeluxe hangs on `fpmake`
« Reply #28 on: March 13, 2024, 01:48:45 pm »
......Linux_AMD64_Ubuntu_2204.zip

Wow, have you really collected all the (eg) Qt6 libraries for [how many] Linux distributions ?  For each current release ? When do you get time to sleep ?

Thats amazing. Github won't let me see the directory listing of https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/download/crosslibs_all so I cannot see how many you have in there. But I won't complain any more about having to maintain 26 VMs for testing my app !

Davo
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

yay

  • New Member
  • *
  • Posts: 24
Re: FPCUPdeluxe hangs on `fpmake`
« Reply #29 on: March 13, 2024, 03:38:57 pm »
Some interesting info in here, but unfortunately still no luck getting any of this to work.

By the way, future people, DO NOT run `strace` with fpcud—it rendered my gui completely useless until my computer was reset.

I should clarify a few things:

I am not running a VM, but rather a normal install. There is nothing esoteric or exotic about my install, though it does, perhaps, as some sort of hail-mary attempt at concluding this silliness, bear mentioning that I am actually using Pop!_OS 22.04, and not, strictly speaking, Ubuntu.
« Last Edit: March 13, 2024, 04:11:12 pm by yay »

 

TinyPortal © 2005-2018