This code does not compile with python3.1 enabled as systems default python version. There's a failing pint statement w/o (). Quick fix, feel free to solve this on a bigger scale. --- libwnck-2.30.0.ebuild.old 2010-06-03 17:17:51.000000000 +0000 +++ libwnck-2.30.0.ebuild 2010-06-03 17:19:59.000000000 +0000 @@ -2,10 +2,11 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ -EAPI="2" +EAPI=2 GCONF_DEBUG="no" +PYTHON_DEPEND="2" -inherit autotools gnome2 eutils +inherit autotools gnome2 eutils python DESCRIPTION="A window navigation construction kit" HOMEPAGE="http://www.gnome.org/" @@ -16,19 +17,19 @@ IUSE="doc introspection startup-notification" RDEPEND=">=x11-libs/gtk+-2.19.7 - >=dev-libs/glib-2.16.0 + dev-libs/glib:2 x11-libs/libX11 x11-libs/libXres x11-libs/libXext - startup-notification? ( >=x11-libs/startup-notification-0.4 ) + startup-notification? ( x11-libs/startup-notification ) introspection? ( dev-libs/gobject-introspection )" DEPEND="${RDEPEND} sys-devel/gettext - >=dev-util/pkgconfig-0.9 - >=dev-util/intltool-0.40 + dev-util/pkgconfig + dev-util/intltool dev-util/gtk-doc-am gnome-base/gnome-common - doc? ( >=dev-util/gtk-doc-1.9 ) + doc? ( dev-util/gtk-doc ) x86-interix? ( sys-libs/itx-bind )" @@ -40,6 +41,7 @@ --disable-static $(use_enable startup-notification) $(use_enable introspection)" + python_set_active_version 2 } src_prepare() {
Must have been updated, installs fine here; eselect python list && emerge -pv x11-libs/libwnck Available Python interpreters: [1] python2.6 [2] python3.1 * These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] x11-libs/libwnck-2.30.0 USE="doc startup-notification (-introspection)" 0 kB [1] Total: 1 package (1 reinstall), Size of downloads: 0 kB Portage tree and overlays: [0] /usr/portage [1] /usr/local/portage/layman/gnome
David, thanks for the report, you're right with USE -introspection (works here, too). I've +introspection which is needed to get gnome-shell > 2.29 working, and reproduced the error.
can be resolved by a correct shebang in g-ir-scanner ( http://bugs.gentoo.org/show_bug.cgi?id=312183#c4 ).