[MacPorts] #48542: putty @0.63 +gui build failure: 'gdk/gdkx.h' file not found
#48542: putty @0.63 +gui build failure: 'gdk/gdkx.h' file not found --------------------------+-------------------------------- Reporter: gunnlaugur@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: putty --------------------------+-------------------------------- Build of `putty @0.63 +gui` fails on missing file `gdk/gdkx.h``, whether installing fresh or upgrading, with this salient bit in the log: {{{ :info:build ccache /usr/bin/clang -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz -I/opt/local/include/pango-1.0 -I/opt/local/include/cairo -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/libpng16 -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/libpng16 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -Wall -pipe -Os -arch x86_64 -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -o puttygen cmdgen.o conf.o import.o misc.o notiming.o sshaes.o sshbn.o sshdes.o sshdss.o sshdssg.o sshmd5.o sshprime.o sshpubk.o sshrand.o sshrsa.o sshrsag.o sshsh256.o sshsh512.o sshsha.o time.o tree234.o uxcons.o uxgen.o uxmisc.o uxnoise.o uxstore.o libversion.a :info:build ./../unix/gtkfont.c:17:10: fatal error: 'gdk/gdkx.h' file not found :info:build #include <gdk/gdkx.h> :info:build ^ :info:build ./../unix/gtkwin.c:23:10: fatal error: 'gdk/gdkx.h' file not found :info:build #include <gdk/gdkx.h> :info:build ^ :info:build ./../unix/gtkdlg.c:11:10: fatal error: 'gdk/gdkx.h' file not found :info:build #include <gdk/gdkx.h> :info:build ^ :info:build 1 error generated. }}} Building with `-gui` works. The log shows ccache is enabled, but I tried also with it disabled; same result. This is on Mac OS X 10.10.4, Xcode 6.4 Build version 6E35b. -- Ticket URL: <https://trac.macports.org/ticket/48542> MacPorts <https://www.macports.org/> Ports system for OS X
#48542: putty @0.63 +gui build failure: 'gdk/gdkx.h' file not found ---------------------------+-------------------------------- Reporter: gunnlaugur@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: putty | ---------------------------+-------------------------------- Comment (by gunnlaugur@…): OK, this is really because I have `gdk2 +quartz` installed, not the `x11` variant, and putty's dependency on `gtk2` is really a dependency on `gtk2 +x11`. Same problem for another MacPorts package at https://trac.macports.org/ticket/42787 and same problem for putty in Homebrew at https://github.com/Homebrew/homebrew/issues/40951 I'm guessing there is no way to declare a dependency on a specific variant of a port? Tried `depends_lib-append port:gtk2+x11` but it wasn't having it. -- Ticket URL: <https://trac.macports.org/ticket/48542#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#48542: putty @0.63 +gui build failure: 'gdk/gdkx.h' file not found ---------------------------+-------------------------------- Reporter: gunnlaugur@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: putty | ---------------------------+-------------------------------- Comment (by ryandesign@…): Replying to [comment:1 gunnlaugur@…]:
I'm guessing there is no way to declare a dependency on a specific variant of a port? Tried `depends_lib-append port:gtk2+x11` but it wasn't having it.
The require_active_variants procedure in the active_variants 1.1 portgroup would have to be used to do that. -- Ticket URL: <https://trac.macports.org/ticket/48542#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#48542: putty @0.63 +gui build failure: 'gdk/gdkx.h' file not found ---------------------------+-------------------------------- Reporter: gunnlaugur@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: Port: putty | ---------------------------+-------------------------------- Changes (by khindenburg@…): * status: new => closed * resolution: => fixed Comment: done r139999 -- Ticket URL: <https://trac.macports.org/ticket/48542#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts