Summary: | stabilize : media-sound/jack-3.1.1-r1 to fix current stable jack-3.1.1 - src_install(): SyntaxError: ('invalid syntax', ('/usr/lib64/python2.7/site-packages/jack_functions.py', 222, 25, 'def starts_with(str, with):n')) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Iftikhar Rathore <iftikhar.rathore> |
Component: | Current packages | Assignee: | Gentoo Sound Team <sound> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | bkohler, zerochaos |
Priority: | Normal | Keywords: | STABLEREQ |
Version: | 10.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
3.1.1-r1 fixes this (as of 17 Jun 2010!), let's get it stabilized amd64 stable x86 stable ppc stable ppc64 stable sparc stable. Last arch, closing |
While emerging jack-3.1.1 this error is outpput (It proceeds with install though. I think the cause is that "with" is a pythin keyword. (proposed fix in the end) >>> Installing (1 of 1) media-sound/jack-3.1.1 * Compilation and optimization of Python modules for CPython 2.7 ... [ !! ] * SyntaxError: ('invalid syntax', ('/usr/lib64/python2.7/site-packages/jack_functions.py', 222, 25, 'def starts_with(str, with):n')) * Messages for package media-sound/jack-3.1.1: * Syntax errors / warnings in Python modules for CPython 2.7: * SyntaxError: ('invalid syntax', ('/usr/lib64/python2.7/site-packages/jack_functions.py', 222, 25, 'def starts_with(str, with):n')) Possible fix: Replace "with" with "_with" at /usr/lib64/python2.7/site-packages/jack_functions.py line 222 def starts_with(str, _with): "checks whether str starts with with" return str[0:len(_with)] == _with