Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pharo ZeroConf does not download VM for Raspberry Pi (64 bit), Pi support outdated #17596

Open
astares opened this issue Jan 11, 2025 · 5 comments

Comments

@astares
Copy link
Member

astares commented Jan 11, 2025

I had an elder Raspberry pi that I today fresly installed with the 64 bit version of Raspian OS.

When I try to get Pharo 12 via ZeroConf I receive an error for the combined (image + vm) download

wget -O- https://get.pharo.org/64/120+vm | bash
--2025-01-11 01:43:02--  https://get.pharo.org/64/120+vm
Resolving get.pharo.org (get.pharo.org)... 2001:41d0:301::23, 164.132.235.17
Connecting to get.pharo.org (get.pharo.org)|2001:41d0:301::23|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3064 (3.0K)
Saving to: ‘STDOUT’

-                   100%[===================>]   2.99K  --.-KB/s    in 0s      

2025-01-11 01:43:02 (75.3 MB/s) - written to stdout [3064/3064]

Downloading the latest 120 Image:
    http://files.pharo.org/get-files/120/pharoImage-aarch64.zip
Pharo.image
Downloading the latest pharoVM:
	http://files.pharo.org/get-files/120/pharo-vm-Linux-aarch64-stable.zip
[pharo-vm/vm.zip]
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of pharo-vm/vm.zip or
        pharo-vm/vm.zip.zip, and cannot find pharo-vm/vm.zip.ZIP, period.

image

@astares
Copy link
Member Author

astares commented Jan 11, 2025

Just downloading the image works

wget -O- https://get.pharo.org/64/120 | bash
--2025-01-11 01:50:45--  https://get.pharo.org/64/120
Resolving get.pharo.org (get.pharo.org)... 2001:41d0:301::23, 164.132.235.17
Connecting to get.pharo.org (get.pharo.org)|2001:41d0:301::23|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3452 (3.4K)
Saving to: ‘STDOUT’

-                                100%[=======================================================>]   3.37K  --.-KB/s    in 0s      

2025-01-11 01:50:45 (62.0 MB/s) - written to stdout [3452/3452]

Downloading the latest 120 Image:
    http://files.pharo.org/get-files/120/pharoImage-aarch64.zip

@astares
Copy link
Member Author

astares commented Jan 11, 2025

When trying to download the latest VM manually (not through ZeroConf) but from https://files.pharo.org/get-files/120/
then it is also not very fruitful:

wget https://files.pharo.org/get-files/120/pharo-vm-Linux-aarch64-latest.zip
unzip pharo-vm-Linux-aarch64-latest.zip

and running

./pharo Pharo.image

one runs into the next issue:

[ERROR] 2025-01-11 02:03:24.000 sqAllocateMemory (src/memoryUnix.c:160):I cannot find a good memory address starting from: 0x10000000000
[ERROR] 2025-01-11 02:03:24.000 error (src/debug.c:45):Failed to allocate memory for the heap

VM Error Sat Jan 11 02:03:24 2025


/home/kiwi/pharo/pharo12/lib/pharo
PharoVM version:5.0-Pharo 10.0.5-2757766 built on May  9 2023 15:51:31 Compiler: 11.3.0 11.3.0 [Production Spur 64-bit VM]
Built from: CoInterpreter VMMaker-tonel.1 uuid: 41510b8b-a5b7-0d00-9fe1-a0050e5cd28a May  9 2023
 With:StackToRegisterMappingCogit VMMaker-tonel.1 uuid: 41510b8b-a5b7-0d00-9fe1-a0050e5cd28a May  9 2023
 Revision: v10.0.5 - Commit: 2757766 - Date: 2023-05-05 13:46:09 +0200


Aborted Sat Jan 11 02:03:24 2025


/home/kiwi/pharo/pharo12/lib/pharo
PharoVM version:5.0-Pharo 10.0.5-2757766 built on May  9 2023 15:51:31 Compiler: 11.3.0 11.3.0 [Production Spur 64-bit VM]
Built from: CoInterpreter VMMaker-tonel.1 uuid: 41510b8b-a5b7-0d00-9fe1-a0050e5cd28a May  9 2023
 With:StackToRegisterMappingCogit VMMaker-tonel.1 uuid: 41510b8b-a5b7-0d00-9fe1-a0050e5cd28a May  9 2023
 Revision: v10.0.5 - Commit: 2757766 - Date: 2023-05-05 13:46:09 +0200

image

While the other had been touched and built in year 2024, the Linux variant pharo-vm-Linux-aarch64-latest.zip
is outdated from 9.5.2023:

image

@astares astares changed the title Pharo ZeroConf does not download VM for Raspberry Pi (64 bit) Pharo ZeroConf does not download VM for Raspberry Pi (64 bit), Pi support outdated Jan 11, 2025
@astares
Copy link
Member Author

astares commented Jan 11, 2025

If one downloads and runs the Pharo launcher from the website this also does not give a working combination:

./pharo-launcher-ui 
	not a dynamic executable
	not a dynamic executable
Error. Could not determine platform's libc path for VM. 
Try forcing $PLATFORMLIBDIR in /home/kiwi/pharo-launcher/pharo-vm/pharo, based on LIBC_SO.
Please report what works to pharo [vm-dev] mail list.
  LIBC_SO=
  PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
  NAME="Debian GNU/Linux"
  VERSION_ID="12"
  VERSION="12 (bookworm)"
  VERSION_CODENAME=bookworm
  ID=debian
  UNAME=Linux docbox 6.6.51+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.51-1+rpt3 (2024-10-08) aarch64 GNU/Linux
  System seems to be 64 bit. You may need to (re)install the 32-bit libraries.

image

@astares
Copy link
Member Author

astares commented Jan 11, 2025

So at the moment a user will have a hard time to get anything to work. Although the website states Raspberry support with an icon and also for ZeroConf:

image

@robvanlopik
Copy link

robvanlopik commented Jan 11, 2025

see pharo-project/pharo-vm#852. There is no recent PharoVM for ARM, it seems.
There is also PR #856 in the VM repo that seems stalled. (pharo-project/pharo-vm#856)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants