From owner-freebsd-stable Tue Oct 2 14:19:30 2001 Delivered-To: freebsd-stable@freebsd.org Received: from no-nonsense.org (kbl-mdb539.zeelandnet.nl [62.238.2.31]) by hub.freebsd.org (Postfix) with ESMTP id 79E8137B408 for ; Tue, 2 Oct 2001 14:19:22 -0700 (PDT) Received: from peter (peter.home [10.0.0.2]) by no-nonsense.org (8.11.6/8.11.6) with SMTP id f92LJKY00690 for ; Tue, 2 Oct 2001 23:19:21 +0200 (CEST) (envelope-from peter@no-nonsense.org) Message-ID: <002501c14b88$01b8faa0$0200000a@peter> From: "Peter C. Verhage" To: Subject: Some notes about 'make installworld' Date: Tue, 2 Oct 2001 23:20:05 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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