Opened 17 years ago

Closed 16 years ago

Last modified 15 years ago

#12370 closed defect (invalid)

BUG: gtk2 fails to compile; gtk-update-icon-cache crashes

Reported by: davidy@… Owned by: rhwood@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: gtk2 build crash gtk-update-icon-cache panther Cc:
Port:

Description

Here's what gets logged in CrashReporter:

Host Name:      Tower.local
Date/Time:      2007-07-29 22:56:58 -0400
OS Version:     10.3.9 (Build 7W98)
Report Version: 2

Command: gtk-update-icon-cache
Path:    /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtk2/work/gtk+-2.10.13/gtk/.libs/gtk-update-icon-cache
Version: ??? (???)
PID:     26539
Thread:  0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000000

Thread 0 Crashed:
0   libSystem.B.dylib         	0x9011c120 bcmp + 0xe0
1   com.apple.CoreFoundation  	0x901f70d4 __CFInitialize + 0xdc
2   dyld                      	0x8fe096dc call_image_init_routines + 0x1f4
3   dyld                      	0x8fe1149c link_in_need_modules + 0x1a8
4   dyld                      	0x8fe11010 bind_lazy_symbol_reference + 0x534
5   dyld                      	0x8fe01040 stub_binding_helper_interface + 0x40
6   libintl.8.dylib           	0x00051aa4 _nl_locale_name_default + 0x30
7   libintl.8.dylib           	0x0004fcfc guess_category_value + 0x2c
8   libintl.8.dylib           	0x0004f0b8 libintl_dcigettext + 0x288
9   libgdk_pixbuf-2.0.0.dylib 	0x0002b16c gdk_pixbuf_class_init + 0x6c
10  libgdk_pixbuf-2.0.0.dylib 	0x0002b034 gdk_pixbuf_class_intern_init + 0x40
11  libgobject-2.0.0.dylib    	0x002232b0 type_class_init_Wm + 0x44c
12  libgobject-2.0.0.dylib    	0x00224a30 g_type_class_ref + 0x1c4
13  libgobject-2.0.0.dylib    	0x0020c328 g_object_new_valist + 0xf4
14  libgobject-2.0.0.dylib    	0x0020bb48 g_object_new + 0x78
15  libgdk_pixbuf-2.0.0.dylib 	0x0002e1cc gdk_pixbuf_new_from_data + 0x228
16  libgdk_pixbuf-2.0.0.dylib 	0x0002b800 gdk_pixbuf_new + 0x21c
17  libpixbufloader-png.so    	0x000199e0 gdk_pixbuf__png_image_load + 0x1b8
18  libgdk_pixbuf-2.0.0.dylib 	0x0002fb98 _gdk_pixbuf_generic_image_load + 0x74
19  libgdk_pixbuf-2.0.0.dylib 	0x0003000c gdk_pixbuf_new_from_file + 0x278
20  gtk-update-icon-cache     	0x00003038 maybe_cache_image_data + 0x228
21  gtk-update-icon-cache     	0x0000340c scan_directory + 0x354
22  gtk-update-icon-cache     	0x00003218 scan_directory + 0x160
23  gtk-update-icon-cache     	0x00004c08 build_cache + 0xf8
24  gtk-update-icon-cache     	0x000050f8 main + 0x148
25  gtk-update-icon-cache     	0x000020a4 _start + 0x188 (crt.c:267)
26  dyld                      	0x8fe1a31c _dyld_start + 0x64

PPC Thread State:
  srr0: 0x9011c120 srr1: 0x0200f030                vrsave: 0x00000000
    cr: 0x44022228  xer: 0x00000004   lr: 0x901f70d4  ctr: 0x00000004
    r0: 0x00000050   r1: 0xbfffd360   r2: 0x8fe507cc   r3: 0x00000000
    r4: 0x9025dfb0   r5: 0x00000000   r6: 0x8fe5322c   r7: 0xffffffc0
    r8: 0x00000004   r9: 0x00000010  r10: 0xffffffef  r11: 0xa01c1f94
   r12: 0x9011c040  r13: 0x00000006  r14: 0x8fe50834  r15: 0x8fe50504
   r16: 0x8fe50528  r17: 0x8fe50538  r18: 0x00000000  r19: 0x66020000
   r20: 0x8fe50538  r21: 0x00000001  r22: 0x8fe521fc  r23: 0x8fe50834
   r24: 0x8fe50528  r25: 0xa01c7000  r26: 0xbffffb94  r27: 0x00000006
   r28: 0x00000002  r29: 0x00000005  r30: 0xbffffb9c  r31: 0x901f7000

Binary Images Description:
    0x1000 -     0x5fff gtk-update-icon-cache 	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtk2/work/gtk+-2.10.13/gtk/.libs/gtk-update-icon-cache
    0xd000 -     0xefff libgmodule-2.0.0.dylib 	/opt/local/lib/libgmodule-2.0.0.dylib
   0x18000 -    0x1bfff libpixbufloader-png.so 	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtk2/work/gtk+-2.10.13/gdk-pixbuf/.libs/libpixbufloader-png.so
   0x2a000 -    0x44fff libgdk_pixbuf-2.0.0.dylib 	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtk2/work/gtk+-2.10.13/gdk-pixbuf/.libs/libgdk_pixbuf-2.0.0.dylib
   0x4b000 -    0x53fff libintl.8.dylib 	/opt/local/lib/libintl.8.dylib
   0x58000 -    0x67fff libz.1.dylib 	/opt/local/lib/libz.1.dylib
   0x8f000 -    0xc2fff libpango-1.0.0.dylib 	/opt/local/lib/libpango-1.0.0.dylib
   0xd3000 -    0xedfff libjpeg.62.dylib 	/opt/local/lib/libjpeg.62.dylib
  0x205000 -   0x236fff libgobject-2.0.0.dylib 	/opt/local/lib/libgobject-2.0.0.dylib
  0x245000 -   0x260fff libpng12.0.dylib 	/opt/local/lib/libpng12.0.dylib
  0x296000 -   0x2dcfff libtiff.3.dylib 	/opt/local/lib/libtiff.3.dylib
  0x2ea000 -   0x378fff libglib-2.0.0.dylib 	/opt/local/lib/libglib-2.0.0.dylib
  0x490000 -   0x585fff libiconv.2.dylib 	/opt/local/lib/libiconv.2.dylib
0x8fe00000 - 0x8fe4ffff dyld 	/usr/lib/dyld
0x90000000 - 0x9014ffff libSystem.B.dylib 	/usr/lib/libSystem.B.dylib
0x901c0000 - 0x9026efff com.apple.CoreFoundation 6.3.9 (299.37)	/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x939d0000 - 0x939d4fff libmathCommon.A.dylib 	/usr/lib/system/libmathCommon.A.dylib
0x968d0000 - 0x969b2fff libicucore.A.dylib 	/usr/lib/libicucore.A.dylib

And then there's the usual compile log. I don't know what to make of this either.

 gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I.. -I../gdk -I../gdk-pixbuf -DGDK_PIXBUF_DISABLE_DEPRECATED -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 -no-cpp-precomp -DX_LOCALE -I/opt/local/include -I/usr/X11R6/include -I/usr/X11R6/include -MT gdkenumtypes.lo -MD -MP -MF .deps/gdkenumtypes.Tpo -c gdkenumtypes.c  -fno-common -DPIC -o .libs/gdkenumtypes.o
/bin/sh ../libtool --mode=link gcc  -I/usr/X11R6/include  -L/opt/local/lib -lpango-1.0 -L/opt/local/lib -o libgdk-x11-2.0.la  -version-info 1000:13:1000 -export-dynamic -rpath /opt/local/lib  -export-symbols-regex "^[^_].*" gdk.lo gdkcairo.lo gdkcolor.lo gdkcursor.lo gdkdisplay.lo gdkdnd.lo gdkdraw.lo gdkevents.lo gdkfont.lo gdkgc.lo gdkglobals.lo gdkkeys.lo gdkkeyuni.lo gdkimage.lo gdkdisplaymanager.lo gdkpango.lo gdkpixbuf-drawable.lo gdkpixbuf-render.lo gdkpixmap.lo gdkpolyreg-generic.lo gdkrgb.lo gdkrectangle.lo gdkregion-generic.lo gdkscreen.lo gdkselection.lo gdkvisual.lo gdkwindow.lo gdkenumtypes.lo x11/libgdk-x11.la -L/usr/X11R6/lib -lXrandr -lXrender -lXinerama  -lXext -lX11  -L/opt/local/lib -L/usr/X11R6/lib -lpangocairo-1.0 -lpango-1.0 -lcairo -lSM -lICE -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -lfreetype -lz -lpng12 -lXrender -lX11 -lfontconfig -lexpat    -ltiff -ljpeg -L/opt/local/lib -lpng12   -lm ../gdk-pixbuf/libgdk_pixbuf-2.0.la 
generating symbol list for `libgdk-x11-2.0.la'
/bin/nm -p  .libs/gdk.o .libs/gdkcairo.o .libs/gdkcolor.o .libs/gdkcursor.o .libs/gdkdisplay.o .libs/gdkdnd.o .libs/gdkdraw.o .libs/gdkevents.o .libs/gdkfont.o .libs/gdkgc.o .libs/gdkglobals.o .libs/gdkkeys.o .libs/gdkkeyuni.o .libs/gdkimage.o .libs/gdkdisplaymanager.o .libs/gdkpango.o .libs/gdkpixbuf-drawable.o .libs/gdkpixbuf-render.o .libs/gdkpixmap.o .libs/gdkpolyreg-generic.o .libs/gdkrgb.o .libs/gdkrectangle.o .libs/gdkregion-generic.o .libs/gdkscreen.o .libs/gdkselection.o .libs/gdkvisual.o .libs/gdkwindow.o .libs/gdkenumtypes.o  x11/.libs/libgdk-x11.a | sed -n -e 's/^.*[   ]\([BCDEGRST][BCDEGRST]*\)[    ][      ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | /bin/sed 's/.* //' | sort | uniq > .libs/libgdk-x11-2.0.exp
/bin/grep -E -e "^[^_].*" ".libs/libgdk-x11-2.0.exp" > ".libs/libgdk-x11-2.0.expT"
mv -f ".libs/libgdk-x11-2.0.expT" ".libs/libgdk-x11-2.0.exp"
rm -fr .libs/libgdk-x11-2.0.lax
mkdir .libs/libgdk-x11-2.0.lax
rm -fr .libs/libgdk-x11-2.0.lax/libgdk-x11.a
mkdir .libs/libgdk-x11-2.0.lax/libgdk-x11.a
Extracting /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtk2/work/gtk+-2.10.13/gdk/x11/.libs/libgdk-x11.a
(cd .libs/libgdk-x11-2.0.lax/libgdk-x11.a && ar x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtk2/work/gtk+-2.10.13/gdk/x11/.libs/libgdk-x11.a)
sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < .libs/libgdk-x11-2.0.exp > .libs/libgdk-x11-2.0-symbols.expsym
gcc -dynamiclib ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/libgdk-x11-2.0.0.1000.13.dylib  .libs/gdk.o .libs/gdkcairo.o .libs/gdkcolor.o .libs/gdkcursor.o .libs/gdkdisplay.o .libs/gdkdnd.o .libs/gdkdraw.o .libs/gdkevents.o .libs/gdkfont.o .libs/gdkgc.o .libs/gdkglobals.o .libs/gdkkeys.o .libs/gdkkeyuni.o .libs/gdkimage.o .libs/gdkdisplaymanager.o .libs/gdkpango.o .libs/gdkpixbuf-drawable.o .libs/gdkpixbuf-render.o .libs/gdkpixmap.o .libs/gdkpolyreg-generic.o .libs/gdkrgb.o .libs/gdkrectangle.o .libs/gdkregion-generic.o .libs/gdkscreen.o .libs/gdkselection.o .libs/gdkvisual.o .libs/gdkwindow.o .libs/gdkenumtypes.o  .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkasync.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkcolor-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkcursor-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkdisplay-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkdnd-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkdrawable-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkevents-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkfont-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkgc-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkgeometry-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkglobals-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkim-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkimage-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkinput-none.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkinput.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkkeys-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkmain-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkpixmap-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkproperty-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkscreen-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkselection-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkspawn-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkvisual-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkwindow-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkxftdefaults.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkxid.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/xsettings-client.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/xsettings-common.o   -L/opt/local/lib -lc -L/usr/X11R6/lib -lXrandr -lXinerama -lXext /opt/local/lib/libpangocairo-1.0.dylib /usr/X11R6/lib/libSM.dylib /usr/X11R6/lib/libICE.dylib /usr/X11R6/lib/libX11.dylib /opt/local/lib/libpangoft2-1.0.dylib /opt/local/lib/libz.dylib /opt/local/lib/libpango-1.0.dylib /opt/local/lib/libcairo.dylib -lSM -lICE /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 /opt/local/lib/libiconv.dylib /opt/local/lib/libfreetype.dylib -lz /opt/local/lib/libXrender.dylib -lX11 /opt/local/lib/libfontconfig.dylib /opt/local/lib/libexpat.dylib /opt/local/lib/libtiff.dylib /opt/local/lib/libjpeg.dylib /opt/local/lib/libpng12.dylib -lm ../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.dylib  -install_name  /opt/local/lib/libgdk-x11-2.0.0.dylib -Wl,-compatibility_version -Wl,1001 -Wl,-current_version -Wl,1001.13
ld: warning -undefined suppress disables -prebind
ld: warning multiple definitions of symbol _XRenderExtensionName
/opt/local/lib/libXrender.dylib(Xrender.o) definition of _XRenderExtensionName
/usr/X11R6/lib/libXrender.1.dylib(Xrender.o) definition of _XRenderExtensionName
ld: warning multiple definitions of symbol _XRenderFindDisplay
/opt/local/lib/libXrender.dylib(Xrender.o) definition of _XRenderFindDisplay
/usr/X11R6/lib/libXrender.1.dylib(Xrender.o) definition of _XRenderFindDisplay
ld: warning multiple definitions of symbol _XRenderFindFormat
/opt/local/lib/libXrender.dylib(Xrender.o) definition of _XRenderFindFormat
/usr/X11R6/lib/libXrender.1.dylib(Xrender.o) definition of _XRenderFindFormat
ld: warning multiple definitions of symbol _XRenderFindStandardFormat
/opt/local/lib/libXrender.dylib(Xrender.o) definition of _XRenderFindStandardFormat
/usr/X11R6/lib/libXrender.1.dylib(Xrender.o) definition of _XRenderFindStandardFormat
ld: warning multiple definitions of symbol _XRenderFindVisualFormat
/opt/local/lib/libXrender.dylib(Xrender.o) definition of _XRenderFindVisualFormat
/usr/X11R6/lib/libXrender.1.dylib(Xrender.o) definition of _XRenderFindVisualFormat
ld: warning multiple definitions of symbol _XRenderQueryExtension
/opt/local/lib/libXrender.dylib(Xrender.o) definition of _XRenderQueryExtension
/usr/X11R6/lib/libXrender.1.dylib(Xrender.o) definition of _XRenderQueryExtension
ld: warning multiple definitions of symbol _XRenderQueryFormats
/opt/local/lib/libXrender.dylib(Xrender.o) definition of _XRenderQueryFormats
/usr/X11R6/lib/libXrender.1.dylib(Xrender.o) definition of _XRenderQueryFormats
ld: warning multiple definitions of symbol _XRenderQueryPictIndexValues
/opt/local/lib/libXrender.dylib(Xrender.o) definition of _XRenderQueryPictIndexValues
/usr/X11R6/lib/libXrender.1.dylib(Xrender.o) definition of _XRenderQueryPictIndexValues
ld: warning multiple definitions of symbol _XRenderQuerySubpixelOrder
/opt/local/lib/libXrender.dylib(Xrender.o) definition of _XRenderQuerySubpixelOrder
/usr/X11R6/lib/libXrender.1.dylib(Xrender.o) definition of _XRenderQuerySubpixelOrder
ld: warning multiple definitions of symbol _XRenderQueryVersion
/opt/local/lib/libXrender.dylib(Xrender.o) definition of _XRenderQueryVersion
/usr/X11R6/lib/libXrender.1.dylib(Xrender.o) definition of _XRenderQueryVersion
ld: warning multiple definitions of symbol _XRenderExtensionInfo
/opt/local/lib/libXrender.dylib(Xrender.o) definition of _XRenderExtensionInfo
/usr/X11R6/lib/libXrender.1.dylib(Xrender.o) definition of _XRenderExtensionInfo
ld: warning multiple definitions of symbol _XRenderSetSubpixelOrder
/opt/local/lib/libXrender.dylib(Xrender.o) definition of _XRenderSetSubpixelOrder
/usr/X11R6/lib/libXrender.1.dylib(Xrender.o) definition of _XRenderSetSubpixelOrder
ld: warning multiple definitions of symbol _locale_charset
/opt/local/lib/libiconv.dylib(localcharset.o) definition of _locale_charset
/opt/local/lib/libintl.dylib(localcharset.o) definition of _locale_charset
nmedit -s .libs/libgdk-x11-2.0-symbols.expsym .libs/libgdk-x11-2.0.0.1000.13.dylib
(cd .libs && rm -f libgdk-x11-2.0.0.dylib && ln -s libgdk-x11-2.0.0.1000.13.dylib libgdk-x11-2.0.0.dylib)
(cd .libs && rm -f libgdk-x11-2.0.dylib && ln -s libgdk-x11-2.0.0.1000.13.dylib libgdk-x11-2.0.dylib)
rm -fr .libs/libgdk-x11-2.0.lax
creating libgdk-x11-2.0.la
(cd .libs && rm -f libgdk-x11-2.0.la && ln -s ../libgdk-x11-2.0.la libgdk-x11-2.0.la)
Making all in gtk
( cd . && glib-mkenums \
                --fhead "#undef GTK_DISABLE_DEPRECATED\n#define GTK_ENABLE_BROKEN\n#include \"gtk.h\"\n#include \"gtkprivate.h\"\n#include \"gtkalias.h\"\n" \
                --ftail "#define __GTK_TYPE_BUILTINS_C__\n#include \"gtkaliasdef.c\"\n" \
                --fprod "\n/* enumerations from \"@filename@\" */" \
                --vhead "GType\n@enum_name@_get_type (void)\n{\n  static GType etype = 0;\n  if (etype == 0) {\n    static const G@Type@Value values[] = {" \
                --vprod "      { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
                --vtail "      { 0, NULL, NULL }\n    };\n    etype = g_@type@_register_static (g_intern_static_string (\"@EnumName@\"), values);\n  }\n  return etype;\n}\n" \
        gtk.h gtkaboutdialog.h gtkaccelgroup.h gtkaccellabel.h gtkaccelmap.h gtkaccessible.h gtkaction.h gtkactiongroup.h gtkadjustment.h gtkalignment.h gtkarrow.h gtkaspectframe.h gtkassistant.h gtkbbox.h gtkbin.h gtkbindings.h gtkbox.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 gtkclist.h gtkcolorbutton.h gtkcolorsel.h gtkcolorseldialog.h gtkcombo.h gtkcombobox.h gtkcomboboxentry.h gtkcontainer.h gtkctree.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 gtkfilesel.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 gtkiconfactory.h gtkicontheme.h gtkiconview.h gtkimage.h gtkimagemenuitem.h gtkimcontext.h gtkimcontextsimple.h gtkimmodule.h gtkimmulticontext.h gtkinputdialog.h gtkinvisible.h gtkitem.h gtkitemfactory.h gtklabel.h gtklayout.h gtklinkbutton.h gtklist.h gtklistitem.h gtkliststore.h gtkmain.h gtkmenu.h gtkmenubar.h gtkmenuitem.h gtkmenushell.h gtkmenutoolbutton.h gtkmessagedialog.h gtkmisc.h gtkmodules.h gtknotebook.h gtkobject.h gtkoldeditable.h gtkoptionmenu.h gtkpagesetup.h gtkpaned.h gtkpapersize.h gtkpixmap.h gtkplug.h gtkpreview.h gtkprintcontext.h gtkprintoperation.h gtkprintoperationpreview.h gtkprintsettings.h gtkprivate.h gtkprogress.h gtkprogressbar.h gtkradioaction.h gtkradiobutton.h gtkradiomenuitem.h gtkradiotoolbutton.h gtkrange.h gtkrc.h gtkrecentchooser.h gtkrecentchooserdialog.h gtkrecentchoosermenu.h gtkrecentchooserwidget.h gtkrecentfilter.h gtkrecentmanager.h gtkruler.h gtkscale.h gtkscrollbar.h gtkscrolledwindow.h gtkselection.h gtkseparator.h gtkseparatormenuitem.h gtkseparatortoolitem.h gtksettings.h gtksignal.h gtksizegroup.h gtksocket.h gtkspinbutton.h gtkstatusbar.h gtkstatusicon.h gtkstock.h gtkstyle.h gtktable.h gtktearoffmenuitem.h gtktext.h gtktextbuffer.h gtktextbufferrichtext.h gtktextchild.h gtktextdisplay.h gtktextiter.h gtktextmark.h gtktexttag.h gtktexttagtable.h gtktextview.h gtktipsquery.h gtktoggleaction.h gtktogglebutton.h gtktoggletoolbutton.h gtktoolbar.h gtktoolbutton.h gtktoolitem.h gtktooltips.h gtktree.h gtktreednd.h gtktreeitem.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 gtkvpaned.h gtkvruler.h gtkvscale.h gtkvscrollbar.h gtkvseparator.h gtkwidget.h gtkwindow.h ) > xgen-gtbc \
&& cp xgen-gtbc gtktypebuiltins.c  \
&& rm -f xgen-gtbc
glib-genmarshal --prefix=_gtk_marshal ./gtkmarshalers.list --header >> xgen-gmlh \
&& (cmp -s xgen-gmlh gtkmarshalers.h || cp xgen-gmlh gtkmarshalers.h) \
&& rm -f xgen-gmlh \
&& echo timestamp > stamp-gtkmarshalers.h
if [ ! -d stock-icons ]; then                                           \
          cp -R ./stock-icons .;                                        \
  chmod -R u+w stock-icons;                                             \
        fi &&                                                                   \
for i in 16 24; do                                                      \
   (cd stock-icons/$i                                                   \
   && rm -f gtk-go-back-rtl.png                                         \
   && ln -s gtk-go-forward-ltr.png gtk-go-back-rtl.png          \
   && rm -f gtk-go-forward-rtl.png                                      \
   && ln -s gtk-go-back-ltr.png gtk-go-forward-rtl.png          \
   && rm -f gtk-goto-first-rtl.png                                      \
   && ln -s gtk-goto-last-ltr.png gtk-goto-first-rtl.png                \
   && rm -f gtk-goto-last-rtl.png                                       \
   && ln -s gtk-goto-first-ltr.png gtk-goto-last-rtl.png                \
   && rm -f gtk-media-forward-rtl.png                                   \
   && ln -s gtk-media-rewind-ltr.png gtk-media-forward-rtl.png  \
   && 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 gcc -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.10.13\" -DGTK_BINARY_VERSION=\"2.10.0\" -DGTK_HOST=\"powerpc-apple-darwin7.9.0\" -DGTK_COMPILATION -DGTK_PRINT_BACKENDS=\"file,cups\" -DGTK_PRINT_PREVIEW_COMMAND=\""evince --preview %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/atk-1.0        -I/opt/local/include -no-cpp-precomp -DX_LOCALE -I/opt/local/include  -I/usr/X11R6/include  -I/usr/X11R6/include -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 gcc  -I/usr/X11R6/include  -L/opt/local/lib -lpango-1.0 -L/opt/local/lib -o gtk-update-icon-cache  updateiconcache.o ../gdk-pixbuf/libgdk_pixbuf-2.0.la 
mkdir .libs
gcc -I/usr/X11R6/include -o .libs/gtk-update-icon-cache updateiconcache.o  -L/opt/local/lib ../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.dylib /opt/local/lib/libpango-1.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
ld: warning prebinding disabled because dependent library: /opt/local/lib/libgdk_pixbuf-2.0.0.dylib is not prebound
ld: warning multiple definitions of symbol _locale_charset
/opt/local/lib/libintl.dylib(localcharset.o) definition of _locale_charset
/opt/local/lib/libiconv.dylib(localcharset.o) definition of _locale_charset
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
make[2]: *** [gtkbuiltincache.h] Error 138
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
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.10.13" && make all CFLAGS+="-I/usr/X11R6/include" " 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 gcc -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.10.13\" -DGTK_BINARY_VERSION=\"2.10.0\" -DGTK_HOST=\"powerpc-apple-darwin7.9.0\" -DGTK_COMPILATION -DGTK_PRINT_BACKENDS=\"file,cups\" -DGTK_PRINT_PREVIEW_COMMAND=\""evince --preview %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/atk-1.0        -I/opt/local/include -no-cpp-precomp -DX_LOCALE -I/opt/local/include  -I/usr/X11R6/include  -I/usr/X11R6/include -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 gcc  -I/usr/X11R6/include  -L/opt/local/lib -lpango-1.0 -L/opt/local/lib -o gtk-update-icon-cache  updateiconcache.o ../gdk-pixbuf/libgdk_pixbuf-2.0.la 
mkdir .libs
gcc -I/usr/X11R6/include -o .libs/gtk-update-icon-cache updateiconcache.o  -L/opt/local/lib ../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.dylib /opt/local/lib/libpango-1.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
ld: warning prebinding disabled because dependent library: /opt/local/lib/libgdk_pixbuf-2.0.0.dylib is not prebound
ld: warning multiple definitions of symbol _locale_charset
/opt/local/lib/libintl.dylib(localcharset.o) definition of _locale_charset
/opt/local/lib/libiconv.dylib(localcharset.o) definition of _locale_charset
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
make[2]: *** [gtkbuiltincache.h] Error 138
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Warning: the following items did not execute (for gtk2): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

Change History (5)

comment:1 Changed 17 years ago by nox@…

Priority: Not setNormal
Version: 1.5.0

comment:2 Changed 17 years ago by rhwood@…

Status: newassigned

Later this month, gtk2 will be upgraded to version 2.12.0 from 2.10.14. If you still have problems then, we will revisit them after that. In the meantime, you may wish to upgrade all your outdated ports and try building gtk2 again, since it was upgraded from version 2.10.13 to 2.10.14 since you reported this error.

comment:3 Changed 17 years ago by rhwood@…

Is this still an issue?

comment:4 Changed 16 years ago by rhwood@…

Resolution: invalid
Status: assignedclosed

OBE

comment:5 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.