Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Jun 2009 19:27:00 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Mike Clarke <jmc-freebsd2@milibyte.co.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: cups and ghostscript recursive dependency problem
Message-ID:  <87r5y00xt7.fsf@kobe.laptop>
In-Reply-To: <200906041536.57120.jmc-freebsd2@milibyte.co.uk> (Mike Clarke's message of "Thu, 4 Jun 2009 15:36:56 %2B0100")
References:  <200906041536.57120.jmc-freebsd2@milibyte.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 4 Jun 2009 15:36:56 +0100, Mike Clarke <jmc-freebsd2@milibyte.co.uk> 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 <andreas@klemm.gtn.com>
    #
    # $FreeBSD$
    #

    PORTNAME=      ghostscript8
    PORTVERSION=   8.64
    PORTREVISION=  5
    ^^^^^^^^^^^^^^^^^^

If the PORTREVISION is not 5, then please update the port and try again.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87r5y00xt7.fsf>