From owner-freebsd-stable@FreeBSD.ORG Sat Nov 5 22:49:33 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 28B5316A41F for ; Sat, 5 Nov 2005 22:49:33 +0000 (GMT) (envelope-from markus.buretorp@home.se) Received: from smtpserver.visit.se (smtpserver.visit.se [212.214.126.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B81743D45 for ; Sat, 5 Nov 2005 22:49:32 +0000 (GMT) (envelope-from markus.buretorp@home.se) Received: from [192.168.0.10] (cust.fiber-lan.vnet.lk.85.194.49.10.stunet.se [85.194.49.10]) by smtpserver.visit.se (Postfix) with ESMTP id CF1001140016; Sat, 5 Nov 2005 23:49:50 +0100 (CET) Message-ID: <436D36FE.4020806@home.se> Date: Sat, 05 Nov 2005 23:49:34 +0100 From: Markus Buretorp User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Peter Jeremy References: <436D1376.5030909@home.se> <20051105203723.GQ39882@cirb503493.alcatel.com.au> In-Reply-To: <20051105203723.GQ39882@cirb503493.alcatel.com.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: 5.4 -> 6.0 buildworld failure 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: Sat, 05 Nov 2005 22:49:33 -0000 Peter Jeremy wrote: >On Sat, 2005-Nov-05 21:17:58 +0100, Markus Buretorp wrote: > > >>I'm trying to upgrade from FreeBSD 5.4-STABLE to 6.0. I've done a cvsup >>to RELENG_6 and RELENG_6_0, I've ran make cleanworld, make clean, rm -rf >>/usr/obj/*, etc; but nothing helps. >> >> >... > > >> /usr/src/lib/libkvm/kvm_proc.c:108: error: storage size of 't_cdev' >> isn't known >> >> > >I've just done a buildworld of RELENG_6 on 5.3 without problems so I >suspect it's something you've done. It looks very much like >kvm_proc.c is being built using the wrong include files - the ones in >/usr/include/sys rather than the ones in /usr/src/sys/sys. > >Where is this error occurring during the buildworld? (What are the >latest lines beginning '>>>' and '===>') >What non-standard bits do you have in your command line, /etc/make.conf >or MAKEOBJDIRPREFIX? > > > >>> stage 4.2: building libraries ... ===> lib/libkvm (depend,all,install) make.conf: WITHOUT_X11=yes CPUTYPE?=athlon-xp CFLAGS=-O2 -pipe COPTFLAGS=-O -pipe # added by use.perl 2005-06-24 23:01:50 PERL_VER=5.8.7 PERL_VERSION=5.8.7 Note, I've tried without the first four lines. $ cd lib/libkvm /usr/src [root@jmb] $ make ...r/src/lib/libkvm [root@jmb] cc -O -pipe -DLIBC_SCCS -I/usr/src/lib/libkvm -c /usr/src/lib/libkvm/kvm_proc.c /usr/src/lib/libkvm/kvm_proc.c: In function `kvm_proclist': /usr/src/lib/libkvm/kvm_proc.c:108: error: storage size of 't_cdev' isn't known /usr/src/lib/libkvm/kvm_proc.c:114: error: storage size of 'pr' isn't known /usr/src/lib/libkvm/kvm_proc.c:176: error: structure has no member named `ki_jid' /usr/src/lib/libkvm/kvm_proc.c:377: error: structure has no member named `p_rux' *** Error code 1 Stop in /usr/src/lib/libkvm. I found this, http://www.freebsd.org/cgi/query-pr.cgi?pr=77821 , but it doesn't help me much. I don't now what I've done. I've used cvsup and buildworld several times.