From owner-freebsd-ports@FreeBSD.ORG Fri Feb 12 19:26:49 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 F2FBA1065725 for ; Fri, 12 Feb 2010 19:26:49 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9A30D8FC14 for ; Fri, 12 Feb 2010 19:26:49 +0000 (UTC) Received: by vws5 with SMTP id 5so927974vws.13 for ; Fri, 12 Feb 2010 11:26:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:cc :subject:in-reply-to:message-id:references:user-agent :x-openpgp-key-id:x-openpgp-key-fingerprint:mime-version :content-type; bh=HOUVKcJelqkQcNzq4VlMQTeK1cCi5t/RDCbB1mQ/oKc=; b=p2cNJBqcUjwcTs8jSLBanqbISV27fz8RsxnOpSW3Qd9ZGbSUgZ4gKUcL9CW3LdfQc8 dwUgIqqH9kNDXVsUfNFdfWb2IdGCxmngGuQTO8Qt2l/4B/J/rrcVis9Nns5UGtKpfRGv z9zIDMhLEX3N21e1a90+/nyQxMq+svzLiz8Ec= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:x-openpgp-key-id:x-openpgp-key-fingerprint:mime-version :content-type; b=qSwvp93ICqLZTjhlWwiZn4Xp+g3aDV914HNesA4i28wmEaN7WCK4/Gb+tnhBtZ0kz0 rMHkJGKQ6cv5U2y0LFZ6DPUCQYkUVWbNufenwVrA24BHqjY75dIYltGT4m0LXxt7sssC YKn5Utn02IWDavMqdwt3nhCnmKvFaF7dFWDfU= Received: by 10.220.122.88 with SMTP id k24mr1178283vcr.139.1266002808624; Fri, 12 Feb 2010 11:26:48 -0800 (PST) Received: from centel.dataix.local (ppp-22.172.dialinfree.com [209.172.22.172]) by mx.google.com with ESMTPS id 36sm35829871vws.18.2010.02.12.11.26.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 12 Feb 2010 11:26:47 -0800 (PST) Sender: "J. Hellenthal" Date: Fri, 12 Feb 2010 14:26:35 -0500 From: jhell To: Dominic Fandrey In-Reply-To: <4B759D2F.5090608@bsdforen.de> Message-ID: 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> <4B759D2F.5090608@bsdforen.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-OpenPGP-Key-Id: 0x89D8547E X-OpenPGP-Key-Fingerprint: 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Sergio de Almeida Lenzi , Matthew Seaman , 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 19:26:50 -0000 On Fri, 12 Feb 2010 13:25, kamikaze@ wrote: > 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 > Never the less its more of a hands on experience when something goes wrong and especially with jpeg. Needless to say the only output your really looking for is anything with jpeg in it and the file it lists above. False positives are just a side effect of a system that uses shared libs and the way that installed programs use them. Some of the programs that I have noticed that looks like false positives are firefox mono octave hdf5 and when found usually you can just surf the text file by eye and its not to hard to recognize the path that the file installed in and dismiss them. Guess I should have said this is a manual process. Regards, -- jhell