From owner-freebsd-questions@FreeBSD.ORG Tue Apr 15 16:38:23 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C368189D for ; Tue, 15 Apr 2014 16:38:23 +0000 (UTC) Received: from mail-vc0-x22d.google.com (mail-vc0-x22d.google.com [IPv6:2607:f8b0:400c:c03::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7D9CD10AF for ; Tue, 15 Apr 2014 16:38:23 +0000 (UTC) Received: by mail-vc0-f173.google.com with SMTP id il7so9672322vcb.32 for ; Tue, 15 Apr 2014 09:38:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=pm2uBdkJ4ybDRvdnTpT6o1xu30fWFRA2FrgQ0LvmM6s=; b=XD9q2l3nTZFxsjMqnPapClQz+V9qr9oPIeSiCigkpllCte+Ydtbw/TVhLgHw7J7V6q I1luDyN6jr5m+o4p07z5gCXNEYXmuJRqpXzuE5bJOAtvTOqJ4HUiQDcNuWlR+4WULnB5 Ir6v3I3HyocdQ9bKBwjAo9MdhXLna6sYK1qrl7suIiYQ73wWJSQzF5qJWo16m4w4Qb1q 7iq2lwXv3h5jREgNIyaRRV4ETgtHOYqCX4zYbdNRvAw0OdbfDp2lBMCjjGtKpKPtBK7T o9W0E5lZa0pRfgrSoWEwYCDLu11vdxzpNOt+IkhvLTuUuxviXx8F5y/l3Yt2oaX2uVUE jMpg== MIME-Version: 1.0 X-Received: by 10.58.186.71 with SMTP id fi7mr1186495vec.32.1397579902352; Tue, 15 Apr 2014 09:38:22 -0700 (PDT) Received: by 10.220.239.84 with HTTP; Tue, 15 Apr 2014 09:38:22 -0700 (PDT) In-Reply-To: References: Date: Tue, 15 Apr 2014 12:38:22 -0400 Message-ID: Subject: Re: make installworld failed From: Thomas Hoffmann To: jungleboogie0 Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: Mike Casper , FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Apr 2014 16:38:23 -0000 On Tue, Apr 15, 2014 at 12:34 AM, jungleboogie0 wrote: > I build 10 stable generic. Would this work with 10-stable as opposed > to 11 current? > > Currently my procedure is: > 0.# cd /usr/src && svn update > 1.# make -j `sysctl -n hw.ncpu` buildworld > 2.# make -j `sysctl -n hw.ncpu` buildkernel > 3.# make installkernel > 4.# reboot > 5.# cd /usr/src > 6.# mergemaster -p > 7.# make installworld > 8.# mergemaster -iUF > 9.# yes | make delete-old > 10.# yes | make delete-old-libs > 11.# cd /usr/obj && chflags -R noschg * && rm -rf * > 12.# reboot > > > and my system is also a tortoise. You recommend I insert your steps > directly after the update? > > do you recommend any other changes to my procedure above? My builds > generally also take > 2-3 hours also. > Well, it depends on how often you build. I build a new -CURRENT almost every night. For the first build of each month I do a full 'buildworld'. For every 'buildworld' after that I use NO_CLEAN since I'm pulling in a relatively small amount of updates. Depending on the updates, I can complete a 'buildworld' in 15-30 minutes using NO_CLEAN, whereas a full 'buildworld' takes 2-21/2 hours. So doing a 'buildworld' with NO_CLEAN makes sense for me given my build frequency. However, if you are building only say once a month or less, then I would recommend a full 'buildworld' every time since you will be pulling in a fairly large number of updates. In your #1, did you mean -j4? -j4 is what the Handbook recommends for most cases. -Tom