From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-121921-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1QDjKs-0001yg-2l
	for garchives@archives.gentoo.org; Sat, 23 Apr 2011 20:21:50 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id E53EB1C011;
	Sat, 23 Apr 2011 20:20:18 +0000 (UTC)
Received: from mail.muc.de (colin.muc.de [193.149.48.1])
	by pigeon.gentoo.org (Postfix) with ESMTP id 4FE641C011
	for <gentoo-user@lists.gentoo.org>; Sat, 23 Apr 2011 20:20:17 +0000 (UTC)
Received: (qmail 80449 invoked by uid 3782); 23 Apr 2011 20:20:17 -0000
Received: from acm.muc.de (pD951BF3E.dip.t-dialin.net [217.81.191.62]) by
	colin2.muc.de (tmda-ofmipd) with ESMTP;
	Sat, 23 Apr 2011 22:20:15 +0200
Received: (qmail 17650 invoked by uid 1000); 23 Apr 2011 20:06:25 -0000
Date: Sat, 23 Apr 2011 20:06:25 +0000
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Building pygtk-2.22.0-r1 fails.  Help, please!
Message-ID: <20110423200625.GB18788@acm.acm>
References: <20110422180508.GA17715@acm.acm>
	<201104230043.45952.alan.mckinnon@gmail.com>
	<20110423163544.GA18788@acm.acm>
	<201104232046.40140.michaelkintzios@gmail.com>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <201104232046.40140.michaelkintzios@gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Delivery-Agent: TMDA/1.1.5 (Fettercairn)
From: Alan Mackenzie <acm@muc.de>
X-Primary-Address: acm@muc.de
X-Archives-Salt: 
X-Archives-Hash: 735f349d7c7c824eadc941975171b19b

Hi, Mick.

On Sat, Apr 23, 2011 at 08:46:30PM +0100, Mick wrote:
> On Saturday 23 April 2011 17:35:44 Alan Mackenzie wrote:
> > Hi, Alan.

> > On Sat, Apr 23, 2011 at 12:43:45AM +0200, Alan McKinnon wrote:
> > > Apparently, though unproven, at 20:05 on Friday 22 April 2011, Alan
> > > Mackenzie

> > > did opine thusly:
> > > > Hi, Gentoo.

> > > > In my attempt to 'emerge --update --deep xfce4-meta', one sole
> > > > package is refusing to build, namely pygtk.

> > > > Its log file displays many (perhaps 100) error lines like:
> > > >     Could not write method AtkObject.get_attributes: No ArgType for

> > > > AtkAttributeSet*

> > > > .  The command that caused all these errors was:

> > > > libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.
> > > > -I/usr/include/python2.6 -I/usr/include/python2.6 -pthread
> > > > -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0
> > > > -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0
> > > > -I/usr/lib64/glib-2.0/include -I./gtk
> > > > -I/usr/lib64/python2.6/site-packages/numpy/core/include -pthread
> > > > -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
> > > > -I/usr/lib64/glib-2.0/include -O2 -pipe -march=athlon64 -Wall
> > > > -fno-strict-aliasing -std=c9x -MT pango_la-pangomodule.lo -MD -MP -MF
> > > > .deps/pango_la-pangomodule.Tpo -c pangomodule.c  -fPIC -DPIC -o
> > > > .libs/pango_la-pangomodule.o

> > > > .  If anybody knows how to fix this, or a more appropriate place
> > > > to ask for help, please tell me.

> > > > Thanks in advance!

> > > This one might be tricky. Here's a tip: include version numbers of
> > > packages that are giving trouble, and whether you run stable,
> > > testing or (god forbid!) a mixture - this can be rather important
> > > in guiding one to what to do next (a process mostly defined by
> > > instinct rather than by say reason)

> > OK.  As a relative newbie, I only run "stable".  My system is giving
> > me enough headaches as it is.

> > > The error looks like an API break between pygtk and whatever
> > > provides AtkObject. That is part of the gtk accessibility toolkit,
> > > and the relevant files come out of a package called atk.

> > > My first guess is that pygtk and atk are now out of sync on your
> > > machine.  Try this:

> > > emerge -av1 atk
> > > emerge -av1 pygtk

> > > Post back if that doesn't work.

> > Sadly, it didn't work.

> > > Another tip: search bugs.gentoo.org first before posting -
> > > oftentimes the problem is already known and reported on. In this
> > > specific case however, I didn't find anything.

> > OK.  I managed to get the problem fixed, basically by trying
> > everything, though I don't really understand what I did.  This was my
> > recipe:

> >     emerge --sync
> >     emerge --update --deep --newuse xfce4-meta

> > , which updated libglade-2.6.4 and pygtk-2.22.0-r1 successfully.  So
> > thanks!

> What do you get when you run:

> # eselect python list

Available Python interpreters:
  [1]   python2.6 *
  [2]   python2.7
  [3]   python3.1

> -- 
> Regards,
> Mick

-- 
Alan Mackenzie (Nuremberg, Germany).