summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2018-11-04 14:54:21 +0100
committerPacho Ramos <pacho@gentoo.org>2018-11-04 14:54:21 +0100
commitc06caedd7c6bb91be0b8e963eb2cb98e74448f67 (patch)
tree214b9334e642843330973e29079e10678f2c4d5b
parentvirtual/logger: app-admin/syslogread will be dropped (diff)
downloadgentoo-c06caedd7c6bb91be0b8e963eb2.tar.gz
gentoo-c06caedd7c6bb91be0b8e963eb2.tar.bz2
gentoo-c06caedd7c6bb91be0b8e963eb2.zip
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@gentoo.org>
-rw-r--r--profiles/base/make.defaults6
1 files changed, 5 insertions, 1 deletions
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.