OTP release introduces aarch64 binary on armv7l Raspberry Pi system
Environment
- Installation type (OTP or From Source): OTP
- Pleroma version: 2.2.0-8-g15550f7c
- Elixir version): Elixir 1.10.3 (compiled with Erlang/OTP 21)
- Operating system: Raspberry Pi OS 32 bit, armv7l GNU/Linux, kernel 4.14.79-v7+
- PostgreSQL version (
psql -V
): psql (PostgreSQL) 11.9 (Raspbian 11.9-0+deb10u1)
Bug description
After upgrading my OTP installation from 2.1.2 to 2.2.0 with pleroma_ctl update
I could not run pleroma_ctl migrate
, because of an introduced 64 bit executable on my 32 bit machine:
su pleroma -s $SHELL -lc "/opt/pleroma/bin/pleroma_ctl migrate"
/opt/pleroma/releases/2.2.0-8-g15550f7c/../../erts-10.7.2.1/bin/erl: 12: exec: /opt/pleroma/erts-10.7.2.1/bin/erlexec: Exec format error
file /opt/pleroma/erts-10.7.2.1/bin/erlexec
/opt/pleroma/erts-10.7.2.1/bin/erlexec: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 3.7.0, BuildID[sha1]=662bceb30f867679adc60c392de15ae578572cb0, with debug_info, not stripped