Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#19123 closed defect (invalid)

Can't update gtk2

Reported by: ctwise@… Owned by: nox@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: gtk2 cairo Cc:
Port: gtk2

Description (last modified by mf2k (Frank Schima))

Over the last few days I'm starting to see this when attempting to update gtk2:

--->  Building gtk2
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtk2/work/gtk+-2.14.7" && make all " returned error 2
Command output: make  all-recursive
Making all in po
make[2]: Nothing to be done for `all'.
Making all in po-properties
make[2]: Nothing to be done for `all'.
Making all in gdk-pixbuf
make  all-recursive
Making all in pixops
make[4]: Nothing to be done for `all'.
Making all in gdk
make  all-recursive
Making all in quartz
if /bin/sh ../../libtool --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I../.. -I../../gdk -I../../gdk -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/pango-1.0 -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12     "-xobjective-c"  -I/opt/local/include -DX_LOCALE -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES  -DGDK_PIXBUF_DISABLE_DEPRECATED -O2 -fstrict-aliasing -Wall -MT gdkdrawable-quartz.lo -MD -MP -MF ".deps/gdkdrawable-quartz.Tpo" \
	  -c -o gdkdrawable-quartz.lo `test -f 'gdkdrawable-quartz.c' || echo './'`gdkdrawable-quartz.c; \
	then mv -f ".deps/gdkdrawable-quartz.Tpo" ".deps/gdkdrawable-quartz.Plo"; \
	else rm -f ".deps/gdkdrawable-quartz.Tpo"; exit 1; \
	fi
 /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I../.. -I../../gdk -I../../gdk -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/pango-1.0 -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -xobjective-c -I/opt/local/include -DX_LOCALE -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_DEPRECATED -O2 -fstrict-aliasing -Wall -MT gdkdrawable-quartz.lo -MD -MP -MF .deps/gdkdrawable-quartz.Tpo -c gdkdrawable-quartz.c  -fno-common -DPIC -o .libs/gdkdrawable-quartz.o
gdkdrawable-quartz.c:22:26: error: cairo-quartz.h: No such file or directory
gdkdrawable-quartz.c: In function 'gdk_quartz_ref_cairo_surface':
gdkdrawable-quartz.c:69: warning: implicit declaration of function 'cairo_quartz_surface_create_for_cg_context'
gdkdrawable-quartz.c:69: warning: assignment makes pointer from integer without a cast
make[4]: *** [gdkdrawable-quartz.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Unable to upgrade port: 1

Change History (7)

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

Description: modified (diff)
Owner: changed from macports-tickets@… to nox@…
Port: gtk2 added

comment:2 Changed 15 years ago by mf2k (Frank Schima)

What is the result of the following command?

port installed gtk2

comment:3 Changed 15 years ago by ctwise@…

The following ports are currently installed:

gtk2 @2.14.7_1+no_x11+quartz (active)

comment:4 Changed 15 years ago by mf2k (Frank Schima)

So what is the result of the following?

port installed cairo

It must also be installed with the +quartz variant.

comment:5 Changed 15 years ago by ctwise@…

The following ports are currently installed:

cairo @1.8.6_4+macosx+no_x11 (active)

comment:6 Changed 15 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: newclosed

You need to install cairo with +quartz.

comment:7 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.