Subject: bug#6927: 24.0.50; JPEG parameter struct mismatch: library thinks size is 484, caller expects 488

From: Peter Dyballa <[email-masked]>
Date: Fri, 27 Aug 2010 21:58:11 +0200

Hello!

Since some time JPEG files in image mode are not displayed here (Mac  
OS X 10.5.8, Tiger, PPC hardware) as images but as small white  
rectangles of, say 20x30 pixels or four chars times 2.5 lines in xft:- 
unknown-Monospace-normal-normal-normal-*-13-*-*-*-*-0-iso10646-1. In  
*Messages* buffer I can find:

	Error reading JPEG image `(image :type jpeg :file ..../File.jpeg)':  
JPEG parameter struct mismatch: library thinks size is 484, caller  
expects 488

Some time I had the fear that during configuration and compilation and  
run times different libraries could be used. Even lsof shows that the  
right dylib is used. In config.log I can see:

	configure:10560: checking jerror.h usability
	configure:10560: gcc-4.2 -I/sw/include -L/sw/lib -c -I/usr/X11/ 
include -g -H -pipe -fPIC -fno-common -mcpu=7450 -mtune=7450 -faltivec  
-fast -I/sw/lib/fontconfig2/include -I/sw/include/freetype2 -I/sw/ 
include -I/sw/include/librsvg-2 -I/sw/include/glib-2.0 -I/sw/lib/ 
glib-2.0/include -I/sw/include/gtk-2.0 -I/sw/include/cairo -I/usr/ 
X11R6/include -I/usr/X11/include -I/sw/lib/xft2/include -I/sw/lib/ 
fontconfig2/include -I/sw/include/freetype2 -I/sw/include -I/usr/X11/ 
include -I/usr/X11R6/include -I/usr/X11/include    -I/sw/lib/xft2/ 
include -I/sw/lib/fontconfig2/include -I/sw/include/freetype2 -I/sw/ 
include -I/usr/X11/include -I/usr/X11R6/include conftest.c >&5
	. /usr/include/stdio.h
	.. /usr/include/_types.h
	... /usr/include/sys/_types.h
	.... /usr/include/sys/cdefs.h
	.... /usr/include/machine/_types.h
	..... /usr/include/ppc/_types.h
	. /usr/include/sys/types.h
	.. /usr/include/sys/appleapiopts.h
	.. /usr/include/machine/types.h
	... /usr/include/ppc/types.h
	.... /usr/include/ppc/_types.h
	.. /usr/include/machine/endian.h
	... /usr/include/ppc/endian.h
	.... /usr/include/sys/_endian.h
	.. /usr/include/sys/_structs.h
	. /usr/include/sys/stat.h
	.. /usr/include/sys/_structs.h
	. /usr/include/stdlib.h
	.. /usr/include/available.h
	.. /usr/include/sys/wait.h
	... /usr/include/sys/signal.h
	.... /usr/include/machine/signal.h
	..... /usr/include/ppc/signal.h
	...... /usr/include/ppc/_structs.h
	.... /usr/include/sys/_structs.h
	..... /usr/include/machine/_structs.h
	...... /usr/include/ppc/_structs.h
	....... /usr/include/mach/ppc/_structs.h
	... /usr/include/sys/resource.h
	.... /usr/include/sys/_structs.h
	.. /usr/include/alloca.h
	. /Developer/usr/bin/../lib/gcc/powerpc-apple-darwin9/4.2.1/include/ 
stddef.h
	. /usr/include/string.h
	. /usr/include/strings.h
	. /usr/include/inttypes.h
	.. /Developer/usr/bin/../lib/gcc/powerpc-apple-darwin9/4.2.1/include/ 
stdint.h
	. /usr/include/unistd.h
	.. /usr/include/sys/unistd.h
	.. /usr/include/sys/select.h
	... /usr/include/sys/_structs.h
	... /usr/include/sys/_select.h
	. /sw/include/jerror.h
	configure:10560: $? = 0
	configure:10560: result: yes
	configure:10560: checking jerror.h presence
	configure:10560: gcc-4.2 -E -no-cpp-precomp -I/sw/include -L/sw/lib - 
I/usr/X11/include    -I/sw/lib/xft2/include -I/sw/lib/fontconfig2/ 
include -I/sw/include/freetype2 -I/sw/include -I/usr/X11/include -I/ 
usr/X11R6/include conftest.c
	configure:10560: $? = 0
	configure:10560: result: yes
	configure:10560: checking for jerror.h
	configure:10560: result: yes
	configure:10562: checking for jpeg_destroy_compress in -ljpeg
	configure:10587: gcc-4.2 -I/sw/include -L/sw/lib -o conftest -I/usr/ 
X11/include -g -H -pipe -fPIC -fno-common -mcpu=7450 -mtune=7450 - 
faltivec -fast -I/sw/lib/fontconfig2/include -I/sw/include/freetype2 - 
I/sw/include -I/sw/include/librsvg-2 -I/sw/include/glib-2.0 -I/sw/lib/ 
glib-2.0/include -I/sw/include/gtk-2.0 -I/sw/include/cairo -I/usr/ 
X11R6/include -I/usr/X11/include -I/sw/lib/xft2/include -I/sw/lib/ 
fontconfig2/include -I/sw/include/freetype2 -I/sw/include -I/usr/X11/ 
include -I/usr/X11R6/include -I/usr/X11/include    -I/sw/lib/xft2/ 
include -I/sw/lib/fontconfig2/include -I/sw/include/freetype2 -I/sw/ 
include -I/usr/X11/include -I/usr/X11R6/include -Wl,-dead_strip_dylibs  
-L/usr/X11/lib conftest.c -ljpeg  -lXrender -L/sw/lib/xft2/lib -L/sw/ 
lib/fontconfig2/lib -L/sw/lib -lXft -lfontconfig -lfreetype -lXext - 
lXmu -lXt -lSM -lICE -L/sw/lib -lrsvg-2 -lgdk_pixbuf-2.0 -lcairo - 
lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -lX11   >&5
	configure:10587: $? = 0
	configure:10596: result: yes

During compilation I can see:

	gcc-4.2 -I/sw/include -L/sw/lib -c  -Demacs -DHAVE_CONFIG_H  -I. -I/ 
Users/pete/Quellen/Emacs_CVS/emacs-24/src   -I/usr/X11/include -I/sw/ 
lib/xft2/include -I/sw/lib/fontconfig2/include -I/sw/include/freetype2  
-I/sw/include -I/usr/X11/include -I/usr/X11R6/include   -I/sw/lib/ 
fontconfig2/include -I/sw/include/freetype2 -I/sw/include -I/sw/ 
include/librsvg-2 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/ 
sw/include/gtk-2.0 -I/sw/include/cairo -I/usr/X11R6/include -I/usr/X11/ 
include      -I/sw/include/freetype2 -I/sw/include  -MMD -MF deps/ 
image.d  -Wimplicit-function-declaration -Wold-style-definition - 
Wdeclaration-after-statement -Wno-pointer-sign  -g -H -pipe -fPIC -fno- 
common -mcpu=7450 -mtune=7450 -faltivec -fast image.c
	. ./config.h
	.. ./s/darwin.h
	.. ./m/macppc.h
	.. /usr/include/string.h
	... /usr/include/_types.h
	.... /usr/include/sys/_types.h
	..... /usr/include/sys/cdefs.h
	..... /usr/include/machine/_types.h
	...... /usr/include/ppc/_types.h
	.. /usr/include/stdlib.h
	... /usr/include/available.h
	... /usr/include/sys/wait.h
	.... /usr/include/sys/signal.h
	..... /usr/include/sys/appleapiopts.h
	..... /usr/include/machine/signal.h
	...... /usr/include/ppc/signal.h
	....... /usr/include/ppc/_structs.h
	..... /usr/include/sys/_structs.h
	...... /usr/include/machine/_structs.h
	....... /usr/include/ppc/_structs.h
	........ /usr/include/mach/ppc/_structs.h
	.... /usr/include/sys/resource.h
	..... /usr/include/sys/_structs.h
	.... /usr/include/machine/endian.h
	..... /usr/include/ppc/endian.h
	...... /usr/include/sys/_endian.h
	... /usr/include/alloca.h
	... /usr/include/machine/types.h
	.... /usr/include/ppc/types.h
	..... /usr/include/ppc/_types.h
	. /usr/include/stdio.h
	. /usr/include/math.h
	.. /usr/include/architecture/ppc/math.h
	. /usr/include/ctype.h
	.. /usr/include/runetype.h
	. /usr/include/unistd.h
	.. /usr/include/sys/unistd.h
	.. /usr/include/sys/select.h
	... /usr/include/sys/_structs.h
	... /usr/include/sys/_select.h
	. /usr/X11/include/libpng/png.h
	.. /usr/include/zlib.h
	... /usr/include/zconf.h
	.... /usr/include/sys/types.h
	..... /usr/include/sys/_structs.h
	.. /usr/X11/include/libpng/pngconf.h
	... /usr/include/setjmp.h
	.... /usr/include/machine/setjmp.h
	..... /usr/include/ppc/setjmp.h
	...... /usr/include/ppc/_structs.h
	... /usr/include/time.h
	.... /usr/include/_structs.h
	..... /usr/include/sys/_structs.h
	. lisp.h
	.. /usr/lib/gcc/powerpc-apple-darwin9/4.2.1/include/stdarg.h
	.. /usr/lib/gcc/powerpc-apple-darwin9/4.2.1/include/stddef.h
	. frame.h
	.. dispextern.h
	... /usr/X11/include/X11/Xlib.h
	.... /usr/X11/include/X11/X.h
	.... /usr/X11/include/X11/Xfuncproto.h
	.... /usr/X11/include/X11/Xosdefs.h
	.... /usr/lib/gcc/powerpc-apple-darwin9/4.2.1/include/stddef.h
	... /usr/X11/include/X11/Intrinsic.h
	.... /usr/X11/include/X11/Xutil.h
	..... /usr/X11/include/X11/keysym.h
	...... /usr/X11/include/X11/keysymdef.h
	.... /usr/X11/include/X11/Xresource.h
	.... /usr/lib/gcc/powerpc-apple-darwin9/4.2.1/include/stddef.h
	.... /usr/X11/include/X11/Core.h
	.... /usr/X11/include/X11/Composite.h
	.... /usr/X11/include/X11/Constraint.h
	.... /usr/X11/include/X11/Object.h
	.... /usr/X11/include/X11/RectObj.h
	. window.h
	. blockinput.h
	.. atimer.h
	... systime.h
	.... /usr/include/sys/time.h
	..... /usr/include/sys/_structs.h
	. ./epaths.h
	. character.h
	. coding.h
	.. composite.h
	. termhooks.h
	. font.h
	.. ccl.h
	. xterm.h
	.. /usr/X11/include/X11/cursorfont.h
	.. /usr/X11/include/X11/keysym.h
	... /usr/X11/include/X11/keysymdef.h
	.. /usr/X11/include/X11/Xatom.h
	.. /usr/X11/include/X11/StringDefs.h
	.. /usr/X11/include/X11/IntrinsicP.h
	... /usr/X11/include/X11/CoreP.h
	... /usr/X11/include/X11/CompositeP.h
	... /usr/X11/include/X11/ConstrainP.h
	... /usr/X11/include/X11/ObjectP.h
	... /usr/X11/include/X11/RectObjP.h
	.. /usr/X11/include/X11/Xlocale.h
	... /usr/include/locale.h
	.... /usr/include/_locale.h
	. /usr/include/sys/stat.h
	.. /usr/include/sys/_structs.h
	. /usr/X11/include/X11/xpm.h
	. /sw/include/jpeglib.h
	.. /sw/include/jconfig.h
	.. /sw/include/jmorecfg.h
	. /sw/include/jerror.h
	. /sw/include/tiffio.h
	.. /sw/include/tiff.h
	... /sw/include/tiffconf.h
	.. /sw/include/tiffvers.h
	. /sw/include/gif_lib.h
	. /sw/include/librsvg-2/librsvg/rsvg.h
	.. /sw/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf.h
	... /sw/include/glib-2.0/glib.h
	.... /sw/include/glib-2.0/glib/galloca.h
	..... /sw/include/glib-2.0/glib/gtypes.h
	...... /sw/lib/glib-2.0/include/glibconfig.h
	....... /sw/include/glib-2.0/glib/gmacros.h
	........ /usr/lib/gcc/powerpc-apple-darwin9/4.2.1/include/stddef.h
	....... /usr/lib/gcc/powerpc-apple-darwin9/4.2.1/include/limits.h
	........ /usr/lib/gcc/powerpc-apple-darwin9/4.2.1/include/syslimits.h
	........ /usr/include/limits.h
	......... /usr/include/machine/limits.h
	.......... /usr/include/ppc/limits.h
	........... /usr/include/ppc/_limits.h
	......... /usr/include/sys/syslimits.h
	....... /usr/lib/gcc/powerpc-apple-darwin9/4.2.1/include/float.h
	...... /sw/include/glib-2.0/glib/gmacros.h
	.... /sw/include/glib-2.0/glib/garray.h
	..... /sw/include/glib-2.0/glib/gtypes.h
	.... /sw/include/glib-2.0/glib/gasyncqueue.h
	..... /sw/include/glib-2.0/glib/gthread.h
	...... /sw/include/glib-2.0/glib/gerror.h
	....... /sw/include/glib-2.0/glib/gquark.h
	........ /sw/include/glib-2.0/glib/gtypes.h
	...... /sw/include/glib-2.0/glib/gtypes.h
	...... /sw/include/glib-2.0/glib/gutils.h
	....... /sw/include/glib-2.0/glib/gtypes.h
	...... /sw/include/glib-2.0/glib/gatomic.h
	....... /sw/include/glib-2.0/glib/gtypes.h
	.... /sw/include/glib-2.0/glib/gatomic.h
	.... /sw/include/glib-2.0/glib/gbacktrace.h
	..... /sw/include/glib-2.0/glib/gtypes.h
	..... /usr/include/signal.h
	.... /sw/include/glib-2.0/glib/gbase64.h
	..... /sw/include/glib-2.0/glib/gtypes.h
	.... /sw/include/glib-2.0/glib/gbookmarkfile.h
	..... /sw/include/glib-2.0/glib/gerror.h
	.... /sw/include/glib-2.0/glib/gcache.h
	..... /sw/include/glib-2.0/glib/glist.h
	...... /sw/include/glib-2.0/glib/gmem.h
	....... /sw/include/glib-2.0/glib/gslice.h
	........ /sw/include/glib-2.0/glib/gtypes.h
	....... /sw/include/glib-2.0/glib/gtypes.h
	.... /sw/include/glib-2.0/glib/gchecksum.h
	..... /sw/include/glib-2.0/glib/gtypes.h
	.... /sw/include/glib-2.0/glib/gcompletion.h
	..... /sw/include/glib-2.0/glib/glist.h
	.... /sw/include/glib-2.0/glib/gconvert.h
	..... /sw/include/glib-2.0/glib/gerror.h
	.... /sw/include/glib-2.0/glib/gdataset.h
	..... /sw/include/glib-2.0/glib/gquark.h
	.... /sw/include/glib-2.0/glib/gdate.h
	..... /sw/include/glib-2.0/glib/gtypes.h
	..... /sw/include/glib-2.0/glib/gquark.h
	.... /sw/include/glib-2.0/glib/gdir.h
	..... /sw/include/glib-2.0/glib/gerror.h
	.... /sw/include/glib-2.0/glib/gerror.h
	.... /sw/include/glib-2.0/glib/gfileutils.h
	..... /sw/include/glib-2.0/glib/gerror.h
	.... /sw/include/glib-2.0/glib/ghash.h
	..... /sw/include/glib-2.0/glib/gtypes.h
	..... /sw/include/glib-2.0/glib/glist.h
	.... /sw/include/glib-2.0/glib/ghook.h
	..... /sw/include/glib-2.0/glib/gmem.h
	.... /sw/include/glib-2.0/glib/ghostutils.h
	..... /sw/include/glib-2.0/glib/gtypes.h
	.... /sw/include/glib-2.0/glib/giochannel.h
	..... /sw/include/glib-2.0/glib/gconvert.h
	..... /sw/include/glib-2.0/glib/gmain.h
	...... /sw/include/glib-2.0/glib/gpoll.h
	....... /sw/include/glib-2.0/glib/gtypes.h
	...... /sw/include/glib-2.0/glib/gslist.h
	....... /sw/include/glib-2.0/glib/gmem.h
	...... /sw/include/glib-2.0/glib/gthread.h
	..... /sw/include/glib-2.0/glib/gstring.h
	...... /sw/include/glib-2.0/glib/gtypes.h
	...... /sw/include/glib-2.0/glib/gunicode.h
	....... /sw/include/glib-2.0/glib/gerror.h
	....... /sw/include/glib-2.0/glib/gtypes.h
	...... /sw/include/glib-2.0/glib/gutils.h
	.... /sw/include/glib-2.0/glib/gkeyfile.h
	..... /sw/include/glib-2.0/glib/gerror.h
	.... /sw/include/glib-2.0/glib/glist.h
	.... /sw/include/glib-2.0/glib/gmacros.h
	.... /sw/include/glib-2.0/glib/gmain.h
	.... /sw/include/glib-2.0/glib/gmappedfile.h
	..... /sw/include/glib-2.0/glib/gerror.h
	.... /sw/include/glib-2.0/glib/gmarkup.h
	..... /sw/include/glib-2.0/glib/gerror.h
	..... /sw/include/glib-2.0/glib/gslist.h
	.... /sw/include/glib-2.0/glib/gmem.h
	.... /sw/include/glib-2.0/glib/gmessages.h
	..... /sw/include/glib-2.0/glib/gtypes.h
	..... /sw/include/glib-2.0/glib/gmacros.h
	.... /sw/include/glib-2.0/glib/gnode.h
	..... /sw/include/glib-2.0/glib/gmem.h
	.... /sw/include/glib-2.0/glib/goption.h
	..... /sw/include/glib-2.0/glib/gerror.h
	..... /sw/include/glib-2.0/glib/gquark.h
	.... /sw/include/glib-2.0/glib/gpattern.h
	..... /sw/include/glib-2.0/glib/gtypes.h
	.... /sw/include/glib-2.0/glib/gpoll.h
	.... /sw/include/glib-2.0/glib/gprimes.h
	..... /sw/include/glib-2.0/glib/gtypes.h
	.... /sw/include/glib-2.0/glib/gqsort.h
	..... /sw/include/glib-2.0/glib/gtypes.h
	.... /sw/include/glib-2.0/glib/gquark.h
	.... /sw/include/glib-2.0/glib/gqueue.h
	..... /sw/include/glib-2.0/glib/glist.h
	.... /sw/include/glib-2.0/glib/grand.h
	..... /sw/include/glib-2.0/glib/gtypes.h
	.... /sw/include/glib-2.0/glib/grel.h
	..... /sw/include/glib-2.0/glib/gtypes.h
	.... /sw/include/glib-2.0/glib/gregex.h
	..... /sw/include/glib-2.0/glib/gerror.h
	..... /sw/include/glib-2.0/glib/gstring.h
	.... /sw/include/glib-2.0/glib/gscanner.h
	..... /sw/include/glib-2.0/glib/gdataset.h
	..... /sw/include/glib-2.0/glib/ghash.h
	.... /sw/include/glib-2.0/glib/gsequence.h
	..... /sw/include/glib-2.0/glib/gtypes.h
	.... /sw/include/glib-2.0/glib/gshell.h
	..... /sw/include/glib-2.0/glib/gerror.h
	.... /sw/include/glib-2.0/glib/gslice.h
	.... /sw/include/glib-2.0/glib/gslist.h
	.... /sw/include/glib-2.0/glib/gspawn.h
	..... /sw/include/glib-2.0/glib/gerror.h
	.... /sw/include/glib-2.0/glib/gstrfuncs.h
	..... /sw/include/glib-2.0/glib/gtypes.h
	.... /sw/include/glib-2.0/glib/gstring.h
	.... /sw/include/glib-2.0/glib/gtestutils.h
	..... /sw/include/glib-2.0/glib.h
	.... /sw/include/glib-2.0/glib/gthread.h
	.... /sw/include/glib-2.0/glib/gthreadpool.h
	..... /sw/include/glib-2.0/glib/gthread.h
	.... /sw/include/glib-2.0/glib/gtimer.h
	..... /sw/include/glib-2.0/glib/gtypes.h
	.... /sw/include/glib-2.0/glib/gtree.h
	..... /sw/include/glib-2.0/glib/gnode.h
	.... /sw/include/glib-2.0/glib/gtypes.h
	.... /sw/include/glib-2.0/glib/gunicode.h
	.... /sw/include/glib-2.0/glib/gurifuncs.h
	.... /sw/include/glib-2.0/glib/gutils.h
	... /sw/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-features.h
	... /sw/include/glib-2.0/glib-object.h
	.... /sw/include/glib-2.0/gobject/gboxed.h
	..... /sw/include/glib-2.0/gobject/gtype.h
	.... /sw/include/glib-2.0/gobject/genums.h
	..... /sw/include/glib-2.0/gobject/gtype.h
	.... /sw/include/glib-2.0/gobject/gobject.h
	..... /sw/include/glib-2.0/gobject/gtype.h
	..... /sw/include/glib-2.0/gobject/gvalue.h
	...... /sw/include/glib-2.0/gobject/gtype.h
	..... /sw/include/glib-2.0/gobject/gparam.h
	...... /sw/include/glib-2.0/gobject/gvalue.h
	..... /sw/include/glib-2.0/gobject/gclosure.h
	...... /sw/include/glib-2.0/gobject/gtype.h
	..... /sw/include/glib-2.0/gobject/gsignal.h
	...... /sw/include/glib-2.0/gobject/gclosure.h
	...... /sw/include/glib-2.0/gobject/gvalue.h
	...... /sw/include/glib-2.0/gobject/gparam.h
	...... /sw/include/glib-2.0/gobject/gmarshal.h
	.... /sw/include/glib-2.0/gobject/gparam.h
	.... /sw/include/glib-2.0/gobject/gparamspecs.h
	..... /sw/include/glib-2.0/gobject/gvalue.h
	..... /sw/include/glib-2.0/gobject/genums.h
	..... /sw/include/glib-2.0/gobject/gboxed.h
	..... /sw/include/glib-2.0/gobject/gobject.h
	.... /sw/include/glib-2.0/gobject/gsignal.h
	.... /sw/include/glib-2.0/gobject/gsourceclosure.h
	..... /sw/include/glib-2.0/gobject/gclosure.h
	.... /sw/include/glib-2.0/gobject/gtype.h
	.... /sw/include/glib-2.0/gobject/gtypemodule.h
	..... /sw/include/glib-2.0/gobject/gobject.h
	..... /sw/include/glib-2.0/gobject/genums.h
	.... /sw/include/glib-2.0/gobject/gtypeplugin.h
	..... /sw/include/glib-2.0/gobject/gtype.h
	.... /sw/include/glib-2.0/gobject/gvalue.h
	.... /sw/include/glib-2.0/gobject/gvaluearray.h
	..... /sw/include/glib-2.0/gobject/gvalue.h
	.... /sw/include/glib-2.0/gobject/gvaluetypes.h
	..... /sw/include/glib-2.0/gobject/gvalue.h
	... /sw/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h
	.... /sw/include/glib-2.0/gio/gio.h
	..... /sw/include/glib-2.0/gio/giotypes.h
	...... /sw/include/glib-2.0/gio/gioenums.h
	..... /sw/include/glib-2.0/gio/gappinfo.h
	...... /sw/include/glib-2.0/gio/giotypes.h
	..... /sw/include/glib-2.0/gio/gasyncresult.h
	...... /sw/include/glib-2.0/gio/giotypes.h
	..... /sw/include/glib-2.0/gio/gasyncinitable.h
	...... /sw/include/glib-2.0/gio/giotypes.h
	...... /sw/include/glib-2.0/gio/ginitable.h
	....... /sw/include/glib-2.0/gio/giotypes.h
	..... /sw/include/glib-2.0/gio/gbufferedinputstream.h
	...... /sw/include/glib-2.0/gio/gfilterinputstream.h
	....... /sw/include/glib-2.0/gio/ginputstream.h
	........ /sw/include/glib-2.0/gio/giotypes.h
	..... /sw/include/glib-2.0/gio/gbufferedoutputstream.h
	...... /sw/include/glib-2.0/gio/gfilteroutputstream.h
	....... /sw/include/glib-2.0/gio/goutputstream.h
	........ /sw/include/glib-2.0/gio/giotypes.h
	..... /sw/include/glib-2.0/gio/gcancellable.h
	...... /sw/include/glib-2.0/gio/giotypes.h
	..... /sw/include/glib-2.0/gio/gcontenttype.h
	...... /sw/include/glib-2.0/gio/giotypes.h
	..... /sw/include/glib-2.0/gio/gdatainputstream.h
	...... /sw/include/glib-2.0/gio/gbufferedinputstream.h
	..... /sw/include/glib-2.0/gio/gdataoutputstream.h
	...... /sw/include/glib-2.0/gio/gfilteroutputstream.h
	..... /sw/include/glib-2.0/gio/gdrive.h
	...... /sw/include/glib-2.0/gio/giotypes.h
	..... /sw/include/glib-2.0/gio/gemblemedicon.h
	...... /sw/include/glib-2.0/gio/gicon.h
	....... /sw/include/glib-2.0/gio/giotypes.h
	...... /sw/include/glib-2.0/gio/gemblem.h
	....... /sw/include/glib-2.0/gio/gioenums.h
	..... /sw/include/glib-2.0/gio/gfile.h
	...... /sw/include/glib-2.0/gio/giotypes.h
	..... /sw/include/glib-2.0/gio/gfileattribute.h
	...... /sw/include/glib-2.0/gio/giotypes.h
	..... /sw/include/glib-2.0/gio/gfileenumerator.h
	...... /sw/include/glib-2.0/gio/giotypes.h
	..... /sw/include/glib-2.0/gio/gfileicon.h
	...... /sw/include/glib-2.0/gio/giotypes.h
	..... /sw/include/glib-2.0/gio/gfileinfo.h
	...... /sw/include/glib-2.0/gio/giotypes.h
	..... /sw/include/glib-2.0/gio/gfileinputstream.h
	...... /sw/include/glib-2.0/gio/ginputstream.h
	..... /sw/include/glib-2.0/gio/gfilemonitor.h
	...... /sw/include/glib-2.0/gio/giotypes.h
	..... /sw/include/glib-2.0/gio/gfilenamecompleter.h
	...... /sw/include/glib-2.0/gio/giotypes.h
	..... /sw/include/glib-2.0/gio/gfileoutputstream.h
	...... /sw/include/glib-2.0/gio/goutputstream.h
	..... /sw/include/glib-2.0/gio/gfilterinputstream.h
	..... /sw/include/glib-2.0/gio/gfilteroutputstream.h
	..... /sw/include/glib-2.0/gio/gicon.h
	..... /sw/include/glib-2.0/gio/ginetaddress.h
	...... /sw/include/glib-2.0/gio/giotypes.h
	..... /sw/include/glib-2.0/gio/ginetsocketaddress.h
	...... /sw/include/glib-2.0/gio/gsocketaddress.h
	....... /sw/include/glib-2.0/gio/giotypes.h
	..... /sw/include/glib-2.0/gio/ginputstream.h
	..... /sw/include/glib-2.0/gio/gioenums.h
	..... /sw/include/glib-2.0/gio/gioenumtypes.h
	..... /sw/include/glib-2.0/gio/gioerror.h
	...... /sw/include/glib-2.0/gio/gioenums.h
	..... /sw/include/glib-2.0/gio/giomodule.h
	...... /sw/include/glib-2.0/gio/giotypes.h
	...... /sw/include/glib-2.0/gmodule.h
	..... /sw/include/glib-2.0/gio/ginitable.h
	..... /sw/include/glib-2.0/gio/gioscheduler.h
	...... /sw/include/glib-2.0/gio/giotypes.h
	..... /sw/include/glib-2.0/gio/giostream.h
	...... /sw/include/glib-2.0/gio/ginputstream.h
	...... /sw/include/glib-2.0/gio/goutputstream.h
	...... /sw/include/glib-2.0/gio/gcancellable.h
	...... /sw/include/glib-2.0/gio/gioerror.h
	..... /sw/include/glib-2.0/gio/gfileiostream.h
	...... /sw/include/glib-2.0/gio/giostream.h
	..... /sw/include/glib-2.0/gio/gloadableicon.h
	...... /sw/include/glib-2.0/gio/giotypes.h
	..... /sw/include/glib-2.0/gio/gmemoryinputstream.h
	...... /sw/include/glib-2.0/gio/ginputstream.h
	..... /sw/include/glib-2.0/gio/gmemoryoutputstream.h
	...... /sw/include/glib-2.0/gio/goutputstream.h
	..... /sw/include/glib-2.0/gio/gmount.h
	...... /sw/include/glib-2.0/gio/giotypes.h
	..... /sw/include/glib-2.0/gio/gmountoperation.h
	...... /sw/include/glib-2.0/gio/giotypes.h
	..... /sw/include/glib-2.0/gio/gnativevolumemonitor.h
	...... /sw/include/glib-2.0/gio/gvolumemonitor.h
	....... /sw/include/glib-2.0/gio/giotypes.h
	..... /sw/include/glib-2.0/gio/gnetworkaddress.h
	...... /sw/include/glib-2.0/gio/giotypes.h
	..... /sw/include/glib-2.0/gio/gnetworkservice.h
	...... /sw/include/glib-2.0/gio/giotypes.h
	..... /sw/include/glib-2.0/gio/goutputstream.h
	..... /sw/include/glib-2.0/gio/gresolver.h
	...... /sw/include/glib-2.0/gio/giotypes.h
	..... /sw/include/glib-2.0/gio/gseekable.h
	...... /sw/include/glib-2.0/gio/giotypes.h
	..... /sw/include/glib-2.0/gio/gsimpleasyncresult.h
	...... /sw/include/glib-2.0/gio/giotypes.h
	..... /sw/include/glib-2.0/gio/gsocket.h
	...... /sw/include/glib-2.0/gio/giotypes.h
	..... /sw/include/glib-2.0/gio/gsocketaddress.h
	..... /sw/include/glib-2.0/gio/gsocketaddressenumerator.h
	...... /sw/include/glib-2.0/gio/giotypes.h
	..... /sw/include/glib-2.0/gio/gsocketclient.h
	...... /sw/include/glib-2.0/gio/giotypes.h
	..... /sw/include/glib-2.0/gio/gsocketconnectable.h
	...... /sw/include/glib-2.0/gio/giotypes.h
	..... /sw/include/glib-2.0/gio/gsocketconnection.h
	...... /sw/include/glib-2.0/gio/gsocket.h
	...... /sw/include/glib-2.0/gio/giostream.h
	..... /sw/include/glib-2.0/gio/gsocketcontrolmessage.h
	...... /sw/include/glib-2.0/gio/giotypes.h
	..... /sw/include/glib-2.0/gio/gsocketlistener.h
	...... /sw/include/glib-2.0/gio/giotypes.h
	..... /sw/include/glib-2.0/gio/gsocketservice.h
	...... /sw/include/glib-2.0/gio/gsocketlistener.h
	..... /sw/include/glib-2.0/gio/gtcpconnection.h
	...... /sw/include/glib-2.0/gio/gsocketconnection.h
	..... /sw/include/glib-2.0/gio/gthreadedsocketservice.h
	...... /sw/include/glib-2.0/gio/gsocketservice.h
	..... /sw/include/glib-2.0/gio/gsrvtarget.h
	...... /sw/include/glib-2.0/gio/giotypes.h
	..... /sw/include/glib-2.0/gio/gthemedicon.h
	...... /sw/include/glib-2.0/gio/giotypes.h
	..... /sw/include/glib-2.0/gio/gvfs.h
	...... /sw/include/glib-2.0/gio/giotypes.h
	..... /sw/include/glib-2.0/gio/gvolume.h
	...... /sw/include/glib-2.0/gio/giotypes.h
	..... /sw/include/glib-2.0/gio/gvolumemonitor.h
	... /sw/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-transform.h
	.... /sw/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h
	... /sw/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-animation.h
	.... /sw/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h
	... /sw/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-simple-anim.h
	.... /sw/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-animation.h
	... /sw/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-io.h
	.... /sw/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h
	.... /sw/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-animation.h
	... /sw/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-loader.h
	.... /sw/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h
	.... /sw/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-animation.h
	.... /sw/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-io.h
	... /sw/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-enum-types.h
	Multiple include guards may be useful for:
	/sw/include/glib-2.0/gio/gfileoutputstream.h

At run time I can see:

pete 259 /\ otool -L .../src/emacs
.../src/emacs:
	/sw/lib/libXaw3d.7.dylib (compatibility version 7.0.0, current  
version 7.0.0)
	/usr/X11/lib/libXmu.6.dylib (compatibility version 9.0.0, current  
version 9.0.0)
	/usr/X11/lib/libXt.6.dylib (compatibility version 7.0.0, current  
version 7.0.0)
	/usr/X11/lib/libSM.6.dylib (compatibility version 7.0.0, current  
version 7.1.0)
	/usr/X11/lib/libICE.6.dylib (compatibility version 10.0.0, current  
version 10.0.0)
	/sw/lib/libtiff.3.dylib (compatibility version 13.0.0, current  
version 13.4.0)
	/sw/lib/libjpeg.8.dylib (compatibility version 9.0.0, current version  
9.2.0)
	/sw/lib/libpng12.0.dylib (compatibility version 45.0.0, current  
version 45.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current  
version 111.1.5)
	/sw/lib/libgif.4.dylib (compatibility version 6.0.0, current version  
6.6.0)
	/usr/X11/lib/libXpm.4.dylib (compatibility version 16.0.0, current  
version 16.0.0)
	/usr/X11/lib/libX11.6.dylib (compatibility version 10.0.0, current  
version 10.0.0)
	/usr/X11/lib/libXrender.1.dylib (compatibility version 5.0.0, current  
version 5.0.0)
	/usr/X11/lib/libXft.2.dylib (compatibility version 4.0.0, current  
version 4.13.0)
	/usr/X11/lib/libfontconfig.1.dylib (compatibility version 6.0.0,  
current version 6.3.0)
	/sw/lib/freetype219/lib/libfreetype.6.dylib (compatibility version  
11.0.0, current version 11.0.0)
	/sw/lib/librsvg-2.2.dylib (compatibility version 29.0.0, current  
version 29.0.0)
	/sw/lib/libgdk_pixbuf-2.0.0.dylib (compatibility version 1801.0.0,  
current version 1801.9.0)
	/sw/lib/libgobject-2.0.0.dylib (compatibility version 2201.0.0,  
current version 2201.4.0)
	/sw/lib/libglib-2.0.0.dylib (compatibility version 2201.0.0, current  
version 2201.4.0)
	/sw/lib/ncurses/libncurses.5.dylib (compatibility version 5.0.0,  
current version 5.0.0)
	/sw/lib/libotf.0.dylib (compatibility version 1.0.0, current version  
1.0.0)
	/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current  
version 1.0.0)
pete 266 /\ lsof -p 36749 | grep -i jpeg
emacs   36749 pete  txt    REG      14,5    240232  14568140 /sw/lib/ 
libjpeg.8.dylib

So it all seems to match very well... (GNU Emacs launched with -Q)

In GNU Emacs 24.0.50.1 (powerpc-apple-darwin9.8.0, X toolkit, Xaw3d  
scroll bars)
  of 2010-08-27 on Latsche.local
Windowing system distributor `The X.Org Foundation', version  
11.0.10900000
configured using `configure  '--without-sound' '--without-dbus' '-- 
without-pop' '--without-gconf' '--with-x-toolkit=athena' '--x- 
libraries=/usr/X11/lib' '--x-includes=/usr/X11/include' '--enable- 
locallisppath=/Library/Application Support/Emacs/calendar24:/Library/ 
Application Support/Emacs' 'CFLAGS=-g -H -pipe -fPIC -fno-common - 
mcpu=7450 -mtune=7450 -faltivec -fast' 'CPPFLAGS=' 'LDFLAGS=-Wl,- 
dead_strip_dylibs' 'CC=gcc-4.2' 'CPP=cpp-4.2' 'PKG_CONFIG_PATH=/sw/lib/ 
pango-ft219/lib/pkgconfig:/sw/lib/xft2/lib/pkgconfig:/sw/lib/ 
fontconfig2/lib/pkgconfig:/sw/lib/freetype219/lib/pkgconfig:/sw/lib/ 
pkgconfig:/sw/share/pkgconfig:/usr/lib/pkgconfig:/usr/X11/lib/ 
pkgconfig:/usr/X11/share/pkgconfig''

Important settings:
   value of $LC_ALL: nil
   value of $LC_COLLATE: nil
   value of $LC_CTYPE: de_DE.UTF-8
   value of $LC_MESSAGES: nil
   value of $LC_MONETARY: nil
   value of $LC_NUMERIC: nil
   value of $LC_TIME: nil
   value of $LANG: de_DE.UTF-8
   value of $XMODIFIERS: nil
   locale-coding-system: utf-8-unix
   default enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
   tooltip-mode: t
   mouse-wheel-mode: t
   tool-bar-mode: t
   menu-bar-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   blink-cursor-mode: t
   auto-composition-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t
   line-number-mode: t
   transient-mark-mode: t

--
Greetings

   Pete

A child of five could understand this!  Fetch me a child of five.