Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Portage issue
Date: Mon, 04 Feb 2008 15:45:33
Message-Id: 200802041743.21134.alan.mckinnon@gmail.com
In Reply to: Re: [gentoo-user] Portage issue by Daniel Pielmeier
1 On Monday 04 February 2008, Daniel Pielmeier wrote:
2 > > [blocks B     ] kde-base/ksync (is blocking
3 > > kde-base/kdelibs-3.5.8-r10)
4 >
5 > I think somebody has mentioned this before ksync is part of the new
6 > kdelibs so unmerge it to merge the new kdelibs.
7 > http://www.gentoo.org/proj/en/desktop/kde/kde-expat-upgrading.xml
8
9 Maybe I should explain a bit more in detail how the OP should fix this,
10 as finding kde blockers between the -meta and monolithic ebuilds is not
11 a cut and dried process.
12
13 First, I assume he has read the emerging KDE howto on the gentoo docs
14 site, and understands the difference between -meta ebuilds, monolithic
15 ebuilds and package ebuilds. There's not much to indicate which is
16 which except that the -meta ebuilds have -meta in their name. Over time
17 I have learned which are the packages distributed by kde.org and now
18 recognize them by name. The monolithic ebuilds must then be the same
19 without the -meta name. So, everything else is probably a package
20 ebuild.
21
22 Golden rule: You cannot mix these types, you must use one or the other.
23 To determine blockers, there's no command I know of that does
24 eg "equery blocks <package>" so I resort to good old grep:
25
26 alan@nazgul ~ $ grep -r ksync /var/portage/kde-base/*/*ebuild | grep
27 kdelibs
28 /var/portage/kde-base/kdelibs/kdelibs-3.5.7-r1.ebuild: !kde-base/ksync"
29 /var/portage/kde-base/kdelibs/kdelibs-3.5.7-r2.ebuild: !kde-base/ksync"
30 /var/portage/kde-base/kdelibs/kdelibs-3.5.7-r3.ebuild: !kde-base/ksync"
31 /var/portage/kde-base/kdelibs/kdelibs-3.5.8.ebuild: !kde-base/ksync"
32 /var/portage/kde-base/kdelibs/kdelibs-3.5.8-r1.ebuild: !kde-base/ksync"
33 /var/portage/kde-base/kdelibs/kdelibs-3.5.8-r2.ebuild: !kde-base/ksync"
34 /var/portage/kde-base/kdelibs/kdelibs-3.5.8-r3.ebuild: !kde-base/ksync"
35
36 So, kdelibs will not install along with ksync. Now to determine what
37 installs ksync:
38
39 alan@nazgul ~ $ equery depends ksync
40 [ Searching for packages depending on ksync... ]
41
42 No results. Bugger. That means I don't have ksync installed, so equery
43 can't find the info for me. Time to search the tree (this is slooooow).
44 So one cup of coffee later:
45
46 alan@nazgul ~ $ equery depends -a ksync
47 [ Searching for packages depending on ksync... ]
48 app-pda/syncekonnector-0.3_pre20060117 (=kde-base/ksync-3.5*)
49 app-pda/syncekonnector-0.3.2 (=kde-base/ksync-3.5*)
50 kde-base/kdepim-meta-3.5.5 (~kde-base/ksync-3.5.5)
51 kde-base/kdepim-meta-3.5.6 (~kde-base/ksync-3.5.6)
52
53 OK, Now we are getting there. kdepim-meta will install all sub-packages
54 of kdepim. syncekonnector (probably part of kdepim-meta too) will also
55 install ksync. Plus, kdepim (monolithic) will install all the same
56 files as kdepim-meta, but not as individual packages. On to solutions
57 for the OPs problem:
58
59 Don't merge ksync, do merge kdepim.
60 Convert to the -meta ebuilds and emerge ksync.
61
62 This last is a lot of effort but worth it. I did it by running "eix kde"
63 and listing what I had, unmerge the monolithic ebuilds and merge the
64 corresponding -meta ones. It's an iterative process, I had to go back
65 and find more stuff to unmerge once or twice.
66
67 --
68 Alan McKinnon
69 alan dot mckinnon at gmail dot com
70 --
71 gentoo-user@l.g.o mailing list