From owner-cvs-all@FreeBSD.ORG Sat Feb 26 21:55:49 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 3140716A4CE; Sat, 26 Feb 2005 21:55:49 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 307F343D1D; Sat, 26 Feb 2005 21:55:48 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id j1QLtbga044785; Sat, 26 Feb 2005 23:55:37 +0200 (EET) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 78323-04; Sat, 26 Feb 2005 23:55:36 +0200 (EET) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id j1QLtZ20044775 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 26 Feb 2005 23:55:36 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id j1QLtjZl099317; Sat, 26 Feb 2005 23:55:45 +0200 (EET) (envelope-from ru) Date: Sat, 26 Feb 2005 23:55:45 +0200 From: Ruslan Ermilov To: Jeremy Messenger Message-ID: <20050226215544.GB93910@ip.net.ua> References: <200502222329.j1MNTskQ089307@repoman.freebsd.org> <20050226204051.GA51467@ip.net.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RASg3xLB4tUQ4RcS" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at ip.net.ua cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: cvs-all@freebsd.org Subject: Re: cvs commit: src Makefile.inc1 src/share/mk Makefile bsd.endian.mk src/usr.bin/cap_mkdb cap_mkdb.1 cap_mkdb.c 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:55:49 -0000 --RASg3xLB4tUQ4RcS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Feb 26, 2005 at 03:42:30PM -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-termcap > >>"/usr/space/jails/6-CURRENT/src/share/termcap/Makefile", line 17: Could > >>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/ >=20 Sure, the manpage is blind, not you. buildworld/installworld use up-to-date share/mk files, while simply doing "make distribute" =66rom src/etc/ won't use them -- that's the problem. You can try to "make -f .../path/to/share/mk distribute" then you'll see another problem -- your /usr/bin/cap_mkdb will complain it does not know about the option. What we need here is the "distribute" target in Makefile.inc1 that would care of upgrade issues. Another option for you: upgrade your system first, then use the *same* sources to populate jail -- then the instructions from the jail(8) manpage will work. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --RASg3xLB4tUQ4RcS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFCIPBgqRfpzJluFF4RAjAHAJ9bN+O9qlq7z29CXFOJ2E/5ra3ekQCeIv5Y 87XRNjVJYiG5Z3tzaiAJRrc= =u/II -----END PGP SIGNATURE----- --RASg3xLB4tUQ4RcS--