From owner-freebsd-stable@FreeBSD.ORG Wed Sep 13 08:20:39 2006 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 4F6AF16A40F for ; Wed, 13 Sep 2006 08:20:39 +0000 (UTC) (envelope-from rvenne@dental-on-line.fr) Received: from smtp.dental-on-line.fr (smtp.dental-on-line.fr [82.234.245.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id B1AB043D5F for ; Wed, 13 Sep 2006 08:20:37 +0000 (GMT) (envelope-from rvenne@dental-on-line.fr) Received: from [192.168.1.7] (triton.dental-on-line.net [192.168.1.7]) by smtp.dental-on-line.fr (Postfix) with ESMTP id 29495138632 for ; Wed, 13 Sep 2006 10:20:36 +0200 (CEST) Message-ID: <4507BF57.2000301@dental-on-line.fr> Date: Wed, 13 Sep 2006 10:20:39 +0200 From: rvenne@dental-on-line.fr User-Agent: Mozilla Thunderbird 1.0.6 (X11/20051013) X-Accept-Language: en-us, en MIME-Version: 1.0 Cc: freebsd-stable References: <20060909173813.GA1388@FS.denninger.net> <45065C67.6040503@cs.tu-berlin.de> <4506C9B0.5040807@dental-on-line.fr> <20060912160907.GC962@rambler-co.ru> In-Reply-To: <20060912160907.GC962@rambler-co.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: cap_mkdb: illegal option -i. upgrade 5.4->6.1 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: Wed, 13 Sep 2006 08:20:39 -0000 Ruslan Ermilov wrote: >On Tue, Sep 12, 2006 at 04:52:32PM +0200, rvenne@dental-on-line.fr wrote: > > >>Hi list >> >>I'm upgrading 5.4 p18 to 6.1 p6. >> >>here's my tag: RELENG_6_1 >> >>I did: >>make update >>make cleanworld >>make buildworld >> >>which gives following issue: >> >>cap_mkdb: illegal option -i >> >>It seems a known problem on netbsd during buildworld compilation. here's >>the solution I'm tring: >> >>cd /usr/src/usr.bin/cap_mkdb >>make clean >>make >>make install >> >>and I'm building world again. >> >>is that a known problem on freebsd? >> >> >> >This shouldn't happen. The buildworld target detects the current >version of your system, and bootstraps cap_mkdb if necessary: > >: .if ${BOOTSTRAPPING} < 600015 >: _cap_mkdb= usr.bin/cap_mkdb >: .endif > >BOOTSTRAPPING is defined as follows: > >: .if !defined(OSRELDATE) >: .if exists(/usr/include/osreldate.h) >: OSRELDATE!= awk '/^\#define[[:space:]]*__FreeBSD_version/ { print $$3 }' \ >: /usr/include/osreldate.h >: .else >: OSRELDATE= 0 >: .endif > >That is, it's the value of __FreeBSD_version as defined in >/usr/include/osreldate.h. If your /usr/include/osreldate.h >is lying about the current version, e.g. if you accidentally >installed the new headers, then you can force it to zero, >such as: > > make buildworld OSRELDATE=0 > > >Cheers, > > I'm pretty sure about what's happing i'd propably built my world twice...or something like that. anyway, building cap_mkdb before the world resolved the issue. -- Richard VENNE www.dental-on-line.com Phone: 01 43 27 94 24 fax: 01 43 27 66 85