[Webkit-unassigned] [Bug 202790] New: update-webkitgtk-libs fails to run in Fedora 31

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 10 03:14:11 PDT 2019


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

            Bug ID: 202790
           Summary: update-webkitgtk-libs fails to run in Fedora 31
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: emilio at crisal.io
                CC: bugs-noreply at webkitgtk.org

Errors like:

./Tools/Scripts/update-webkitgtk-libs                                                                                                                                                                                     
Updating GTK+ port dependencies using jhbuild...
Traceback (most recent call last):
  File "./jhbuild-wrapper", line 21, in <module>
    import jhbuildutils
  File "/home/emilio/src/WebKit/Tools/jhbuild/jhbuildutils.py", line 5, in <module>
    import __builtin__
ModuleNotFoundError: No module named '__builtin__'
Failed to build GTK+ port dependencies with jhbuild
Died at ./Tools/Scripts/update-webkitgtk-libs line 25

This patch fixes it:

diff --git a/Tools/jhbuild/jhbuild-wrapper b/Tools/jhbuild/jhbuild-wrapper
index ed1be88191b..02616db4ce1 100755
--- a/Tools/jhbuild/jhbuild-wrapper
+++ b/Tools/jhbuild/jhbuild-wrapper
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 # Copyright (C) 2011 Igalia S.L.
 # Copyright (C) 2012 Gustavo Noronha Silva <gns at gnome.org>
 # Copyright (C) 2012 Intel Corporation

But not sure if it's acceptable.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20191010/85f957e1/attachment-0001.html>


More information about the webkit-unassigned mailing list