Max recursion level (500) exceeded.

Kris Kennaway kris at FreeBSD.org
Tue Mar 15 12:05:53 PST 2005


On Wed, Mar 16, 2005 at 12:05:44AM +0430, Lee Harr wrote:
> >> I am getting this error when cleaning in ports directories
> >> (it seems perhaps only on ports involving python):
> >>
> >> make: Max recursion level (500) exceeded.: Resource temporarily 
> >unavailable
> >>
> >>
> >> It takes a very long time, but then portmanager or portupgrade
> >> will continue on and the install or upgrade seems to work fine.
> >>
> >> Is this a known issue?
> >
> >Usually caused by setting an illegal option (usually USE_*) in the
> >environment, make.conf or command-line.
> >
> 
> 
> The only one I have is
> USE_ZOPE=YES
> 
> I grepped through ports/Mk and it is still mentioned there,
> so I think it is still legal.
> 
> the env is clean and only make clean on the command-line.

USE_* are never legal to specify in the user environment; they are for
internal port use only and cause recursions if they're present
globally.  You want WITH_*/WITHOUT_*.

Kris


More information about the freebsd-ports mailing list