From owner-freebsd-stable@FreeBSD.ORG Sun Jan 15 17:15:32 2012 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 BAB27106564A; Sun, 15 Jan 2012 17:15:32 +0000 (UTC) (envelope-from rpclark@tds.net) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5494F8FC0C; Sun, 15 Jan 2012 17:15:31 +0000 (UTC) Received: by ghbf14 with SMTP id f14so1705258ghb.13 for ; Sun, 15 Jan 2012 09:15:31 -0800 (PST) Received: by 10.236.85.230 with SMTP id u66mr12403600yhe.83.1326647730096; Sun, 15 Jan 2012 09:15:30 -0800 (PST) Received: from x1.frogdoor.org (h69-130-64-198.kgldga.dsl.dynamic.tds.net. [69.130.64.198]) by mx.google.com with ESMTPS id s7sm11096401anc.4.2012.01.15.09.15.28 (version=SSLv3 cipher=OTHER); Sun, 15 Jan 2012 09:15:29 -0800 (PST) Date: Sun, 15 Jan 2012 12:15:26 -0500 From: Rob Clark To: Jeremy Chadwick Message-Id: <20120115121526.f3ff320f.rpclark@tds.net> In-Reply-To: <20120115073749.GA50316@icarus.home.lan> References: <20120111161110.4258969c.rpclark@tds.net> <201201120815.50838.jhb@freebsd.org> <20120115022441.4c378507.rpclark@tds.net> <20120115073749.GA50316@icarus.home.lan> X-Mailer: Sylpheed 3.1.0 (GTK+ 2.22.1; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-hubs@freebsd.org, freebsd-stable@freebsd.org, John Baldwin Subject: Re: GENERIC make buildkernel error / fails - posix_fadvise 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: Sun, 15 Jan 2012 17:15:32 -0000 On Sat, 14 Jan 2012 23:37:50 -0800 Jeremy Chadwick wrote: > On Sun, Jan 15, 2012 at 02:24:41AM -0500, Rob Clark wrote: > > On Thu, 12 Jan 2012 08:15:50 -0500 > > John Baldwin wrote: > > > > > On Wednesday, January 11, 2012 4:11:10 pm Rob Clark wrote: > > > > System: Dell 600sc > > > > Currently running: 8.2-RELEASE > > > > > > > > In attempting to update this system to 8-STABLE I did > > > > what I usually do to update a system (see below). > > > > make buildworld completes successfully, but make > > > > buildkernel does not. I usually create a custom > > > > kernel, but for this system I went with GENERIC as > > > > is. > > > > > > > > The error message is: > > > > /usr/src/sys/kern/init_sysent.c:568: error: invalid > > > > application of 'sizeof' to incomplete type 'struct > > > > posix_fadvise_args' /usr/src/sys/kern/init_sysent.c:568: > > > > error: 'posix_fadvise' undeclared here (not in a > > > > function) *** Error code 1 > > > > > > This sounds like you have an incomplete tree that only got part of a change > > > (specifically, /usr/src/sys/sys/sysproto.h seems stale). Have you tried a > > > different cvsup mirror? > > > > > > -- > > > John Baldwin > > > > Sorry for the late follow-up, just got the system > > up and running yesterday. It appears that choosing a > > different mirror did the trick. > > Can you please disclose what cvsup mirror you were using? This kind of > problem may be affecting other people, so you may want to report it to > freebsd-hubs@freebsd.org to make the maintainer of the mirror aware. > > Otherwise, ""corruption"" (for lack of better term) between what's in > /var/db/sup and what's on your filesystem is something I've seen before, > particularly when changing release tags in a supfile. > > | Jeremy Chadwick jdc@parodius.com | Absolutely, the mirror initially used when I received the error (see above) during "buildkernel" was: cvsup17.FreeBSD.org Using cvsup11.FreeBSD.org I had no issues. Of course, I am not saying that cvsup17 was at fault here, just that buildkernel worked following a csup with cvsup11 (in my case anyway). -- Rob Clark cc: freebsd-hubs@freebsd.org