From owner-freebsd-questions@FreeBSD.ORG Thu Jun 4 16:27:08 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 23D611065694 for ; Thu, 4 Jun 2009 16:27:08 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from poseidon.ceid.upatras.gr (poseidon.ceid.upatras.gr [150.140.141.169]) by mx1.freebsd.org (Postfix) with ESMTP id 8C56C8FC0A for ; Thu, 4 Jun 2009 16:27:07 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from mail.ceid.upatras.gr (unknown [10.1.0.143]) by poseidon.ceid.upatras.gr (Postfix) with ESMTP id 74BAEEB57A8; Thu, 4 Jun 2009 19:27:06 +0300 (EEST) Received: from localhost (europa.ceid.upatras.gr [127.0.0.1]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 6503C450C6; Thu, 4 Jun 2009 19:27:06 +0300 (EEST) X-Virus-Scanned: amavisd-new at ceid.upatras.gr Received: from mail.ceid.upatras.gr ([127.0.0.1]) by localhost (europa.ceid.upatras.gr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MJWDovr5kv6x; Thu, 4 Jun 2009 19:27:06 +0300 (EEST) Received: from kobe.laptop (adsl228-46.kln.forthnet.gr [79.103.41.46]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 2589D4509B; Thu, 4 Jun 2009 19:27:06 +0300 (EEST) Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id n54GR587069943; Thu, 4 Jun 2009 19:27:05 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id n54GR0Al069225; Thu, 4 Jun 2009 19:27:00 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Mike Clarke References: <200906041536.57120.jmc-freebsd2@milibyte.co.uk> Date: Thu, 04 Jun 2009 19:27:00 +0300 In-Reply-To: <200906041536.57120.jmc-freebsd2@milibyte.co.uk> (Mike Clarke's message of "Thu, 4 Jun 2009 15:36:56 +0100") Message-ID: <87r5y00xt7.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: cups and ghostscript recursive dependency problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jun 2009 16:27:08 -0000 On Thu, 4 Jun 2009 15:36:56 +0100, Mike Clarke wrote: > I'm getting recursive dependency problems following a recent > portupgrade -a. > > I've deinstalled cups-base as advised in UPDATING and somehow > ghostscript8 has also ended up being removed. Now when I attempt to > rebuild cups-base I get recursive dependency problems. > > curlew:/root# cd /usr/ports/print/cups-base > > curlew:/usr/ports/print/cups-base# make > > ===> cups-base-1.3.10_2 depends on file: /usr/local/lib/libcups.a - > found > ===> cups-base-1.3.10_2 depends on executable: gmake - found > ===> cups-base-1.3.10_2 depends on executable: gs - not found > ===> Verifying install for gs in /usr/ports/print/ghostscript8 > ===> ghostscript8-8.64_4 depends on executable: gmake - found > ===> ghostscript8-8.64_4 depends on > file: /usr/local/libdata/pkgconfig/xt.pc - found > ===> ghostscript8-8.64_4 depends on > file: /usr/local/libdata/pkgconfig/xext.pc - found > ===> ghostscript8-8.64_4 depends on shared library: jpeg.9 - found > ===> ghostscript8-8.64_4 depends on shared library: png.5 - found > ===> ghostscript8-8.64_4 depends on shared library: > libcupsimage.so.2 - not found > ===> Verifying install for libcupsimage.so.2 > in /usr/ports/print/cups-base > ===> cups-base-1.3.10_2 depends on file: /usr/local/lib/libcups.a - > found [...] > ... this repeats many times until it changes to ... > > make: Max recursion level (500) exceeded.: Resource temporarily > unavailable > *** Error code 2 > ... I've already run pkgdb -Ff which deleted lots of redundant > dependencies on cups-base and ghostscript8 but I consistently get the > recursive problem. What should I try next? Do you have the latest port revision of ghostscript8? We have tweaked its dependencies in the last 2-3 commits. Check that the `Makefile' in `/usr/ports/print/ghostscript8' includes: # New ports collection makefile for: ghostscript # Date created: Tue Jun 10 21:58:54 CEST 1997 # Whom: Andreas Klemm # # $FreeBSD$ # PORTNAME= ghostscript8 PORTVERSION= 8.64 PORTREVISION= 5 ^^^^^^^^^^^^^^^^^^ If the PORTREVISION is not 5, then please update the port and try again.