Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Jun 2014 05:23:26 +0000
From:      no-reply-bugzilla-daemon@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 190491] New: empty dependency_libs in lib.la file breaking static link options
Message-ID:  <bug-190491-13@http.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: beastie@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-190491-13>