1 |
On Saturday 23 April 2011 17:35:44 Alan Mackenzie wrote: |
2 |
> Hi, Alan. |
3 |
> |
4 |
> On Sat, Apr 23, 2011 at 12:43:45AM +0200, Alan McKinnon wrote: |
5 |
> > Apparently, though unproven, at 20:05 on Friday 22 April 2011, Alan |
6 |
> > Mackenzie |
7 |
> > |
8 |
> > did opine thusly: |
9 |
> > > Hi, Gentoo. |
10 |
> > > |
11 |
> > > In my attempt to 'emerge --update --deep xfce4-meta', one sole |
12 |
> > > package is refusing to build, namely pygtk. |
13 |
> > > |
14 |
> > > Its log file displays many (perhaps 100) error lines like: |
15 |
> > > Could not write method AtkObject.get_attributes: No ArgType for |
16 |
> > > |
17 |
> > > AtkAttributeSet* |
18 |
> > > |
19 |
> > > . The command that caused all these errors was: |
20 |
> > > |
21 |
> > > libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. |
22 |
> > > -I/usr/include/python2.6 -I/usr/include/python2.6 -pthread |
23 |
> > > -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0 |
24 |
> > > -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 |
25 |
> > > -I/usr/lib64/glib-2.0/include -I./gtk |
26 |
> > > -I/usr/lib64/python2.6/site-packages/numpy/core/include -pthread |
27 |
> > > -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 |
28 |
> > > -I/usr/lib64/glib-2.0/include -O2 -pipe -march=athlon64 -Wall |
29 |
> > > -fno-strict-aliasing -std=c9x -MT pango_la-pangomodule.lo -MD -MP -MF |
30 |
> > > .deps/pango_la-pangomodule.Tpo -c pangomodule.c -fPIC -DPIC -o |
31 |
> > > .libs/pango_la-pangomodule.o |
32 |
> > > |
33 |
> > > . If anybody knows how to fix this, or a more appropriate place to |
34 |
> > > ask for help, please tell me. |
35 |
> > > |
36 |
> > > Thanks in advance! |
37 |
> > |
38 |
> > This one might be tricky. Here's a tip: include version numbers of |
39 |
> > packages that are giving trouble, and whether you run stable, testing |
40 |
> > or (god forbid!) a mixture - this can be rather important in guiding |
41 |
> > one to what to do next (a process mostly defined by instinct rather |
42 |
> > than by say reason) |
43 |
> |
44 |
> OK. As a relative newbie, I only run "stable". My system is giving me |
45 |
> enough headaches as it is. |
46 |
> |
47 |
> > The error looks like an API break between pygtk and whatever provides |
48 |
> > AtkObject. That is part of the gtk accessibility toolkit, and the |
49 |
> > relevant files come out of a package called atk. |
50 |
> > |
51 |
> > My first guess is that pygtk and atk are now out of sync on your machine. |
52 |
> > Try this: |
53 |
> > |
54 |
> > emerge -av1 atk |
55 |
> > emerge -av1 pygtk |
56 |
> > |
57 |
> > Post back if that doesn't work. |
58 |
> |
59 |
> Sadly, it didn't work. |
60 |
> |
61 |
> > Another tip: search bugs.gentoo.org first before posting - oftentimes |
62 |
> > the problem is already known and reported on. In this specific case |
63 |
> > however, I didn't find anything. |
64 |
> |
65 |
> OK. I managed to get the problem fixed, basically by trying everything, |
66 |
> though I don't really understand what I did. This was my recipe: |
67 |
> |
68 |
> emerge --sync |
69 |
> emerge --update --deep --newuse xfce4-meta |
70 |
> |
71 |
> , which updated libglade-2.6.4 and pygtk-2.22.0-r1 successfully. So |
72 |
> thanks! |
73 |
|
74 |
What do you get when you run: |
75 |
|
76 |
# eselect python list |
77 |
-- |
78 |
Regards, |
79 |
Mick |