Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] Building pygtk-2.22.0-r1 fails. Help, please! Alan Mackenzie <acm@×××.de>