commit:     c06caedd7c6bb91be0b8e963eb2cb98e74448f67
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Nov  4 13:54:21 2018 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Nov  4 13:54:21 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c06caedd

base/make.defaults: Add GOBIN to ENV_UNSET

Random values in GOBIN can affect the building of some packages:
https://archives.gentoo.org/gentoo-dev/message/163010f83ae7819d80c0cfdf797cbfe0

Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 profiles/base/make.defaults | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/profiles/base/make.defaults b/profiles/base/make.defaults
index 8e489bf49e1..167a51095d4 100644
--- a/profiles/base/make.defaults
+++ b/profiles/base/make.defaults
@@ -36,7 +36,11 @@ CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf"
 # PERL_MM_OPT PERL5LIB PERL5OPT PERL_MB_OPT PERL_CORE PERLPREFIX:
 # These are guaranteed to confuse perl module installation. Pre-EAPI7
 # the Perl eclasses bail out if they are set. Now we declare them here.
-ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY XDG_CACHE_HOME 
XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR PERL_MM_OPT PERL5LIB PERL5OPT 
PERL_MB_OPT PERL_CORE PERLPREFIX"
+#
+# GOBIN needs to be cleaned as random values in GOBIN can affect the
+# building of some packages:
+# 
https://archives.gentoo.org/gentoo-dev/message/163010f83ae7819d80c0cfdf797cbfe0
+ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY XDG_CACHE_HOME 
XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR PERL_MM_OPT PERL5LIB PERL5OPT 
PERL_MB_OPT PERL_CORE PERLPREFIX GOBIN"
 
 # Variables that are set exclusively by the profile
 # and not by user configuration files.

Reply via email to