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