Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 606482 - dev-go/go-crypto-0_pre20160126 'Usage: go host': No such file or directory
Summary: dev-go/go-crypto-0_pre20160126 'Usage: go host': No such file or directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Zac Medico
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-19 07:45 UTC by Michal Jakubowski
Modified: 2017-01-25 10:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,1.62 KB, text/plain)
2017-01-19 07:45 UTC, Michal Jakubowski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Jakubowski 2017-01-19 07:45:08 UTC
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.
Comment 1 Zac Medico gentoo-dev 2017-01-23 22:48:31 UTC
It looks like this command is returning an unexpected result:

  go env GOROOT

Please run that command from a shell and report the output.
Comment 2 Michal Jakubowski 2017-01-24 10:57:24 UTC
~ # echo $GOROOT

 ~ # go env GOROOT
Usage: go host
~ #
Comment 3 Zac Medico gentoo-dev 2017-01-24 14:50:03 UTC
How about this command?

    go version

Maybe it helps if you rebuild dev-lang/go?
Comment 4 Michal Jakubowski 2017-01-25 10:44:12 UTC
(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
Comment 5 Michal Jakubowski 2017-01-25 10:46:45 UTC
> ~ #  go version
> ERROR! no host version in /etc/hosts

It was my script. 

I will emerge go and check.
Comment 6 Michal Jakubowski 2017-01-25 10:53:06 UTC
(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.