A sandbox violation in src_compile occurs if GOPATH is set to any directory outside the sandbox as this ebuild compiles. Proposed fix attached, it simply adds GOPATH to the already existing "export -n" in src_compile. Reproducible: Always
Created attachment 598622 [details] Proposed fixed ebuild. Simply adds GOPATH to export -n in src_compile.
Comment on attachment 598622 [details] Proposed fixed ebuild. Simply adds GOPATH to export -n in src_compile. --- libpod-1.6.3-r2.ebuild +++ libpod-1.6.3-r3.ebuild @@ -83,7 +83,7 @@ echo -e "#!/bin/sh\ntrue" > hack/selinux_tag.sh || die fi - export -n GOCACHE XDG_CACHE_HOME + export -n GOCACHE GOPATH XDG_CACHE_HOME GOBIN="${S}/bin" \ emake all \ GIT_BRANCH=master \
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acc573f267289b38d11a0423f88cd77bb9ce5b2e commit acc573f267289b38d11a0423f88cd77bb9ce5b2e Author: Michael Schmid <meheschmid@gmx.ch> AuthorDate: 2019-12-06 08:00:59 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2019-12-06 08:02:24 +0000 app-emulation/libpod: export -n GOPATH Closes: https://bugs.gentoo.org/702138 Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Zac Medico <zmedico@gentoo.org> app-emulation/libpod/libpod-1.6.3-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Thanks!
(In reply to Zac Medico from comment #4) > Thanks! Thanks to you as well, for handling the formal commit!