Date: Tue, 2 Oct 2001 23:20:05 +0200 From: "Peter C. Verhage" <peter@no-nonsense.org> To: <stable@freebsd.org> Subject: Some notes about 'make installworld' Message-ID: <002501c14b88$01b8faa0$0200000a@peter>
next in thread | raw e-mail | index | archive | help
Hi, Today I CVSupped my source tree to 4.4 STABLE. I did a 'make buildworld' etc. etc. and although I had some problems first (which has nothing to do with the upgrade process in particular so I won't comment on it in this message :P) everything went fine until the 'make installworld'. First of all, I read the instructions in the online FreeBSD handbook on doing the make world. I've done this before (3-5 times or something) but I always look in the handbook if nothing has changed since the last time (you never know :P). While reading I noticed the '-jX' option, which I took advantage of for the 'make buildworld'. I used it before but I had forgotten about it :). But when I wanted to do an 'make installworld' I thought "let's do that again", so I did a 'make -j4 installworld'. Unfortunately this doesn't seem to be a good idea because the installworld failed because "The shell could not be opened" or something similar like that. After a few minutes of thinking it struck to me that this is probably because of the 4 (-j4) processes which are doing the make installworld. One of them was installing a new 'sh' binary and one or more of the other processes wanted to use the 'sh' binary to do "something". So I did the 'make installworld' again without the -j4 option, and everything went nice and smoothly. So now I'm a happy 4.4 STABLE user. I looked at the handbook again and I didn't notice any warning whatsoever about this issue. Only that the use of this option was experimental and could cause problems. And it also didn't mention really if you should only use it with the make buildworld (which goes perfectly fine) or also with the make installworld. I think other people who will use the -jX option at make installworld time will probably get into the same troubles as I did, so it's probably a good idea to take notice of this for the handbook (probably something for the little FAQ at the bottom of the page). Regards, Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002501c14b88$01b8faa0$0200000a>