[MacPorts] #49175: Metacity 3.18.0_0 won't build on Snow Leopard, Mac OS X 10.6.8, because of "core/display-private.h:45: error: redefinition of typedef ‘MetaKeyBinding’"

MacPorts noreply at macports.org
Wed Oct 7 15:10:38 PDT 2015


#49175: Metacity 3.18.0_0 won't build on Snow Leopard, Mac OS X 10.6.8, because of
"core/display-private.h:45: error: redefinition of typedef
‘MetaKeyBinding’"
-----------------------------+--------------------------------
 Reporter:  Peter_Dyballa@…  |      Owner:  macports-tickets@…
     Type:  defect           |     Status:  new
 Priority:  Normal           |  Milestone:
Component:  ports            |    Version:  2.3.4
 Keywords:                   |       Port:  metacity
-----------------------------+--------------------------------
 This is the error:

 {{{
 libtool: compile:  /usr/bin/llvm-gcc-4.2 -DHAVE_CONFIG_H -I. -I..
 -I./include -DMETACITY_LIBEXECDIR=\"/opt/local/libexec\" -DHOST_ALIAS=\"\"
 -DMETACITY_LOCALEDIR=\"/opt/local/share/locale\"
 -DMETACITY_PKGDATADIR=\"/opt/local/share/metacity\"
 -DMETACITY_DATADIR=\"/opt/local/share\" -DG_LOG_DOMAIN=\"metacity\"
 -DSN_API_NOT_YET_FROZEN=1 -D_REENTRANT -DMESA_EGL_NO_X11_HEADERS
 -D_REENTRANT -I/opt/local/include -I/opt/local/include/gtk-3.0
 -I/opt/local/include/at-spi2-atk/2.0 -I/opt/local/include/at-spi-2.0
 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include
 -I/opt/local/include/gtk-3.0 -I/opt/local/include/gio-unix-2.0/
 -I/opt/local/include -I/opt/local/include/cairo -I/opt/local/include
 -I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz
 -I/opt/local/include -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
 -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
 /startup-notification-1.0 -I/opt/local/include
 -I/opt/local/include/libgtop-2.0 -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 -fno-strict-aliasing -Wall
 -Wextra -Wundef -Wnested-externs -Wwrite-strings -Wpointer-arith
 -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes
 -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers
 -Wdeclaration-after-statement -Wformat=2 -Wold-style-definition -Wcast-
 align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-
 aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-
 noreturn -Winit-self -Wmissing-include-dirs -Wimplicit-function-
 declaration -Wreturn-type -Wswitch-enum -Wswitch-default -Wno-error
 =unused-parameter -Wno-error=missing-field-initializers
 -I/opt/local/include -pipe -Os -arch x86_64 -g -O0 -MT
 libmetacity_private_la-boxes.lo -MD -MP -MF .deps/libmetacity_private_la-
 boxes.Tpo -c core/boxes.c -o libmetacity_private_la-boxes.o >/dev/null
 2>&1
 In file included from core/above-tab-keycode.c:46:
 core/display-private.h:45: error: redefinition of typedef ‘MetaKeyBinding’
 ./include/types.h:29: error: previous declaration of ‘MetaKeyBinding’ was
 here
 In file included from core/bell.h:36,
                  from core/bell.c:50:
 core/display-private.h:45: error: redefinition of typedef ‘MetaKeyBinding’
 ./include/types.h:29: error: previous declaration of ‘MetaKeyBinding’ was
 here
 In file included from core/screen-private.h:34,
                  from core/window-private.h:37,
                  from core/constraints.h:27,
                  from core/constraints.c:25:
 core/display-private.h:45: error: redefinition of typedef ‘MetaKeyBinding’
 ./include/types.h:29: error: previous declaration of ‘MetaKeyBinding’ was
 here
 In file included from core/screen-private.h:34,
                  from core/window-private.h:37,
                  from core/frame-private.h:26,
                  from core/core.c:26:
 core/display-private.h:45: error: redefinition of typedef ‘MetaKeyBinding’
 ./include/types.h:29: error: previous declaration of ‘MetaKeyBinding’ was
 here
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/49175>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list