Gentoo Archives: gentoo-user

From: Daniel Troeder <daniel@×××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Cannot figure out emerge blocks
Date: Wed, 17 Jun 2009 21:13:44
Message-Id: 1245273208.26611.56.camel@mayo.local
In Reply to: [gentoo-user] Cannot figure out emerge blocks by Jim Cunning
1 On Wed, 2009-06-17 at 13:44 -0700, Jim Cunning wrote:
2 > I followed the procedures to convert from monolithic KDE ebuilds to -meta
3 > versions of the KDE ebuilds. Now I have a huge number of blocks that I don't
4 > understand and cannot figure out how to fix. My apologies for the size of
5 > the text to follow, but the output from 'emerge -uDavN world' is listed
6 > below.
7 >
8 > I have reviewed the man pages and online info on blocked packages and don't
9 > see how to fix my situation. Can anyone give me a nudge in the right
10 > direction?:
11 >
12 > Thanks,
13 > Jim
14 > ======================
15 > These are the packages that would be merged, in order:
16
17 > [blocks B ] media-sound/phonon ("media-sound/phonon" is blocking
18 > x11-libs/qt-phonon-4.5.1)
19 > [blocks B ] x11-libs/qt-phonon:4 ("x11-libs/qt-phonon:4" is blocking
20 > media-sound/phonon-4.3.1)
21 >
22 > Total: 345 packages (317 upgrades, 19 new, 7 in new slots, 2 reinstalls, 4
23 > uninstalls), Size of downloads: 488,132 kB
24 > Conflict: 35 blocks (2 unsatisfied)
25 > Portage tree and overlays:
26 > [0] /usr/portage
27 > [?] indicates that the source repository could not be determined
28 >
29 > * Error: The above package list contains packages which cannot be
30 > * installed at the same time on the same system.
31 >
32 > ('ebuild', '/', 'media-sound/phonon-4.3.1', 'merge') pulled in by
33 > media-sound/phonon required by
34 > ('ebuild', '/', 'x11-libs/qt-webkit-4.5.1', 'merge')
35 > media-sound/phonon required by
36 > ('ebuild', '/', 'x11-libs/qt-4.5.1', 'merge')
37 > media-sound/phonon required by
38 > ('ebuild', '/', 'x11-libs/qt-demo-4.5.1', 'merge')
39 >
40 > ('ebuild', '/', 'x11-libs/qt-phonon-4.5.1', 'merge') pulled in by
41 > ~x11-libs/qt-phonon-4.5.1:4 required by
42 > ('ebuild', '/', 'x11-libs/qt-demo-4.5.1', 'merge')
43
44 Hello :)
45
46 Without reading the hole listing, I think that you have do some stuff
47 manually: there is for example a circular dependency between qt-phonon
48 and phonon. Actually its more of an anti-dependency ;) They can't be
49 installed at the same time.
50
51 In /usr/portage/x11-libs/qt-phonon/qt-phonon-4.5.1.ebuild you find:
52 DEPEND="... !media-sound/phonon ..."
53 SLOT="4"
54
55 In /usr/portage/media-sound/phonon/phonon-4.3.1.ebuild you find:
56 RDEPEND="... !x11-libs/qt-phonon:4 ..."
57
58 Now try to look at the dependency tree (using emerges "-t" option) to
59 see what pulls in phonon and what pulls in qt-phonon. Maybe one of it is
60 not needed or has unneeded USE-flags
61
62 * Maybe change some USE-flags for QT or KDE.
63 * Try to emerge one of the two packages manually (using "-1" option),
64 and see what happens to your update-world.
65
66 Sorry... just generic clues...
67
68 Bye,
69 Daniel
70
71 --
72 PGP key @ http://pgpkeys.pca.dfn.de/pks/lookup?search=0xBB9D4887&op=get
73 # gpg --recv-keys --keyserver hkp://subkeys.pgp.net 0xBB9D4887

Attachments

File name MIME type
signature.asc application/pgp-signature