From owner-freebsd-ports@FreeBSD.ORG Thu Feb 14 21:00:14 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45C1A16A468 for ; Thu, 14 Feb 2008 21:00:14 +0000 (UTC) (envelope-from jaj@hcl-club.lu) Received: from 0b10111.de (hcl-club.lu [62.75.155.129]) by mx1.freebsd.org (Postfix) with ESMTP id 190A313C478 for ; Thu, 14 Feb 2008 21:00:14 +0000 (UTC) (envelope-from jaj@hcl-club.lu) Received: from nirvana.my.domain (4be54-4-82-234-154-189.fbx.proxad.net [82.234.154.189]) by 0b10111.de (Postfix) with ESMTP id DFDD35FB823C; Thu, 14 Feb 2008 21:32:23 +0100 (CET) Received: by nirvana.my.domain (Postfix, from userid 1005) id 8FD557EA6; Thu, 14 Feb 2008 21:32:19 +0100 (CET) Date: Thu, 14 Feb 2008 21:32:19 +0100 From: Jona Joachim To: ports@freebsd.org Message-ID: <20080214203217.GA88714@nirvana.my.domain> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="0OAP2g/MAC+5xKAE" Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: jaj@hcl-club.lu Subject: detect packages which are built against missing libraries 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: Thu, 14 Feb 2008 21:00:14 -0000 --0OAP2g/MAC+5xKAE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi! The last upgrade of devel/icu broke a lot of binaries for me because they were missing libicui18n.so.36. I quickly hacked together a python script which tries to indentify which packages were built against no longer existing libraries. It outputs a list of packages which can easily be combinded with portupgrade -f. It depends on portupgrade. I just post it here in case it can be useful for anybody. It is a good idea to run pkgdb -F before running it. -- :wq Jona --0OAP2g/MAC+5xKAE--