Bug 190491 - empty dependency_libs in lib.la file breaking static link options
Summary: empty dependency_libs in lib.la file breaking static link options
Status: Closed Feedback Timeout
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-02 06:23 UTC by Lawrence Chen
Modified: 2014-06-16 07:36 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lawrence Chen 2014-06-02 06:23:26 UTC
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.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2014-06-02 07:32:49 UTC
To which port does this PR apply?
Comment 2 John Marino freebsd_committer freebsd_triage 2014-06-16 07:36:29 UTC
There was no response after two weeks, we can't do anything with the description as written.