Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 474034 - media-gfx/comix-4.0.3 with python3 - src_install(): File "install.py", line 177 / / print __doc__ / / SyntaxError: invalid syntax
Summary: media-gfx/comix-4.0.3 with python3 - src_install(): File "install.py", line 1...
Status: RESOLVED DUPLICATE of bug 363765
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-21 11:43 UTC by Alexander Giochalas
Modified: 2013-06-21 13:15 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 Alexander Giochalas 2013-06-21 11:43:10 UTC
I tried to install media-gfx/comix-4.0.3, but the installation failed.

The relevant message was:

 * ERROR: media-gfx/comix-4.0.3 failed (install phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  93:  Called src_install
 *   environment, line 3196:  Called die
 * The specific snippet of code:
 *       python install.py install --no-mime --dir "${D}"usr || die;
 * 

I found the problem and with a temp fix managed to install it.

The problem was that he installation script had some Python 2.7 print statements without parentheses, but my system (a fresh install, still being ironed out) pointed by default to Python 3.2.
By making the /usr/bin/python link to point to python2.7 the install went OK.

Trying to run comix, I found out that comix itself needs Python 2.7, else it fails with a message about wrong GTK+ and PyGTK versions, so I also changed
its hashbang line.

Sorry if this has already been reported/ fixed or if it has to do with my system (which is nevertheless a fresh install).
In such a case please direct me to correct line of actions.

Thanks,
Alexander
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-06-21 13:13:12 UTC
(In reply to Alexander Giochalas from comment #0)
> I tried to install media-gfx/comix-4.0.3, but the installation failed.
> 
> The relevant message was:

No, that wasn't the relevant message.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-06-21 13:15:38 UTC

*** This bug has been marked as a duplicate of bug 363765 ***