portupgrade : make goes apeshit on 5.2.1

From: Dick Davies <rasputnik_at_hellooperator.net>
Date: Fri, 16 Jul 2004 12:14:06 +0100
Portinstall runs incredibly slowly on this box - epia m6000 with 512Mb RAM - particularly portinstall and
other portupgrade related tools. After 5 minutes of no output, I thought I'd investigate and find that
make (1) has forkbombed the box:


[1]  + Running                       portinstall rsync
eris# ps ax|grep make|wc -l
     293
eris# uname -a
FreeBSD eris 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #0: Fri Jul 16 03:35:03 GMT 2004     rasputnik_at_eris:/usr/obj/usr/src/sys/ERIS  i386

(the system is a 5.2.1 release pulled up to 'tag=RELENG_5_2' with cvsup )


make.conf looks like:


# cat /etc/make.conf 
# -- use.perl generated deltas -- #
# Created: Tue Jul  6 17:12:19 2004
# Setting to use base perl from ports:
PERL_VER=5.6.1
PERL_VERSION=5.6.1
PERL_ARCH=mach
NOPERL=yo
NO_PERL=yo
NO_PERL_WRAPPER=yo
BOOT_COMCONSOLE_SPEED=57600
WITH_PAM=         yes
USE_OPENLDAP_VER=     22
KERNCONF=ERIS

Unsurprisingly, I get a message like the below, and am lucky to install anything.
This was also giving the 'kern.maxkva' error, but that's obviously a symptom rather than a cause...
any idea what the hell is going on?

 call failed: Too many open files in system
"/usr/ports/Mk/bsd.port.mk", line 2404: warning: "echo 'ldapmodify.1 ldapadd.1 lber-decode.3 ber_first_element.3 lber-decode.3 ber_get_bitstring.3 lber-decode.3 ber_get_boolean.3 lber-decode.3 ber_get_enum.3 lber-decode.3 ber_get_int.3 lber-decode.3 ber_get_next.3 lber-decode.3 ber_get_null.3 lber-decode.3 ber_get_stringa.3 lber-decode.3 ber_get_stringb.3 lber-decode.3 ber_next_element.3 lber-decode.3 ber_peek_tag.3 lber-decode.3 ber_scanf.3 lber-decode.3 ber_skip_tag.3 lber-encode.3 ber_alloc_t.3 lber-encode.3 ber_flush.3 lber-encode.3 ber_printf.3 lber-encode.3 ber_put_enum.3 lber-encode.3 ber_put_int.3 lber-encode.3 ber_put_null.3 lber-encode.3 ber_put_ostring.3 lber-encode.3 ber_put_seq.3 lber-encode.3 ber_put_set.3 lber-encode.3 ber_put_string.3 lber-encode.3 ber_start_set.3 lber-types.3 ber_bvarray_add.3 lber-types.3 ber_bvarray_free.3 lber-types.3 ber_bvdup.3 lber-types.3 ber_bvecadd.3 lber-types.3 ber_bvecfree.3 lber-types.3 ber_bvfree.3 lber-types.3 ber_bvstr.3 lber-types.3 ber_bvstrdup.3 lber-types.3 ber_dupbv.3 lber-types.3 ber_free.3 lber-types.3 ber_str2bv.3 ldap_abandon.3 ldap_abandon_ext.3 ldap_add.3 ldap_add_ext.3 ldap_add.3 ldap_add_ext_s.3 ldap_add.3 ldap_add_s.3 ldap_bind.3 ldap_bind_s.3 ldap_bind.3 ldap_kerberos_bind1.3 ldap_bind.3 ldap_kerberos_bind1_s.3 ldap_bind.3 ldap_kerberos_bind2.3 ldap_bind.3 ldap_kerberos_bind2_s.3 ldap_bind.3 ldap_kerberos_bind_s.3 ldap_bind.3 ldap_sasl_bind.3 ldap_bind.3 ldap_sasl_bind_s.3 ldap_bind.3 ldap_simple_bind.3 ldap_bind.3 ldap_simple_bind_s.3 ldap_bind.3 ldap_unbind.3 ldap_bind.3 ldap_unbind_ext.3 ldap_bind.3 ldap_unbind_ext_s.3 ldap_bind.3 ldap_unbind_s.3 ldap_compare.3 ldap_compare_ext.3 ldap_compare.3 ldap_compare_ext_s.3 ldap_compare.3 ldap_compare_s.3 ldap_delete.3 ldap_delete_ext.3 ldap_delete.3 ldap_delete_ext_s.3 ldap_delete.3 ldap_delete_s.3 ldap_error.3 ld_errno.3 ldap_error.3 ldap_err2string.3 ldap_error.3 ldap_errlist.3 ldap_error.3 ldap_perror.3 ldap_error.3 ldap_result2error.3 ldap_first_attribute.3 ldap_next_attribute.3 ldap_first_entry.3 ldap_count_entries.3 ldap_first_entry.3 ldap_next_entry.3 ldap_first_message.3 ldap_count_messages.3 ldap_first_message.3 ldap_next_message.3 ldap_first_reference.3 ldap_count_references.3 ldap_first_reference.3 ldap_next_reference.3 ldap_get_dn.3 ldap_dcedn2dn.3 ldap_get_dn.3 ldap_dn2ad_canonical.3 ldap_get_dn.3 ldap_dn2dcedn.3 ldap_get_dn.3 ldap_dn2str.3 ldap_get_dn.3 ldap_dn2ufn.3 ldap_get_dn.3 ldap_explode_dn.3 ldap_get_dn.3 ldap_explode_rdn.3 ldap_get_dn.3 ldap_str2dn.3 ldap_get_values.3 ldap_count_values.3 ldap_get_values.3 ldap_count_values_len.3 ldap_get_values.3 ldap_get_values_len.3 ldap_get_values.3 ldap_value_free.3 ldap_get_values.3 ldap_value_free_len.3 ldap_modify.3 ldap_modify_ext.3 ldap_modify.3 ldap_modify_ext_s.3 ldap_modify.3 ldap_modify_s.3 ldap_modify.3 ldap_mods_free.3 ldap_modrdn.3 ldap_modrdn2.3 ldap_modrdn.3 ldap_modrdn2_s.3 ldap_modrdn.3 ldap_modrdn_s.3 ldap_open.3 ldap_init.3 ldap_parse_result.3 ldap_parse_extended_result.3 ldap_parse_result.3 ldap_parse_sasl_bind_result.3 ldap_result.3 ldap_msgfree.3 ldap_result.3 ldap_msgid.3 ldap_result.3 ldap_msgtype.3 ldap_schema.3 ldap_attributetype2name.3 ldap_schema.3 ldap_attributetype2str.3 ldap_schema.3 ldap_attributetype_free.3 ldap_schema.3 ldap_matchingrule2name.3 ldap_schema.3 ldap_matchingrule2str.3 ldap_schema.3 ldap_matchingrule_free.3 ldap_schema.3 ldap_objectclass2name.3 ldap_schema.3 ldap_objectclass2str.3 ldap_schema.3 ldap_objectclass_free.3 ldap_schema.3 ldap_scherr2str.3 ldap_schema.3 ldap_str2attributetype.3 ldap_schema.3 ldap_str2matchingrule.3 ldap_schema.3 ldap_str2objectclass.3 ldap_schema.3 ldap_str2syntax.3 ldap_schema.3 ldap_syntax2name.3 ldap_schema.3 ldap_syntax2str.3 ldap_schema.3 ldap_syntax_free.3 ldap_search.3 ldap_search_ext.3 ldap_search.3 ldap_search_ext_s.3 ldap_search.3 ldap_search_s.3 ldap_search.3 ldap_search_st.3 ldap_sort.3 ldap_sort_entries.3 ldap_sort.3 ldap_sort_strcasecmp.3 ldap_sort.3 ldap_sort_values.3 ldap_url.3 ldap_free_urldesc.3 ldap_url.3 ldap_is_ldap_url.3 ldap_url.3 ldap_url_parse.3' | /usr/bin/awk  '{ if (NF % 2 != 0) { print "broken"; exit; }  for (i=1; i<=NF; i++) {  if ($i ~ /^-$/ && i != 1 && i % 2 != 0)  { $i = $(i-2); printf " " $i " "; }  else if ($i ~ /^[^ ]+\.[1-9ln][^. ]*$/ || $i ~ /^\//)  printf " " $i " ";  else  { print "broken"; exit; }  }  }' | /usr/bin/sed -e ' \([^/ ][^ ]*\.\(.\)[^. ]*\ ${MAN\2PREFIX}/$$$${__lang}/man\2/\1.gg' -e 's/ /g' -e 's/MANlPREFIX/MANLPREFIX/g' -e 's/MANnPREFIX/MANNPREFIX/g'" returned non-zero status
"/usr/ports/Mk/bsd.port.mk", line 1: Malformed conditional (${_TMLINKS:M/usr/local*}x != x)
"/usr/ports/Mk/bsd.port.mk", line 4: Malformed conditional (${_TMLINKS:N/usr/local*}x != x)
"/usr/ports/Mk/bsd.port.mk", line 5: warning: duplicate script for target ".if" ignored
"/usr/ports/Mk/bsd.port.mk", line 5: warning: duplicate script for target "x" ignored
"/usr/ports/Mk/bsd.port.mk", line 6: warning: duplicate script for target ".if" ignored
"/usr/ports/Mk/bsd.port.mk", line 6: warning: duplicate script for target "x" ignored
"/usr/ports/Mk/bsd.port.mk", line 7: warning: duplicate script for target ".if" ignored
"/usr/ports/Mk/bsd.port.mk", line 7: warning: duplicate script for target "x" ignored
"/usr/ports/Mk/bsd.port.mk", line 9: warning: duplicate script for target ".if" ignored
"/usr/ports/Mk/bsd.port.mk", line 9: warning: duplicate script for target "x" ignored
"/usr/ports/Mk/bsd.port.mk", line 4545: warning: duplicate script for target ".if" ignored
"/usr/ports/Mk/bsd.port.mk", line 4545: warning: duplicate script for target "x" ignored
"/usr/ports/Mk/bsd.port.mk", line 4550: warning: duplicate script for target ".if" ignored
"/usr/ports/Mk/bsd.port.mk", line 4550: warning: duplicate script for target "x" ignored
"/usr/ports/Mk/bsd.port.mk", line 4551: warning: duplicate script for target ".if" ignored
"/usr/ports/Mk/bsd.port.mk", line 4551: warning: duplicate script for target "x" ignored
"/usr/ports/Mk/bsd.port.mk", line 4560: warning: duplicate script for target ".if" ignored
"/usr/ports/Mk/bsd.port.mk", line 4560: warning: duplicate script for target "x" ignored
"/usr/ports/Mk/bsd.port.mk", line 4562: warning: duplicate script for target ".if" ignored
"/usr/ports/Mk/bsd.port.mk", line 4562: warning: duplicate script for target "x" ignored
"/usr/ports/Mk/bsd.port.mk", line 4564: if-less endif
"/usr/ports/Mk/bsd.port.mk", line 4564: Need an operator
"/usr/ports/Mk/bsd.port.mk", line 4844: if-less endif
"/usr/ports/Mk/bsd.port.mk", line 4844: Need an operator
make: fatal errors encountered -- cannot continue


-- 
Alone, adj.:
	In bad company.
		-- Ambrose Bierce, "The Devil's Dictionary"
Rasputin :: Jack of All Trades - Master of Nuns
Received on Fri Jul 16 2004 - 09:14:08 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:02 UTC