Closed
Description
A week ago, very same instructions worked and I was able to build our awesome gitbase project, but now It seems that current make packages
does not produce a valid binary on non-linux OSes any more.
Steps to reproduce
export GOPATH="/tmp/gitbase-gopath"
mkdir -p $GOPATH
go get github.com/src-d/gitbase/cmd/gitbase
cd $GOPATH/src/github.com/src-d/gitbase
cd ./vendor/gopkg.in/bblfsh/client-go.v2
make dependencies
cd -
make dependencies
make packages
Expected
a runnable binary at ./build/gitbase_darwin_amd64/gitbase
Actual
Makefile:17: warning: overriding commands for target `dependencies'
/private/tmp/gitbase-gopath/src/github.com/src-d/gitbase/.ci/Makefile.main:99: warning: ignoring old commands for target `dependencies'
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
/bin/bash: line 0: cd: /tmp/gitbase-gopath/src/github.com/src-d/gitbase/cmd/gitbase: No such file or directory
and then build output for Darwin arch is no executable,
$./build/gitbase_darwin_amd64/gitbase
zsh: permission denied: ./build/gitbase_darwin_amd64/gitbase
$file ./build/gitbase_darwin_amd64/gitbase
./build/gitbase_darwin_amd64/gitbase: current ar archive
Please feel free to point to a better gitbase build instructions, in case I have missed something.
Metadata
Metadata
Assignees
Labels
No labels