From owner-freebsd-questions@FreeBSD.ORG Wed Dec 28 01:05:29 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C59A16A41F for ; Wed, 28 Dec 2005 01:05:29 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from nic.ach.sch.gr (nic.sch.gr [194.63.238.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8421B43D55 for ; Wed, 28 Dec 2005 01:05:28 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: (qmail 8784 invoked by uid 207); 28 Dec 2005 01:05:25 -0000 Received: from keramida@ceid.upatras.gr by nic by uid 201 with qmail-scanner-1.21 (sophie: 3.04/2.30/3.97. Clear:RC:1(81.186.70.96):. Processed in 0.481361 secs); 28 Dec 2005 01:05:25 -0000 Received: from dialup96.ach.sch.gr (HELO flame.pc) ([81.186.70.96]) (envelope-sender ) by nic.sch.gr (qmail-ldap-1.03) with SMTP for ; 28 Dec 2005 01:05:24 -0000 Received: by flame.pc (Postfix, from userid 1001) id 598BE115E3; Wed, 28 Dec 2005 03:04:11 +0200 (EET) Date: Wed, 28 Dec 2005 03:04:11 +0200 From: Giorgos Keramidas To: Doug Hardie Message-ID: <20051228010411.GB8568@flame.pc> References: <03683319-0CC1-4367-BCBC-29D0D4B97D41@lafn.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <03683319-0CC1-4367-BCBC-29D0D4B97D41@lafn.org> Cc: freebsd-questions Subject: Re: make buildworld X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2005 01:05:29 -0000 On 2005-12-26 23:49, Doug Hardie wrote: > I am upgrading a server to 6.0 and encountered an error in make > buildworld. However, I don't know what the error was as I piped > stdout to a file, but not stderr. I usually keep them both, with something like: # cd /usr/src/ # cvs -q up -APd | logfile.cvs # make buildworld buildkernel 2>&1 | tee logfile.build > It was fairly near the end so I really hate to restart from the > beginning again. The master server is a fairly slow machine. Then, someone could argue that the problem is not a build that's failing, but the fact that you're using a slow machine as the build server :-/ I'm afraid there's no way to recover data that has scrolled off the scrollback buffer of syscons or screen(1), when the same data wasn't saved in a file. > When something like this happens, is there a way to restart the make > where it died? You can try using -DNO_CLEAN, but this will do a fair bit of work too. > Is there an easy way to build the specific module that failed to get > the complete errors? In this case the module was /usr/libexec/telnet. > I went to /usr/src/ libexec/telnet and did a make. Then the error was somewhere else. Were you using make -j XXX with a non-default XXX number?