public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: Alan McKinnon <alan.mckinnon@gmail.com>
Cc: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Building pygtk-2.22.0-r1 fails.  Help, please!
Date: Sat, 23 Apr 2011 16:35:44 +0000	[thread overview]
Message-ID: <20110423163544.GA18788@acm.acm> (raw)
In-Reply-To: <201104230043.45952.alan.mckinnon@gmail.com>

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!

> -- 
> alan dot mckinnon at gmail dot com

-- 
Alan Mackenzie (Nuremberg, Germany).



  reply	other threads:[~2011-04-23 16:51 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-22 18:05 [gentoo-user] Building pygtk-2.22.0-r1 fails. Help, please! Alan Mackenzie
2011-04-22 22:34 ` Dale
2011-04-22 22:43 ` Alan McKinnon
2011-04-23 16:35   ` Alan Mackenzie [this message]
2011-04-23 19:46     ` Mick
2011-04-23 20:06       ` Alan Mackenzie
2011-04-24  8:17         ` Mick
2011-04-24 13:25           ` [gentoo-user] Reinstall Gentoo? [Was: Building pygtk-2.22.0-r1 fails. Help, please!] Alan Mackenzie
2011-04-24 15:44             ` Mick
2011-04-24 15:48               ` Mick
2011-04-24 17:17               ` Stroller
2011-04-25 12:11               ` Alan Mackenzie
2011-04-25 14:12                 ` Mick
2011-04-25 15:03                   ` Alan Mackenzie
2011-04-25 15:29                     ` Mark Knecht
2011-04-26 19:43                       ` Alan Mackenzie
2011-04-25 16:00                     ` Mick
2011-04-26 20:05                       ` Alan Mackenzie
2011-04-23 20:21     ` [gentoo-user] Building pygtk-2.22.0-r1 fails. Help, please! Alan McKinnon
2011-04-23 23:58       ` Volker Armin Hemmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110423163544.GA18788@acm.acm \
    --to=acm@muc.de \
    --cc=alan.mckinnon@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox