tech-pkg archive

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

Re: Graph cycles through ---- audio/squeezebox builds forever

On Tue, Nov 29, 2011 at 11:57:21PM +0100, John Marino wrote:
> So obviously you know the internals of pkgsrc much, much better than
> I do, so I'm not really
> following.  When I cd into devel/p5-Parse-CPAN-Meta and type "bmake
> -V '${BUILD_DEPENDS}'", it
> clearly lists p5-ExtUtils-MakeMaker as a dependency.  Changing
> directory to devel/p5-ExtUtils-MakeMaker
> and typing "bmake -V '${DEPENDS}'" shows a dependency on p5-Parse-CPAN-Meta.
> Is not this a classic example of a circular dependency?  Even if
> there is some mechanism that
> ignores these dependencies (as I infer from your statement), surely
> this doesn't cover 100%
> of the cases because otherwise you could just remove the dependency
> safely, right?

I can't read joerg's thoughts better than yourself, but I debug
slightly differently than you:

# make show-var VARNAME=DEPENDS
perl>=5.14.0:../../lang/perl5 perl<5.16.0:../../lang/perl5
#  make show-var VARNAME=BUILD_DEPENDS

The DEPENDS show that this package already needs perl>=5.14, so the
BUILD_DEPENDS' pattern of {perl>=5.7.3,something else} will always be
fulfilled by perl and the rest of it is ignored. At least that's how I
think it's generally supposed to work.

No idea what tinderbox does differently here, but I guess it just
takes the path after the colon.

Home | Main Index | Thread Index | Old Index