[MacPorts] #37190: install issue in py27-webkitgtk
#37190: install issue in py27-webkitgtk ----------------------------------+-------------------------------- Reporter: guillaume.bonfante@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: ----------------------------------+-------------------------------- I'm working with OS X 10.6, When installing py27-webkitgtk +universal, I got the message: :info:build In file included from /opt/local/include/webkitgtk-1.0/webkit/webkitdom.h:135, :info:build from /opt/local/include/webkitgtk-1.0/webkit/webkit.h:27, :info:build from ./webkit/webkit.override:29: :info:build /opt/local/include/webkitgtk-1.0/webkit/WebKitDOMNavigator.h:81: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token After I removed the two comments at lines 81 and 133 in /opt/local/include/webkitgtk-1.0/webkit/WebKitDOMNavigator.h the installation ended smoothly. All right. ************************************* After the complete installation, I tried #!/usr/bin/env python import gtk import webkit which does not work: emma:$ python Python 2.7.3 (default, Nov 30 2012, 14:00:47) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits" or "license" for more information.
import gtk Xlib: extension "RANDR" missing on display "/tmp/launch-IVuuun/org.x:0". import webkit Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/webkit/__init__.py", line 21, in <module> import webkit ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/webkit/webkit.so, 2): Symbol not found: _aglGetCurrentContext Referenced from: /opt/local/lib/libwebkitgtk-1.0.0.dylib Expected in: flat namespace in /opt/local/lib/libwebkitgtk-1.0.0.dylib
Any idea? -- Ticket URL: <https://trac.macports.org/ticket/37190> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37190: install issue in py27-webkitgtk -----------------------------------+---------------------- Reporter: guillaume.bonfante@… | Owner: elelay@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: py27-webkitgtk | -----------------------------------+---------------------- Changes (by jmr@…): * cc: nodamage@… (added) * owner: macports-tickets@… => elelay@… * port: => py27-webkitgtk Comment: Please remember to fill in the Port field and Cc the maintainers. -- Ticket URL: <https://trac.macports.org/ticket/37190#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37190: install issue in py27-webkitgtk -----------------------------------+---------------------- Reporter: guillaume.bonfante@… | Owner: elelay@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: py27-webkitgtk | -----------------------------------+---------------------- Description changed by ryandesign@…: Old description:
I'm working with OS X 10.6, When installing py27-webkitgtk +universal, I got the message:
:info:build In file included from /opt/local/include/webkitgtk-1.0/webkit/webkitdom.h:135, :info:build from /opt/local/include/webkitgtk-1.0/webkit/webkit.h:27, :info:build from ./webkit/webkit.override:29: :info:build /opt/local/include/webkitgtk-1.0/webkit/WebKitDOMNavigator.h:81: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
After I removed the two comments at lines 81 and 133 in /opt/local/include/webkitgtk-1.0/webkit/WebKitDOMNavigator.h the installation ended smoothly. All right. ************************************* After the complete installation, I tried
#!/usr/bin/env python import gtk import webkit
which does not work:
emma:$ python Python 2.7.3 (default, Nov 30 2012, 14:00:47) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits" or "license" for more information.
import gtk Xlib: extension "RANDR" missing on display "/tmp/launch-IVuuun/org.x:0". import webkit Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/webkit/__init__.py", line 21, in <module> import webkit ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/webkit/webkit.so, 2): Symbol not found: _aglGetCurrentContext Referenced from: /opt/local/lib/libwebkitgtk-1.0.0.dylib Expected in: flat namespace in /opt/local/lib/libwebkitgtk-1.0.0.dylib
Any idea?
New description: I'm working with OS X 10.6, When installing py27-webkitgtk +universal, I got the message: {{{ :info:build In file included from /opt/local/include/webkitgtk-1.0/webkit/webkitdom.h:135, :info:build from /opt/local/include/webkitgtk-1.0/webkit/webkit.h:27, :info:build from ./webkit/webkit.override:29: :info:build /opt/local/include/webkitgtk-1.0/webkit/WebKitDOMNavigator.h:81: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token }}} After I removed the two comments at lines 81 and 133 in /opt/local/include/webkitgtk-1.0/webkit/WebKitDOMNavigator.h the installation ended smoothly. All right. ---------- After the complete installation, I tried {{{ #!/usr/bin/env python import gtk import webkit }}} which does not work: {{{ emma:$ python Python 2.7.3 (default, Nov 30 2012, 14:00:47) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits" or "license" for more information.
import gtk Xlib: extension "RANDR" missing on display "/tmp/launch-IVuuun/org.x:0". import webkit Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/webkit/__init__.py", line 21, in <module> import webkit ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/webkit/webkit.so, 2): Symbol not found: _aglGetCurrentContext Referenced from: /opt/local/lib/libwebkitgtk-1.0.0.dylib Expected in: flat namespace in /opt/local/lib/libwebkitgtk-1.0.0.dylib }}}
Any idea? -- -- Ticket URL: <https://trac.macports.org/ticket/37190#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37190: install issue in py27-webkitgtk -----------------------------------+---------------------- Reporter: guillaume.bonfante@… | Owner: elelay@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: py27-webkitgtk | -----------------------------------+---------------------- Comment (by elelay@…): I can reproduce the problem but I have no idea. I'd like to build from source both packages to see if it may be related to a mix of binary packages. Help is welcome :-) -- Ticket URL: <https://trac.macports.org/ticket/37190#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37190: install issue in py27-webkitgtk -----------------------------------+---------------------- Reporter: guillaume.bonfante@… | Owner: elelay@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: py27-webkitgtk | -----------------------------------+---------------------- Comment (by russell.jones@…): I'm getting a build failure on 10.8 with +universal and -universal (see attached log). I also tried setting configure.compiler=llvm-gcc-4.2 and a few others using the list at https://trac.macports.org/wiki/UsingTheRightCompiler , but none worked. Using some, e.g. macports-gcc-4.6 , the build stopped during the configure script with a message that no working compiler was available. -- Ticket URL: <https://trac.macports.org/ticket/37190#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37190: install issue in py27-webkitgtk -----------------------------------+---------------------- Reporter: guillaume.bonfante@… | Owner: elelay@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: py27-webkitgtk | -----------------------------------+---------------------- Comment (by russell.jones@…): ... even though the binary mentioned in the line before existed and ran from the terminal. -- Ticket URL: <https://trac.macports.org/ticket/37190#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37190: install issue in py27-webkitgtk -----------------------------------+---------------------- Reporter: guillaume.bonfante@… | Owner: elelay@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: py27-webkitgtk | -----------------------------------+---------------------- Comment (by guillaume.bonfante@…): Replying to [comment:6 russell.jones@…]:
... even though the binary mentioned in the line before existed and ran from the terminal.
You may try to remove the two comments /* ! __LP64__ */ at line 80 and 132. I managed to complete the installation that way. -- Ticket URL: <https://trac.macports.org/ticket/37190#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37190: install issue in py27-webkitgtk -----------------------------------+------------------------ Reporter: guillaume.bonfante@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: py27-webkitgtk | -----------------------------------+------------------------ Changes (by elelay@…): * owner: elelay@… => jeremyhu@… Comment: The _aglGetCurrentContext error is due to wrong includes in webkit-gtk itself. To convince oneself, one can try to run midori and will get the same error. Attached is a patch to fix that: use the X11 OpenGL backend instead of the native one. This adds the side effect that Macports *xorg-server* must be used, not Apple's bundled one. Reassigning to Jeremy. -- Ticket URL: <https://trac.macports.org/ticket/37190#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#37190: install issue in py27-webkitgtk -----------------------------------+------------------------ Reporter: guillaume.bonfante@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: webkit-gtk | -----------------------------------+------------------------ Changes (by elelay@…): * port: py27-webkitgtk => webkit-gtk -- Ticket URL: <https://trac.macports.org/ticket/37190#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#37190: install issue in py27-webkitgtk -----------------------------------+------------------------ Reporter: guillaume.bonfante@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: webkit-gtk | -----------------------------------+------------------------ Comment (by jeremyhu@…): Replying to [comment:8 elelay@…]:
This adds the side effect that Macports *xorg-server* must be used, not Apple's bundled one.
Why would you say that? -- Ticket URL: <https://trac.macports.org/ticket/37190#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#37190: install issue in py27-webkitgtk -----------------------------------+------------------------ Reporter: guillaume.bonfante@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: webkit-gtk | -----------------------------------+------------------------ Comment (by jeremyhu@…): And can you attach x11-dont-use-native-opengl.patch as well please? -- Ticket URL: <https://trac.macports.org/ticket/37190#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#37190: install issue in py27-webkitgtk -----------------------------------+------------------------ Reporter: guillaume.bonfante@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: webkit-gtk | -----------------------------------+------------------------ Changes (by jeremyhu@…): * cc: elelay@… (added) -- Ticket URL: <https://trac.macports.org/ticket/37190#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
#37190: install issue in py27-webkitgtk -----------------------------------+------------------------ Reporter: guillaume.bonfante@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: webkit-gtk | -----------------------------------+------------------------ Comment (by elelay@…): yes, sorry ! -- Ticket URL: <https://trac.macports.org/ticket/37190#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X
#37190: install issue in py27-webkitgtk -----------------------------------+------------------------ Reporter: guillaume.bonfante@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: webkit-gtk | -----------------------------------+------------------------ Comment (by elelay@…): Replying to [comment:10 jeremyhu@…]:
Replying to [comment:8 elelay@…]:
This adds the side effect that Macports *xorg-server* must be used, not Apple's bundled one.
Why would you say that?
I got crashes at startup when running GtkLauncher after building webkit- gtk with the patch (it was opening the Apple's X11). When I run the macport's xorg-server and opened an xterm and run GtkLauncher from there, I didn't get the crash (and I could browse to a few sites with no issue). I can get you the crash logs if you want ? -- Ticket URL: <https://trac.macports.org/ticket/37190#comment:14> MacPorts <http://www.macports.org/> Ports system for OS X
#37190: install issue in py27-webkitgtk -----------------------------------+------------------------ Reporter: guillaume.bonfante@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: webkit-gtk | -----------------------------------+------------------------ Comment (by jeremyhu@…): Yes, please send me the crash logs. That probably indicates a bug in the other X11.app. I don't know if there will be a delivery vehicle for a fix, but I would like to satisfy my curiosity. -- Ticket URL: <https://trac.macports.org/ticket/37190#comment:15> MacPorts <http://www.macports.org/> Ports system for OS X
#37190: install issue in py27-webkitgtk -----------------------------------+------------------------ Reporter: guillaume.bonfante@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: webkit-gtk | -----------------------------------+------------------------ Comment (by jeremyhu@…): https://bugs.webkit.org/show_bug.cgi?id=112500 -- Ticket URL: <https://trac.macports.org/ticket/37190#comment:16> MacPorts <http://www.macports.org/> Ports system for OS X
#37190: install issue in py27-webkitgtk -----------------------------------+------------------------ Reporter: guillaume.bonfante@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: webkit-gtk | -----------------------------------+------------------------ Comment (by elelay@…): I hope you can make sense of it. I've done the same thing in midori run from terminal in macport's x11, getting no crash -- Ticket URL: <https://trac.macports.org/ticket/37190#comment:17> MacPorts <http://www.macports.org/> Ports system for OS X
#37190: install issue in py27-webkitgtk -----------------------------------+------------------------ Reporter: guillaume.bonfante@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: webkit-gtk | -----------------------------------+------------------------ Comment (by jeremyhu@…): Sorry for not responding sooner. The hunk in question isn't present in 2.0.4. Is this still an issue with webkit-gtk-2.0.4? -- Ticket URL: <https://trac.macports.org/ticket/37190#comment:18> MacPorts <http://www.macports.org/> Ports system for OS X
#37190: install issue in py27-webkitgtk -----------------------------------+------------------------ Reporter: guillaume.bonfante@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: webkit-gtk | -----------------------------------+------------------------ Changes (by jeremyhu@…): * status: new => closed * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/37190#comment:19> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts