I took a “top 100” list of linuxbrew commands, and attempted to install them on arm64. Here’s a summary of findings.
66 attempts fail with a READ THIS re troubleshooting.
48 of those installs failed with an error in
openssl, where the system tries instead to build an linux-x86_64 binary instead of an arm64 binary.
8 attempts fail on
go, where the installer attempts to download an x86 binary to do a bootstrap build.
In the other 10 cases I didn’t dig deep into what went wrong, but in two of those configure made a guess error.
My first recommendation in making progress with this port is to sort out
[edited to fix typo]