From owner-cvs-all@FreeBSD.ORG Sat Feb 26 21:53:11 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0023716A4D0; Sat, 26 Feb 2005 21:53:10 +0000 (GMT) Received: from creme-brulee.marcuscom.com (creme-brulee.marcuscom.com [24.172.16.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DE4843D53; Sat, 26 Feb 2005 21:53:10 +0000 (GMT) (envelope-from marcus@marcuscom.com) Received: from shumai.marcuscom.com (shumai.marcuscom.com [192.168.1.4]) j1QLrP9u077860; Sat, 26 Feb 2005 16:53:25 -0500 (EST) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Jeremy Messenger In-Reply-To: References: <200502222329.j1MNTskQ089307@repoman.freebsd.org> <20050226204051.GA51467@ip.net.ua> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-dTcJt3YO5i/rBEIeLlP7" Organization: MarcusCom, Inc. Date: Sat, 26 Feb 2005 16:52:39 -0500 Message-Id: <1109454759.53375.19.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 FreeBSD GNOME Team Port cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: Ruslan Ermilov cc: cvs-all@freebsd.org Subject: Re: cvs commit: src Makefile.inc1 src/share/mk Makefile src/share/termcap Makefile src/usr.bin/vgrind Makefile X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Feb 2005 21:53:11 -0000 --=-dTcJt3YO5i/rBEIeLlP7 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat, 2005-02-26 at 15:42 -0600, Jeremy Messenger wrote: > On Sat, 26 Feb 2005 22:40:51 +0200, Ruslan Ermilov wrote= : >=20 > > On Fri, Feb 25, 2005 at 05:55:59PM -0600, Jeremy Messenger wrote: > >> On Tue, 22 Feb 2005 23:29:54 +0000 (UTC), Ruslan Ermilov =20 > >> > >> wrote: > >> > >> >ru 2005-02-22 23:29:54 UTC > >> > > >> > FreeBSD src repository > >> > > >> > Modified files: > >> > . Makefile.inc1 > >> > share/mk Makefile > >> > usr.bin/cap_mkdb cap_mkdb.1 cap_mkdb.c > >> > share/termcap Makefile > >> > usr.bin/vgrind Makefile > >> > Added files: > >> > share/mk bsd.endian.mk > >> > Log: > >> > Add endianness support to cap_mkdb(1), useful for cross builds. > >> > >> I keep get error like this: > >> > >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >> cd /usr/space/jails/6-CURRENT/src/etc/../share/termcap; make etc-termc= ap > >> "/usr/space/jails/6-CURRENT/src/share/termcap/Makefile", line 17: Coul= d > >> not find bsd.endian.mk > >> "/usr/space/jails/6-CURRENT/src/share/termcap/Makefile", line 18: > >> Malformed conditional (${TARGET_ENDIANNESS} =3D=3D "1234") > >> "/usr/space/jails/6-CURRENT/src/share/termcap/Makefile", line 18: Need= =20 > >> an > >> operator > >> "/usr/space/jails/6-CURRENT/src/share/termcap/Makefile", line 20: =20 > >> if-less > >> elif > >> "/usr/space/jails/6-CURRENT/src/share/termcap/Makefile", line 20: Need= =20 > >> an > >> operator > >> "/usr/space/jails/6-CURRENT/src/share/termcap/Makefile", line 22: =20 > >> if-less > >> else > >> "/usr/space/jails/6-CURRENT/src/share/termcap/Makefile", line 22: Need= =20 > >> an > >> operator > >> "/usr/space/jails/6-CURRENT/src/share/termcap/Makefile", line 24: =20 > >> if-less > >> endif > >> "/usr/space/jails/6-CURRENT/src/share/termcap/Makefile", line 24: Need= =20 > >> an > >> operator > >> make: fatal errors encountered -- cannot continue > >> *** Error code 1 > >> > >> Stop in /usr/space/jails/6-CURRENT/src/etc. > >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >> > >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >> # ls /usr/space/jails/6-CURRENT/src/share/mk | grep en > >> bsd.endian.mk > >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >> > > The example in the jail(8) manpage doesn't assume you can upgrade: > > the "make distribute" part is guaranteed to work only if you are > > *not* upgrading. >=20 > Maybe I am blind, but I don't see anything say about 'upgrade' for the =20 > 'make distribution' in the manpage. Care to point me there? Well, for wha= t =20 > it matters, it has been work for many months (maybe over a year) and now = =20 > it doesn't work. I am using tinderbox script from MarcusCom. =20 > http://tinderbox.marcuscom.com/ I'm a bit confused. My script downloads the source, and does a fresh make world followed by a make distribution (almost exactly how it's documented in the jail(8) man page): cd ${SRCBASE} mkdir -p ${D} env DESTDIR=3D${D} make world if [ $? !=3D 0 ]; then echo "ERROR: make world failed. See above output." exit 1 fi cd etc make distribution DESTDIR=3D${D} if [ $? !=3D 0 ]; then echo "ERROR: make distribution failed. See above output." exit 1 fi What is meant by an "upgrade" in this context, and how exactly should I be building a full FreeBSD jail? Joe >=20 > Cheers, > Mezz >=20 > > Cheers, >=20 >=20 --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-dTcJt3YO5i/rBEIeLlP7 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBCIO+nb2iPiv4Uz4cRAnn1AJ4zmGvWApoF/9ro/ZPbL2OG2XLvFgCgmrx1 16MqvgdUYBegkjJF8L3B+YI= =Q4EO -----END PGP SIGNATURE----- --=-dTcJt3YO5i/rBEIeLlP7--