qri-io / qri_install

easy qri building & installation
1 stars 0 forks source link

multiple issues found while creating `qri` command-line binary #13

Open dustmop opened 5 years ago

dustmop commented 5 years ago

While doing the 0.8.2 release today, I encountered multiple issues. I was using the following command at first:

qri_build qri --qri ${GOPATH}/src/github.com/qri-io/qri --templates ${GOPATH}/src/github.com/qri-io/qri_install/qri_build/templates --platforms darwin,linux --arches 386,amd64,arm

Problems I ran into:

/usr/local/go/pkg/tool/darwin_amd64/link: running clang failed: exit status 1
ld: warning: ignoring file /tmp/go-link-493130558/go.o, file was built for armv7 which is not the architecture being linked (x86_64): /tmp/go-link-493130558/go.o

which makes me think that artifacts from one build are being linked into anther.

dustmop commented 5 years ago

Another thing to remember: