Gentoo Archives: gentoo-user

From: Todd Goodman <tsg@×××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] trouble with libxcb (and others)
Date: Wed, 27 Apr 2011 17:44:04
Message-Id: 20110427170012.GN22703@ns1.bonedaddy.net
In Reply to: Re: [gentoo-user] trouble with libxcb (and others) by Allan Gottlieb
1 * Allan Gottlieb <gottlieb@×××.edu> [110427 10:54]:
2 > On Tue, Apr 26 2011, Todd Goodman wrote:
3 >
4 > > * Allan Gottlieb <gottlieb@×××.edu> [110426 14:34]:
5 > >> On Tue, Apr 26 2011, Allan Gottlieb wrote:
6 > >>
7 > >> > Starting last night several builds and programs are crashing due to
8 > >> > problems in libxcb and others.
9 > >> >
10 > >> > My system is ~amd64.
11 > > [SNIP]
12 > >> > openoffice (picked up by revdep-rebuild) fails to build saying
13 > >> >
14 > >> > checking for pkg-config... /usr/bin/pkg-config
15 > >> > checking for libwpd-0.8 ... Package libwpd-0.8 was not found in the pkg-config search path. Perhaps you should add the directory containing `libwpd-0.8.pc' to the PKG_CONFIG_PATH environment variable No package 'libwpd-0.8' found
16 > >> > configure: error: Library requirements (libwpd-0.8 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
17 > >> >
18 > >> > I looked (using locate) and I have libwpd-0.9.1 now. Should I downgrade
19 > >> > to lib0.8.14?
20 > >
21 > > For what it's worth I run ~x86 and I got the same error with libwpd
22 > > until I made sure I had the 0.8 slot emerged as well (emerge
23 > > libwpd:0.8)
24 >
25 > It is worth a lot!
26 >
27 > > It looks like it just became slotted (if I remember right.)
28 > >
29 > > Unfortunately I then had a problem with OpenOffice and libwpg. And had
30 > > to downgrade back to 1.1.3 (and mask 0.2.0.) It looked like OpenOffice
31 > > wasn't happy with a 2.0 version and still wanted a 1.0 version (but I
32 > > didn't look too carefully.)
33 > >
34 > > However it looks like it's slotted now so you should be able to install
35 > > libwpg:0.2 as well as libwpg:0.1 and OpenOffice will still work.
36 > >
37 > > However, I get file collisions when trying to install libwpg:0.2 with
38 > > libwpg:0.1 installed right now. It might still be in the process of being
39 > > fully slotted?
40 > >
41 > > If you don't have the libwpd:0.8 and/or libwpg:0.1 slotted versions then
42 > > just emerge them too.
43 >
44 > I just now followed your advice and emerged both libwpd:0.8 and
45 > libwpg:0.1. I was a little surprised to see that
46 > emerge -1 was insufficient (depclean wanted to remove them again).
47 >
48 > If a certain slot is needed for another application, I had expected
49 > depclean to leave it alone. Anyway I then did an emerge -n to put them
50 > into world and depclean is happy.
51 >
52 > As it turns out now revdep-rebuild doesn't want to remerge anything,
53 > but I am doing a reinstall of openoffice anyway just to confirm that it
54 > is happy.
55 >
56 > I wonder if the situation has now stabilized and forcing the old slots
57 > to be present is no longer needed. I will have more time after the
58 > semester ends and I don't have to prepare lectures / grade exams.
59 > I hope during the end of may to go through world and prune any that
60 > don't appear to be necessary.
61 >
62 > Thank you very much for your help.
63 >
64 > allan
65
66 Great! You're welcome.
67
68 FWIW, if anyone else is having problems emerging both slotted versions
69 of libwpg, my problems with libwpg:0.1 and libwpg:0.2 having filename
70 conflicts was due to having the doc USE flag set.
71
72 It's bug http://bugs.gentoo.org/show_bug.cgi?id=364857
73
74 I know some have mentioned that in general it's not a good idea to have
75 the doc USE flag enabled globally.
76
77 Todd