From owner-freebsd-questions@FreeBSD.ORG Tue Apr 15 04:34:40 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 1B59EA3F for ; Tue, 15 Apr 2014 04:34:40 +0000 (UTC) Received: from mail-ob0-x22f.google.com (mail-ob0-x22f.google.com [IPv6:2607:f8b0:4003:c01::22f]) (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 D7CD415FE for ; Tue, 15 Apr 2014 04:34:39 +0000 (UTC) Received: by mail-ob0-f175.google.com with SMTP id vb8so3782600obc.34 for ; Mon, 14 Apr 2014 21:34:39 -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=QyKB91JTP9KSm2HJju6cIu6+7odpcbePyyNl02IOcU4=; b=mj63MXF5yxMQM73jJZtSsJCP+E7yX7Pn41BeGs2OtsdwdHaFH1NAhxFwNMBWzo7NGI XG7O15cDDCfUHOmHfLOWIqDXtUR+Iia/SafRwfP+tT83ihmiD7ppcDCb5Xw5ndgy9eMq A3YxZEVQyXvQTx5R15i1hUhlkc7eHccI7am7KebHH9T8dtdBQtmec/yXSwtVr1Bunmou 9U5vdz95WKrCPZE/QkirjypyEKZZ3VgljKQjHPGWtPZf1X9N8X7ViaY+2IyqEJtVEVdo 1w3dZB9Hc4KgT6E7P/ZMIlTwfWLQGEePOVxdxa2v4iNkGVikN36raT4LsAeTP3MJuuhn ln9g== MIME-Version: 1.0 X-Received: by 10.60.142.229 with SMTP id rz5mr37858315oeb.1.1397536479139; Mon, 14 Apr 2014 21:34:39 -0700 (PDT) Received: by 10.182.123.17 with HTTP; Mon, 14 Apr 2014 21:34:38 -0700 (PDT) In-Reply-To: References: Date: Mon, 14 Apr 2014 21:34:38 -0700 Message-ID: Subject: Re: make installworld failed From: jungleboogie0 To: Thomas Hoffmann Content-Type: text/plain; charset=UTF-8 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 04:34:40 -0000 Hi Thomas, On 14 April 2014 19:46, Thomas Hoffmann wrote: > On Mon, Apr 14, 2014 at 10:17 PM, Mike Casper wrote: > >> >> Without rebooting and in single user mode, is it ok to 'rm -rf /usr/src' >> and 'rm -rf /usr/obj' then 'svn checkout >> https://svn0.us-east.FreeBSD.org/base/stable /usr/src and restart from the >> beginning of the handbook procedure list? >> >> Thanks > > > Here is what I would do: > > 1) svn update /usr/src > This will update your working copy of the repository ... lots faster > than a whole new checkout > 2) make -j4 -DNO_CLEAN buildworld > Using -DNO_CLEAN will keep everything from the last 'make buildworld' > and rebuild only what is required given the source tree updates, which will > be lots faster than a full 'make buildworld'. > 3) Continue with 'make buildkernel' etc. etc. as in the Handbook > 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. > -Tom -Jungle -- ------- inum: 883510009027723 sip: jungleboogie@sip2sip.info xmpp: jungle-boogie@jit.si