Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 234500

Summary: dev-python/pygtkglext*: The emake fails with the die message "emake failed"
Product: Gentoo Linux Reporter: Joshua Cooley <jewisharific>
Component: [OLD] DevelopmentAssignee: Python Gentoo Team <python>
Status: RESOLVED INVALID    
Severity: normal CC: gnome
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Joshua Cooley 2008-08-11 20:07:49 UTC
The following is displayed during the make:

make[3]: Entering directory `/var/tmp/portage/dev-python/pygtkglext-1.0.1-r1/work/pygtkglext-1.0.1/gtk/gdkgl'
(cd . \
	 && /usr/bin/pygtk-codegen-2.0 \
	    --register /usr/share/pygtk/2.0/defs/pango-types.defs \
	    --register /usr/share/pygtk/2.0/defs/atk-types.defs \
	    --register /usr/share/pygtk/2.0/defs/gdk-types.defs \
	    --register /usr/share/pygtk/2.0/defs/gtk-types.defs \
	    --override gdkglext.override \
	    --prefix pygdkglext gdkglext.defs) > xgen-pygc \
	&& cp xgen-pygc gdkglext.c \
	&& rm -f xgen-pygc
/usr/bin/pygtk-codegen-2.0: line 11: /usr/local/bin/python: No such file or directory


Reproducible: Always

Steps to Reproduce:
emerge dev-python/pygtklext
Actual Results:  
Emerge exits with the following:

 * Messages for package dev-python/pygtkglext-1.0.1-r1:

 * 
 * ERROR: dev-python/pygtkglext-1.0.1-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2289:  Called die
 * The specific snippet of code:
 *           emake || die "emake failed";
 *  The die message:
 *   emake 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/pygtkglext-1.0.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/pygtkglext-1.0.1-r1/temp/environment'.
 * 


Expected Results:  
The package should merge successfully.

Creating a symbolic link from /usr/bin/python to /usr/local/bin/python solved this problem for me.
Comment 1 Ali Polatel (RETIRED) gentoo-dev 2008-08-19 10:16:42 UTC
pygtkglext-1.1.0 works fine here, can you please check that version?
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-02-22 17:56:06 UTC
Given this line:

/usr/bin/pygtk-codegen-2.0: line 11: /usr/local/bin/python: No such file or
directory

I believe you did something wrong with your system like installing something by hand to /usr/local. Please clean that up as we can't support this stuff. Also a full build.log and emerge --info might be useful so please don't skip adding them to the bug.
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-02-28 13:48:36 UTC
given comment #1 and #2, closing invalid. Please reopen if after applying what's suggested in comment #2 doesn't fix your problem.