Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 478678 - gnome-extra/evolution-data-server-3.8.4 - build system is incompatible with python-3.*
Summary: gnome-extra/evolution-data-server-3.8.4 - build system is incompatible with p...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gnome-3.8
  Show dependency tree
 
Reported: 2013-07-29 17:39 UTC by Alexander Tsoy
Modified: 2013-07-29 22:03 UTC (History)
2 users (show)

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


Attachments
build.log (evolution-data-server-3.8.4-build.log,779.92 KB, text/plain)
2013-07-29 17:39 UTC, Alexander Tsoy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Tsoy 2013-07-29 17:39:03 UTC
Created attachment 354540 [details]
build.log

evolution-data-server-3.8.4 is failing on compile phase. Seems that it is incompatible with python 3.2.

Commit that introduced this problem:

http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/gnome-extra/evolution-data-server/evolution-data-server-3.8.4.ebuild?r1=1.2&r2=1.3


From the build log:

(/usr/bin/python3.2 ./gen-western-table.py < e-name-western-tables.h.in > e-name-western-tables.h.tmp && mv e-name-western-tables.h.tmp e-name-western-tables.h) || rm -f e-name-western-tables.h.tmp
glib-mkenums --template ../../enumtypes.h.template \
        --fhead "#ifndef E_BOOK_CONTACTS_ENUMTYPES_H\n#define E_BOOK_CONTACTS_ENUMTYPES_H\n" \
        --ftail "#endif /* E_BOOK_CONTACTS_ENUMTYPES_H */\n" \
        ./e-book-contacts-types.h > e-book-contacts-enumtypes.h
  File "./gen-western-table.py", line 26
    print "static const gchar %s_table[] = {" % var
                                            ^
SyntaxError: invalid syntax



As a result, header file e-name-western-tables.h is not created.

This patch fixed the problem for me:

--- evolution-data-server-3.8.4.ebuild	2013-07-29 21:21:13.321574329 +0400
+++ /usr/portage/gnome-extra/evolution-data-server/evolution-data-server-3.8.4.ebuild	2013-07-29 21:21:20.567548924 +0400
@@ -4,7 +4,7 @@
 
 EAPI="5"
 GCONF_DEBUG="no"
-PYTHON_COMPAT=( python{2_7,3_2,3_3} pypy{1_9,2_0})
+PYTHON_COMPAT=( python{2_7,3_3} pypy{1_9,2_0})
 VALA_MIN_API_VERSION="0.18"
 VALA_USE_DEPEND="vapigen"
Comment 1 Pacho Ramos gentoo-dev 2013-07-29 20:34:38 UTC
+  29 Jul 2013; Pacho Ramos <pacho@gentoo.org>
+  -evolution-data-server-3.8.3.ebuild:
+  Really fix python deps, drop old
+
Comment 2 Alexander Tsoy 2013-07-29 21:34:38 UTC
I don't see any changes to ebuild in cvs. :)
Comment 3 Pacho Ramos gentoo-dev 2013-07-29 22:03:31 UTC
Just committed right ebuild, I start to be a bit saturated sorry -_-