[MacPorts] #15816: gtk2 does not build on PowerPC because of glib2

MacPorts noreply at macports.org
Mon Jul 14 09:40:38 PDT 2008


#15816: gtk2 does not build on PowerPC because of glib2
--------------------------------------+-------------------------------------
  Reporter:  js-macports at webkeks.org  |       Owner:  ryandesign at macports.org
      Type:  defect                   |      Status:  assigned               
  Priority:  Normal                   |   Milestone:  Port Bugs              
 Component:  ports                    |     Version:  1.6.0                  
Resolution:                           |    Keywords:  gtk                    
--------------------------------------+-------------------------------------
Comment (by dizzpozable at gmail.com):

 I have the same problem on 10.4.11, Xcode 2.5 and MacPorts 1.600.  gtk2
 will not build with the following errors:


 {{{
 sudo port install gtk2
 --->  Fetching gtk2
 --->  Attempting to fetch gtk+-2.12.9.tar.bz2 from http://mandril.creatis
 .insa-lyon.fr/linux/gnome.org/sources/gtk+/2.12/
 --->  Verifying checksum(s) for gtk2
 --->  Extracting gtk2
 --->  Applying patches to gtk2
 --->  Configuring gtk2
 --->  Building gtk2 with target all
 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.12.9"
 && make all " returned error 2
 Command output:    && rm -f gtk-media-next-rtl.png
 \
    && ln -s gtk-media-previous-ltr.png gtk-media-next-rtl.png   \
    && rm -f gtk-media-previous-rtl.png                          \
    && ln -s gtk-media-next-ltr.png gtk-media-previous-rtl.png   \
    && rm -f gtk-media-rewind-rtl.png                            \
    && ln -s gtk-media-forward-ltr.png gtk-media-rewind-rtl.png\
    && rm -f gtk-save.png                                        \
    && ln -s gtk-floppy.png gtk-save.png)                        \
 done                                                            \
 && touch stamp-icons
 make  gtk-update-icon-cache
 if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gtk\"
 -DGTK_LIBDIR=\"/opt/local/lib\" -DGTK_DATADIR=\"/opt/local/share\"
 -DGTK_DATA_PREFIX=\"/opt/local\" -DGTK_SYSCONFDIR=\"/opt/local/etc\"
 -DGTK_VERSION=\"2.12.9\" -DGTK_BINARY_VERSION=\"2.10.0\" -DGTK_HOST
 =\"powerpc-apple-darwin8.11.0\" -DGTK_COMPILATION
 -DGTK_PRINT_BACKENDS=\"file,cups\" -DGTK_PRINT_PREVIEW_COMMAND=\""evince
 --unlink-tempfile --preview --print-settings %s %f"\" -I../gtk -I..
 -I../gdk -I../gdk -I../gdk-pixbuf -I../gdk-pixbuf
 -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED
 -DGTK_FILE_SYSTEM_ENABLE_UNSUPPORTED
 -DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED -DG_DISABLE_CAST_CHECKS
 -D_REENTRANT -DXTHREADS -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/freetype2 -I/opt/local/include/libpng12
 -I/usr/X11R6/include -I/opt/local/include/pixman-1
 -I/opt/local/include/atk-1.0        -I/opt/local/include -no-cpp-precomp
 -DX_LOCALE -I/usr/X11R6/include  -I/usr/X11R6/include  -O2 -funroll-loops
 -fstrict-aliasing -Wall -MT updateiconcache.o -MD -MP -MF
 ".deps/updateiconcache.Tpo" \
   -c -o updateiconcache.o `test -f 'updateiconcache.c' || echo
 './'`updateiconcache.c; \
 then mv -f ".deps/updateiconcache.Tpo" ".deps/updateiconcache.Po"; \
 else rm -f ".deps/updateiconcache.Tpo"; exit 1; \
 fi
 In file included from updateiconcache.c:54:
 gtkiconcachevalidator.c: In function 'check_pixel_data':
 gtkiconcachevalidator.c:168: warning: pointer targets in passing argument
 3 of 'gdk_pixdata_deserialize' differ in signedness
 /bin/sh ../libtool --mode=link /usr/bin/gcc-4.0  -O2 -funroll-loops
 -fstrict-aliasing -Wall  -L/opt/local/lib -o gtk-update-icon-cache
 updateiconcache.o ../gdk-pixbuf/libgdk_pixbuf-2.0.la
 mkdir .libs
 /usr/bin/gcc-4.0 -O2 -funroll-loops -fstrict-aliasing -Wall -o .libs/gtk-
 update-icon-cache updateiconcache.o  -L/opt/local/lib ../gdk-
 pixbuf/.libs/libgdk_pixbuf-2.0.dylib /opt/local/lib/libgmodule-2.0.dylib
 /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libglib-2.0.dylib
 /opt/local/lib/libintl.dylib /opt/local/lib/libiconv.dylib
 /opt/local/lib/libtiff.dylib -lc /opt/local/lib/libjpeg.dylib
 /opt/local/lib/libpng12.dylib -lz -lm
 creating gtk-update-icon-cache
 GDK_PIXBUF_MODULE_FILE=../gdk-pixbuf/gdk-pixbuf.loaders ./gtk-update-icon-
 cache --force --ignore-theme-index            \
    --source builtin_icons stock-icons > gtkbuiltincache.h.tmp &&        \
 mv gtkbuiltincache.h.tmp gtkbuiltincache.h
 gtk-update-icon-cache: The generated cache was invalid.
 make[2]: *** [gtkbuiltincache.h] Error 1
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2

 Error: Status 1 encountered during processing.
 }}}

 Any help is appreciated and please let me know if more information is
 needed.

-- 
Ticket URL: <http://trac.macports.org/ticket/15816#comment:24>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list