-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 7/23/11 10:52 AM, HAO ZHANG wrote:
> Hi,
>
> I am a user of fink. Today when I update the fink, it told me " The
> package 'libpng15' will be installed. Reading dependency for
> libpng15-1.5.2-1... The following 5 packages will be installed or
> updated: cairo cairo-shlibs docbook-xsl fftw3 fftw3-shlibs The
> following additional package will be installed: libpng15 " But the
> compiling of cairo is failed. The error information is "
There's no information here other than that the build failed at libcairo.la
> ld: symbol(s) not found clang: error: linker command failed with exit
> code 1 (use -v to see invocation) make[3]: *** [libcairo.la] Error 1
> make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make:
> *** [all] Error 2 ### execution of /var/tmp/tmp.1.cSAEgQ failed, exit
> code 2 Removing runtime build-lock... Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-cairo-1.8.10-4 (Reading
> database ... 103205 files and directories currently installed.)
> Removing fink-buildlock-cairo-1.8.10-4 ... Failed: phase compiling:
> cairo-1.8.10-4 failed "
>
> Please find detail information in text file attached in this email.
>
>
>
>
> The system information is " Package manager version: 0.31.0
> Distribution version: selfupdate-rsync Sat Jul 23 22:13:09 2011,
> 10.6, i386 Trees: local/main stable/main stable/crypto unstable/main
> unstable/crypto Xcode Version: 3.2.6-1 "
>
> Could you tell me why this happens and fixed it? Thank you for your
> help! Also thank you very much for developing the Fink for Mac OS! It
> makes Mac much more powerful!
>
> Best,
>
> Hao Zhang
>
>
>
1) Don't crosspost. You don't need to send to both -beginners and -users.
2) Don't send attachments. Doing so requires somebody to have to paste
the relevant information back into their message so that there is some
context.
3) Your attachment was much longer than it needed to be, in any case,
because you sent the whole terminal output. We don't need the logs for
successful packages that build, only for whatever package fails.
The relevant part of your log is:
...
libtool: link: clang -dynamiclib -o .libs/libcairo.2.dylib
.libs/cairo-analysis-surface.o .libs/cairo-arc.o .libs/cairo-array.o
.libs/cairo-atomic.o .libs/cairo-base85-stream.o
.libs/cairo-bentley-ottmann.o .libs/cairo.o .libs/cairo-cache.o
.libs/cairo-clip.o .libs/cairo-color.o .libs/cairo-debug.o
.libs/cairo-fixed.o .libs/cairo-font-face.o .libs/cairo-font-face-twin.o
.libs/cairo-font-face-twin-data.o .libs/cairo-font-options.o
.libs/cairo-freelist.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-meta-surface.o .libs/cairo-misc.o
.libs/cairo-mutex.o .libs/cairo-output-stream.o
.libs/cairo-paginated-surface.o .libs/cairo-path-bounds.o
.libs/cairo-path.o .libs/cairo-path-fill.o .libs/cairo-path-fixed.o
.libs/cairo-path-stroke.o .libs/cairo-pattern.o .libs/cairo-pen.o
.libs/cairo-polygon.o .libs/cairo-rectangle.o .libs/cairo-region.o
.libs/cairo-scaled-font.o .libs/cairo-skiplist.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-system.o .libs/cairo-traps.o
.libs/cairo-unicode.o .libs/cairo-user-font.o .libs/cairo-version.o
.libs/cairo-wideint.o .libs/cairo-cff-subset.o
.libs/cairo-scaled-font-subsets.o .libs/cairo-truetype-subset.o
.libs/cairo-type1-fallback.o .libs/cairo-type1-subset.o
.libs/cairo-type3-glyph-surface.o .libs/cairo-pdf-operators.o
.libs/cairo-xlib-display.o .libs/cairo-xlib-screen.o
.libs/cairo-xlib-surface.o .libs/cairo-xlib-visual.o
.libs/cairo-quartz-surface.o .libs/cairo-quartz-font.o .libs/cairo-png.o
.libs/cairo-glitz-surface.o .libs/cairo-ft-font.o
.libs/cairo-ps-surface.o .libs/cairo-pdf-surface.o
.libs/cairo-deflate-stream.o .libs/cairo-svg-surface.o -L/sw/lib
/sw/lib/libpixman-1.dylib /sw/lib/freetype219/lib/libfreetype.dylib
/sw/lib/fontconfig2/lib/libfontconfig.dylib /sw/lib/libglitz.dylib -lm
/sw/lib/libpng15.dylib -lXrender -L/usr/X11/lib -lX11 -lz
- -Wl,-framework -Wl,ApplicationServices -install_name
/sw/lib/libcairo.2.dylib -compatibility_version 10803 -current_version
10803.10 -Wl,-single_module
ld: warning: in /sw/lib/libpixman-1.dylib, file was built for i386 which
is not the architecture being linked (x86_64)
ld: warning: in /sw/lib/freetype219/lib/libfreetype.dylib, file was
built for i386 which is not the architecture being linked (x86_64)
ld: warning: in /sw/lib/fontconfig2/lib/libfontconfig.dylib, file was
built for i386 which is not the architecture being linked (x86_64)
ld: warning: in /sw/lib/libglitz.dylib, file was built for i386 which is
not the architecture being linked (x86_64)
ld: warning: in /sw/lib/libpng15.dylib, file was built for i386 which is
not the architecture being linked (x86_64)
Undefined symbols:
"_png_set_IHDR", referenced from:
_write_png in cairo-png.o
...
which indicates that for some reason your build is being linked as
x86_64, while your Fink setup is i386. I'll see if I can reproduce that.
- --
Alexander Hansen, Ph.D.
Fink User Liaison
http://finkakh.wordpress.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk4rbY8ACgkQB8UpO3rKjQ+OOQCdEvyoUZzG8f5vRvMdxvvzKDBg
RCIAn1zddmX80qviwKey4j0a9lx417CR
=p9wr
-----END PGP SIGNATURE-----
------------------------------------------------------------------------------
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners