Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 322845 - [gnome-overlay] dev-libs/gir-repository fails to compile with python 3
Summary: [gnome-overlay] dev-libs/gir-repository fails to compile with python 3
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 313471
  Show dependency tree
 
Reported: 2010-06-05 13:04 UTC by Michael Weber (RETIRED)
Modified: 2011-01-18 13:06 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 Michael Weber (RETIRED) gentoo-dev 2010-06-05 13:04:41 UTC
libtool: compile:  i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -O2 -march=pentium4 -pipe -MT libgirepo_Gtk_custom_la-Gtk-custom.lo -MD -MP -MF .deps/libgirepo_Gtk_custom_la-Gtk-custom.Tpo -c ./Gtk-custom.c  -fPIC -DPIC -o .libs/libgirepo_Gtk_custom_la-Gtk-custom.o
mv -f .deps/libgirepo_Gdk_custom_la-Gdk-custom.Tpo .deps/libgirepo_Gdk_custom_la-Gdk-custom.Plo
/usr/bin/g-ir-scanner -v --namespace GnomeKeyring --nsversion=2.0 \
            --add-include-path=. --add-include-path=. \
            --include=GObject-2.0 \
            --library=gnome-keyring \
            --libtool="/bin/sh ../libtool" \
            --output GnomeKeyring-2.0.gir \
            --pkg gnome-keyring-1 \
            `pkg-config --variable=includedir gnome-keyring-1`/gnome-keyring-1/*.h
Traceback (most recent call last):
  File "/usr/bin/g-ir-scanner", line 36, in <module>
    from giscanner.scannermain import scanner_main
  File "/usr/lib/gobject-introspection/giscanner/scannermain.py", line 328
    except InvalidAnnotationError, e:
                                 ^
SyntaxError: invalid syntax



--- ../../../gnome/dev-libs/gir-repository/gir-repository-0.6.5.ebuild  2010-06-02 16:17:06.000000000 +0000
+++ gir-repository-0.6.5-r1.ebuild      2010-06-05 14:59:07.000000000 +0000
@@ -5,8 +5,9 @@
 EAPI="2"
 
 GCONF_DEBUG="no"
+PYTHON_DEPEND="2"
 
-inherit autotools eutils gnome2
+inherit autotools eutils gnome2 python
 
 DESCRIPTION="Gobject-Introspection file Repository"
 HOMEPAGE="http://live.gnome.org/GObjectIntrospection/"
@@ -84,6 +85,8 @@
        _auto_dep gtk atk
        _auto_dep gtk pango
        _auto_dep webkit libsoup soup
+
+       python_set_active_version 2
 }
 
 src_prepare() {

added to http://svn.xmw.de/websvn/gentoo-overlay/
Comment 1 Nirbheek Chauhan (RETIRED) gentoo-dev 2011-01-18 13:06:12 UTC
gir-repository is not supposed to be used by anyone.