base/make.defaults: Add GOBIN to ENV_UNSET
authorPacho Ramos <pacho@gentoo.org>
Sun, 4 Nov 2018 13:54:21 +0000 (14:54 +0100)
committerPacho Ramos <pacho@gentoo.org>
Sun, 4 Nov 2018 13:54:21 +0000 (14:54 +0100)
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>
profiles/base/make.defaults

index 8e489bf49e1368d634b1a0e61677c0ba0c6e6572..167a51095d4b666058d9d300c94dcb49808ad0ac 100644 (file)
@@ -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.