[MacPorts] #53911: gtk3 at 3.22.11_0: fails to build with glib2-devel at 2.52.0_0
MacPorts
noreply at macports.org
Sun Apr 2 17:54:13 UTC 2017
#53911: gtk3 at 3.22.11_0: fails to build with glib2-devel at 2.52.0_0
--------------------+---------------------
Reporter: Ionic | Owner: dbevans
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: gtk3
--------------------+---------------------
{{{
make[4]: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.rsync.ionic.de_release_ports_gnome_gtk3/gtk3/work/gtk+-3.22.11-x86_64/gdk/x11'
/bin/sh ../../libtool --tag=CC --mode=compile /usr/bin/clang -arch
x86_64 -DHAVE_CONFIG_H -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\"
-DG_LOG_USE_STRUCTURED=1 -DGDK_COMPILATION -I../.. -I../../gdk -I../../gdk
-DG_ENABLE_DEBUG -DG_DISABLE_CAST_CHECKS
-DGLIB_MIN_REQUIRED_VERSION=GLIB_VERSION_2_48
-DGLIB_MAX_ALLOWED_VERSION=GLIB_VERSION_2_50 -D_REENTRANT
-I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz
-I/opt/local/include/pango-1.0 -I/opt/local/include/gdk-pixbuf-2.0
-I/opt/local/include/libpng16 -I/opt/local/include/cairo
-I/opt/local/include/gio-unix-2.0/ -I/opt/local/include/cairo
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
-I/opt/local/include/pixman-1 -I/opt/local/include/freetype2
-I/opt/local/include/libpng16 -I/opt/local/include -DX_LOCALE -pipe -Os
-fstrict-aliasing -arch x86_64 -Wall -c -o gdkapplaunchcontext-x11.lo
gdkapplaunchcontext-x11.c
/bin/sh ../../libtool --tag=CC --mode=compile /usr/bin/clang -arch
x86_64 -DHAVE_CONFIG_H -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\"
-DG_LOG_USE_STRUCTURED=1 -DGDK_COMPILATION -I../.. -I../../gdk -I../../gdk
-DG_ENABLE_DEBUG -DG_DISABLE_CAST_CHECKS
-DGLIB_MIN_REQUIRED_VERSION=GLIB_VERSION_2_48
-DGLIB_MAX_ALLOWED_VERSION=GLIB_VERSION_2_50 -D_REENTRANT
-I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz
-I/opt/local/include/pango-1.0 -I/opt/local/include/gdk-pixbuf-2.0
-I/opt/local/include/libpng16 -I/opt/local/include/cairo
-I/opt/local/include/gio-unix-2.0/ -I/opt/local/include/cairo
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
-I/opt/local/include/pixman-1 -I/opt/local/include/freetype2
-I/opt/local/include/libpng16 -I/opt/local/include -DX_LOCALE -pipe -Os
-fstrict-aliasing -arch x86_64 -Wall -c -o gdkasync.lo gdkasync.c
libtool: compile: /usr/bin/clang -arch x86_64 -DHAVE_CONFIG_H -I. -I../..
-DG_LOG_DOMAIN=\"Gdk\" -DG_LOG_USE_STRUCTURED=1 -DGDK_COMPILATION -I../..
-I../../gdk -I../../gdk -DG_ENABLE_DEBUG -DG_DISABLE_CAST_CHECKS
-DGLIB_MIN_REQUIRED_VERSION=GLIB_VERSION_2_48
-DGLIB_MAX_ALLOWED_VERSION=GLIB_VERSION_2_50 -D_REENTRANT
-I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz
-I/opt/local/include/pango-1.0 -I/opt/local/include/gdk-pixbuf-2.0
-I/opt/local/include/libpng16 -I/opt/local/include/cairo
-I/opt/local/include/gio-unix-2.0/ -I/opt/local/include/cairo
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
-I/opt/local/include/pixman-1 -I/opt/local/include/freetype2
-I/opt/local/include/libpng16 -I/opt/local/include -DX_LOCALE -pipe -Os
-fstrict-aliasing -arch x86_64 -Wall -c gdkapplaunchcontext-x11.c -fno-
common -DPIC -o .libs/gdkapplaunchcontext-x11.o
libtool: compile: /usr/bin/clang -arch x86_64 -DHAVE_CONFIG_H -I. -I../..
-DG_LOG_DOMAIN=\"Gdk\" -DG_LOG_USE_STRUCTURED=1 -DGDK_COMPILATION -I../..
-I../../gdk -I../../gdk -DG_ENABLE_DEBUG -DG_DISABLE_CAST_CHECKS
-DGLIB_MIN_REQUIRED_VERSION=GLIB_VERSION_2_48
-DGLIB_MAX_ALLOWED_VERSION=GLIB_VERSION_2_50 -D_REENTRANT
-I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz
-I/opt/local/include/pango-1.0 -I/opt/local/include/gdk-pixbuf-2.0
-I/opt/local/include/libpng16 -I/opt/local/include/cairo
-I/opt/local/include/gio-unix-2.0/ -I/opt/local/include/cairo
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
-I/opt/local/include/pixman-1 -I/opt/local/include/freetype2
-I/opt/local/include/libpng16 -I/opt/local/include -DX_LOCALE -pipe -Os
-fstrict-aliasing -arch x86_64 -Wall -c gdkasync.c -fno-common -DPIC -o
.libs/gdkasync.o
In file included from gdkapplaunchcontext-x11.c:27:
In file included from ./gdkprivate-x11.h:37:
./gdkscreen-x11.h:33:31:In file included from gdkasync.c:47:
In file included from ./gdkprivate-x11.h:37:
./gdkscreen-x11.h:33: warning: redefinition of typedef 'GdkX11Monitor' is
a C11 feature [-Wtypedef-redefinition]
typedef struct _GdkX11Monitor GdkX11Monitor;
^
../../gdk/x11/gdkx11monitor.h:37:3631: warning: redefinition of typedef
'GdkX11Monitor' is a C11 feature [-Wtypedef-redefinition]
typedef struct _GdkX11Monitor GdkX11Monitor;
^
../../gdk/x11/gdkx11monitor.h:37:36: note: previous definition is here
typedef struct _GdkX11Monitor GdkX11Monitor;
^
: note: previous definition is here
typedef struct _GdkX11Monitor GdkX11Monitor;
^
gdkapplaunchcontext-x11.c:30:10: fatal error: 'gio/gdesktopappinfo.h' file
not found
#include <gio/gdesktopappinfo.h>
^
1 warning and 1 error generated.
make[4]: *** [gdkapplaunchcontext-x11.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
}}}
Upstream has already fixed this:
https://git.gnome.org/browse/gtk+/commit/?h=gtk-3-22&id=30b961c84b7788d1079aae93665097c405695bb6
We'll probably need a backport.
--
Ticket URL: <https://trac.macports.org/ticket/53911>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list