Claus Guttesen
2008-Oct-15 20:02 UTC
error during installworld on 7.1 beta (was: error during buildworld on 7.1 beta)
During installworld I get: cat /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/man/ncurses.3x> ncurses.3sh /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/man/MKterminfo.sh /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/man/terminfo.head /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/include/Caps /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/man/terminfo.tail>terminfo.5tr: not found /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/man/MKterminfo.sh: cannot open unsorted26711: No such file or directory *** Error code 2 Stop in /usr/src/lib/ncurses/ncurses. *** Error code 1 Stop in /usr/src/lib/ncurses. *** Error code 1 Stop in /usr/src/lib. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. 1.031u 2.341s 0:04.44 75.9% 203+2259k 53+201io 530pf+0w So it seems that $PATH is partially lost during installworld. A unified diff for ./contrib/ncurses/man/MKterminfo.sh is diff -u ./contrib/ncurses/man/MKterminfo.sh.org ./contrib/ncurses/man/MKterminfo.sh --- ./contrib/ncurses/man/MKterminfo.sh.org 2008-03-01 06:27:53.000000000 +0100 +++ ./contrib/ncurses/man/MKterminfo.sh 2008-03-01 06:28:55.000000000 +0100 @@ -77,7 +77,7 @@ s/ bool / /p s/ num / /p s/ str / /p -" |sed -e 's/^$/../' | tr "\134" "\006" >$unsorted +" |sed -e 's/^$/../' | /usr/bin/tr "\134" "\006" >$unsorted rm -f $sorted rm -f $temp @@ -104,7 +104,7 @@ done <$unsorted test $saved = yes && sort $temp >>$sorted -sed -e 's/^\.\.$//' $sorted | tr "\005\006" "\012\134" +sed -e 's/^\.\.$//' $sorted | /usr/bin/tr "\005\006" "\012\134" cat $tail These are the files I added complete path for: ./contrib/ncurses/man/MKterminfo.sh ./contrib/ncurses/include/MKkey_defs.sh ./gnu/usr.bin/cvs/contrib/Makefile ./sys/conf/newvers.sh ./share/colldef/Makefile ./share/termcap/Makefile ./sys/boot/i386/boot2/Makefile ./sys/boot/i386/gptboot ./sys/boot/i386/loader/Makefile ./sys/boot/i386/pxeldr Should I post the diff for the remaing files? -- regards Claus When lenity and cruelty play for a kingdom, the gentler gamester is the soonest winner. Shakespeare
Jeremy Chadwick
2008-Oct-15 20:18 UTC
error during installworld on 7.1 beta (was: error during buildworld on 7.1 beta)
On Wed, Oct 15, 2008 at 10:02:13PM +0200, Claus Guttesen wrote:> During installworld I get: > > cat /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/man/ncurses.3x > > ncurses.3 > sh /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/man/MKterminfo.sh > /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/man/terminfo.head > /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/include/Caps > /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/man/terminfo.tail > >terminfo.5 > tr: not found > /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/man/MKterminfo.sh: > cannot open unsorted26711: No such file or directory > *** Error code 2 > > So it seems that $PATH is partially lost during installworld.What makes no sense to me is why I've never seen this. How exactly are you doing the installworld? Are you booting into single-user like you're supposed to? Is root's shell /bin/csh? Have you modified /root/.cshrc to do odd things? I can't approve the diffs because they're not what's truly causing the problem here. What is your $PATH, and from what sort of environment are you running installworld? Are you using sudo, su2, su, or something along those lines? Is this a cronjob? Etc... -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |