Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Sep 2006 12:43:44 +0400
From:      Ruslan Ermilov <ru@freebsd.org>
To:        rvenne@dental-on-line.fr
Cc:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: cap_mkdb: illegal option -i. upgrade 5.4->6.1
Message-ID:  <20060913084344.GH72105@rambler-co.ru>
In-Reply-To: <4507BF57.2000301@dental-on-line.fr>
References:  <20060909173813.GA1388@FS.denninger.net> <45065C67.6040503@cs.tu-berlin.de> <E677B428-0841-4FA0-A43F-C772076B5951@khera.org> <4506C9B0.5040807@dental-on-line.fr> <20060912160907.GC962@rambler-co.ru> <4507BF57.2000301@dental-on-line.fr>

next in thread | previous in thread | raw e-mail | index | archive | help

--w3uUfsyyY1Pqa/ej
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Sep 13, 2006 at 10:20:39AM +0200, rvenne@dental-on-line.fr wrote:
> Ruslan Ermilov wrote:
>=20
> >On Tue, Sep 12, 2006 at 04:52:32PM +0200, rvenne@dental-on-line.fr wrote:
> >=20
> >
> >>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=20
> >>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?
> >>
> >>  =20
> >>
> >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=3D      usr.bin/cap_mkdb
> >: .endif
> >
> >BOOTSTRAPPING is defined as follows:
> >
> >: .if !defined(OSRELDATE)
> >: .if exists(/usr/include/osreldate.h)
> >: OSRELDATE!=3D     awk '/^\#define[[:space:]]*__FreeBSD_version/ { prin=
t=20
> >$$3 }' \
> >:                 /usr/include/osreldate.h
> >: .else
> >: OSRELDATE=3D      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=3D0
> >
> >
> >Cheers,
> >=20
> >
> I'm pretty sure about what's happing
>=20
> i'd propably built my world twice...or something like that. anyway,=20
> building
>=20
> cap_mkdb before the world resolved the issue.=20
>=20
But that's what buildworld already does (when it detects the need
to do so).  My point was to make it clear.  :-)


Cheers,
--=20
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer

--w3uUfsyyY1Pqa/ej
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFFB8TAqRfpzJluFF4RAvUOAJ48wlBRxO5la4xeNrPcE98YQ/pu1ACgnwXg
UvNq9TwZrX3DkSqZmbWUtf4=
=SPLL
-----END PGP SIGNATURE-----

--w3uUfsyyY1Pqa/ej--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060913084344.GH72105>