pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: cups: circular dependency with 'gs' option set



On Sun, 14 Jun 2009 09:43:09 +0200
Thomas Klausner <wiz%NetBSD.org@localhost> wrote:

> On Sat, Jun 13, 2009 at 06:30:52PM -0400, Steven M. Bellovin wrote:
> > When trying to build cups on a system with no other packages
> > installed, with the 'gs' option set, I got this:
> > 
> >     => Returning to build of ghostscript-8.64nb3
> >     => Full dependency perl>=5.0: found perl-5.10.0nb6
> >     => Full dependency libX11>=1.1: found libX11-1.2.1
> >     => Full dependency libXt>=1.0.0: found libXt-1.0.5nb1
> >     => Full dependency libXext>=0.99.0: found libXext-1.0.5nb1
> >     => Full dependency cups>=1.2.12nb3: NOT found
> >     => Verifying package clean for ../../print/cups
> >     ERROR: This package has set PKG_FAIL_REASON:
> >     ERROR: Circular dependency detected
> >     *** Error code 1
> > 
> >     Stop.
> >     make: stopped in /usr/pkgsrc/print/cups
> >     *** Error code 1
> > 
> >     Stop.
> >     make: stopped in /usr/pkgsrc/print/ghostscript
> >     *** Error code 1
> > 
> >     Stop.
> >     make: stopped in /usr/pkgsrc/print/cups
> > 
> > 
> > I confess I'm surprised that ghostscript depends on cups at all.
> > (I have cups set as a global option.)
> 
> You can currently either use the gs option for cups or the cups
> option.
> gs for cups is used for pstopdf (or pdftops, I forget). I don't know
> about the other way round.

Right, I know why cups has a gs option -- for now, I've switched to the
xpdf option.  It's the other one that's confusing me.
> 
> But there is no check for this. Feel free to add one or improve the
> situation somehow else...

Yup, I've been thinking about it.  No great answers thus far, though I
wouldn't be surprised if one of the packages had to be split.

                --Steve Bellovin, http://www.cs.columbia.edu/~smb


Home | Main Index | Thread Index | Old Index