From owner-freebsd-ports@FreeBSD.ORG Fri Feb 12 18:26:06 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB67C1065679 for ; Fri, 12 Feb 2010 18:26:06 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mail.bsdforen.de (bsdforen.de [212.204.60.79]) by mx1.freebsd.org (Postfix) with ESMTP id 8AADF8FC21 for ; Fri, 12 Feb 2010 18:26:06 +0000 (UTC) Received: from mobileKamikaze.norad (unknown [88.130.215.223]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bsdforen.de (Postfix) with ESMTP id 8272F8A1609; Fri, 12 Feb 2010 19:26:03 +0100 (CET) Message-ID: <4B759D2F.5090608@bsdforen.de> Date: Fri, 12 Feb 2010 19:25:51 +0100 From: Dominic Fandrey User-Agent: Thunderbird 2.0.0.23 (X11/20100206) MIME-Version: 1.0 To: jhell References: <6790187d1002112022q1a0dcd1dxbf9accdba50167c9@mail.gmail.com> <4B7516AA.3010600@black-earth.co.uk> <20100212062506.247d25d5@scorpio.seibercom.net> <4B754270.9030001@black-earth.co.uk> <1265977673.5468.5.camel@lenzinote> In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Matthew Seaman , Sergio de Almeida Lenzi , freebsd-ports@freebsd.org Subject: Re: FreeBSD Ports Problem - Please help X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2010 18:26:06 -0000 jhell wrote: > > > On Fri, 12 Feb 2010 07:27, lenzi.sergio@ wrote: >> try to make it work again (with the now missing libjpeg.so.10... >> by inserting a line in the /etc/libmap.conf > >> echo "libjpeg.so.10 libjpeg.so" >> /etc/libmap.conf > >> than probably all will work again... by the time you build all ports, >> the later will be linked agains version 11.. and than you can >> delete the line in the libmap.conf > > >> Hope this will help..... > > > Among all these you may find it useful to install sysutils/libchk. > > This utility can play a key role in locating just the packages/ports > that need to be rebuilt against the new library. Hmm, I just tested it, because my port sysutils contains pkg_libchk, which has a very similar function. My script needs 6m14.73s for a full run, whereas libchk only requires 3m56.38s. However libchk yields a lot of false positives, it's quite difficult to find the information you need. The output of pkg_libchk looks like that: hdf5-1.6.9_1: /usr/local/bin/h5perf misses libh5test.so.0 So it's a lot easier to make a list of broken ports. It also only lists directly linked libraries, so it really only lists the packages that need relinking. A lot of its runtime is dedicated to detecting false positives. It doesn't have libchk's ability to list unused libraries, though. Regards -- A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?