Opened 11 years ago

Last modified 2 years ago

#42558 new defect

gnome-settings-daemon fails to build with gtk3 +quartz -x11

Reported by: neverpanic (Clemens Lang) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: cooljeanius (Eric Gallager), mascguy (Christopher Nielsen)
Port: gnome-settings-daemon

Description

:info:build make[3]: Entering directory `/opt/local/var/macports/build/_opt_dports_gnome_gnome-settings-daemon/gnome-settings-daemon/work/gnome-settings-daemon-3.10.2/plugins/common'
:info:build /bin/sh ../../libtool  --tag=CC   --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I../..   -isystem/opt/local/include -DG_LOG_DOMAIN="\"common-plugin\"" -DPLUGIN_NAME="\"common\""  -D_REENTRANT -I/opt/local/include/gtk-3.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz -I/opt/local/include/pango-1.0 -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/freetype2 -I/opt/local/include/libpng16 -I/opt/local/include -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 -I/opt/local/include/gsettings-desktop-schemas  -I/opt/local/include   -pipe -Os -arch x86_64 -MT libcommon_la-gsd-keygrab.lo -MD -MP -MF .deps/libcommon_la-gsd-keygrab.Tpo -c -o libcommon_la-gsd-keygrab.lo `test -f 'gsd-keygrab.c' || echo './'`gsd-keygrab.c
:info:build libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -isystem/opt/local/include -DG_LOG_DOMAIN=\"common-plugin\" -DPLUGIN_NAME=\"common\" -D_REENTRANT -I/opt/local/include/gtk-3.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz -I/opt/local/include/pango-1.0 -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/freetype2 -I/opt/local/include/libpng16 -I/opt/local/include -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 -I/opt/local/include/gsettings-desktop-schemas -I/opt/local/include -pipe -Os -arch x86_64 -MT libcommon_la-gsd-keygrab.lo -MD -MP -MF .deps/libcommon_la-gsd-keygrab.Tpo -c gsd-keygrab.c  -fno-common -DPIC -o .libs/libcommon_la-gsd-keygrab.o
:info:build gsd-keygrab.c:27:10: fatal error: 'gdk/gdkx.h' file not found
:info:build #include <gdk/gdkx.h>
:info:build          ^
:info:build 1 error generated.
:info:build make[3]: *** [libcommon_la-gsd-keygrab.lo] Error 1
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_dports_gnome_gnome-settings-daemon/gnome-settings-daemon/work/gnome-settings-daemon-3.10.2/plugins/common'
:info:build make[2]: *** [all-recursive] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_dports_gnome_gnome-settings-daemon/gnome-settings-daemon/work/gnome-settings-daemon-3.10.2/plugins'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_dports_gnome_gnome-settings-daemon/gnome-settings-daemon/work/gnome-settings-daemon-3.10.2'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_dports_gnome_gnome-settings-daemon/gnome-settings-daemon/work/gnome-settings-daemon-3.10.2'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_dports_gnome_gnome-settings-daemon/gnome-settings-daemon/work/gnome-settings-daemon-3.10.2" && /usr/bin/make -w all
:info:build Exit code: 2

gnome-settings-daemon should at least use the active_variants PortGroup to require gtk3 +x11 – I suppose you might also want to report this upstream.

Failure was encountered when trying to build evince, which depends on gnome-settings-daemon.

Change History (3)

comment:1 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:2 Changed 3 years ago by cooljeanius (Eric Gallager)

gnome-settings-daemon should at least use the active_variants PortGroup to require gtk3 +x11 – I suppose you might also want to report this upstream.

So, the port does in fact now do an active variants check, but this is still less than satisfactory; a preferable solution would be able to get it to actually work with the quartz backend, as per #60511

comment:3 Changed 2 years ago by mascguy (Christopher Nielsen)

Cc: mascguy added
Note: See TracTickets for help on using tickets.