Opened 15 years ago

Closed 15 years ago

#21257 closed defect (duplicate)

gtk2 wont build on Tiger/PPC

Reported by: mike_keller0@… Owned by: nox@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: tiger Cc:
Port: gtk2

Description (last modified by tobypeterson)

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.

Attachments (2)

log_21257.txt (418.6 KB) - added by blb@… 15 years ago.
error log
gtk2_install.log (314.5 KB) - added by harry.weppner@… 15 years ago.
gtk2_install log

Download all attachments as: .zip

Change History (16)

comment:1 Changed 15 years ago by tobypeterson

Description: modified (diff)

comment:2 Changed 15 years ago by tobypeterson

Hmm, even with curly braces the formatting's all screwed up

comment:3 Changed 15 years ago by tobypeterson

Tiger isn't supported - but please upgrade to Xcode 2.5.

comment:4 Changed 15 years ago by tobypeterson

Keywords: tiger added; gtk2 removed
Summary: gtk2 wont build on PPCgtk2 wont build on Tiger/PPC
Version: 1.8.0

comment:5 in reply to:  3 Changed 15 years ago by mike_keller0@…

Replying to toby@…:

Tiger isn't supported - but please upgrade to Xcode 2.5.

Upgraded to 2.5, did sudo port clean --all gtk2 then sudo port install gtk2. No dice. I realize that it isn't supported on Tiger, but if you can point me in the right direction, I would greatly appreciate it. I mean, Tiger isn't THAT old, and it did work at least at one time (because I had it installed before I replaced my hard drive). Not to get into too many details, but I have an app that I have to run in classic, so I can't go to Leopard without shelling out a ton of cash for software updates, which is hard to justify, since everything works (except, of course, wireshark).

comment:6 Changed 15 years ago by tobypeterson

Run sudo port clean gtk2 and then attach the output of sudo port -d install gtk2 ... current info in this bug is useless. Also, four years is an *eternity* as far as computers go.

comment:7 Changed 15 years ago by tobypeterson

Owner: changed from macports-tickets@… to nox@…

comment:8 in reply to:  7 Changed 15 years ago by mike_keller0@…

Replying to toby@…: Thanks, here is the output (it is too long for one post, so it will be in multiple posts): (see attachment)

comment:9 Changed 15 years ago by mike_keller0@…

And here is the rest: (see attachment)

Changed 15 years ago by blb@…

Attachment: log_21257.txt added

error log

comment:10 Changed 15 years ago by blb@…

Log converted to attachment; with long output like that, using the 'Attach file' button is vastly preferred.

comment:11 Changed 15 years ago by harry.weppner@…

same issue here - I am on Leopard 10.5.8 (PPC) - Xcode 3.1.3 - will attach log file

Changed 15 years ago by harry.weppner@…

Attachment: gtk2_install.log added

gtk2_install log

comment:12 in reply to:  11 Changed 15 years ago by harry.weppner@…

Replying to harry.weppner@…:

same issue here - I am on Leopard 10.5.8 (PPC) - Xcode 3.1.3 - will attach log file

just realized ticket # 20997 had already dealt with this issue...

comment:13 Changed 15 years ago by nox@…

So is this ticket yet another duplicate of #20372?

comment:14 Changed 15 years ago by nox@…

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.