And also the second part (building Lazarus) succeeded (see attached picture and log).
As already stated:
The issues as experienced have nothing to do with FPCUpDeluxe but everything with how to handle things with care when it comes to using a 3th party filesystem implementation and how to configure things properly.
For my experiment I used:
- Oracle's VirtualBox 7.0.8 r156879 ( Qt5.15.8 )
- VirtualBox guest additions iso named VBoxGuestAdditions_7.0.9-157499.iso (*)
And, I performed the following steps:
- created a new VM with an added shared (machine) folder using my host ramdisk, using /media/hostram as mountpoint for the guest, and checkmarked automount (read-only off)
- installed a fresh new OS (Linux x86_64, Debian bookworm) in the VM (minimal openbox GUI)
- after intial setup of the guest OS, I closed it down, same as VirtualBox itself and used VBoxManage to add support for symlinks for the shared name (VBoxManage setextradata "Name of VM" VBoxInternal2/SharedFoldersEnableSymlinksCreate/<name of share> 1)
for references see
1,
2,
3,
4,
5
- started VirtualBox again
- started the VM
- rebuild the kernel for the VirtualBox guest additions (*)
- added myself (normal user) as vboxsf user
- downloaded FPCUpDeluxe to the share
then, I ran FPCDeluxe
- changed install path in order to use the shared directory
- in setup+, removed the use make jobs option
- press the install/update FPC+Lazarus button
- got some errors (see 1)
- installed required packages (~200 MB) in guest OS and retried pressing the button
- got another error (see 2)
- installed missing git package (~ 50 MB) in guest OS and retried pressing the button
- got another error (see 3)
- in setup+, added the use only fpcup bootstrap option
- retried pressing the button
- success
(*) For my setup I needed to use newer guest additions then supplied with VirtualBox as otherwise my guest OS screen isn't visible (bug by VirtualBox).
error 1: FPCUpDeluxe requires some packages that my guest OS apparantly did not had installed
so followed the instructions: sudo apt install make binutils build-essential gdb subversion zip unzip libx11-dev libgtk2.0-dev libgdk-pixbuf2.0-dev libcairo2-dev libpango1.0-dev
error 2:
fpcupdeluxe: WARNING: FPC Native Installer (GitClient: FPC): git is needed, but cannot be found on the system !!.
fpcupdeluxe: ERROR: FPC Native Installer (GetModule: FPC): Checkout/update of FPC sources failure.
error 3:
fpcupdeluxe: info: FPC Native Installer (BuildModule: FPC): Could not get compiler list from
ftp://ftp.freepascal.org/pub/fpc/dist/3.2.2/bootstrap/. Trying again. Final try.