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

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)

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.

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


-- 
alan dot mckinnon at gmail dot com



  parent reply	other threads:[~2011-04-22 22:46 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 [this message]
2011-04-23 16:35   ` Alan Mackenzie
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=201104230043.45952.alan.mckinnon@gmail.com \
    --to=alan.mckinnon@gmail.com \
    --cc=acm@muc.de \
    --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