Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

util.go:45: exit status 1 exit status 1 Makefile:15: recipe for target 'geth' failed make: *** [geth] Error 1 #16204

Closed
boorac opened this issue Feb 27, 2018 · 6 comments

Comments

@boorac
Copy link

boorac commented Feb 27, 2018

System information

OS & Version: Ubuntu 16.04
Commit hash : tags/v1.7.3

Expected behavior

Should be able to compile geth tags/v1.7.3.

Actual behavior

Compilation fails.

Steps to reproduce the behaviour

git clone [email protected]:ethereum/go-ethereum.git;
cd go-ethereum;
git checkout tags/v1.7.3; # checkout 1.7.3
# gvm use go1.9.4 --default; # install a version of go that 1.7.3 is happy with.
make geth;

Backtrace

make geth
build/env.sh go run build/ci.go install ./cmd/geth
>>> /home/user/.gvm/gos/go1.9.4/bin/go install -v ./cmd/geth
github.com/ethereum/go-ethereum/crypto/secp256k1
go build github.com/ethereum/go-ethereum/crypto/secp256k1: build constraints exclude all Go files in /home/user/Sources/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/crypto/secp256k1
util.go:45: exit status 1
exit status 1
Makefile:15: recipe for target 'geth' failed
make: *** [geth] Error 1

@boorac
Copy link
Author

boorac commented Feb 27, 2018

If deemed not necessary to fix an issue with an older version, I needed the version because of a migration bug with truffle and geth 1.8.1 which was solved in truffle 4.0.7 yesterday.

trufflesuite/truffle#721 (comment)

So I guess this can be closed?

@karalabe
Copy link
Member

If Geth 1.8.1 builds correctly, then I guess there's not much to do. We won't backport fixes. Thanks for the followup!

@Jagdish0886
Copy link

Jagdish0886 commented Dec 16, 2018

how was this fixed, can you please help me? I am getting the same error while i run 'make geth'
Please see the link below:
Jagdish0886/github-tutorial#1 (comment)

@trocca
Copy link

trocca commented Jan 4, 2019

I have go 1.11.4 and still get the same error...

@YongilChoi
Copy link

YongilChoi commented Sep 16, 2019

Plz help me:;

When I do this :

$make geth-windows

====================Error message ==========================
Failed to cross compile package: exit status 2.
util.go:45: exit status 1
exit status 1
Makefile:138: recipe for target 'geth-windows-386' failed
make: *** [geth-windows-386] Error 1


On Ubuntu:

Linux 4.4.0-161-generic #189-Ubuntu SMP Tue Aug 27 08:10:16 UTC 2019

env is below:

choi@GITSERVER:~/go/src/github.com/ethereum/newversion/go-ethereum$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN="/home/choi/go/bin"
GOCACHE="/home/choi/.cache/go-build"
GOENV="/home/choi/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/choi/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build191391551=/tmp/go-build -gno-record-gcc-switches"

@cdljsj
Copy link

cdljsj commented Mar 28, 2020

Got similar issue with command: make geth-linux-386

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants