Gentoo Archives: gentoo-user

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