public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] please explain this contradictory(?) emerge dependency
@ 2011-12-19  1:34 Allan Gottlieb
  2011-12-19  1:58 ` Allan Gottlieb
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Allan Gottlieb @ 2011-12-19  1:34 UTC (permalink / raw
  To: gentoo-user

I get dependency problems in my normal update world that I can't
understand.  The entire output is below.

As far as I can tell gnome-2.32.1-r1 (which is installed) is requiring
packages from gnome-3, which must be wrong.  I don't see any such
dependencies in the ebuild for gnome-2.32.1-r1 and there is an "official
mask list" (which I am using) for those of us who want to
delay installing gnome-3 for a while.

My conclusion that gnome-2... is requiring gnome-3 packages (which I
know is wrong) comes from two points in the output below.

1.  The indenting of the --tree --verbose output seems to say this
    (e.g., the first two lines say gnome-2... depends on nautilus-3)

2.  The comments related to mask changes at the bottom say
    evince-3... is required by gnome-2...

Please help.
thanks,
allan

================================================================

ajglap gottlieb # emerge --keep-going --update --newuse --with-bdeps=y world

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[nomerge       ] gnome-base/gnome-2.32.1-r1  USE="cdr cups dvdr ldap policykit -accessibility -mono" 
[nomerge       ]  gnome-base/nautilus-3.2.1-r1 [2.32.2.1-r1] USE="exif%* gnome introspection* previewer%* -doc -packagekit% -sendto% -test -tracker% -xmp" 
[ebuild  N    #]   gnome-extra/sushi-0.2.1  290 kB
[ebuild     U #]    app-text/evince-3.2.1-r1 [2.32.0-r3] USE="dbus gnome-keyring introspection* nautilus tiff -debug -djvu -doc -dvi -t1lib -xps% (-gnome%*)" 3,706 kB
[ebuild     U #]     gnome-base/nautilus-3.2.1-r1 [2.32.2.1-r1] USE="exif%* gnome introspection* previewer%* -doc -packagekit% -sendto% -test -tracker% -xmp" 4,594 kB
[ebuild  NS    ]    net-libs/webkit-gtk-1.6.1-r301 [1.6.1-r201] USE="gstreamer introspection jit spell (-aqua) -coverage -debug -doc -test -webgl" 0 kB
[ebuild  N     ]    dev-libs/gjs-1.30.0  USE="-examples -test" 445 kB
[ebuild  N     ]     dev-lang/spidermonkey-1.8.5-r1  USE="-debug -static-libs -test" 6,021 kB
[ebuild  N     ]    media-libs/clutter-gtk-1.0.4  USE="introspection -debug -doc -examples" 299 kB
[ebuild  N     ]    media-libs/clutter-gst-1.4.4  USE="introspection -debug -doc -examples" 330 kB
[ebuild  N     ]     media-libs/clutter-1.6.20  USE="introspection -debug -doc" 4,414 kB
[ebuild  N     ]      dev-libs/json-glib-0.14.2  USE="introspection -debug -doc" 435 kB
[ebuild  NS    ]    x11-libs/gtksourceview-3.2.3 [2.10.5-r2] USE="introspection -doc -glade -test" 1,188 kB
[ebuild  N     ]   x11-themes/gnome-icon-theme-symbolic-3.2.1  144 kB
[ebuild  N     ]   dev-util/gdbus-codegen-2.30.2  5,683 kB
[ebuild  NS    ]   gnome-base/gnome-desktop-3.2.1 [2.32.1-r1] USE="introspection -debug -doc" 903 kB

Total: 14 packages (2 upgrades, 9 new, 3 in new slots), Size of downloads: 28,444 kB

The following mask changes are necessary to proceed:
#required by gnome-base/nautilus-3.2.1-r1[previewer], required by app-text/evince-3.2.1-r1[nautilus], required by gnome-base/gnome-2.32.1-r1, required by @selected, required by @world (argument)
# /etc/portage/package.mask:
# GNOME 3.2 stuff
=gnome-extra/sushi-0.2.1
#required by gnome-extra/sushi-0.2.1, required by gnome-base/nautilus-3.2.1-r1[previewer], required by gnome-base/gnome-control-center-2.32.1-r1, required by gnome-base/gnome-2.32.1-r1, required by @selected, required by @world (argument)
# /etc/portage/package.mask:
# GNOME 3.2 stuff
# GNOME 3 core libs
# Core Applications
# Extra Applications
=app-text/evince-3.2.1-r1
#required by gnome-extra/sushi-0.2.1
# /etc/portage/package.mask:
# GNOME 3.2 stuff
# GNOME 3 core libs
# Core Applications
=gnome-base/nautilus-3.2.1-r1

NOTE: The --autounmask-keep-masks option will prevent emerge
      from creating package.unmask or ** keyword changes.

Use --autounmask-write to write changes to config files (honoring CONFIG_PROTECT).
ajglap gottlieb # 



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] please explain this contradictory(?) emerge dependency
  2011-12-19  1:34 [gentoo-user] please explain this contradictory(?) emerge dependency Allan Gottlieb
@ 2011-12-19  1:58 ` Allan Gottlieb
  2011-12-19  2:41 ` Joshua Murphy
  2011-12-19 12:56 ` [gentoo-user] " walt
  2 siblings, 0 replies; 7+ messages in thread
From: Allan Gottlieb @ 2011-12-19  1:58 UTC (permalink / raw
  To: gentoo-user

On Sun, Dec 18 2011, Allan Gottlieb wrote:

> I get dependency problems in my normal update world that I can't
> understand.  The entire output is below.
>
> As far as I can tell gnome-2.32.1-r1 (which is installed) is requiring
> packages from gnome-3, which must be wrong.  I don't see any such
> dependencies in the ebuild for gnome-2.32.1-r1 and there is an "official
> mask list" (which I am using) for those of us who want to
> delay installing gnome-3 for a while.
>
> My conclusion that gnome-2... is requiring gnome-3 packages (which I
> know is wrong) comes from two points in the output below.
>
> 1.  The indenting of the --tree --verbose output seems to say this
>     (e.g., the first two lines say gnome-2... depends on nautilus-3)
>
> 2.  The comments related to mask changes at the bottom say
>     evince-3... is required by gnome-2...
>
> Please help.
> thanks,
> allan

A new bug just appeared on bugs.gnome.org that may be related
#395173

allan



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] please explain this contradictory(?) emerge dependency
  2011-12-19  1:34 [gentoo-user] please explain this contradictory(?) emerge dependency Allan Gottlieb
  2011-12-19  1:58 ` Allan Gottlieb
@ 2011-12-19  2:41 ` Joshua Murphy
  2011-12-19  3:54   ` Allan Gottlieb
  2011-12-19 12:56 ` [gentoo-user] " walt
  2 siblings, 1 reply; 7+ messages in thread
From: Joshua Murphy @ 2011-12-19  2:41 UTC (permalink / raw
  To: gentoo-user

On Sun, Dec 18, 2011 at 8:34 PM, Allan Gottlieb <gottlieb@nyu.edu> wrote:
> I get dependency problems in my normal update world that I can't
> understand.  The entire output is below.
>
> As far as I can tell gnome-2.32.1-r1 (which is installed) is requiring
> packages from gnome-3, which must be wrong.  I don't see any such
> dependencies in the ebuild for gnome-2.32.1-r1 and there is an "official
> mask list" (which I am using) for those of us who want to
> delay installing gnome-3 for a while.
>
> My conclusion that gnome-2... is requiring gnome-3 packages (which I
> know is wrong) comes from two points in the output below.
>
> 1.  The indenting of the --tree --verbose output seems to say this
>    (e.g., the first two lines say gnome-2... depends on nautilus-3)
>
> 2.  The comments related to mask changes at the bottom say
>    evince-3... is required by gnome-2...
>
> Please help.
> thanks,
> allan


Without doing any digging (I'm 100mi away from my Gentoo boxes and
sitting on satellite internet, so SSH is painful), I would presume the
packages pulling in those dependencies aren't specifying a maximum
version, so it's not that they're "requiring" gnome 3 packages,
they're requiring gnome packages and are choosing to use the newest,
which happens to be part of 3, meaning the gnome 2 ebuilds would need
updated to require version < 3.0 to avoid it automatically, and
possibly block on mixing 2 and 3 if the mixing really does give
issues.

In /etc/portage/package.mask (untested, for the aforementioned reasons), add:
>=gnome-base/nautilus-3
>=app-text/evince-3

-- 
Joshua M. Murphy
Poison [BLX]



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] please explain this contradictory(?) emerge dependency
  2011-12-19  2:41 ` Joshua Murphy
@ 2011-12-19  3:54   ` Allan Gottlieb
  2011-12-19 19:54     ` [gentoo-user] (Solved) " Allan Gottlieb
  0 siblings, 1 reply; 7+ messages in thread
From: Allan Gottlieb @ 2011-12-19  3:54 UTC (permalink / raw
  To: gentoo-user

On Sun, Dec 18 2011, Joshua Murphy wrote:

> On Sun, Dec 18, 2011 at 8:34 PM, Allan Gottlieb <gottlieb@nyu.edu> wrote:
>> I get dependency problems in my normal update world that I can't
>> understand.  The entire output is below.
>>
>> As far as I can tell gnome-2.32.1-r1 (which is installed) is requiring
>> packages from gnome-3, which must be wrong.  I don't see any such
>> dependencies in the ebuild for gnome-2.32.1-r1 and there is an "official
>> mask list" (which I am using) for those of us who want to
>> delay installing gnome-3 for a while.
>>
>> My conclusion that gnome-2... is requiring gnome-3 packages (which I
>> know is wrong) comes from two points in the output below.
>>
>> 1.  The indenting of the --tree --verbose output seems to say this
>>    (e.g., the first two lines say gnome-2... depends on nautilus-3)
>>
>> 2.  The comments related to mask changes at the bottom say
>>    evince-3... is required by gnome-2...
>>
>> Please help.
>> thanks,
>> allan
>
>
> Without doing any digging (I'm 100mi away from my Gentoo boxes and
> sitting on satellite internet, so SSH is painful), I would presume the
> packages pulling in those dependencies aren't specifying a maximum
> version, so it's not that they're "requiring" gnome 3 packages,
> they're requiring gnome packages and are choosing to use the newest,
> which happens to be part of 3, meaning the gnome 2 ebuilds would need
> updated to require version < 3.0 to avoid it automatically, and
> possibly block on mixing 2 and 3 if the mixing really does give
> issues.

All the gnome-3 packages are masked (package.mask).

Indeed, at the end of my output (see prev msg) you see recommendations
from emerge for me to remove some masks.

allan



^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-user] Re: please explain this contradictory(?) emerge dependency
  2011-12-19  1:34 [gentoo-user] please explain this contradictory(?) emerge dependency Allan Gottlieb
  2011-12-19  1:58 ` Allan Gottlieb
  2011-12-19  2:41 ` Joshua Murphy
@ 2011-12-19 12:56 ` walt
  2 siblings, 0 replies; 7+ messages in thread
From: walt @ 2011-12-19 12:56 UTC (permalink / raw
  To: gentoo-user

On 12/18/2011 05:34 PM, Allan Gottlieb wrote:
> # /etc/portage/package.mask:
> # GNOME 3.2 stuff
> =gnome-extra/sushi-0.2.1

Just working from memory here.  Try removing the version number:

gnome-extra/sushi





^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-user] (Solved) please explain this contradictory(?) emerge dependency
  2011-12-19  3:54   ` Allan Gottlieb
@ 2011-12-19 19:54     ` Allan Gottlieb
  2011-12-20  3:10       ` Pandu Poluan
  0 siblings, 1 reply; 7+ messages in thread
From: Allan Gottlieb @ 2011-12-19 19:54 UTC (permalink / raw
  To: gentoo-user

On Sun, Dec 18 2011, Allan Gottlieb wrote:

> On Sun, Dec 18 2011, Joshua Murphy wrote:
>
>> On Sun, Dec 18, 2011 at 8:34 PM, Allan Gottlieb <gottlieb@nyu.edu> wrote:
>>> I get dependency problems in my normal update world that I can't
>>> understand.  The entire output is below.
>>>
>>> As far as I can tell gnome-2.32.1-r1 (which is installed) is requiring
>>> packages from gnome-3, which must be wrong.  I don't see any such
>>> dependencies in the ebuild for gnome-2.32.1-r1 and there is an "official
>>> mask list" (which I am using) for those of us who want to
>>> delay installing gnome-3 for a while.
>>>
>>> My conclusion that gnome-2... is requiring gnome-3 packages (which I
>>> know is wrong) comes from two points in the output below.
>>>
>>> 1.  The indenting of the --tree --verbose output seems to say this
>>>    (e.g., the first two lines say gnome-2... depends on nautilus-3)
>>>
>>> 2.  The comments related to mask changes at the bottom say
>>>    evince-3... is required by gnome-2...
>>>
>>> Please help.
>>> thanks,
>>> allan
>>
>>
>> Without doing any digging (I'm 100mi away from my Gentoo boxes and
>> sitting on satellite internet, so SSH is painful), I would presume the
>> packages pulling in those dependencies aren't specifying a maximum
>> version, so it's not that they're "requiring" gnome 3 packages,
>> they're requiring gnome packages and are choosing to use the newest,
>> which happens to be part of 3, meaning the gnome 2 ebuilds would need
>> updated to require version < 3.0 to avoid it automatically, and
>> possibly block on mixing 2 and 3 if the mixing really does give
>> issues.
>
> All the gnome-3 packages are masked (package.mask).
>
> Indeed, at the end of my output (see prev msg) you see recommendations
> from emerge for me to remove some masks.
>
> allan

It was more subtle than I thought.  A big tip from Alexandre Rostovtsev
suggested that the problem might be that some package other than
gnome-base/gnome might be requiring nautilus-3 *OR introspection*.

Sure enough the new evince was the culprit.  I put in a workaround for
today but everything should be fine tomorrow due to ...

    From: Allan Gottlieb <gottlieb@nyu.edu>
    Subject: Re: [Bug 395173] gnome-light-2.32 shouldn't depend on >=x11-themes/gnome-themes-standard-3.0.2
    To: Alexandre Rostovtsev <tetromino@gentoo.org>
    Date: Mon, 19 Dec 2011 14:47:08 -0500

    On Mon, Dec 19 2011, Alexandre Rostovtsev wrote:

    > On Mon, 2011-12-19 at 10:59 -0500, Allan Gottlieb wrote:
    >> The equery d  command (with depth=2 or depth=30) shows no mention of
    >> gnome-3, but *does* show introspection.  Specifically
    >>
    >> app-text/evince-2.32.0-r3 (nautilus ? >=gnome-base/nautilus-2.10[introspection?])
    >>
    > Ah, that explains it.
    >
    > When we unmasked gobject-introspection in August, the introspection
    > USE flag was masked on versions of gnome-2 packages that were already
    > stable, including on <app-text/evince-2.32.0-r4 and
    > <gnome-base/nautilus-2.32.2.1-r2.
    >
    > Two days ago, evince was bumped to 2.32.0-r4 to fix a crash.
    > Therefore, evince-2.32.0-r4 became the first gnome-2 version of evince
    > that had introspection unmasked, and it wanted to pull in
    > nautilus[introspection]. But the latest gnome-2 version of nautilus in
    > portage was nautilus-2.32.2.1-r1, which had introspection masked.
    > Therefore, evince-2.32.0-r4 effectively depended on nautilus-3. And
    > since nautilus-3 and evince-2.32.0-r4 are both in ~arch, repoman (the
    > automatic script that gentoo developers use to check their ebuilds
    > before committing) did not catch the problem :(
    >
    > I have now fixed it by bumping nautilus to 2.32.2.1-r2, and have
    > alerted the other gnome team members to be aware of this issue.
    >
    > Thank you very much for reporting this as soon as you did!
    >
    > -Alexandre.

    Great.  So tomorrow, my resync will find nautilus...-r2 and I will be
    able to remove
        app-text/evince -introspection
    from package.use.
    (That is the workaround I put in today to permit an update world to
    proceed without gnome-3).

Case closed!
allan



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] (Solved) please explain this contradictory(?) emerge dependency
  2011-12-19 19:54     ` [gentoo-user] (Solved) " Allan Gottlieb
@ 2011-12-20  3:10       ` Pandu Poluan
  0 siblings, 0 replies; 7+ messages in thread
From: Pandu Poluan @ 2011-12-20  3:10 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 4586 bytes --]

On Dec 20, 2011 2:58 AM, "Allan Gottlieb" <gottlieb@nyu.edu> wrote:
>
> On Sun, Dec 18 2011, Allan Gottlieb wrote:
>
> > On Sun, Dec 18 2011, Joshua Murphy wrote:
> >
> >> On Sun, Dec 18, 2011 at 8:34 PM, Allan Gottlieb <gottlieb@nyu.edu>
wrote:
> >>> I get dependency problems in my normal update world that I can't
> >>> understand.  The entire output is below.
> >>>
> >>> As far as I can tell gnome-2.32.1-r1 (which is installed) is requiring
> >>> packages from gnome-3, which must be wrong.  I don't see any such
> >>> dependencies in the ebuild for gnome-2.32.1-r1 and there is an
"official
> >>> mask list" (which I am using) for those of us who want to
> >>> delay installing gnome-3 for a while.
> >>>
> >>> My conclusion that gnome-2... is requiring gnome-3 packages (which I
> >>> know is wrong) comes from two points in the output below.
> >>>
> >>> 1.  The indenting of the --tree --verbose output seems to say this
> >>>    (e.g., the first two lines say gnome-2... depends on nautilus-3)
> >>>
> >>> 2.  The comments related to mask changes at the bottom say
> >>>    evince-3... is required by gnome-2...
> >>>
> >>> Please help.
> >>> thanks,
> >>> allan
> >>
> >>
> >> Without doing any digging (I'm 100mi away from my Gentoo boxes and
> >> sitting on satellite internet, so SSH is painful), I would presume the
> >> packages pulling in those dependencies aren't specifying a maximum
> >> version, so it's not that they're "requiring" gnome 3 packages,
> >> they're requiring gnome packages and are choosing to use the newest,
> >> which happens to be part of 3, meaning the gnome 2 ebuilds would need
> >> updated to require version < 3.0 to avoid it automatically, and
> >> possibly block on mixing 2 and 3 if the mixing really does give
> >> issues.
> >
> > All the gnome-3 packages are masked (package.mask).
> >
> > Indeed, at the end of my output (see prev msg) you see recommendations
> > from emerge for me to remove some masks.
> >
> > allan
>
> It was more subtle than I thought.  A big tip from Alexandre Rostovtsev
> suggested that the problem might be that some package other than
> gnome-base/gnome might be requiring nautilus-3 *OR introspection*.
>
> Sure enough the new evince was the culprit.  I put in a workaround for
> today but everything should be fine tomorrow due to ...
>
>    From: Allan Gottlieb <gottlieb@nyu.edu>
>    Subject: Re: [Bug 395173] gnome-light-2.32 shouldn't depend on
>=x11-themes/gnome-themes-standard-3.0.2
>    To: Alexandre Rostovtsev <tetromino@gentoo.org>
>    Date: Mon, 19 Dec 2011 14:47:08 -0500
>
>    On Mon, Dec 19 2011, Alexandre Rostovtsev wrote:
>
>    > On Mon, 2011-12-19 at 10:59 -0500, Allan Gottlieb wrote:
>    >> The equery d  command (with depth=2 or depth=30) shows no mention of
>    >> gnome-3, but *does* show introspection.  Specifically
>    >>
>    >> app-text/evince-2.32.0-r3 (nautilus ?
>=gnome-base/nautilus-2.10[introspection?])
>    >>
>    > Ah, that explains it.
>    >
>    > When we unmasked gobject-introspection in August, the introspection
>    > USE flag was masked on versions of gnome-2 packages that were already
>    > stable, including on <app-text/evince-2.32.0-r4 and
>    > <gnome-base/nautilus-2.32.2.1-r2.
>    >
>    > Two days ago, evince was bumped to 2.32.0-r4 to fix a crash.
>    > Therefore, evince-2.32.0-r4 became the first gnome-2 version of
evince
>    > that had introspection unmasked, and it wanted to pull in
>    > nautilus[introspection]. But the latest gnome-2 version of nautilus
in
>    > portage was nautilus-2.32.2.1-r1, which had introspection masked.
>    > Therefore, evince-2.32.0-r4 effectively depended on nautilus-3. And
>    > since nautilus-3 and evince-2.32.0-r4 are both in ~arch, repoman (the
>    > automatic script that gentoo developers use to check their ebuilds
>    > before committing) did not catch the problem :(
>    >
>    > I have now fixed it by bumping nautilus to 2.32.2.1-r2, and have
>    > alerted the other gnome team members to be aware of this issue.
>    >
>    > Thank you very much for reporting this as soon as you did!
>    >
>    > -Alexandre.
>
>    Great.  So tomorrow, my resync will find nautilus...-r2 and I will be
>    able to remove
>        app-text/evince -introspection
>    from package.use.
>    (That is the workaround I put in today to permit an update world to
>    proceed without gnome-3).
>

Cool!

A perfect example why we ought to report on bugs. It might save someone
else from a teeth-gritting hardship, even when handling a totally unrelated
package.

Well done, Gentoo-ers :-)

Rgds,

[-- Attachment #2: Type: text/html, Size: 6153 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-12-20  3:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-19  1:34 [gentoo-user] please explain this contradictory(?) emerge dependency Allan Gottlieb
2011-12-19  1:58 ` Allan Gottlieb
2011-12-19  2:41 ` Joshua Murphy
2011-12-19  3:54   ` Allan Gottlieb
2011-12-19 19:54     ` [gentoo-user] (Solved) " Allan Gottlieb
2011-12-20  3:10       ` Pandu Poluan
2011-12-19 12:56 ` [gentoo-user] " walt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox