Dadoum / Provision

Set of tools interracting with Apple servers. Don't hesitate to leave a star if you appreciate it.
494 stars 3.22k forks source link

Unable to run on Raspberry Pi5 (armv7) #106

Open steilerDev opened 3 months ago

steilerDev commented 3 months ago

After running into the same issue as #84 with the latest released binary on my Raspberry Pi 5 (running 32bit - therefore armv7), I followed the instruction on the issue and downloaded the latest Action build, however in this, I'm getting the following error:

Pi:/opt# ./anisette-server-armv7 
                     app INFO  2024-03-27T14:53:23.399 anisette-server-provision v2.2.2
                     app INFO  2024-03-27T14:53:23.403 Downloading libraries from Apple servers...
                     app INFO  2024-03-27T14:53:51.210 Done !
provision.androidlibrary.LoaderException@lib/provision/androidlibrary.d(118): Cannot load library: Cannot protect the memory correctly.
----------------
../../../../src/libphobos/libdruntime/rt/deh.d:51 _d_createTrace [0xe53dbd]
../../../../src/libphobos/libdruntime/gcc/deh.d:484 _d_throw [0xe4d8e9]
??:? provision.androidlibrary.AndroidLibrary provision.androidlibrary.AndroidLibrary.__ctor(immutable(char)[], void*[immutable(char)[]]) [0xbee947]
??:? provision.adi.ADI provision.adi.ADI.__ctor(immutable(char)[]) [0xbeedcd]
??:? _Dmain [0xb7e97d]

I'm running this within a Debian docker container.

Please let me know if you need additional information - otherwise looking forward to your support!

Dadoum commented 3 months ago

The raspberry pi 5 has big memory pages iirc, and I never tried to use the 32-bit Apple executable on such processor. Just by curiosity, why are you using 32-bit?

steilerDev commented 3 months ago

Because I've initially used the Pi for a different workload (which did not have 32bit support) - haven't had a reason to re-setup the device and install the 64bit version.