[MacPorts] #33856: cairo install fails with libspectre errors (trying to install wine)

MacPorts noreply at macports.org
Sun Apr 1 20:11:39 PDT 2012


#33856: cairo install fails with libspectre errors (trying to install wine)
------------------------------+---------------------------------------------
 Reporter:  eravin@…          |       Owner:  macports-tickets@…                   
     Type:  defect            |      Status:  new                                  
 Priority:  Normal            |   Milestone:                                       
Component:  ports             |     Version:  2.0.4                                
 Keywords:                    |        Port:                                       
------------------------------+---------------------------------------------
 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 at 1.12.0_0+universal+x11

-- 
Ticket URL: <https://trac.macports.org/ticket/33856>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list