Created attachment 460588 [details] build.log GentooQA ~ # emerge app-emulation/lxd Calculating dependencies... done! >>> Verifying ebuild manifests >>> Running pre-merge checks for dev-lang/go-1.7.4 >>> Running pre-merge checks for net-dns/dnsmasq-2.76 >>> Emerging (1 of 13) dev-lang/go-1.7.4::gentoo >>> Installing (1 of 13) dev-lang/go-1.7.4::gentoo >>> Emerging (2 of 13) dev-go/go-crypto-0_pre20160126::gentoo >>> Failed to emerge dev-go/go-crypto-0_pre20160126, Log file: >>> '/var/tmp/portage/dev-go/go-crypto-0_pre20160126/temp/build.log' >>> Jobs: 1 of 13 complete, 1 failed Load avg: 1.52, 1.17, 0.50 * Package: dev-go/go-crypto-0_pre20160126 * Repository: gentoo * Maintainer: zmedico@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: ccache preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Source unpacked in /var/tmp/portage/dev-go/go-crypto-0_pre20160126/work >>> Preparing source in /var/tmp/portage/dev-go/go-crypto-0_pre20160126/work/go-crypto-0_pre20160126 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-go/go-crypto-0_pre20160126/work/go-crypto-0_pre20160126 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-go/go-crypto-0_pre20160126/work/go-crypto-0_pre20160126 ... cp: cannot stat 'Usage: go host': No such file or directory * ERROR: dev-go/go-crypto-0_pre20160126::gentoo failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 115: Called src_compile * environment, line 227: Called die * The specific snippet of code: * cp -sR "$(go env GOROOT)" "${T}/goroot" || die; * * If you need support, post the output of `emerge --info '=dev-go/go-crypto-0_pre20160126::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-go/go-crypto-0_pre20160126::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-go/go-crypto-0_pre20160126/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-go/go-crypto-0_pre20160126/temp/environment'. * Working directory: '/var/tmp/portage/dev-go/go-crypto-0_pre20160126/work/go-crypto-0_pre20160126' * S: '/var/tmp/portage/dev-go/go-crypto-0_pre20160126/work/go-crypto-0_pre20160126' * GNU info directory index is up-to-date.
It looks like this command is returning an unexpected result: go env GOROOT Please run that command from a shell and report the output.
~ # echo $GOROOT ~ # go env GOROOT Usage: go host ~ #
How about this command? go version Maybe it helps if you rebuild dev-lang/go?
(In reply to Zac Medico from comment #3) > How about this command? > > go version > > Maybe it helps if you rebuild dev-lang/go? I do not have go, ~ # go version ERROR! no host version in /etc/hosts ~ eix dev-lang/go * dev-lang/go Available versions: 1.7.4(0/1.7.4) **9999(0/9999)^s {gccgo} Homepage: http://www.golang.org Description: A concurrent garbage collected and typesafe programming language
> ~ # go version > ERROR! no host version in /etc/hosts It was my script. I will emerge go and check.
(In reply to Michal Jakubowski from comment #5) > > ~ # go version > > ERROR! no host version in /etc/hosts > > It was my script. > > I will emerge go and check. Now looks fine. Hmmm (In reply to Michal Jakubowski from comment #5) > > ~ # go version > > ERROR! no host version in /etc/hosts > > It was my script. > > I will emerge go and check. Now looks fine. Close.