github / github/gh-ost

script/cibuild - cannot execute binary file errors

Open
#730 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
13.6k
Forks
1.4k
Avg merge
2h 31m
Merged PRs (30d)
4

Description

I've got errors while running `script/cibuild` command after I cloned gh-ost repository to my Raspberry Pi machine:
```
pi@raspberrypi:~/git/gh-ost $ script/cibuild
go: cannot find GOROOT directory: /home/pi/git/gh-ost/.vendor/go19/go
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 99.4M 100 99.4M 0 0 4359k 0 0:00:23 0:00:23 --:--:-- 5305k
de874549d9a8d8d8062be05808509c09a88a248e77ec14eb77453530829ac02b go1.9.2.linux-amd64.tar.gz
script/ensure-go-installed: line 46: /home/pi/git/gh-ost/.vendor/go19/go/bin/go: cannot execute binary file: Exec format error
installed in /home/pi/git/gh-ost/.vendor/go19: Go Binary: /home/pi/git/gh-ost/.vendor/go19/go/bin/go
++ rm -rf .gopath
++ mkdir -p .gopath/src/github.com/github
++ ln -s /home/pi/git/gh-ost .gopath/src/github.com/github/gh-ost
++ export GOPATH=/home/pi/git/gh-ost/.gopath:/home/pi/git/gh-ost/.vendor
++ GOPATH=/home/pi/git/gh-ost/.gopath:/home/pi/git/gh-ost/.vendor
+ echo 'Verifying code is formatted via '\''gofmt -s -w go/'\'''
Verifying code is formatted via 'gofmt -s -w go/'
+ gofmt -s -w go/
script/cibuild: line 8: /home/pi/git/gh-ost/.vendor/go19/go/bin/gofmt: cannot execute binary file: Exec format error

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.