[MacPorts] #21257: gtk2 wont build on PPC

MacPorts noreply at macports.org
Wed Sep 9 17:12:14 PDT 2009


#21257: gtk2 wont build on PPC
------------------------------------+---------------------------------------
 Reporter:  mike_keller0@…          |       Owner:  macports-tickets@…                   
     Type:  defect                  |      Status:  new                                  
 Priority:  Normal                  |   Milestone:                                       
Component:  ports                   |     Version:  1.8.0                                
 Keywords:  gtk2                    |        Port:  gtk2                                 
------------------------------------+---------------------------------------
Description changed by toby@…:

Old description:

> I also added to ticket 17360, which would be applicable, but I dont have
> rights to re-open, so here goes:
>
> PPC (PowerMac G5 Dual Core 2.0GHz) Tiger (10.4.11), MacPorts 1.8.0, Xcode
> 2.4.1. I have installed Xquartz from ports, I have run selfupdate, I have
> run sync, I have installed xorg-libXrandr, I have even removed all ports
> and reinstalled them. This is a recently reloaded system (hard drive
> failure) and I am trying to install Wireshark. I had it installed before,
> so it used to work at one time. Please help.
>
> sudo port install gtk2 ---> Computing dependencies for gtk2 ---> Fetching
> gtk2 ---> Attempting to fetch gtk+-2.16.6.tar.bz2 from
> ftp://ftp.gtk.org/pub/gtk/2.16/ ---> 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.16.6"
> && /usr/bin/make -j2 all " returned error 2 Command output: && rm -f
> text-x-generic.png \
>
> && ln -s gtk-file.png text-x-generic.png \
>
> ) done \ && touch stamp-icons echo "#ifndef GTK_DISABLE_DEPRECATED" >
> xgen-gmh \
>
> && glib-genmarshal --prefix=gtk_marshal ./gtkmarshal.list --header >>
> xgen-gmh \
>
> && echo "#endif /* GTK_DISABLE_DEPRECATED */" >> xgen-gmh \
>
> && (cmp -s xgen-gmh gtkmarshal.h
>
> cp xgen-gmh gtkmarshal.h) \ && rm -f xgen-gmh \ && echo timestamp >
> stamp-gtkmarshal.h ( cd . && glib-mkenums --template
> gtktypebuiltins.h.template \
> gtk.h gtkaboutdialog.h gtkaccelgroup.h gtkaccellabel.h gtkaccelmap.h
> gtkaccessible.h gtkaction.h gtkactiongroup.h gtkactivatable.h
> gtkadjustment.h gtkalignment.h gtkarrow.h gtkaspectframe.h gtkassistant.h
> gtkbbox.h gtkbin.h gtkbindings.h gtkbox.h gtkbuilder.h gtkbuildable.h
> gtkbutton.h gtkcalendar.h gtkcelleditable.h gtkcelllayout.h
> gtkcellrenderer.h gtkcellrendereraccel.h gtkcellrenderercombo.h
> gtkcellrendererpixbuf.h gtkcellrendererprogress.h gtkcellrendererspin.h
> gtkcellrenderertext.h gtkcellrenderertoggle.h gtkcellview.h
> gtkcheckbutton.h gtkcheckmenuitem.h gtkclipboard.h gtkcolorbutton.h
> gtkcolorsel.h gtkcolorseldialog.h gtkcombobox.h gtkcomboboxentry.h
> gtkcontainer.h gtkcurve.h gtkdebug.h gtkdialog.h gtkdnd.h
> gtkdrawingarea.h gtkeditable.h gtkentry.h gtkentrycompletion.h gtkenums.h
> gtkeventbox.h gtkexpander.h gtkfilechooser.h gtkfilechooserbutton.h
> gtkfilechooserdialog.h gtkfilechooserwidget.h gtkfilefilter.h gtkfixed.h
> gtkfontbutton.h gtkfontsel.h gtkframe.h gtkgamma.h gtkgc.h gtkhandlebox.h
> gtkhbbox.h gtkhbox.h gtkhpaned.h gtkhruler.h gtkhscale.h gtkhscrollbar.h
> gtkhseparator.h gtkhsv.h gtkiconfactory.h gtkicontheme.h gtkiconview.h
> gtkimage.h gtkimagemenuitem.h gtkimcontext.h gtkimcontextsimple.h
> gtkimmodule.h gtkimmulticontext.h gtkinputdialog.h gtkinvisible.h
> gtkitem.h gtklabel.h gtklayout.h gtklinkbutton.h gtkliststore.h gtkmain.h
> gtkmenu.h gtkmenubar.h gtkmenuitem.h gtkmenushell.h gtkmenutoolbutton.h
> gtkmessagedialog.h gtkmisc.h gtkmodules.h gtkmountoperation.h
> gtknotebook.h gtkobject.h gtkorientable.h gtkpagesetup.h gtkpaned.h
> gtkpapersize.h gtkplug.h gtkprintcontext.h gtkprintoperation.h
> gtkprintoperationpreview.h gtkprintsettings.h gtkprivate.h
> gtkprogressbar.h gtkradioaction.h gtkradiobutton.h gtkradiomenuitem.h
> gtkradiotoolbutton.h gtkrange.h gtkrc.h gtkrecentaction.h
> gtkrecentchooser.h gtkrecentchooserdialog.h gtkrecentchoosermenu.h
> gtkrecentchooserwidget.h gtkrecentfilter.h gtkrecentmanager.h gtkruler.h
> gtkscale.h gtkscalebutton.h gtkscrollbar.h gtkscrolledwindow.h
> gtkselection.h gtkseparator.h gtkseparatormenuitem.h
> gtkseparatortoolitem.h gtkshow.h gtksettings.h gtksizegroup.h gtksocket.h
> gtkspinbutton.h gtkstatusbar.h gtkstatusicon.h gtkstock.h gtkstyle.h
> gtktable.h gtktearoffmenuitem.h gtktestutils.h gtktextbuffer.h
> gtktextbufferrichtext.h gtktextchild.h gtktextdisplay.h gtktextiter.h
> gtktextmark.h gtktexttag.h gtktexttagtable.h gtktextview.h
> gtktoggleaction.h gtktogglebutton.h gtktoggletoolbutton.h gtktoolbar.h
> gtktoolbutton.h gtktoolitem.h gtktoolshell.h gtktooltip.h gtktreednd.h
> gtktreemodel.h gtktreemodelfilter.h gtktreemodelsort.h gtktreeselection.h
> gtktreesortable.h gtktreestore.h gtktreeview.h gtktreeviewcolumn.h
> gtktypeutils.h gtkuimanager.h gtkvbbox.h gtkvbox.h gtkviewport.h
> gtkvolumebutton.h gtkvpaned.h gtkvruler.h gtkvscale.h gtkvscrollbar.h
> gtkvseparator.h gtkwidget.h gtkwindow.h gtktext.h gtktree.h gtktreeitem.h
> gtkclist.h gtkcombo.h gtkctree.h gtkfilesel.h gtkitemfactory.h gtklist.h
> gtklistitem.h gtkoldeditable.h gtkoptionmenu.h gtkpixmap.h gtkpreview.h
> gtkprogress.h gtksignal.h gtktipsquery.h gtktooltips.h ) >> xgen-gtbh \
>
> && (cmp -s xgen-gtbh gtktypebuiltins.h
>
> cp xgen-gtbh gtktypebuiltins.h ) \ && rm -f xgen-gtbh \ && echo timestamp
> > stamp-gtktypebuiltins.h /usr/bin/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.16.6\" -DGTK_BINARY_VERSION=\"2.10.0\" -DGTK_HOST
> =\"powerpc-apple-darwin8.11.0\" -DGTK_COMPILATION
> -DGTK_PRINT_BACKENDS=\"file,lpr\" -DGTK_PRINT_PREVIEW_COMMAND=\""evince
> --unlink-tempfile --preview --print-settings %s %f"\" -I.. -I../gtk -I..
> -I../gdk -I../gdk -I../gdk-pixbuf -I../gdk-pixbuf
> -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED
> -DGTK_FILE_SYSTEM_ENABLE_UNSUPPORTED
> -DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED -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/opt/local/include/atk-1.0
> -I/opt/local/include -DX_LOCALE -DG_DISABLE_SINGLE_INCLUDES
> -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES
> -DGTK_DISABLE_SINGLE_INCLUDES -I/opt/local/include
> -DGDK_PIXBUF_DISABLE_DEPRECATED -O2 -fstrict-aliasing -arch ppc -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 /bin/sh ../libtool
> --mode=link /usr/bin/gcc-4.0 -DGDK_PIXBUF_DISABLE_DEPRECATED -O2
> -fstrict-aliasing -arch ppc -Wall -L/opt/local/lib -o gtk-update-icon-
> cache updateiconcache.o ../gdk-pixbuf/libgdk_pixbuf-2.0.la libtool: link:
> /usr/bin/gcc-4.0 -DGDK_PIXBUF_DISABLE_DEPRECATED -O2 -fstrict-aliasing
> -arch ppc -Wall -o .libs/gtk-update-icon-cache updateiconcache.o
> -L/opt/local/lib ../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.dylib
> /opt/local/lib/libgio-2.0.dylib /opt/local/lib/libgobject-2.0.dylib
> /opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/libglib-2.0.dylib
> /opt/local/lib/libintl.dylib -lc /opt/local/lib/libiconv.dylib -lm
> -framework Carbon 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.

New description:

 I also added to ticket 17360, which would be applicable, but I dont have
 rights to re-open, so here goes:

 PPC (PowerMac G5 Dual Core 2.0GHz) Tiger (10.4.11), MacPorts 1.8.0, Xcode
 2.4.1. I have installed Xquartz from ports, I have run selfupdate, I have
 run sync, I have installed xorg-libXrandr, I have even removed all ports
 and reinstalled them. This is a recently reloaded system (hard drive
 failure) and I am trying to install Wireshark. I had it installed before,
 so it used to work at one time. Please help.

 {{{
 sudo port install gtk2 ---> Computing dependencies for gtk2 ---> Fetching
 gtk2 ---> Attempting to fetch gtk+-2.16.6.tar.bz2 from
 ftp://ftp.gtk.org/pub/gtk/2.16/ ---> 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.16.6"
 && /usr/bin/make -j2 all " returned error 2 Command output: && rm -f
 text-x-generic.png \

 && ln -s gtk-file.png text-x-generic.png \

 ) done \ && touch stamp-icons echo "#ifndef GTK_DISABLE_DEPRECATED" >
 xgen-gmh \

 && glib-genmarshal --prefix=gtk_marshal ./gtkmarshal.list --header >>
 xgen-gmh \

 && echo "#endif /* GTK_DISABLE_DEPRECATED */" >> xgen-gmh \

 && (cmp -s xgen-gmh gtkmarshal.h

 cp xgen-gmh gtkmarshal.h) \ && rm -f xgen-gmh \ && echo timestamp > stamp-
 gtkmarshal.h ( cd . && glib-mkenums --template gtktypebuiltins.h.template
 \
 gtk.h gtkaboutdialog.h gtkaccelgroup.h gtkaccellabel.h gtkaccelmap.h
 gtkaccessible.h gtkaction.h gtkactiongroup.h gtkactivatable.h
 gtkadjustment.h gtkalignment.h gtkarrow.h gtkaspectframe.h gtkassistant.h
 gtkbbox.h gtkbin.h gtkbindings.h gtkbox.h gtkbuilder.h gtkbuildable.h
 gtkbutton.h gtkcalendar.h gtkcelleditable.h gtkcelllayout.h
 gtkcellrenderer.h gtkcellrendereraccel.h gtkcellrenderercombo.h
 gtkcellrendererpixbuf.h gtkcellrendererprogress.h gtkcellrendererspin.h
 gtkcellrenderertext.h gtkcellrenderertoggle.h gtkcellview.h
 gtkcheckbutton.h gtkcheckmenuitem.h gtkclipboard.h gtkcolorbutton.h
 gtkcolorsel.h gtkcolorseldialog.h gtkcombobox.h gtkcomboboxentry.h
 gtkcontainer.h gtkcurve.h gtkdebug.h gtkdialog.h gtkdnd.h gtkdrawingarea.h
 gtkeditable.h gtkentry.h gtkentrycompletion.h gtkenums.h gtkeventbox.h
 gtkexpander.h gtkfilechooser.h gtkfilechooserbutton.h
 gtkfilechooserdialog.h gtkfilechooserwidget.h gtkfilefilter.h gtkfixed.h
 gtkfontbutton.h gtkfontsel.h gtkframe.h gtkgamma.h gtkgc.h gtkhandlebox.h
 gtkhbbox.h gtkhbox.h gtkhpaned.h gtkhruler.h gtkhscale.h gtkhscrollbar.h
 gtkhseparator.h gtkhsv.h gtkiconfactory.h gtkicontheme.h gtkiconview.h
 gtkimage.h gtkimagemenuitem.h gtkimcontext.h gtkimcontextsimple.h
 gtkimmodule.h gtkimmulticontext.h gtkinputdialog.h gtkinvisible.h
 gtkitem.h gtklabel.h gtklayout.h gtklinkbutton.h gtkliststore.h gtkmain.h
 gtkmenu.h gtkmenubar.h gtkmenuitem.h gtkmenushell.h gtkmenutoolbutton.h
 gtkmessagedialog.h gtkmisc.h gtkmodules.h gtkmountoperation.h
 gtknotebook.h gtkobject.h gtkorientable.h gtkpagesetup.h gtkpaned.h
 gtkpapersize.h gtkplug.h gtkprintcontext.h gtkprintoperation.h
 gtkprintoperationpreview.h gtkprintsettings.h gtkprivate.h
 gtkprogressbar.h gtkradioaction.h gtkradiobutton.h gtkradiomenuitem.h
 gtkradiotoolbutton.h gtkrange.h gtkrc.h gtkrecentaction.h
 gtkrecentchooser.h gtkrecentchooserdialog.h gtkrecentchoosermenu.h
 gtkrecentchooserwidget.h gtkrecentfilter.h gtkrecentmanager.h gtkruler.h
 gtkscale.h gtkscalebutton.h gtkscrollbar.h gtkscrolledwindow.h
 gtkselection.h gtkseparator.h gtkseparatormenuitem.h
 gtkseparatortoolitem.h gtkshow.h gtksettings.h gtksizegroup.h gtksocket.h
 gtkspinbutton.h gtkstatusbar.h gtkstatusicon.h gtkstock.h gtkstyle.h
 gtktable.h gtktearoffmenuitem.h gtktestutils.h gtktextbuffer.h
 gtktextbufferrichtext.h gtktextchild.h gtktextdisplay.h gtktextiter.h
 gtktextmark.h gtktexttag.h gtktexttagtable.h gtktextview.h
 gtktoggleaction.h gtktogglebutton.h gtktoggletoolbutton.h gtktoolbar.h
 gtktoolbutton.h gtktoolitem.h gtktoolshell.h gtktooltip.h gtktreednd.h
 gtktreemodel.h gtktreemodelfilter.h gtktreemodelsort.h gtktreeselection.h
 gtktreesortable.h gtktreestore.h gtktreeview.h gtktreeviewcolumn.h
 gtktypeutils.h gtkuimanager.h gtkvbbox.h gtkvbox.h gtkviewport.h
 gtkvolumebutton.h gtkvpaned.h gtkvruler.h gtkvscale.h gtkvscrollbar.h
 gtkvseparator.h gtkwidget.h gtkwindow.h gtktext.h gtktree.h gtktreeitem.h
 gtkclist.h gtkcombo.h gtkctree.h gtkfilesel.h gtkitemfactory.h gtklist.h
 gtklistitem.h gtkoldeditable.h gtkoptionmenu.h gtkpixmap.h gtkpreview.h
 gtkprogress.h gtksignal.h gtktipsquery.h gtktooltips.h ) >> xgen-gtbh \

 && (cmp -s xgen-gtbh gtktypebuiltins.h

 cp xgen-gtbh gtktypebuiltins.h ) \ && rm -f xgen-gtbh \ && echo timestamp
 > stamp-gtktypebuiltins.h /usr/bin/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.16.6\" -DGTK_BINARY_VERSION=\"2.10.0\" -DGTK_HOST
 =\"powerpc-apple-darwin8.11.0\" -DGTK_COMPILATION
 -DGTK_PRINT_BACKENDS=\"file,lpr\" -DGTK_PRINT_PREVIEW_COMMAND=\""evince
 --unlink-tempfile --preview --print-settings %s %f"\" -I.. -I../gtk -I..
 -I../gdk -I../gdk -I../gdk-pixbuf -I../gdk-pixbuf -DGDK_DISABLE_DEPRECATED
 -DGTK_DISABLE_DEPRECATED -DGTK_FILE_SYSTEM_ENABLE_UNSUPPORTED
 -DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED -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/opt/local/include/atk-1.0
 -I/opt/local/include -DX_LOCALE -DG_DISABLE_SINGLE_INCLUDES
 -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES
 -DGTK_DISABLE_SINGLE_INCLUDES -I/opt/local/include
 -DGDK_PIXBUF_DISABLE_DEPRECATED -O2 -fstrict-aliasing -arch ppc -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 /bin/sh ../libtool
 --mode=link /usr/bin/gcc-4.0 -DGDK_PIXBUF_DISABLE_DEPRECATED -O2 -fstrict-
 aliasing -arch ppc -Wall -L/opt/local/lib -o gtk-update-icon-cache
 updateiconcache.o ../gdk-pixbuf/libgdk_pixbuf-2.0.la libtool: link:
 /usr/bin/gcc-4.0 -DGDK_PIXBUF_DISABLE_DEPRECATED -O2 -fstrict-aliasing
 -arch ppc -Wall -o .libs/gtk-update-icon-cache updateiconcache.o
 -L/opt/local/lib ../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.dylib
 /opt/local/lib/libgio-2.0.dylib /opt/local/lib/libgobject-2.0.dylib
 /opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/libglib-2.0.dylib
 /opt/local/lib/libintl.dylib -lc /opt/local/lib/libiconv.dylib -lm
 -framework Carbon 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.
 }}}

--

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


More information about the macports-tickets mailing list