[MacPorts] #29063: gtk3 3.05 configure error quartz
#29063: gtk3 3.05 configure error quartz -----------------------------------+---------------------------------------- Reporter: Tom.Schoonjans@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: gtk3 -----------------------------------+---------------------------------------- Hi, I get an error during the configure stage when installing gtk3 with +no_x11 and +quartz variants From the logfile: {{{ :info:configure checking whether build environment is sane... yes :info:configure checking for pkg-config... /opt/local/bin/pkg-config :info:configure checking pkg-config is at least version 0.9.0... yes :info:configure checking for BASE_DEPENDENCIES... yes :info:configure checking for CAIRO_BACKEND... no :info:configure configure: error: Package requirements ( cairo-xlib) were not met: :info:configure :info:configure No package 'cairo-xlib' found :info:configure :info:configure Consider adjusting the PKG_CONFIG_PATH environment variable if you :info:configure installed software in a non-standard prefix.:info:configure:info:configure Alternatively, you may set the environment variables CAIRO_BACKEND_CFLAGS :info:configure and CAIRO_BACKEND_LIBS to avoid the need to call pkg- config.:info:configure See the pkg-config man page for more details. :info:configure shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.ma cports.org_release_ports_gnome_gtk3/work/gtk+-3.0.5" && ./configure --prefix=/opt/local --enable-static -- disable-glibtest --disable-introspection gio_can_sniff=yes --with- gdktarget=quartz " returned error 1 :error:configure Target org.macports.configure returned: configure failure: shell command failed (see log for details) }}} I have all the dependencies installed properly, as I was using the same variant with gtk2 -- Ticket URL: <https://trac.macports.org/ticket/29063> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29063: gtk3 3.05 configure error quartz -----------------------------------+---------------------------------------- Reporter: Tom.Schoonjans@… | Owner: singingwolfboy@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: gtk3 -----------------------------------+---------------------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => singingwolfboy@… -- Ticket URL: <https://trac.macports.org/ticket/29063#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29063: gtk3 3.05 configure error quartz -----------------------------------+---------------------------------------- Reporter: Tom.Schoonjans@… | Owner: singingwolfboy@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: gtk3 -----------------------------------+---------------------------------------- Comment(by hsivank@…): Should be fixed with this patch ... Braden, could you test ? -- Ticket URL: <https://trac.macports.org/ticket/29063#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29063: gtk3 3.05 configure error quartz -----------------------------------+---------------------------------------- Reporter: Tom.Schoonjans@… | Owner: singingwolfboy@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: gtk3 -----------------------------------+---------------------------------------- Comment(by hsivank@…): Tom.Schoonjans, could you test ? -- Ticket URL: <https://trac.macports.org/ticket/29063#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29063: gtk3 3.05 configure error quartz -----------------------------------+---------------------------------------- Reporter: Tom.Schoonjans@… | Owner: singingwolfboy@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: gtk3 -----------------------------------+---------------------------------------- Comment(by Tom.Schoonjans@…): Hey, With this patch the package compiles fine... BUT it doesn't work when running a program that is linked against these libraries. I get the following error at runtime: {{{ dyld: lazy symbol binding failed: Symbol not found: _GDK_IS_QUARTZ_SCREEN Referenced from: /opt/local/lib/libgtk-3.0.dylib Expected in: flat namespace dyld: Symbol not found: _GDK_IS_QUARTZ_SCREEN Referenced from: /opt/local/lib/libgtk-3.0.dylib Expected in: flat namespace Trace/BPT trap }}} I'm not an expert, but I think this means something must have gone wrong during compilation of the library: a macro was incorrectly interpreted as a function... -- Ticket URL: <https://trac.macports.org/ticket/29063#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29063: gtk3 3.05 configure error quartz -----------------------------------+---------------------------------------- Reporter: Tom.Schoonjans@… | Owner: singingwolfboy@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: gtk3 -----------------------------------+---------------------------------------- Comment(by Tom.Schoonjans@…): With path_quartz_3_0.diff I could get rid of this runtime binding issue. I took it from the gtk 3.1 development tree where it was submitted as a patch some time ago. Now it works fine with the gtk hello world example at least. When I try to link my own code against gtk3-quartz I get a segfault when I call gtk_widget_show_all on my main window at runtime :-( I don't get this segfault when using gtk3-X11 on my Mac or on Linux (Fedora 15) I assume this is due to some bug in the gtk3 codebase... Anyway: feel free to add this patch to the port -- Ticket URL: <https://trac.macports.org/ticket/29063#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29063: gtk3 3.05 configure error quartz -----------------------------------+---------------------------------------- Reporter: Tom.Schoonjans@… | Owner: singingwolfboy@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: haspatch | Port: gtk3 -----------------------------------+---------------------------------------- Changes (by ryandesign@…): * keywords: => haspatch * cc: gui_dos@…, k.polezhaiev@… (added) Comment: Has duplicates #33182 and #33678. See also #29659. -- Ticket URL: <https://trac.macports.org/ticket/29063#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29063: gtk3 3.05 configure error quartz -----------------------------------+---------------------------------------- Reporter: Tom.Schoonjans@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: haspatch | Port: gtk3 -----------------------------------+---------------------------------------- Changes (by jmr@…): * owner: singingwolfboy@… => macports-tickets@… Comment: -> nomaintainer -- Ticket URL: <https://trac.macports.org/ticket/29063#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29063: gtk3 3.05 configure error quartz -----------------------------------+---------------------------------------- Reporter: Tom.Schoonjans@… | Owner: cal@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: haspatch | Port: gtk3 -----------------------------------+---------------------------------------- Changes (by cal@…): * owner: macports-tickets@… => cal@… * status: new => assigned -- Ticket URL: <https://trac.macports.org/ticket/29063#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29063: gtk3 3.05 configure error quartz ------------------------------------+--------------------------------------- Reporter: Tom.Schoonjans@… | Owner: cal@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: haspatch Port: gtk3 | ------------------------------------+--------------------------------------- Changes (by cal@…): * status: assigned => closed * resolution: => fixed Comment: This should be fixed in r95237. -- Ticket URL: <https://trac.macports.org/ticket/29063#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts