Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] Building pygtk-2.22.0-r1 fails. Help, please! Mick <michaelkintzios@×××××.com>
Re: [gentoo-user] Building pygtk-2.22.0-r1 fails. Help, please! Alan McKinnon <alan.mckinnon@×××××.com>