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

Bug 291524

Summary: pygobject failed: /_gio.so no such file or directory
Product: Gentoo/Alt Reporter: matt <mattmatteh>
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED FIXED    
Severity: normal CC: lil_tux
Priority: High    
Version: unspecified   
Hardware: PPC   
OS: OS X   
Whiteboard:
Package list:
Runtime testing required: ---

Description matt 2009-11-02 05:34:11 UTC
test -z "/Volumes/prefix-ppc-macos-both/usr/lib/python2.6/site-packages" || /Volumes/prefix-ppc-macos-both/bin/mkdir -p "/Volumes/prefix-ppc-macos-both/var/tmp/portage/dev-python/pygobject-2.20.0/image//Volumes/prefix-ppc-macos-both/usr/lib/python2.6/site-packages"
 /Volumes/prefix-ppc-macos-both/usr/bin/install -c -m 644 'pygtk.py' '/Volumes/prefix-ppc-macos-both/var/tmp/portage/dev-python/pygobject-2.20.0/image//Volumes/prefix-ppc-macos-both/usr/lib/python2.6/site-packages/pygtk.py'
/Volumes/prefix-ppc-macos-both/bin/bash /Volumes/prefix-ppc-macos-both/var/tmp/portage/dev-python/pygobject-2.20.0/work/pygobject-2.20.0-2.6/install-sh -d /Volumes/prefix-ppc-macos-both/var/tmp/portage/dev-python/pygobject-2.20.0/image//Volumes/prefix-ppc-macos-both/usr/lib/python2.6/site-packages
echo "gtk-2.0" > /Volumes/prefix-ppc-macos-both/var/tmp/portage/dev-python/pygobject-2.20.0/image//Volumes/prefix-ppc-macos-both/usr/lib/python2.6/site-packages/pygtk.pth
test -z "/Volumes/prefix-ppc-macos-both/usr/lib/pkgconfig" || /Volumes/prefix-ppc-macos-both/bin/mkdir -p "/Volumes/prefix-ppc-macos-both/var/tmp/portage/dev-python/pygobject-2.20.0/image//Volumes/prefix-ppc-macos-both/usr/lib/pkgconfig"
 /Volumes/prefix-ppc-macos-both/usr/bin/install -c -m 644 'pygobject-2.0.pc' '/Volumes/prefix-ppc-macos-both/var/tmp/portage/dev-python/pygobject-2.20.0/image//Volumes/prefix-ppc-macos-both/usr/lib/pkgconfig/pygobject-2.0.pc'
make[2]: Leaving directory `/Volumes/prefix-ppc-macos-both/var/tmp/portage/dev-python/pygobject-2.20.0/work/pygobject-2.20.0-2.6'
make[1]: Leaving directory `/Volumes/prefix-ppc-macos-both/var/tmp/portage/dev-python/pygobject-2.20.0/work/pygobject-2.20.0-2.6'
mv: cannot stat `/Volumes/prefix-ppc-macos-both/var/tmp/portage/dev-python/pygobject-2.20.0/image/Volumes/prefix-ppc-macos-both//usr/lib/python2.6/site-packages/gtk-2.0/gio/_gio.so': No such file or directory
 * ERROR: dev-python/pygobject-2.20.0 failed:
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line   51:  Called call-ebuildshell 'src_install'
 *   environment, line  635:  Called src_install
 *   environment, line 3906:  Called python_execute_function '-s' 'installation'
 *   environment, line 3524:  Called installation
 *   environment, line 3900:  Called die
 * The specific snippet of code:
 *               mv "${ED}"$(python_get_sitedir)/gtk-2.0/gio/_gio.{so,bundle} || die;
 * 


 * QA Notice: Unrecognized configure options:
 * 
 *      configure: WARNING: unrecognized options: --disable-gtk-doc
 *      configure: WARNING: unrecognized options: --disable-gtk-doc





Portage 2.2.00.14771-prefix (prefix/darwin/macos/10.4/ppc, gcc-4.2.1, unavailable, 8.11.0 Power Macintosh)
=================================================================
System uname: Darwin-8.11.0-Power_Macintosh-powerpc-32bit
Timestamp of tree: Mon, 02 Nov 2009 00:25:25 +0000
distcc 2.18.4-Apple.1 powerpc-apple-darwin8.0 (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     4.0_p35
dev-lang/python:     2.6.2-r2
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4-r3
sys-devel/autoconf:  2.63-r01.1
sys-devel/automake:  1.10.2-r00.1, 1.11
sys-devel/gcc-config: 1.4.1-r00.2
sys-devel/libtool:   2.2.6a-r00.2
ACCEPT_KEYWORDS="ppc-macos ~ppc-macos"
CBUILD="powerpc-apple-darwin8"
CFLAGS="-02 -pipe -maltivec -mcpu=G4 -mtune=G4"
CHOST="powerpc-apple-darwin8"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-02 -pipe -maltivec -mcpu=G4 -mtune=G4"
DISTDIR="/Volumes/prefix-ppc-macos-both/usr/portage/distfiles"
FEATURES="assume-digests collision-protect distlocks fixpackages news nostrip parallel-fetch preserve-libs protect-owned sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS=""
LINGUAS="en en_US"
PKGDIR="/Volumes/prefix-ppc-macos-both/usr/portage/packages"
PORTAGE_CONFIGROOT="/Volumes/prefix-ppc-macos-both/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/Volumes/prefix-ppc-macos-both/var/tmp"
PORTDIR="/Volumes/prefix-ppc-macos-both/usr/portage"
PORTDIR_OVERLAY="/Volumes/prefix-ppc-macos-both/usr/local/portage/local /Volumes/prefix-ppc-macos-both/usr/local/portage/mattmatteh-overlay"
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"



[ebuild  N    ] dev-python/pygobject-2.20.0  USE="X -debug -doc -examples -libffi -test" 0 kB
Comment 1 Heiko 2009-11-02 15:59:45 UTC
Matt, you need to file bugs for the component "Prefix Support" to target bugs for prefix!

Anyway, that conditional can be removed from the ebuild, since python was patched to build shared object extensions with .bundle instead of .so, so that mv will likely be failing each and every time.

[ticktock][dev-python] >> find pygobject-2.20.0/image -name \*.so
[ticktock][dev-python] >> find pygobject-2.20.0/image -name \*.bundle
pygobject-2.20.0/image/Gentoo/usr/lib/python2.6/site-packages/gtk-2.0/gio/_gio.bundle
pygobject-2.20.0/image/Gentoo/usr/lib/python2.6/site-packages/gtk-2.0/gio/unix.bundle
pygobject-2.20.0/image/Gentoo/usr/lib/python2.6/site-packages/gtk-2.0/glib/_glib.bundle
pygobject-2.20.0/image/Gentoo/usr/lib/python2.6/site-packages/gtk-2.0/gobject/_gobject.bundle

Removing the offending mv's from the ebuild makes things work properly:

[ticktock][pygobject] >> python
Python 2.6.2 (r262:71600, Oct 19 2009, 20:50:41) 
[GCC 4.2.1 (Apple Inc. build 5574)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import gio
>>> import glib
>>> import gobject
>>> 
Comment 2 Fabian Groffen gentoo-dev 2009-11-02 16:19:42 UTC
fixed, thanks heiko!
Comment 3 matt 2009-11-02 18:21:54 UTC
compiles now, thanks heiko and grobian.