[Webkit-unassigned] [Bug 127128] New: Building unstable release 2.3.4 fails using python3

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 16 12:01:23 PST 2014


https://bugs.webkit.org/show_bug.cgi?id=127128

           Summary: Building unstable release 2.3.4 fails using python3
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: marcel.tiede at yahoo.de


Trying to build the current unstable release 2.3.4 under Archlinux fails. Archlinux is using python3 as "/usr/bin/python".

---
File "./Source/JavaScriptCore/inspector/scripts/jsmin.py", line 33, in <module>
    from StringIO import StringIO
ImportError: No module named 'StringIO'
---

As I'm not a python developer I tried fixing this by simply loading the python3 Module io for StringIO, what revealed the next error:

---
 File "./Source/JavaScriptCore/inspector/scripts/generate-combined-inspector-json.py", line 32
    print "usage: %s [json files or directory of json files ...]" % os.path.basename(sys.argv[0])
                                                                ^
SyntaxError: invalid syntax
---

Using parentheses for all print commands in the file "generate-combined-inspector-json.py" fixed the compilation issue.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list