Gentoo Archives: gentoo-user

From: Dan Johansson <Dan.Johansson@×××.nu>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Portage strangeness with imagemagick
Date: Fri, 30 Oct 2009 16:20:20
Message-Id: 200910301720.04084.Dan.Johansson@dmj.nu
In Reply to: Re: [gentoo-user] Portage strangeness with imagemagick by Alan McKinnon
1 On Thursday 29 October 2009 20.16:24 Alan McKinnon wrote:
2 > On Thursday 29 October 2009 21:08:27 Dan Johansson wrote:
3 > > On Thursday 29 October 2009 19.52:52 Dirk Heinrichs wrote:
4 > > > Am Donnerstag 29 Oktober 2009 19:39:27 schrieb Dan Johansson:
5 > > > > Today when I do an update world on one of my serves I get the
6 > > > > following:
7 > > > >
8 > > > > ----------------------------------------------------8<---------------
9 > > > >-- -- -- ----------------------------- # emerge --update --deep
10 > > > > --verbose --reinstall changed-use --with-bdeps y world --pretend
11 > > > > --tree
12 > > > >
13 > > > > These are the packages that would be merged, in reverse order:
14 > > > >
15 > > > > Calculating dependencies... done!
16 > > > >
17 > > > > emerge: there are no ebuilds built with USE flags to satisfy ">=x11-
18 > > > > libs/cairo-1.6[X]".
19 > > > > !!! One of the following packages is required to complete your
20 > > > > request: - x11-libs/cairo-1.8.8 (Change USE: +X)
21 > > > > (dependency required by "x11-libs/gtk+-2.16.6" [ebuild])
22 > > > > (dependency required by "media-gfx/ufraw-0.15-r1" [ebuild])
23 > > > > (dependency required by "media-gfx/imagemagick-6.5.2.9" [ebuild])
24 > > > > (dependency required by "www-apps/gallery-2.3" [ebuild])
25 > > > > (dependency required by "world" [argument])
26 > > > > ----------------------------------------------------8<---------------
27 > > > >-- -- -- -----------------------------
28 > > > >
29 > > > > As this is a server I really do not want/need X on this host.
30 > > >
31 > > > So why do have gtk+ in your USE, then? That's the one that makes ufraw
32 > > > pull in gtk+ which in turn wants cairo with the X flag. OTOH, this
33 > > > doesn't mean you'll get X installed on your machine. You'll only get a
34 > > > handful of X libs.
35 > > >
36 > > > > I can not see why it works if I first deletes all USE flags (-*) and
37 > > > > the just sets the USE flags I need again.
38 > > >
39 > > > Because it's not imagemagick that wants cairo with X (which the emerge
40 > > > output above clearly states).
41 > > >
42 > > > Bye...
43 > > >
44 > > > Dirk
45 > >
46 > > Yes, I can see that it's not imagemagick directly that pulls in cairo.
47 > > And I do not have the gtk USE flag set:
48 > >
49 > > # euse -i gtk
50 > > global use flags (searching: gtk)
51 > > ************************************************************
52 > > [- ] gtk - Adds support for x11-libs/gtk+ (The GIMP Toolkit)
53 > > <...snip...>
54 >
55 > ufraw's DEPEND:
56 >
57 > RDEPEND="media-libs/jpeg
58 >
59 > >=media-libs/lcms-1.13
60 >
61 > media-libs/tiff
62 >
63 > >=x11-libs/gtk+-2.4.0
64 >
65 > You don't have a choice. With ufraw you are going to get gtk+.
66 >
67 > imagemagick pulls in ufraw:
68 >
69 > RDEPEND="raw? ( media-gfx/ufraw )
70 >
71 > But you have -raw in USE for imagemagick
72 >
73 > Hmm. What does emerge --info have to say about USE=raw?
74 > What does emerge -pvt imagemagick have to say?
75 > I'm thinking raw may be overridden in your profile. what profile are you
76 > using?
77
78 That was it, if I put -raw in make.conf I am able to upgrade imagemagick
79 without pulling in all the X stuff (~25 new packages).
80
81 --
82 Dan Johansson, <http://www.dmj.nu>
83 ***************************************************
84 This message is printed on 100% recycled electrons!
85 ***************************************************