Opened 12 years ago

Last modified 12 years ago

#33856 closed defect

cairo install fails with libspectre errors (trying to install wine) — at Initial Version

Reported by: eravin@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc:
Port: cairo

Description

I'm trying to install wine on a Snow Leopard Mac.

Here's what happens when I try:

bash-3.2# port install wine ---> Computing dependencies for cairo ---> Building cairo Error: Target org.macports.build returned: shell command failed (see log for details) 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: Unable to upgrade port: 1 Error: Unable to execute port: upgrade gst-plugins-base failed To report a bug, see <http://guide.macports.org/#project.tickets>

And the log file contains:

:info:build Undefined symbols::info:build "_spectre_render_context_set_page_size", referenced from: :info:build _ps_convert in any2ppm-any2ppm.o :info:build "_spectre_page_free", referenced from: :info:build _ps_convert in any2ppm-any2ppm.o :info:build "_spectre_document_status", referenced from::info:build _ps_convert in any2ppm-any2ppm.o :info:build "_spectre_page_status", referenced from::info:build _ps_convert in any2ppm-any2ppm.o :info:build "_spectre_status_to_string", referenced from: :info:build _ps_convert in any2ppm-any2ppm.o :info:build _ps_convert in any2ppm-any2ppm.o :info:build "_spectre_document_render", referenced from: :info:build _ps_convert in any2ppm-any2ppm.o :info:build "_spectre_page_render", referenced from: :info:build _ps_convert in any2ppm-any2ppm.o :info:build "_spectre_document_new", referenced from: :info:build _ps_convert in any2ppm-any2ppm.o [...] [a bunch more similar errors] [...] :info:build ld: symbol(s) not found :info:build collect2: ld returned 1 exit status :info:build make[4]: * [any2ppm] Error 1

I have already done "port selfupdate" and upgraded all outdated ports.

On a lark, I did "port uninstall libspectre". Now, when I do "port wine install", I get a different error in the build for cairo:

:info:build ld: library not found for -lspectre:info:build collect2: ld returned 1 exit status

Shouldn't macports have tried to re-install libspectre?

Note, I already have cairo installed:

bash-3.2# port installed "cairo*" The following ports are currently installed:

cairo @1.12.0_0+x11 (active)

But it looks like macports is trying to build cairo@1.12.0_0+universal+x11

Change History (1)

Changed 12 years ago by eravin@…

Attachment: main.log added

log from failed cairo build

Note: See TracTickets for help on using tickets.