[MacPorts] #33827: cairo tries to link with libraries it doesn't declare dependencies on
MacPorts
noreply at macports.org
Sat Apr 7 00:13:11 PDT 2012
#33827: cairo tries to link with libraries it doesn't declare dependencies on
------------------------------------+---------------------------------------
Reporter: adam.bartley@… | Owner: ryandesign@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.0.4
Keywords: | Port: cairo, cairo-devel
------------------------------------+---------------------------------------
Comment(by obartunov@…):
Replying to [comment:6 ryandesign@…]:
> You can work around the problem by deactivating the implicated ports for
the duration of the cairo build. For example, if the cairo log says
"ignoring file /opt/local/lib/libspectre.dylib, file was built for
unsupported file format which is not the architecture being linked", then
you can use "port provides /opt/local/lib/libspectre.dylib" to discover
that this library was provided by the "libspectre" port. You can then
"sudo port -f deactivate libspectre", "sudo port clean cairo" and try
again. You may have to do this for multiple implicated ports. Once you get
cairo installed, you can "sudo port activate libspectre" again (and
similarly for other ports you deactivated) if desired.
I don't understand this. I tried to install ufraw and port requires
upgrade cairo. Buildig cairo fails with
{{{
clang: warning: argument unused during compilation:
'-Wp,-D_FORTIFY_SOURCE=2'
Undefined symbols for architecture x86_64:
"_cairo_boilerplate_get_target_by_name", referenced from:
_main in cairo_sphinx-sphinx.o
"_cairo_boilerplate_xrealloc", referenced from:
_main in cairo_sphinx-sphinx.o
_recorder in lto.o
"_cairo_boilerplate_xmalloc", referenced from:
_main in cairo_sphinx-sphinx.o
__surface_create in lto.o
__context_create in lto.o
_get_surface_size in lto.o
_recorder in lto.o
ld: symbol(s) not found for architecture x86_64
}}}
I attached main.log.
What should i deactivate ?
--
Ticket URL: <https://trac.macports.org/ticket/33827#comment:7>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list