make: Max recursion level (500) exceeded.: Resource temporarily unavailable

Matthew Fry mfry at
Fri Jul 14 05:24:52 UTC 2006

I hope this is the right place to post this.  I've noticed some circular
dependency problems on a 5.4 system I'm building.  Just installed
php5-mbstring and got the "Max recursion level (500) exceeded.:
Resource temporarily unavailable" message.  I opened another SSH window
and here's what I saw with ps -ax:

18249  p0  I+     0:00.20 make install
18380  p0  I+     0:00.01 [sh]
18382  p0  I+     0:00.00 [sh]
18383  p0  I+     0:00.15 make package-depends
18384  p0  I+     0:00.01 /usr/bin/grep -v -E this_port_does_not_exist
18385  p0  I+     0:00.00 /usr/bin/sort -u
18397  p0  I+     0:00.01 [sh]
18398  p0  I+     0:00.01 [sh]
18399  p0  I+     0:00.01 /usr/bin/awk {print $1":"$3}
18412  p0  I+     0:00.18 make CHILD_DEPENDS=yes PARENT_CHECKED=
18431  p0  I+     0:00.01 [sh]
18446  p0  I+     0:00.17 make CHILD_DEPENDS=yes PARENT_CHECKED=
18465  p0  I+     0:00.01 [sh]
(this repeats a whole bunch of times)

When running the 'make clean' after installation, here's something
else I saw:

/usr/ports/converters/php5-mbstring# make clean
php5-mbstring-5.1.4: "/usr/ports//usr/ports/www/apache13-modssl"
non-existent -- dependency list incomplete
===>  Cleaning for php5-5.1.4
===>  Cleaning for autoconf-2.59_2
===>  Cleaning for openldap-client-2.2.30
===>  Cleaning for pkg-config-0.20_2
===>  Cleaning for libxml2-2.6.26
===>  Cleaning for perl-5.8.8
===>  Cleaning for m4-1.4.4
===>  Cleaning for help2man-1.36.4_1
===>  Cleaning for gmake-3.81_1
===>  Cleaning for openssl-0.9.8b_1
===>  Cleaning for libiconv-1.9.2_2
===>  Cleaning for p5-gettext-1.05_1
===>  Cleaning for gettext-0.14.5_2
===>  Cleaning for libtool-1.5.22_2
===>  Cleaning for php5-mbstring-5.1.4

Notice the /usr/ports//usr/ports/www/... problem with the apache
dependency above.  

Anyone got a fix?  Just CVSupped yesterday morning.

Here's my make.conf file:


And when I 'grep USE_EMACS /usr/ports/Mk/'  I get:

if defined(USE_EMACS)

Let me know if you need anything else to help fix this.


Matthew Fry
Division Point Multimedia
Technology and Marketing Solutions 
Phone: 703-467-5600

More information about the freebsd-ports mailing list