[MacPorts] #35522: webkit-gtk 1.6.3_4 +quartz can't find X11
#35522: webkit-gtk 1.6.3_4 +quartz can't find X11 -----------------------------+---------------------------------------------- Reporter: dansbox@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: webkit-gtk -----------------------------+---------------------------------------------- Getting a build failure in webkit-gtk 1.6.3_4. It can't find X11 headers. {{{ :info:build ./Source/WebCore/plugins/npapi.h:93:22: error: X11/Xlib.h: No such file or directory :info:build ./Source/WebCore/plugins/npapi.h:94:23: error: X11/Xutil.h: No such file or directory }}} This is in Mountain Lion (10.8.0). I'm trying to build gnucash for Quartz, which requires the +quartz option here, along with +quartz and +no_x11 in some of the dependencies (e.g., gtk2 @2.24.10_2+no_x11+quartz). -- Ticket URL: <https://trac.macports.org/ticket/35522> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35522: webkit-gtk 1.6.3_4 +quartz can't find X11 -----------------------------+---------------------------------------------- Reporter: dansbox@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: mountainlion | Port: webkit-gtk -----------------------------+---------------------------------------------- Changes (by ryandesign@…): * keywords: => mountainlion * owner: macports-tickets@… => devans@… -- Ticket URL: <https://trac.macports.org/ticket/35522#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35522: webkit-gtk 1.6.3_4 +quartz can't find X11 -----------------------------+---------------------------------------------- Reporter: dansbox@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: mountainlion | Port: webkit-gtk -----------------------------+---------------------------------------------- Comment(by dansbox@…): To reproduce: `sudo port uninstall installed`[[BR]] (modify variants.conf to include `+no_x11 -x11 +quartz`)[[BR]] `sudo port install webkit-gtk`[[BR]] (dependencies all build, webkit-gtk fails, as reported) Workaround: `sudo port uninstall webkit-gtk`[[BR]] `sudo port install xorg-libX11`[[BR]] `sudo port install webkit-gtk` xorg-libX11 has a bunch of small dependencies; somewhere in there, the missing header file is made available. Presumably, this dependency does not exist at runtime, and this is just to make the compiler happy (pending a bug fix). Can't be completely sure, though... -- Ticket URL: <https://trac.macports.org/ticket/35522#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35522: webkit-gtk 1.6.3_4 +quartz can't find X11 -----------------------------+---------------------------------------------- Reporter: dansbox@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: mountainlion | Port: webkit-gtk -----------------------------+---------------------------------------------- Comment(by ludwig@…): As of webkit-gtk @1.8.2_0+quartz, the missing headers are: `:info:build Source/WebCore/plugins/gtk/PluginViewGtk.cpp:80:30: error: cairo/cairo-xlib.h: No such file or directory` `:info:build Source/WebCore/plugins/gtk/PluginViewGtk.cpp:81:22: error: gdk/gdkx.h: No such file or directory` This is on 10.6.8. -- Ticket URL: <https://trac.macports.org/ticket/35522#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35522: webkit-gtk +quartz can't find X11 -----------------------------+---------------------------------------------- Reporter: dansbox@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: mountainlion | Port: webkit-gtk -----------------------------+---------------------------------------------- Changes (by ryandesign@…): * cc: dstrubbe@…, jeremyhu@…, ludwig@… (added) Comment: Has duplicate #35756. -- Ticket URL: <https://trac.macports.org/ticket/35522#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35522: webkit-gtk +quartz can't find X11 -----------------------------+---------------------------------------------- Reporter: dansbox@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: mountainlion | Port: webkit-gtk -----------------------------+---------------------------------------------- Comment(by dstrubbe@…): After the update to webkit-gtk @1.8.2_2+quartz+video today, I am able to build successfully. -- Ticket URL: <https://trac.macports.org/ticket/35522#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35522: webkit-gtk +quartz can't find X11 -----------------------------+---------------------------------------------- Reporter: dansbox@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: mountainlion | Port: webkit-gtk -----------------------------+---------------------------------------------- Comment(by royliu@…): How about not building the Netscape plugin (which eventually includes X11 headers) if `+quartz` is given? See the attached patch. -- Ticket URL: <https://trac.macports.org/ticket/35522#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35522: webkit-gtk +quartz can't find X11 -----------------------------+---------------------------------------------- Reporter: dansbox@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: mountainlion | Port: webkit-gtk -----------------------------+---------------------------------------------- Comment(by royliu@…): Never mind, my patch doesn't solve the problem. The X11 headers are still being required; however, disabling the Netscape plugin does prevent the `.cpp` bodies from being compiled. -- Ticket URL: <https://trac.macports.org/ticket/35522#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35522: webkit-gtk +quartz can't find X11 ------------------------------+--------------------------------------------- Reporter: dansbox@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: mountainlion Port: webkit-gtk | ------------------------------+--------------------------------------------- Changes (by jeremyhu@…): * status: new => closed * resolution: => fixed Comment: Closing based on the comment from 3 weeks ago. -- Ticket URL: <https://trac.macports.org/ticket/35522#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35522: webkit-gtk +quartz can't find X11 -------------------------+-------------------------- Reporter: dansbox@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: mountainlion Port: webkit-gtk | -------------------------+-------------------------- Changes (by dstrubbe@…): * cc: dstrubbe@… (removed) * cc: dstrubbe@… (added) -- Ticket URL: <https://trac.macports.org/ticket/35522#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts