installworld with WITHOUT_INFO broken

From: Gennady Proskurin <gpr_at_nvnpp.vrn.ru>
Date: Wed, 6 Sep 2006 09:51:00 +0400
gpr_at_gw /usr/src % make -D WITHOUT_INFO installworld
mkdir -p /tmp/install.MLOXViKX
for prog in [ awk cap_mkdb cat chflags chmod chown  date echo egrep find
grep install-info  ln lockf make mkdir mtree mv pwd_mkdb rm sed sh
sysctl  test true uname wc zic; do  cp `which $prog`
/tmp/install.MLOXViKX;  done
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-lpv] source_file
target_file
       cp [-R [-H | -L | -P]] [-f | -i | -n] [-lpv] source_file ...
target_directory
*** Error code 64

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
Exit 1

gpr_at_gw /usr/src % which install-info
install-info: Command not found.
Exit 1
gpr_at_gw /usr/src % 

The workaround is something like:
touch /usr/bin/install-info
make installworld
rm /usr/bin/install-info

The fix should be conditional include of install-info in above for
statement, depending on NO_INFO

-- 
Gennady
Received on Wed Sep 06 2006 - 03:51:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:00 UTC