Gentoo Archives: gentoo-user

From: "Bo Ørsted Andresen" <bo.andresen@××××.dk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] emerge confused about gnome-icon-theme version?
Date: Sun, 31 Dec 2006 13:03:10
Message-Id: 200612311358.43507.bo.andresen@zlin.dk
In Reply to: Re: [gentoo-user] emerge confused about gnome-icon-theme version? by Daniel D Jones
1 On Sunday 31 December 2006 00:59, Daniel D Jones wrote:
2 > On Friday 29 December 2006 09:25, Daniel D Jones wrote:
3 > > root@Merlin:/ # emerge -s gnome-icon-theme
4 > > Searching...
5 > > [ Results for search key : gnome-icon-theme ]
6 > > [ Applications found : 1 ]
7 > >
8 > > * x11-themes/gnome-icon-theme
9 > > Latest version available: 2.16.1
10 > > Latest version installed: 2.16.1
11 >
12 > ...
13 >
14 > >root@Merlin:/ # emerge gnome-applets
15 > > Emerging (1 of 1) gnome-base/gnome-applets-2.16.2 to
16 >
17 > ...
18 >
19 > > checking for GIT... configure: error: Package requirements
20 > > (gnome-icon-theme >= 2.15.91) were not met:
21 > > Requested 'gnome-icon-theme >= 2.15.91' but version of gnome-icon-theme
22 > > is 2.10.1
23 > >
24 > > Something is confused somewhere about the version of gnome-icon-theme
25 > > installed. I've resynced and reemerged gnome-icon-theme with no success.
26 > > Any suggestions?
27 >
28 > It appears no one has any suggestions. Can someone perhaps tell me how
29 > portage goes about determining the installed version to give me a direction
30 > to start trying to figure this out.
31
32 This isn't exactly portage determining the installed version of
33 gnome-icon-theme. It's the configure script of gnome-applets which is unaware
34 of the existance of portage checking the environment before the actual compile.
35 It uses the return value of:
36
37 # pkg-config --exists --print-errors "gnome-icon-theme >= 2.15.91"
38
39 to determine whether it's requirement is fulfilled.
40
41 Maybe you have some orphaned pkg-config file (.pc) as Kent suggests. The output
42 of e.g.:
43
44 # pkg-config --debug --modversion gnome-icon-theme 2>&1 | grep gnome-icon-theme
45
46 will tell you where the .pc file is. If you have app-portage/gentoolkit
47 installed you can use `equery belongs $FILE` to see if it's orphaned (i.e.
48 if it belongs to no package.). Orphaned files like that can be safely deleted.
49
50 HtH.
51
52 --
53 Bo Andresen