From owner-freebsd-stable@FreeBSD.ORG Mon Aug 15 21:29:47 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 2F51616A420; Mon, 15 Aug 2005 21:29:47 +0000 (GMT) (envelope-from bsam@ns.kfs.ru) Received: from ns.kfs.ru (kfs.kfs.ru [213.132.78.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id A6D8B43D46; Mon, 15 Aug 2005 21:29:46 +0000 (GMT) (envelope-from bsam@ns.kfs.ru) Received: from bsam by ns.kfs.ru with local (Exim 4.52 (FreeBSD)) id 1E4mWf-000AG7-4C; Tue, 16 Aug 2005 01:29:45 +0400 To: Yar Tikhiy References: <20050714101507.GA82562@comp.chem.msu.su> <20050718151924.GF26849@comp.chem.msu.su> <21429884@srv.sem.ipt.ru> <20050811153408.GF84643@comp.chem.msu.su> From: Boris Samorodov Date: Tue, 16 Aug 2005 01:29:45 +0400 In-Reply-To: <20050811153408.GF84643@comp.chem.msu.su> (Yar Tikhiy's message of "Thu, 11 Aug 2005 19:34:09 +0400") Message-ID: <17746550@serv3.int.kfs.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: "B.Samorodow" Cc: freebsd-stable@freebsd.org, peter@freebsd.org Subject: Re: Build failure in procfs module 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: Mon, 15 Aug 2005 21:29:47 -0000 Hi, Yar! On Thu, 11 Aug 2005 19:34:09 +0400 Yar Tikhiy wrote: > On Thu, Aug 04, 2005 at 12:28:35PM +0400, Boris Samorodov wrote: > > On Mon, 18 Jul 2005 19:19:24 +0400 Yar Tikhiy wrote: > > > On Thu, Jul 14, 2005 at 02:15:07PM +0400, Yar Tikhiy wrote: > > > > > > > > I ran into a problem that might be triggered by Peter's recent > > > > changes to procfs. Namely, the buildworld procedure would fail in > > > > the procfs module if MODULES_WITH_WORLD were set. I noticed it > > > > first in CURRENT and then tested it in a clean environment by > > > > building a freshly CVSup'd RELENG_6 on a freshly installed 5.4-RELEASE, > > > > with MODULES_WITH_WORLD set. I think it's a route of upgrading > > > > quite a few people will follow. > > > > > > > > Here's the diagnostics: > [snip] > > > The problem appears to have to do with Peter's changes to procfs: > > > The procfs source files now include opt_compat.h, which is not > > > available by default when building with MODULES_WITH_WORLD set. > > > The attached patch seems to fix the problem in the conventional > > > way. However, I'm unsure which COMPAT_* options are really needed > > > to the procfs module. COMPAT_43 should be enough according to my > > > quick examining /sys/fs/procfs. > > > > Was the case corrected in BETA2? A couple of days ago I upgraded from > > CURRENT (middle of June 2005) to BETA1. The problem existed but the > > patch helped. > Alas, no one has displayed interest in fixing this bug since I left > for vacation. I committed the fix to CURRENT today although I don't > use procfs, which is a kind of a situation I hate. MFC to RELENG_6 > is due in 3 days. Could you (or somebody else) MFC the patch to RELENG_6? PS. Today was bitten by the problem second time. Shame on me, I didn't recall it in time. :-( WBR -- bsam