All, the dependencies for dev-lang/go need to force a rebuild every time the compiler is downgraded or upgraded.
To avoid abusing slot dependencies for dev-lang/go since it is not needed at runtime I need to do the following. I need to introduce virtual/go-1.7.5, virtual/go-1.8 and virtual/go-9999. The attachment shows 1.8 but it is the same for all versions. Also, the attached patch needs to be applied to golang-base.eclass. This is based on the following wiki page: Ahttps://wiki.gentoo.org/wiki/Project:Quality_Assurance/Subslots#Using_virtuals_to_expose_multiple_ABIs Any thoughts? William
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DESCRIPTION="virtual for the Go compiler"
SLOT="0/${PV}"
KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-fbsd
~x86-fbsd ~x64-macos ~x64-solaris"
DEPEND="~dev-lang/go-${PV}"
diff --git a/eclass/golang-base.eclass b/eclass/golang-base.eclass
index 0cfd07e..e841763 100644
--- a/eclass/golang-base.eclass
+++ b/eclass/golang-base.eclass
@@ -22,7 +22,8 @@ if [[ -z ${_GOLANG_BASE} ]]; then
_GOLANG_BASE=1
-DEPEND=">=dev-lang/go-1.7:="
+DEPEND=">=virtual/go-1.7"
+RDEPEND=">=virtual/go-1.7:="
# Do not complain about CFLAGS etc since go projects do not use them.
QA_FLAGS_IGNORED='.*'
signature.asc
Description: Digital signature
