From owner-freebsd-stable@FreeBSD.ORG Fri Jan 22 09:46:10 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB4B01065696 for ; Fri, 22 Jan 2010 09:46:10 +0000 (UTC) (envelope-from freebsd@southportcomputers.co.uk) Received: from ted.southportcomputers.co.uk (ted.southportcomputers.co.uk [92.48.124.28]) by mx1.freebsd.org (Postfix) with ESMTP id 8CF478FC28 for ; Fri, 22 Jan 2010 09:46:10 +0000 (UTC) Received: from 87-194-181-232.bethere.co.uk ([87.194.181.232] helo=[192.168.1.27]) by ted.southportcomputers.co.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.71 (FreeBSD)) (envelope-from ) id 1NYG5f-000E0v-Rv for freebsd-stable@freebsd.org; Fri, 22 Jan 2010 09:46:08 +0000 Message-ID: <4B5973DE.4050008@southportcomputers.co.uk> Date: Fri, 22 Jan 2010 09:46:06 +0000 From: Colin User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <4B596838.9020609@southportcomputers.co.uk> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ted.southportcomputers.co.uk X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [26 6] / [26 6] X-AntiAbuse: Sender Address Domain - southportcomputers.co.uk X-Source: X-Source-Args: X-Source-Dir: Subject: Re: make buildkernel failing on zfs X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 09:46:10 -0000 Christer Solskogen wrote: > On Fri, Jan 22, 2010 at 9:56 AM, Colin wrote: > > >> Anyone got any pointers? >> > > Could you post your /etc/make.conf? > That said, I recon you build your kernel in a rather wierd way. Delete > /usr/obj/* and run "make cleandir && make cleandir" in /usr/src. Then > build your world and kernel like this "make buildworld buildkernel > KERNCONF=TED". If that goes as well, run "make installkernel > KERNCONF=TED", reboot, "make installworld", run mergemaster and reboot > again. > > > Thanks for the reply. I have deleted /usr/obj in between builds (forgot to mention that) but didn't do make cleandir. I think the first way that I did the build when I started was similar to what you suggested but I was having problems with installworld so after various reading and suggestions dropped back to that format which I read was a more paranoid way of doing it. make.conf as below: SUP= /usr/local/bin/cvsup SUPFLAGS= -g -L 2 SUPHOST= cvsup.FreeBSD.org SUPFILE= /root/standard-supfile PORTSSUPFILE= /root/ports-supfile #*REMOVE* OPENSSL_OVERWRITE_BASE=NO # added by use.perl 2009-06-14 11:10:18 #PERL_VERSION=5.8.9 #BATCH=YES #CRYPT_DES=0 #WITHOUT_ALT_CONFIG_PREFIX=YES #CFLAGS= -O -pipe NO_FORTRAN= true NO_OBJC= true NO_X= true NO_GAMES= true NO_PROFILE= true BATCH=YES WITHOUT_X11=YES SKIP_DNS_CHECK=YES CRYPT_DES=0 WITH_PORT_REPLACES_BASE_BIND8=YES WITH_PORT_REPLACES_BASE_BIND9=YES WITHOUT_ALT_CONFIG_PREFIX=YES WITH_OPENSSL_PORT=YES X11BASE=${LOCALBASE}