Error Building Cairo

Jasper Frumau jasperfrumau at gmail.com
Sun Apr 8 19:59:28 PDT 2012


I was updating all my ports and got stuck at Cairo:

Error: Target org.macports.build returned: shell command failed (see log
for details)
Error: Failed to install cairo
Log for cairo is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_cairo/cairo/main.log
Error: The following dependencies were not installed: gst-plugins-base
gnome-vfs gconf gtk2 pango cairo shared-mime-info xorg-libXdamage orbit2
libidl policykit eggdbus gstreamer gstreamer libtheora libvorbis libogg orc
Error: Unable to upgrade port: 1
To report a bug, see <http://guide.macports.org/#project.tickets>
You have new mail in /var/mail/jasper
jaspersmbp:~ jasper$ tail
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_cairo/cairo/main.log
    while executing
"$procedure $targetname"
:info:build Warning: the following items did not execute (for cairo):
org.macports.activate org.macports.build org.macports.destroot
org.macports.install
:error:build Failed to install cairo
:debug:build can not find channel named "debuglog"
    while executing
"tcl::puts debuglog {DEBUG: Starting logging for cairo}"
    invoked from within
"catch "tcl::puts $args""
---------------------

I tried again with debug on and I got:

ld: warning: in /opt/local/lib/libgs.dylib, file was built for unsupported
file format which is not the architecture being linked (i386)
Undefined symbols:
  "_spectre_render_context_set_page_size", referenced from:
      _ps_convert in any2ppm-any2ppm.o
  "_spectre_page_free", referenced from:
      _ps_convert in any2ppm-any2ppm.o
  "_spectre_document_status", referenced from:
      _ps_convert in any2ppm-any2ppm.o
  "_spectre_page_status", referenced from:
      _ps_convert in any2ppm-any2ppm.o
  "_spectre_status_to_string", referenced from:
      _ps_convert in any2ppm-any2ppm.o
      _ps_convert in any2ppm-any2ppm.o
  "_spectre_document_render", referenced from:
      _ps_convert in any2ppm-any2ppm.o
  "_spectre_page_render", referenced from:
      _ps_convert in any2ppm-any2ppm.o
  "_spectre_document_new", referenced from:
      _ps_convert in any2ppm-any2ppm.o
  "_spectre_render_context_free", referenced from:
      _ps_convert in any2ppm-any2ppm.o
  "_spectre_page_get_size", referenced from:
      _ps_convert in any2ppm-any2ppm.o
  "_spectre_document_free", referenced from:
      _ps_convert in any2ppm-any2ppm.o
      _ps_convert in any2ppm-any2ppm.o
      _ps_convert in any2ppm-any2ppm.o
  "_spectre_document_get_page_size", referenced from:
      _ps_convert in any2ppm-any2ppm.o
  "_spectre_document_get_page_by_label", referenced from:
      _ps_convert in any2ppm-any2ppm.o
  "_spectre_render_context_new", referenced from:
      _ps_convert in any2ppm-any2ppm.o
  "_spectre_document_load", referenced from:
      _ps_convert in any2ppm-any2ppm.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[4]: *** [any2ppm] Error 1
make[4]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_cairo/cairo/work/cairo-1.12.0-i386/test'
make[3]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_cairo/cairo/work/cairo-1.12.0-i386/test'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_cairo/cairo/work/cairo-1.12.0-i386/test'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_cairo/cairo/work/cairo-1.12.0-i386'
make: *** [all] Error 2


No idea yet, but perhaps a strange architecture issue?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20120409/9b7e44b9/attachment.html>


More information about the macports-users mailing list