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

go get github.com/qri-io/qri fails #591

Closed
titaniumbones opened this issue Oct 29, 2018 · 7 comments
Closed

go get github.com/qri-io/qri fails #591

titaniumbones opened this issue Oct 29, 2018 · 7 comments

Comments

@titaniumbones
Copy link

on arch linux, relatively current everything.

$ go version       
go version go1.11.1 linux/amd64
$  ipfs version
ipfs version 0.4.17
$  go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/matt/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/matt/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/lib/go"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
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-build993156681=/tmp/go-build -gno-record-gcc-switches"

installation of qri packages fails with:

$ go get github.com/qri-io/qri
# github.com/qri-io/qri
gx/ipfs/QmaPHkZLbQQbvcyavn8q1GFHg6o6yeceyHFSJ3Pjf3p3TQ/go-crypto/blake2b.supportAVX2: relocation target runtime.support_avx2 not defined

Looks like there were some issues at one time with go-crypto earlier in the year, fixed by an upgrade elsewhere, e.g. in this issue

Is this an upstream bug, and/or is it caused by some misconfiguration on my paanyway not urgent just messing around. rt?

@b5
Copy link
Member

b5 commented Oct 29, 2018

lots of things can go wrong with the raw go get thanks to gx.

mind running the following to see if it helps?

cd $GOPATH/github.com/qri-io/qri
make update-qri-deps
make build

@titaniumbones
Copy link
Author

Yes, this works! I guess this is the same as #512, so maybe I will close as a duplicate.

@b5
Copy link
Member

b5 commented Oct 29, 2018

go glad to hear that helps! I'll make a note that we should highlight these bits in our readme & docs

@titaniumbones
Copy link
Author

qhile yr at it document hte change form qri new to qri save !

@b5
Copy link
Member

b5 commented Oct 29, 2018

lol that's what you get for running tip! New release with documentation should happen this week 😄

@b5 b5 closed this as completed Oct 30, 2018
@titaniumbones
Copy link
Author

ha, thought I'd already closed this :-/

@b5
Copy link
Member

b5 commented Oct 30, 2018

:) no worries at all

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

2 participants