Linuxbrew / brew

:beer::penguin: The Homebrew package manager for Linux
https://linuxbrew.sh
BSD 2-Clause "Simplified" License
2.66k stars 237 forks source link

Go builds broken in arm7l (rpi armv7) go tries to install amd64 dependency on arm #706

Closed symgryph closed 6 years ago

symgryph commented 6 years ago
brew doctor
Your system is ready to brew.

To help us debug your issue please explain:

I was trying to install Hugo go program

brew install hugo

tmunn@gitlab:~$ brew install hugo
==> Installing dependencies for hugo: go, dep
==> Installing hugo dependency: go
==> Downloading https://dl.google.com/go/go1.10.2.src.tar.gz
Already downloaded: /home/tmunn/.cache/Homebrew/go-1.10.2.tar.gz
==> Downloading https://storage.googleapis.com/golang/go1.7.linux-amd64.tar.gz
Already downloaded: /home/tmunn/.cache/Homebrew/go--gobootstrap-1.7.tar.gz
==> ./make.bash --no-clean
Last 15 lines from /home/tmunn/.cache/Homebrew/Logs/go/01.make.bash:
2018-05-16 00:06:58 -0400

./make.bash
--no-clean

Building Go cmd/dist using /tmp/go-20180516-10055-1ez1ahg/go/gobootstrap.
./make.bash: line 165: /tmp/go-20180516-10055-1ez1ahg/go/gobootstrap/bin/go: cannot execute binary file: Exec format error
sjackman commented 6 years ago

Hi, Thomas. ARM is supported on a best-effort basis. Many formulae may not work on ARM. A PR to fix go is most welcome, but we do not have the time ourselves to work on this issue. To get started fixing it, run brew edit go.