From owner-svn-ports-head@FreeBSD.ORG Tue Sep 9 14:09:42 2014 Return-Path: Delivered-To: svn-ports-head@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 7F97E243; Tue, 9 Sep 2014 14:09:42 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 504ADF1D; Tue, 9 Sep 2014 14:09:42 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s89E9gIJ083011; Tue, 9 Sep 2014 14:09:42 GMT (envelope-from tijl@FreeBSD.org) Received: (from tijl@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s89E9gsQ083010; Tue, 9 Sep 2014 14:09:42 GMT (envelope-from tijl@FreeBSD.org) Message-Id: <201409091409.s89E9gsQ083010@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: tijl set sender to tijl@FreeBSD.org using -f From: Tijl Coosemans Date: Tue, 9 Sep 2014 14:09:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r367735 - head X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Sep 2014 14:09:42 -0000 Author: tijl Date: Tue Sep 9 14:09:41 2014 New Revision: 367735 URL: http://svnweb.freebsd.org/changeset/ports/367735 QAT: https://qat.redports.org/buildarchive/r367735/ Log: Add entry to UPDATING for users who run into build errors about missing *.la files Modified: head/UPDATING Modified: head/UPDATING ============================================================================== --- head/UPDATING Tue Sep 9 13:55:16 2014 (r367734) +++ head/UPDATING Tue Sep 9 14:09:41 2014 (r367735) @@ -5,6 +5,32 @@ they are unavoidable. You should get into the habit of checking this file for changes each time you update your ports collection, before attempting any port upgrades. +20140909: + AFFECTS: users seeing build errors about missing *.la files + AUTHOR: tijl@FreeBSD.org + + We are in the process of adjusting or, if possible, removing libtool archives + (*.la files) from all ports because they can otherwise cause overlinking + between packages. This is the problem where in the dependency chain A->B->C + an extra link is added from A to C even if A does not use C directly. This + makes some updates to port C expensive because then both A and B have to be + rebuilt instead of just B. + + This is mostly behind the scenes work that you won't notice. In fact most + ports have already been converted. You may however run into build errors + about missing *.la files if a port update in the past went wrong and left + behind *.la files with references to other *.la files that are no longer + there. In this case, please run the following command: + + find /usr/local/lib -name '*.la' | xargs grep -l 'libfoo\.la' | xargs pkg which + (Replace libfoo\.la with the *.la file that is missing.) + + This command will print a list of *.la files that refer to the missing *.la + file and what package they belong to. First, where it says "not found in the + datatbase", remove the *.la file. After removing all such files, where it + says "installed by package X", rebuild X. Eventually the list printed by + that command will be empty and the build error should be gone. + 20140826: AFFECTS: users of ports-mgmt/pkg, ports-mgmt/pkg-devel AUTHOR: bdrewery@FreeBSD.org