Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 567042 - app-emulation/lxd-0.23 - go install golang.org/x/crypto/ssh/terminal: open /usr/lib/go-gentoo/pkg/linux_amd64/golang.org/x/crypto/ssh/terminal.a: permission denied
Summary: app-emulation/lxd-0.23 - go install golang.org/x/crypto/ssh/terminal: open /u...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Erik Mackdanz
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-28 19:03 UTC by Jeff Kowalczyk
Modified: 2016-01-06 05:07 UTC (History)
0 users

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


Attachments
emerge --info (emerge-info.txt,6.16 KB, text/plain)
2015-11-28 19:05 UTC, Jeff Kowalczyk
Details
build.log (build.log,12.53 KB, text/plain)
2015-11-28 19:05 UTC, Jeff Kowalczyk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Kowalczyk 2015-11-28 19:03:19 UTC
app-emulation/lxd-0.23 build fails. I can't tell from the build log whether two incidences of go-install permission denied are germane to the build failure or not. Bug might need a title change if the permission denied is due to normal sandboxing.


Reproducible: Always
Comment 1 Jeff Kowalczyk 2015-11-28 19:05:19 UTC
Created attachment 418084 [details]
emerge --info
Comment 2 Jeff Kowalczyk 2015-11-28 19:05:47 UTC
Created attachment 418086 [details]
build.log
Comment 3 Erik Mackdanz gentoo-dev 2015-12-01 04:10:49 UTC
I've seen this, but I haven't identified the source exactly.  I suspect something in the go-crypto package needs a := operator.

A workaround for now is to re-emerge go-crypto, same version/flags.  Then emerge lxd will succeed.
Comment 4 Erik Mackdanz gentoo-dev 2016-01-06 02:43:23 UTC
I suspect this is fixed in later versions due to different deps being bundled.  I couldn't reproduce it.  Do you still see the build failure?  If not, I'll close.
Comment 5 Jeff Kowalczyk 2016-01-06 05:07:28 UTC
OK to close, I was able to get lxd emerged after re-emerging go-crypto as suggested, and versions since.

Mon Nov 30 21:24:54 2015 >>> dev-go/go-crypto-0_pre20150808
Mon Nov 30 21:29:19 2015 >>> app-emulation/lxd-0.23
Sat Dec 12 00:09:55 2015 >>> app-emulation/lxd-0.24
Mon Dec 28 21:50:26 2015 >>> app-emulation/lxd-0.25

Does this point to some detectable condition that portage could use to trigger golang package rebuilds as with other language?