Gentoo Archives: gentoo-user

From: Allan Gottlieb <gottlieb@×××.edu>
To: gentoo-user@l.g.o
Subject: [gentoo-user] (Solved) please explain this contradictory(?) emerge dependency
Date: Mon, 19 Dec 2011 19:56:11
Message-Id: yu9pqfkuykf.fsf_-_@nyu.edu
In Reply to: Re: [gentoo-user] please explain this contradictory(?) emerge dependency by Allan Gottlieb
1 On Sun, Dec 18 2011, Allan Gottlieb wrote:
2
3 > On Sun, Dec 18 2011, Joshua Murphy wrote:
4 >
5 >> On Sun, Dec 18, 2011 at 8:34 PM, Allan Gottlieb <gottlieb@×××.edu> wrote:
6 >>> I get dependency problems in my normal update world that I can't
7 >>> understand.  The entire output is below.
8 >>>
9 >>> As far as I can tell gnome-2.32.1-r1 (which is installed) is requiring
10 >>> packages from gnome-3, which must be wrong.  I don't see any such
11 >>> dependencies in the ebuild for gnome-2.32.1-r1 and there is an "official
12 >>> mask list" (which I am using) for those of us who want to
13 >>> delay installing gnome-3 for a while.
14 >>>
15 >>> My conclusion that gnome-2... is requiring gnome-3 packages (which I
16 >>> know is wrong) comes from two points in the output below.
17 >>>
18 >>> 1.  The indenting of the --tree --verbose output seems to say this
19 >>>    (e.g., the first two lines say gnome-2... depends on nautilus-3)
20 >>>
21 >>> 2.  The comments related to mask changes at the bottom say
22 >>>    evince-3... is required by gnome-2...
23 >>>
24 >>> Please help.
25 >>> thanks,
26 >>> allan
27 >>
28 >>
29 >> Without doing any digging (I'm 100mi away from my Gentoo boxes and
30 >> sitting on satellite internet, so SSH is painful), I would presume the
31 >> packages pulling in those dependencies aren't specifying a maximum
32 >> version, so it's not that they're "requiring" gnome 3 packages,
33 >> they're requiring gnome packages and are choosing to use the newest,
34 >> which happens to be part of 3, meaning the gnome 2 ebuilds would need
35 >> updated to require version < 3.0 to avoid it automatically, and
36 >> possibly block on mixing 2 and 3 if the mixing really does give
37 >> issues.
38 >
39 > All the gnome-3 packages are masked (package.mask).
40 >
41 > Indeed, at the end of my output (see prev msg) you see recommendations
42 > from emerge for me to remove some masks.
43 >
44 > allan
45
46 It was more subtle than I thought. A big tip from Alexandre Rostovtsev
47 suggested that the problem might be that some package other than
48 gnome-base/gnome might be requiring nautilus-3 *OR introspection*.
49
50 Sure enough the new evince was the culprit. I put in a workaround for
51 today but everything should be fine tomorrow due to ...
52
53 From: Allan Gottlieb <gottlieb@×××.edu>
54 Subject: Re: [Bug 395173] gnome-light-2.32 shouldn't depend on >=x11-themes/gnome-themes-standard-3.0.2
55 To: Alexandre Rostovtsev <tetromino@g.o>
56 Date: Mon, 19 Dec 2011 14:47:08 -0500
57
58 On Mon, Dec 19 2011, Alexandre Rostovtsev wrote:
59
60 > On Mon, 2011-12-19 at 10:59 -0500, Allan Gottlieb wrote:
61 >> The equery d command (with depth=2 or depth=30) shows no mention of
62 >> gnome-3, but *does* show introspection. Specifically
63 >>
64 >> app-text/evince-2.32.0-r3 (nautilus ? >=gnome-base/nautilus-2.10[introspection?])
65 >>
66 > Ah, that explains it.
67 >
68 > When we unmasked gobject-introspection in August, the introspection
69 > USE flag was masked on versions of gnome-2 packages that were already
70 > stable, including on <app-text/evince-2.32.0-r4 and
71 > <gnome-base/nautilus-2.32.2.1-r2.
72 >
73 > Two days ago, evince was bumped to 2.32.0-r4 to fix a crash.
74 > Therefore, evince-2.32.0-r4 became the first gnome-2 version of evince
75 > that had introspection unmasked, and it wanted to pull in
76 > nautilus[introspection]. But the latest gnome-2 version of nautilus in
77 > portage was nautilus-2.32.2.1-r1, which had introspection masked.
78 > Therefore, evince-2.32.0-r4 effectively depended on nautilus-3. And
79 > since nautilus-3 and evince-2.32.0-r4 are both in ~arch, repoman (the
80 > automatic script that gentoo developers use to check their ebuilds
81 > before committing) did not catch the problem :(
82 >
83 > I have now fixed it by bumping nautilus to 2.32.2.1-r2, and have
84 > alerted the other gnome team members to be aware of this issue.
85 >
86 > Thank you very much for reporting this as soon as you did!
87 >
88 > -Alexandre.
89
90 Great. So tomorrow, my resync will find nautilus...-r2 and I will be
91 able to remove
92 app-text/evince -introspection
93 from package.use.
94 (That is the workaround I put in today to permit an update world to
95 proceed without gnome-3).
96
97 Case closed!
98 allan

Replies

Subject Author
Re: [gentoo-user] (Solved) please explain this contradictory(?) emerge dependency Pandu Poluan <pandu@××××××.info>