gtk2 failure

Jeremy Huddleston jeremyhu at macports.org
Thu Dec 25 12:39:34 PST 2008


It looks like you might not have the X11SDK installed or you didn't  
reinstall Xquartz after doing the OS Update.  Otherwise, just install  
xorg-randrproto...


On Dec 25, 2008, at 12:34, Corey Chandler wrote:

> Has anyone seen this before?  I'm about out of ideas... 10.5.6,  
> macports 1.7
>
> bash-3.2# port upgrade gtk2
> --->  Fetching gtk2
> --->  Verifying checksum(s) for gtk2
> --->  Extracting gtk2
> --->  Applying patches to gtk2
> --->  Configuring 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.5" && make all "  
> returned error 2
> Command output: libtool: 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 -I/usr/X11/include -I/opt/local/include  
> -no-cpp-precomp -DX_LOCALE -DG_DISABLE_SINGLE_INCLUDES - 
> DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES - 
> DGTK_DISABLE_SINGLE_INCLUDES -I/opt/local/include -I/usr/X11/include  
> -DGDK_PIXBUF_DISABLE_DEPRECATED -O2 -funroll-loops -fstrict-aliasing  
> -Wall -MT gdkdnd-x11.lo -MD -MP -MF .deps/gdkdnd-x11.Tpo -c gdkdnd- 
> x11.c  -fno-common -DPIC -o .libs/gdkdnd-x11.o
> 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 -I/usr/X11/include      -I/opt/local/include -no-cpp- 
> precomp -DX_LOCALE -DG_DISABLE_SINGLE_INCLUDES - 
> DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES - 
> DGTK_DISABLE_SINGLE_INCLUDES -I/opt/local/include -I/usr/X11/ 
> include    -DGDK_PIXBUF_DISABLE_DEPRECATED -O2 -funroll-loops - 
> fstrict-aliasing -Wall -MT gdkdrawable-x11.lo -MD -MP -MF ".deps/ 
> gdkdrawable-x11.Tpo" \
>     -c -o gdkdrawable-x11.lo `test -f 'gdkdrawable-x11.c' || echo  
> './'`gdkdrawable-x11.c; \
>   then mv -f ".deps/gdkdrawable-x11.Tpo" ".deps/gdkdrawable- 
> x11.Plo"; \
>   else rm -f ".deps/gdkdrawable-x11.Tpo"; exit 1; \
>   fi
> libtool: 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 -I/usr/X11/include -I/opt/local/include -no-cpp-precomp - 
> DX_LOCALE -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES - 
> DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -I/ 
> opt/local/include -I/usr/X11/include -DGDK_PIXBUF_DISABLE_DEPRECATED  
> -O2 -funroll-loops -fstrict-aliasing -Wall -MT gdkdrawable-x11.lo - 
> MD -MP -MF .deps/gdkdrawable-x11.Tpo -c gdkdrawable-x11.c  -fno- 
> common -DPIC -o .libs/gdkdrawable-x11.o
> gdkdrawable-x11.c:1289: warning: 'get_shm_pixmap_for_image' defined  
> but not used
> 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 -I/usr/X11/include      -I/opt/local/include -no-cpp- 
> precomp -DX_LOCALE -DG_DISABLE_SINGLE_INCLUDES - 
> DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES - 
> DGTK_DISABLE_SINGLE_INCLUDES -I/opt/local/include -I/usr/X11/ 
> include    -DGDK_PIXBUF_DISABLE_DEPRECATED -O2 -funroll-loops - 
> fstrict-aliasing -Wall -MT gdkevents-x11.lo -MD -MP -MF ".deps/ 
> gdkevents-x11.Tpo" \
>     -c -o gdkevents-x11.lo `test -f 'gdkevents-x11.c' || echo  
> './'`gdkevents-x11.c; \
>   then mv -f ".deps/gdkevents-x11.Tpo" ".deps/gdkevents-x11.Plo"; \
>   else rm -f ".deps/gdkevents-x11.Tpo"; exit 1; \
>   fi
> libtool: 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 -I/usr/X11/include -I/opt/local/include -no-cpp-precomp - 
> DX_LOCALE -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES - 
> DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -I/ 
> opt/local/include -I/usr/X11/include -DGDK_PIXBUF_DISABLE_DEPRECATED  
> -O2 -funroll-loops -fstrict-aliasing -Wall -MT gdkevents-x11.lo -MD - 
> MP -MF .deps/gdkevents-x11.Tpo -c gdkevents-x11.c  -fno-common -DPIC  
> -o .libs/gdkevents-x11.o
> gdkevents-x11.c: In function 'gdk_event_translate':
> gdkevents-x11.c:2110: error: 'RRNotify' undeclared (first use in  
> this function)
> gdkevents-x11.c:2110: error: (Each undeclared identifier is reported  
> only once
> gdkevents-x11.c:2110: error: for each function it appears in.)
> gdkevents-x11.c:2112: error: 'XRRNotifyEvent' undeclared (first use  
> in this function)
> gdkevents-x11.c:2112: error: 'notify' undeclared (first use in this  
> function)
> gdkevents-x11.c:2112: error: syntax error before ')' token
> gdkevents-x11.c: In function 'gdk_x11_screen_get_window_manager_name':
> gdkevents-x11.c:2721: warning: dereferencing type-punned pointer  
> will break strict-aliasing rules
> gdkevents-x11.c: In function 'gdk_x11_screen_supports_net_wm_hint':
> gdkevents-x11.c:2821: warning: dereferencing type-punned pointer  
> will break strict-aliasing rules
> make[4]: *** [gdkevents-x11.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
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users



More information about the macports-users mailing list