Originally published at
RTFM - администрирование, настройка серверов FreeBSD, Linux. You can comment here or
there.
На FreeBSD 9.0 при попытке очистки каталога с портами - вдруг оказалось, что утилита make уже не работает:
# portsclean -C
Unknown modifier 't'
Unknown modifier 't'
Unknown modifier 't'
Unknown modifier 't'
Unknown modifier 't'
"/usr/ports/Mk/bsd.sites.mk", line 958: Malformed conditional (!empty(_PERL_CPAN_ID) && ${_PERL_CPAN_FLAG:tl} == "cpan")
Unknown modifier 't'
"Mk/bsd.port.mk", line 2929: Unclosed conditional/for loop
"Mk/bsd.port.mk", line 2929: Unexpected end of file in for loop.
"Mk/bsd.port.mk", line 6711: Unclosed conditional/for loop
"Mk/bsd.port.mk", line 6711: Unexpected end of file in for loop.
1 open conditional:
at line 1179 (evaluated to true)
make: fatal errors encountered -- cannot continue
/usr/local/lib/ruby/site_ruby/1.9/pkgtools/portsdb.rb:237:in `join': can't convert nil into String (TypeError)
from /usr/local/lib/ruby/site_ruby/1.9/pkgtools/portsdb.rb:237:in `index_file'
from /usr/local/lib/ruby/site_ruby/1.9/pkgtools/portsdb.rb:247:in `db_dir='
from /usr/local/lib/ruby/site_ruby/1.9/pkgtools/portsdb.rb:167:in `setup'
from /usr/local/lib/ruby/site_ruby/1.9/pkgtools/pkgtools.rb:242:in `init_pkgtools_global'
from /usr/local/sbin/portsclean:134:in `block in main'
from /usr/local/lib/ruby/1.9/optparse.rb:882:in `initialize'
from /usr/local/sbin/portsclean:70:in `new'
from /usr/local/sbin/portsclean:70:in `main'
from /usr/local/sbin/portsclean:727:in `'
Read the rest of this entry »