From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jun 2 06:23:26 2014 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 660C44EC for ; Mon, 2 Jun 2014 06:23:26 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 33EC72E2F for ; Mon, 2 Jun 2014 06:23:26 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s526NQw8087070 for ; Mon, 2 Jun 2014 07:23:26 +0100 (BST) (envelope-from no-reply-bugzilla-daemon@freebsd.org) 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 Date: Mon, 02 Jun 2014 05:23:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: beastie@tardisi.com X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2014 06:23:26 -0000 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.