Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jul 2004 12:14:06 +0100
From:      Dick Davies <rasputnik@hellooperator.net>
To:        FreeBSD Current list <freebsd-current@freebsd.org>
Subject:   portupgrade : make goes apeshit on 5.2.1
Message-ID:  <20040716111406.GA20712@lb.tenfour>

next in thread | raw e-mail | index | archive | help

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@eris:/usr/obj/usr/src/sys/ERIS  i386

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


make.conf looks like:


# cat /etc/make.conf=20
# -- use.perl generated deltas -- #
# Created: Tue Jul  6 17:12:19 2004
# Setting to use base perl from ports:
PERL_VER=3D5.6.1
PERL_VERSION=3D5.6.1
PERL_ARCH=3Dmach
NOPERL=3Dyo
NO_PERL=3Dyo
NO_PERL_WRAPPER=3Dyo
BOOT_COMCONSOLE_SPEED=3D57600
WITH_PAM=3D         yes
USE_OPENLDAP_VER=3D     22
KERNCONF=3DERIS

Unsurprisingly, I get a message like the below, and am lucky to install any=
thing.
This was also giving the 'kern.maxkva' error, but that's obviously a sympto=
m 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 ldapad=
d.1 lber-decode.3 ber_first_element.3 lber-decode.3 ber_get_bitstring.3 lbe=
r-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-d=
ecode.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_flus=
h.3 lber-encode.3 ber_printf.3 lber-encode.3 ber_put_enum.3 lber-encode.3 b=
er_put_int.3 lber-encode.3 ber_put_null.3 lber-encode.3 ber_put_ostring.3 l=
ber-encode.3 ber_put_seq.3 lber-encode.3 ber_put_set.3 lber-encode.3 ber_pu=
t_string.3 lber-encode.3 ber_start_set.3 lber-types.3 ber_bvarray_add.3 lbe=
r-types.3 ber_bvarray_free.3 lber-types.3 ber_bvdup.3 lber-types.3 ber_bvec=
add.3 lber-types.3 ber_bvecfree.3 lber-types.3 ber_bvfree.3 lber-types.3 be=
r_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 lda=
p_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 lda=
p_kerberos_bind1_s.3 ldap_bind.3 ldap_kerberos_bind2.3 ldap_bind.3 ldap_ker=
beros_bind2_s.3 ldap_bind.3 ldap_kerberos_bind_s.3 ldap_bind.3 ldap_sasl_bi=
nd.3 ldap_bind.3 ldap_sasl_bind_s.3 ldap_bind.3 ldap_simple_bind.3 ldap_bin=
d.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_comp=
are.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 l=
dap_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_entr=
y.3 ldap_first_message.3 ldap_count_messages.3 ldap_first_message.3 ldap_ne=
xt_message.3 ldap_first_reference.3 ldap_count_references.3 ldap_first_refe=
rence.3 ldap_next_reference.3 ldap_get_dn.3 ldap_dcedn2dn.3 ldap_get_dn.3 l=
dap_dn2ad_canonical.3 ldap_get_dn.3 ldap_dn2dcedn.3 ldap_get_dn.3 ldap_dn2s=
tr.3 ldap_get_dn.3 ldap_dn2ufn.3 ldap_get_dn.3 ldap_explode_dn.3 ldap_get_d=
n.3 ldap_explode_rdn.3 ldap_get_dn.3 ldap_str2dn.3 ldap_get_values.3 ldap_c=
ount_values.3 ldap_get_values.3 ldap_count_values_len.3 ldap_get_values.3 l=
dap_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_mo=
dify_ext_s.3 ldap_modify.3 ldap_modify_s.3 ldap_modify.3 ldap_mods_free.3 l=
dap_modrdn.3 ldap_modrdn2.3 ldap_modrdn.3 ldap_modrdn2_s.3 ldap_modrdn.3 ld=
ap_modrdn_s.3 ldap_open.3 ldap_init.3 ldap_parse_result.3 ldap_parse_extend=
ed_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 lda=
p_schema.3 ldap_attributetype2name.3 ldap_schema.3 ldap_attributetype2str.3=
 ldap_schema.3 ldap_attributetype_free.3 ldap_schema.3 ldap_matchingrule2na=
me.3 ldap_schema.3 ldap_matchingrule2str.3 ldap_schema.3 ldap_matchingrule_=
free.3 ldap_schema.3 ldap_objectclass2name.3 ldap_schema.3 ldap_objectclass=
2str.3 ldap_schema.3 ldap_objectclass_free.3 ldap_schema.3 ldap_scherr2str.=
3 ldap_schema.3 ldap_str2attributetype.3 ldap_schema.3 ldap_str2matchingrul=
e.3 ldap_schema.3 ldap_str2objectclass.3 ldap_schema.3 ldap_str2syntax.3 ld=
ap_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_sea=
rch_ext_s.3 ldap_search.3 ldap_search_s.3 ldap_search.3 ldap_search_st.3 ld=
ap_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 !=3D 0) {=
 print "broken"; exit; }  for (i=3D1; i<=3DNF; i++) {  if ($i ~ /^-$/ && i =
!=3D 1 && i % 2 !=3D 0)  { $i =3D $(i-2); printf " " $i " "; }  else if ($i=
 ~ /^[^ ]+\.[1-9ln][^. ]*$/ || $i ~ /^\//)  printf " " $i " ";  else  { pri=
nt "broken"; exit; }  }  }' | /usr/bin/sed -e ' \([^/ ][^ ]*\.\(.\)[^. ]*\ =
${MAN\2PREFIX}/$$$${__lang}/man\2/\1.gg' -e 's/ /g' -e 's/MANlPREFIX/MANLPR=
EFIX/g' -e 's/MANnPREFIX/MANNPREFIX/g'" returned non-zero status
"/usr/ports/Mk/bsd.port.mk", line 1: Malformed conditional (${_TMLINKS:M/us=
r/local*}x !=3D x)
"/usr/ports/Mk/bsd.port.mk", line 4: Malformed conditional (${_TMLINKS:N/us=
r/local*}x !=3D 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 targe=
t ".if" ignored
"/usr/ports/Mk/bsd.port.mk", line 4545: warning: duplicate script for targe=
t "x" ignored
"/usr/ports/Mk/bsd.port.mk", line 4550: warning: duplicate script for targe=
t ".if" ignored
"/usr/ports/Mk/bsd.port.mk", line 4550: warning: duplicate script for targe=
t "x" ignored
"/usr/ports/Mk/bsd.port.mk", line 4551: warning: duplicate script for targe=
t ".if" ignored
"/usr/ports/Mk/bsd.port.mk", line 4551: warning: duplicate script for targe=
t "x" ignored
"/usr/ports/Mk/bsd.port.mk", line 4560: warning: duplicate script for targe=
t ".if" ignored
"/usr/ports/Mk/bsd.port.mk", line 4560: warning: duplicate script for targe=
t "x" ignored
"/usr/ports/Mk/bsd.port.mk", line 4562: warning: duplicate script for targe=
t ".if" ignored
"/usr/ports/Mk/bsd.port.mk", line 4562: warning: duplicate script for targe=
t "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


--=20
Alone, adj.:
	In bad company.
		-- Ambrose Bierce, "The Devil's Dictionary"
Rasputin :: Jack of All Trades - Master of Nuns



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040716111406.GA20712>