From owner-freebsd-current@FreeBSD.ORG Mon Feb 12 06:18:32 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4E88C16A401 for ; Mon, 12 Feb 2007 06:18:32 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from mh1.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.freebsd.org (Postfix) with ESMTP id 2391913C4A8 for ; Mon, 12 Feb 2007 06:18:31 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from [192.168.42.21] (andersonbox1.centtech.com [192.168.42.21]) by mh1.centtech.com (8.13.8/8.13.8) with ESMTP id l1C6IRG7093642; Mon, 12 Feb 2007 00:18:27 -0600 (CST) (envelope-from anderson@freebsd.org) Message-ID: <45D006B2.5070906@freebsd.org> Date: Mon, 12 Feb 2007 00:18:26 -0600 From: Eric Anderson User-Agent: Thunderbird 1.5.0.9 (X11/20070204) MIME-Version: 1.0 To: Ian FREISLICH References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.4/2553/Sun Feb 11 13:28:47 2007 on mh1.centtech.com X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=8.0 tests=BAYES_00 autolearn=ham version=3.1.6 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on mh1.centtech.com Cc: freebsd-current@freebsd.org Subject: Re: Problem building various ports (dependencies). X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Feb 2007 06:18:32 -0000 On 02/12/07 00:14, Ian FREISLICH wrote: > Hi > > Recently I've had difficulty building gnupg and the gimp on current. > The problem however is not those ports, but their dependencies. > > Building the gimp now gives this message: > ===> Running ldconfig > /sbin/ldconfig -m /usr/local/lib > ===> Registering installation for libwmf-0.2.8.4 > ===> Returning to build of gimp-2.2.13_2,1 > Error: shared library "wmf.2" does not exist > *** Error code 1 > > But it's *just* installed libwmf. How can that be? I trundle over > to /usr/local/lib: > > -rw-r--r-- 1 root wheel 387362 Feb 12 07:52 libwmf.a > -rwxr-xr-x 1 root wheel 430673 Feb 12 07:52 libwmf.so.2.0 > -rw-r--r-- 1 root wheel 115138 Feb 12 07:52 libwmflite.a > -rwxr-xr-x 1 root wheel 114512 Feb 12 07:52 libwmflite.so.7.1 > > Something looks odd though. Why do those libraries have minor > numbers? so I: > ln -s libwmf.so.2.0 libwmf.so.2 > ln -s libwmflite.so.7.1 libwmflite.so.7 > > And sure enough, the gimp compile gets a little further until: > > ===> gimp-2.2.13_2,1 depends on executable in : gmake - found > ===> gimp-2.2.13_2,1 depends on file: /usr/local/bin/intltool-extract - found > ===> gimp-2.2.13_2,1 depends on file: /usr/local/libdata/pkgconfig/gnome-mime-data-2.0.pc - found > ===> gimp-2.2.13_2,1 depends on executable in : pkg-config - found > ===> gimp-2.2.13_2,1 depends on shared library: wmf.2 - found > ===> gimp-2.2.13_2,1 depends on shared library: aa.1 - not found > ===> Verifying install for aa.1 in /usr/ports/graphics/aalib > ... > ===> Compressing manual pages for aalib-1.4.r5_2 > ===> Running ldconfig > /sbin/ldconfig -m /usr/local/lib > ===> Registering installation for aalib-1.4.r5_2 > ===> Returning to build of gimp-2.2.13_2,1 > Error: shared library "aa.1" does not exist > *** Error code 1 > > Wash rinse repeat. > > Is the problem with the way the ports collection detects the existence > of dependencies or with the way the dependencies are installed? I'm guessing it's the removal of objformat from the tree. You can try to grab the pre-removal version, and compile/install it. This helped me build my ports again. Painful. Eric