Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 252230 - dev-python/pygobject-2.14.12 error stops build
Summary: dev-python/pygobject-2.14.12 error stops build
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-23 01:05 UTC by Jonathan Hayward
Modified: 2009-01-31 18:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Hayward 2008-12-23 01:05:03 UTC
I'm trying to build gnome on a previously console-based machine, and the build is failing because pygobject-2.14.2 claims it doesn't have Python headers. I have parallel Python 2.4 and 2.5 available (2.4 is presently eselected), and it looks like I'm running into http://bugs.gentoo.org/199488 ... except that this seems to be a different issue: 199488 was breakage from having Python 2.3 still around, and I can't find any evidence on my system of 2.3 being installed. (And the install was made just a couple of months ago by a system administrator who probably isn't into digging up nostalgic software versions for a fresh install.)

I'm not sure if this is or is not a duplicate bug, but I seem to be manifesting the same behavior in the absence of the Python 2.3 which was singled out as the culprit in the previous filed bug.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-python/pygobject-2.14.2/work/pygobject-2.14.2/config.log
 * 
 * ERROR: dev-python/pygobject-2.14.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3003:  Called gnome2_src_compile
 *             environment, line 2228:  Called gnome2_src_configure
 *             environment, line 2242:  Called econf 'src_compile' 'src_compile' '--disable-docs'
 *               ebuild.sh, line  519:  Called die
 * The specific snippet of code:
 *   			die "econf failed"
 *  The die message:
 *   econf failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-python/pygobject-2.14.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/pygobject-2.14.2/temp/environment'.
 * 

Jonathan
http://JonathansCorner.com/
Comment 1 Gilles Dartiguelongue gentoo-dev 2008-12-23 13:32:53 UTC
!!! Please attach the following file when seeking support:
!!!
/var/tmp/portage/dev-python/pygobject-2.14.2/work/pygobject-2.14.2/config.log

having an eselected python doesn't work well with gnome related packages and it is advised in the upgrade guides that avoid having multiple python installations at all unless you really need it and know what you do.
Comment 2 Jonathan Hayward 2008-12-23 16:57:11 UTC
(In reply to comment #1)
> !!! Please attach the following file when seeking support:
> !!!
> /var/tmp/portage/dev-python/pygobject-2.14.2/work/pygobject-2.14.2/config.log
> 
> having an eselected python doesn't work well with gnome related packages and it
> is advised in the upgrade guides that avoid having multiple python
> installations at all unless you really need it and know what you do.
> 

I need Python 2.4 because some of the software I have hasn't worked on Python 2.5 yet.

Is there a safe way to temporarily or permanently undo the eselect (unmerge Python 2.5 and eselect-python) and only run 2.4, or is it messier than that, i.e. if I want Python 2.4 installed, Gnome will be tricky?

(logfile forthcoming; I don't have access to it from here.)
Comment 3 Daniel Gryniewicz (RETIRED) gentoo-dev 2008-12-23 17:29:35 UTC
You can use multiple pythons as long as you always have the latest (2.5 in this case) selected when you emerge gnome apps.  I'm not sure about downgrading.  I suspect it's not well tested, and will probably fail.  It may be worth a shot, however, if there's no other choice.
Comment 4 Gilles Dartiguelongue gentoo-dev 2009-01-28 23:22:38 UTC
still waiting for a log. As dang said though, you may keep multitple pythons but don't expect gnome to work well if you migrated some packages but not all to a specific python version. gnome packages tend to only pack the most recent that it knows about too whatever eselect says.