From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2A8F4139694 for ; Thu, 2 Mar 2017 03:46:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 47CD8E0CD7; Thu, 2 Mar 2017 03:45:52 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F21EEE0CA8 for ; Thu, 2 Mar 2017 03:45:51 +0000 (UTC) Received: from mail-qk0-f181.google.com (mail-qk0-f181.google.com [209.85.220.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: floppym) by smtp.gentoo.org (Postfix) with ESMTPSA id CAE643416F2 for ; Thu, 2 Mar 2017 03:45:50 +0000 (UTC) Received: by mail-qk0-f181.google.com with SMTP id n186so101749059qkb.3 for ; Wed, 01 Mar 2017 19:45:50 -0800 (PST) X-Gm-Message-State: AMke39npMrmfGeLtJs4oqNTURmvyNsnA7FGXPDoebn0EfpsahtbiSgBa8ml6ak8zmqEQLnvWrkhUteBCnU4NWw== X-Received: by 10.55.184.65 with SMTP id i62mr2979676qkf.234.1488426348730; Wed, 01 Mar 2017 19:45:48 -0800 (PST) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Received: by 10.200.45.11 with HTTP; Wed, 1 Mar 2017 19:45:28 -0800 (PST) In-Reply-To: <20170302001801.GA29649@whubbs1.gaikai.biz> References: <20170302001801.GA29649@whubbs1.gaikai.biz> From: Mike Gilbert Date: Wed, 1 Mar 2017 22:45:28 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [gentoo-dev] new virtual -- virtual/go to fix go build time dependencies To: Gentoo Dev Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 26c0e4e1-8807-4dfc-b45f-f3508787a4c6 X-Archives-Hash: e7a32c3ca29d3a66d4aff929075f95b7 On Wed, Mar 1, 2017 at 7:18 PM, William Hubbs wrote: > All, > > the dependencies for dev-lang/go need to force a rebuild every time the > compiler is downgraded or upgraded. This already happens for me. It is working as expected. > 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? I don't see how introducing a layer of indirection solves any problem here.