Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 661092 - app-admin/consul-1.2.1 failed to emerge when GOBIN is set
Summary: app-admin/consul-1.2.1 failed to emerge when GOBIN is set
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: 2018-07-13 20:20 UTC by Alex Efros
Modified: 2018-07-15 23:30 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Efros 2018-07-13 20:20:06 UTC
Same issue as in bug 631776

$ echo $GOBIN
/usr/lib/go/bin
$ emerge consul
...
>>> Emerging (1 of 1) app-admin/consul-1.2.1::gentoo
 * consul-1.2.1.tar.gz BLAKE2B SHA512 size ;-) ...                                           [ ok ]
>>> Unpacking source...
>>> Source unpacked in /var/tmp/portage/app-admin/consul-1.2.1/work
>>> Preparing source in /var/tmp/portage/app-admin/consul-1.2.1/work/consul-1.2.1 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-admin/consul-1.2.1/work/consul-1.2.1 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-admin/consul-1.2.1/work/consul-1.2.1 ...
make -j8 -C src/github.com/hashicorp/consul dev-build 
make: Entering directory '/var/tmp/portage/app-admin/consul-1.2.1/work/consul-1.2.1/src/github.com/hashicorp/consul'
==> Building Consul - OSes: linux, Architectures: amd64
Building sequentially with go install
--->   linux/amd64
go install github.com/hashicorp/consul: open /usr/lib/go/bin/consul: permission denied
ERROR: Failed to build Consul for linux/amd64
make: *** [GNUmakefile:118: dev-build] Error 1
make: Leaving directory '/var/tmp/portage/app-admin/consul-1.2.1/work/consul-1.2.1/src/github.com/hashicorp/consul'
 * ERROR: app-admin/consul-1.2.1::gentoo failed (compile phase):
 *   emake failed
Comment 1 Larry the Git Cow gentoo-dev 2018-07-15 23:30:06 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0ab3c601a69e5cd465b44472a04ce1d9f9e1a2a

commit a0ab3c601a69e5cd465b44472a04ce1d9f9e1a2a
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2018-07-15 23:24:03 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2018-07-15 23:29:56 +0000

    app-admin/consul: fix GOBIN interference (bug 661092)
    
    Reported-by: Alex Efros <powerman-asdf@yandex.ru>
    Fixes: https://bugs.gentoo.org/661092
    Package-Manager: Portage-2.3.42, Repoman-2.3.9

 app-admin/consul/consul-1.2.1.ebuild | 1 +
 1 file changed, 1 insertion(+)
Comment 2 Zac Medico gentoo-dev 2018-07-15 23:30:41 UTC
Thanks!