[Bug 190491] New: empty dependency_libs in lib.la file breaking static link options
no-reply-bugzilla-daemon at freebsd.org
no-reply-bugzilla-daemon at freebsd.org
Mon Jun 2 06:23:26 UTC 2014
http://bugs.freebsd.org/bugzilla/show_bug.cgi?id=190491
Bug ID: 190491
Summary: empty dependency_libs in lib.la file breaking static
link options
Product: Ports Tree
Version: Latest
Hardware: Any
OS: Any
Status: Needs Triage
Severity: Affects Many People
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: beastie at tardisi.com
A port that I had successfuly built on April 19th by setting option
for it to pass '-static-libtool-libs' to libtool. And, had also
worked when I had it pass '-all-static' to libtool.
Would no longer build using either option while catching up on port
updates on another server.
After much investigation, it appears the change to how libFOO.la files
are saved on April 23rd is the culprit.
When the libtool encounters '/usr/local/lib/libxml2.la' it is able to
determine that the static library to link is /usr/local/lib/libxml2.a,
but it doesn't know what that there are dependency libraries for this
library. Specifically, it doesn't know that it needs to consult
/usr/local/lib/libiconv.la. As the link is failing due to unresolved
libiconv related symbols in libxml2.a.
Locating the file in workdir and adding the missing dependencies,
enables the build to succeed.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list