Gentoo Archives: gentoo-portage-dev

From: Amit Dor-Shifer <amitds@××××××.com>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] equery displays warnings about masked deps, even when those deps are deeper than --depth specification
Date: Mon, 11 Jan 2010 13:41:00
Message-Id: 4B4B2A3B.7000707@oversi.com
1 test-depgraph has a primary dep:
2
3 amit0 ~ # equery depgraph --depth=1 test-depgraph
4 [ Searching for packages matching test-depgraph... ]
5 * dependency graph for test/test-depgraph-1.0
6 `-- test/test-depgraph-1.0
7 `-- test/test-primary-dep-1.0
8 [ test/test-depgraph-1.0 stats: packages (2), max depth (1) ]
9
10 the primary depends on yet-another package, a "secondary", which doesn't
11 show up above (with --depth=1):
12
13 amit0 ~ # equery depgraph --depth=2 test-depgraph
14 [ Searching for packages matching test-depgraph... ]
15 * dependency graph for test/test-depgraph-1.0
16 `-- test/test-depgraph-1.0
17 `-- test/test-primary-dep-1.0
18 `-- test/test-secondary-dep-1.0
19 [ test/test-depgraph-1.0 stats: packages (3), max depth (2) ]
20
21 Yet, when masked, 'secondary' DOES show-up with depth=1:
22
23 amit0 ~ # echo test/test-secondary-dep >> /etc/portage/package.mask
24 amit0 ~ # equery depgraph --depth=1 test-depgraph
25 [ Searching for packages matching test-depgraph... ]
26 * dependency graph for test/test-depgraph-1.0
27 `-- test/test-depgraph-1.0
28 `-- test/test-primary-dep-1.0
29 `-- test/test-secondary-dep (unable to resolve to a package / package
30 masked or removed)
31 [ test/test-depgraph-1.0 stats: packages (2), max depth (1) ]
32
33
34 is this a bug?
35
36 Amit

Replies