[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [kdev-python] [Bug 335818] New: Fails to build if system default python version is not 2.7
From:       Felix Tiede <info () pc-tiede ! de>
Date:       2014-06-05 5:19:15
Message-ID: bug-335818-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=335818

            Bug ID: 335818
           Summary: Fails to build if system default python version is not
                    2.7
    Classification: Unclassified
           Product: kdev-python
           Version: git master
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: svenbrauch@googlemail.com
          Reporter: info@pc-tiede.de
                CC: svenbrauch@googlemail.com

According to the reviewboard
(https://git.reviewboard.kde.org/r/114157/diff/2-3/?expand=1) in commit
10a3752b08bfd3b976e1b the file python-src/Parser/asdl_c.py was changed and now
omits the python interpreter version using the system's default.

Since my system uses python-3.3 as default interpreter this file causes a
syntax error during build phase.

Changing system default python version to 2.7 leads to a clean build.

Reproducible: Always

Steps to Reproduce:
1. Install python-3.3 and python-2.7 in parallel
2. Set system default python version to python-3.3
3. Build kdev-python
Actual Results:  
Following is an excerpt from the build output showing the build error if
system's default python version is 3.3 instead of 2.7. The build is aborted
after these lines.

creating Makefile
make[4]: warning: jobserver unavailable: using -j1.  Add `+' to parent make
rule.
File
"/var/tmp/portage/dev-util/kdevelop-python-4.9999/work/kdevelop-python-4.9999/python-src/Parser/asdl_c.py",
 line 1210
    print "Must specify exactly one output file"
                                               ^
SyntaxError: invalid syntax

Expected Results:  
A build with warnings but no errors.

I think reverting the change introduced into python-src/Parser/asdl_c.py in
commit 10a3752b08bfd3b976e1b should fix this.

-- 
You are receiving this mail because:
You are watching all bug changes.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic