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 EF353139694 for ; Thu, 2 Mar 2017 14:24:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2473621C08D; Thu, 2 Mar 2017 14:24:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 C59E521C06D for ; Thu, 2 Mar 2017 14:24:25 +0000 (UTC) Received: from mail-qk0-f171.google.com (mail-qk0-f171.google.com [209.85.220.171]) (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 624603409C1 for ; Thu, 2 Mar 2017 14:24:24 +0000 (UTC) Received: by mail-qk0-f171.google.com with SMTP id m67so10912729qkf.2 for ; Thu, 02 Mar 2017 06:24:24 -0800 (PST) X-Gm-Message-State: AMke39nAS+tF2bSReGGIB+sEmAJ2Ql9caKNYrbnckQTG9OIludBnf+ePM12C1FKIMDI8rC5UKourdLkxleUj9g== X-Received: by 10.55.192.70 with SMTP id o67mr15924387qki.35.1488464662143; Thu, 02 Mar 2017 06:24:22 -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; Thu, 2 Mar 2017 06:24:01 -0800 (PST) In-Reply-To: <135e77dc-c443-8dd3-185b-71e743a4b700@gentoo.org> References: <20170302001801.GA29649@whubbs1.gaikai.biz> <20170302105854.189f1f88@gentoo.org> <135e77dc-c443-8dd3-185b-71e743a4b700@gentoo.org> From: Mike Gilbert Date: Thu, 2 Mar 2017 09:24:01 -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: a72fa088-a6f5-44a9-8f92-3f08b513c133 X-Archives-Hash: dadbd563bb67d079a1e2dfe04da70e34 On Thu, Mar 2, 2017 at 9:03 AM, Michael Orlitzky wrote: > On 03/02/2017 04:58 AM, Alexis Ballier wrote: >> >> Is it really abusing ? >> := deps in DEPEND only would also make sense for e.g. code generators >> > > Slot operator dependencies are ignored in DEPEND: > > Indicates that any slot value is acceptable. In addition, for runtime > dependencies, indicates that the package will break unless a matching > package with slot and sub-slot equal to the slot and sub-slot of the > best installed version at the time the package was built is available. > > In other words, the ":=" only does something special in RDEPEND. That > makes sense when you think of it as meaning "the thing will break" > rather than "I want to do a rebuild." The only reason it's not an error > to put them in DEPEND is because it would annoy everyone doing > DEPEND="${RDEPEND}". Portage has interesting behavior for ":=" in DEPEND: it varies depending on your "with-bdeps" setting. floppym@naomi ~ % emerge -uDpv --with-bdeps=n @world These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] dev-lang/go-1.8:0/1.8::gentoo [1.7.5:0/1.7.5::gentoo] USE="-gccgo" 0 KiB Total: 1 package (1 upgrade), Size of downloads: 0 KiB floppym@naomi ~ % emerge -uDpv --with-bdeps=y @world These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild r U ] dev-lang/go-1.8:0/1.8::gentoo [1.7.5:0/1.7.5::gentoo] USE="-gccgo" 0 KiB [ebuild rR ] app-admin/cli53-0.8.7::gentoo 0 KiB Total: 2 packages (1 upgrade, 1 reinstall), Size of downloads: 0 KiB The following packages are causing rebuilds: (dev-lang/go-1.8:0/1.8::gentoo, ebuild scheduled for merge) causes rebuilds for: (app-admin/cli53-0.8.7:0/0::gentoo, ebuild scheduled for merge)