Opened 9 years ago

Closed 9 years ago

#49175 closed defect (worksforme)

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’"

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: metacity

Description

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

Attachments (1)

main.log (122.3 KB) - added by ballapete (Peter "Pete" Dyballa) 9 years ago.
main.log

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by ballapete (Peter "Pete" Dyballa)

Attachment: main.log added

main.log

comment:1 Changed 9 years ago by mf2k (Frank Schima)

Cc: devans@… openmaintainer@… removed
Owner: changed from macports-tickets@… to devans@…

Please do not Cc openmaintainer@… because it is not a valid email address.

comment:2 in reply to:  1 Changed 9 years ago by ballapete (Peter "Pete" Dyballa)

Replying to mf2k@…:

Please do not Cc openmaintainer@… because it is not a valid email address.

Sorry! My MacBook is in some overload situation so it could have happened that more text than I wished was copied out of Terminal due to too many mouse clicks – and I did not check what was actually pasted.

comment:3 Changed 9 years ago by dbevans (David B. Evans)

Resolution: worksforme
Status: newclosed

Current version metacity @3.18.1 builds correctly on SL buildbot. Please update your ports and try again.

Note: See TracTickets for help on using tickets.