Subject: graphics/cairo build failure on OS X 10.4.7
To: None <pkgsrc-users@netbsd.org>
From: Mark E. Perkins <perkinsm@bway.net>
List: pkgsrc-users
Date: 07/23/2006 06:38:41
Greetings,
It looks as if the last step of the cairo build is not linking libz for some
reason (exact output included below). If I 'cd work/cairo-1.2.0/src' and
re-run the libtool step manually with '-lz' added, the build completes.
This is for cairo-1.2.0nb2, but I saw the same with 1.2.0nb1.
Is there something I'm missing?
Thanks,
Mark
---------------------------------------
/bin/sh ../libtool --tag=CC --mode=link gcc -pipe -O2
-I/Volumes/NetBSD/pkg/include -I/usr/X11R6/include -I/usr/include
-I/usr/X11R6/include/freetype2 -L/Volumes/NetBSD/pkg/lib -L/usr/X11R6/lib
-L/usr/lib -o libcairo.la -rpath /Volumes/NetBSD/pkg/lib -version-info 11:0:9
-no-undefined cairo.lo cairo-arc.lo cairo-array.lo cairo-base85-stream.lo
cairo-cache.lo cairo-clip.lo cairo-color.lo cairo-debug.lo cairo-fixed.lo
cairo-font.lo cairo-font-options.lo cairo-gstate.lo cairo-hash.lo
cairo-hull.lo cairo-image-surface.lo cairo-lzw.lo cairo-matrix.lo
cairo-operator.lo cairo-path.lo cairo-path-bounds.lo cairo-path-data.lo
cairo-path-fill.lo cairo-path-stroke.lo cairo-pen.lo cairo-polygon.lo
cairo-rectangle.lo cairo-region.lo cairo-scaled-font.lo cairo-slope.lo
cairo-spline.lo cairo-stroke-style.lo cairo-surface.lo
cairo-surface-fallback.lo cairo-traps.lo cairo-pattern.lo cairo-unicode.lo
cairo-output-stream.lo cairo-wideint.lo cairo-meta-surface.lo
cairo-paginated-surface.lo cairo-analysis-surface.lo cairo-atsui-font.lo
cairo-ft-font.lo cairo-ps-surface.lo cairo-pdf-surface.lo cairo-png.lo
cairo-svg-surface.lo cairo-font-subset.lo cairo-type1-subset.lo
cairo-scaled-font-subsets.lo cairo-xlib-surface.lo cairo-xlib-screen.lo
cairo-quartz-surface.lo cairo-glitz-surface.lo ../pixman/src/libpixman.la
-lSM -lICE -L/usr/X11R6/lib -lX11 -lSM -lICE -L/usr/X11R6/lib -lX11
-L/usr/X11R6/lib -lXrender -Xlinker -framework -Xlinker Carbon
-L/Volumes/NetBSD/pkg/lib -lpng12 -L/Volumes/NetBSD/pkg/lib -lglitz -lm
-L/usr/X11R6/lib -lfontconfig -L/usr/X11R6/lib -lfreetype -lpthread
rm -fr .libs/libcairo.lax
mkdir .libs/libcairo.lax
rm -fr .libs/libcairo.lax/libpixman.a
mkdir .libs/libcairo.lax/libpixman.a
Extracting
/Volumes/NetBSD/pkgsrc/graphics/cairo/work/cairo-1.2.0/src/../pixman/src/.libs/libpixman.a
(cd .libs/libcairo.lax/libpixman.a && ar x
/Volumes/NetBSD/pkgsrc/graphics/cairo/work/cairo-1.2.0/src/../pixman/src/.libs/libpixman.a)
gcc -pipe -dynamiclib -o .libs/libcairo.2.9.0.dylib .libs/cairo.o
.libs/cairo-arc.o .libs/cairo-array.o .libs/cairo-base85-stream.o
.libs/cairo-cache.o .libs/cairo-clip.o .libs/cairo-color.o .libs/cairo-debug.o
.libs/cairo-fixed.o .libs/cairo-font.o .libs/cairo-font-options.o
.libs/cairo-gstate.o .libs/cairo-hash.o .libs/cairo-hull.o
.libs/cairo-image-surface.o .libs/cairo-lzw.o .libs/cairo-matrix.o
.libs/cairo-operator.o .libs/cairo-path.o .libs/cairo-path-bounds.o
.libs/cairo-path-data.o .libs/cairo-path-fill.o .libs/cairo-path-stroke.o
.libs/cairo-pen.o .libs/cairo-polygon.o .libs/cairo-rectangle.o
.libs/cairo-region.o .libs/cairo-scaled-font.o .libs/cairo-slope.o
.libs/cairo-spline.o .libs/cairo-stroke-style.o .libs/cairo-surface.o
.libs/cairo-surface-fallback.o .libs/cairo-traps.o .libs/cairo-pattern.o
.libs/cairo-unicode.o .libs/cairo-output-stream.o .libs/cairo-wideint.o
.libs/cairo-meta-surface.o .libs/cairo-paginated-surface.o
.libs/cairo-analysis-surface.o .libs/cairo-atsui-font.o .libs/cairo-ft-font.o
.libs/cairo-ps-surface.o .libs/cairo-pdf-surface.o .libs/cairo-png.o
.libs/cairo-svg-surface.o .libs/cairo-font-subset.o .libs/cairo-type1-subset.o
.libs/cairo-scaled-font-subsets.o .libs/cairo-xlib-surface.o
.libs/cairo-xlib-screen.o .libs/cairo-quartz-surface.o
.libs/cairo-glitz-surface.o .libs/libcairo.lax/libpixman.a/pixregion.o
.libs/libcairo.lax/libpixman.a/fbpict.o .libs/libcairo.lax/libpixman.a/icblt.o
.libs/libcairo.lax/libpixman.a/icbltone.o
.libs/libcairo.lax/libpixman.a/iccolor.o
.libs/libcairo.lax/libpixman.a/icformat.o
.libs/libcairo.lax/libpixman.a/icimage.o
.libs/libcairo.lax/libpixman.a/icpixels.o
.libs/libcairo.lax/libpixman.a/icrect.o
.libs/libcairo.lax/libpixman.a/icstipple.o
.libs/libcairo.lax/libpixman.a/ictrap.o
.libs/libcairo.lax/libpixman.a/ictransform.o
.libs/libcairo.lax/libpixman.a/ictri.o .libs/libcairo.lax/libpixman.a/icutil.o
.libs/libcairo.lax/libpixman.a/fbedge.o
.libs/libcairo.lax/libpixman.a/fbtrap.o
.libs/libcairo.lax/libpixman.a/fbcompose.o
.libs/libcairo.lax/libpixman.a/renderedge.o
-L/Volumes/NetBSD/pkgsrc/graphics/cairo/work/.buildlink/lib
-L/Volumes/NetBSD/pkgsrc/graphics/cairo/work/.x11-buildlink/lib -lSM -lICE
-lX11 -lXrender
/Volumes/NetBSD/pkgsrc/graphics/cairo/work/.buildlink/lib/libpng12.dylib
/Volumes/NetBSD/pkgsrc/graphics/cairo/work/.buildlink/lib/libglitz.dylib
/Volumes/NetBSD/pkgsrc/graphics/cairo/work/.buildlink/lib/libXext.dylib -lm
-lfontconfig -lfreetype -lpthread -Wl,-framework -Wl,Carbon -install_name
/Volumes/NetBSD/pkg/lib/libcairo.2.dylib -Wl,-compatibility_version -Wl,12
-Wl,-current_version -Wl,12.0
ld: Undefined symbols:
_compress
/usr/bin/libtool: internal link edit command failed
*** Error code 1