Gentoo Archives: gentoo-dev

From: Mike Gilbert <floppym@g.o>
To: Gentoo Dev <gentoo-dev@l.g.o>
Subject: Re: [gentoo-dev] new virtual -- virtual/go to fix go build time dependencies
Date: Thu, 02 Mar 2017 14:24:35
Message-Id: CAJ0EP41oPGKdPn7bmp-gEjJpjt_igjAhztukWeSnpnihVZdgPw@mail.gmail.com
In Reply to: Re: [gentoo-dev] new virtual -- virtual/go to fix go build time dependencies by Michael Orlitzky
1 On Thu, Mar 2, 2017 at 9:03 AM, Michael Orlitzky <mjo@g.o> wrote:
2 > On 03/02/2017 04:58 AM, Alexis Ballier wrote:
3 >>
4 >> Is it really abusing ?
5 >> := deps in DEPEND only would also make sense for e.g. code generators
6 >>
7 >
8 > Slot operator dependencies are ignored in DEPEND:
9 >
10 > Indicates that any slot value is acceptable. In addition, for runtime
11 > dependencies, indicates that the package will break unless a matching
12 > package with slot and sub-slot equal to the slot and sub-slot of the
13 > best installed version at the time the package was built is available.
14 >
15 > In other words, the ":=" only does something special in RDEPEND. That
16 > makes sense when you think of it as meaning "the thing will break"
17 > rather than "I want to do a rebuild." The only reason it's not an error
18 > to put them in DEPEND is because it would annoy everyone doing
19 > DEPEND="${RDEPEND}".
20
21 Portage has interesting behavior for ":=" in DEPEND: it varies
22 depending on your "with-bdeps" setting.
23
24 floppym@naomi ~ % emerge -uDpv --with-bdeps=n @world
25
26 These are the packages that would be merged, in order:
27
28 Calculating dependencies... done!
29 [ebuild U ] dev-lang/go-1.8:0/1.8::gentoo [1.7.5:0/1.7.5::gentoo]
30 USE="-gccgo" 0 KiB
31
32 Total: 1 package (1 upgrade), Size of downloads: 0 KiB
33
34
35 floppym@naomi ~ % emerge -uDpv --with-bdeps=y @world
36
37 These are the packages that would be merged, in order:
38
39 Calculating dependencies... done!
40 [ebuild r U ] dev-lang/go-1.8:0/1.8::gentoo [1.7.5:0/1.7.5::gentoo]
41 USE="-gccgo" 0 KiB
42 [ebuild rR ] app-admin/cli53-0.8.7::gentoo 0 KiB
43
44 Total: 2 packages (1 upgrade, 1 reinstall), Size of downloads: 0 KiB
45
46 The following packages are causing rebuilds:
47
48 (dev-lang/go-1.8:0/1.8::gentoo, ebuild scheduled for merge) causes
49 rebuilds for:
50 (app-admin/cli53-0.8.7:0/0::gentoo, ebuild scheduled for merge)

Replies