Date: Wed, 22 Aug 2012 21:54:46 +0200 From: David Naylor <naylor.b.david@gmail.com> To: Konstantin Belousov <kostikbel@gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: tar not working in an i386 chroot (getvfsbyname) Message-ID: <201208222154.49948.naylor.b.david@gmail.com> In-Reply-To: <CAMQxofkobcQB7xxi=3zFtzTHUO8ZHg5ftUnSaS9iwCJ5tkXqxQ@mail.gmail.com> References: <201208220913.48095.naylor.b.david@gmail.com> <20120822113430.GA33100@deviant.kiev.zoral.com.ua> <CAMQxofkobcQB7xxi=3zFtzTHUO8ZHg5ftUnSaS9iwCJ5tkXqxQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart4105361.oALNXZL2p2 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Wednesday, 22 August 2012 13:38:41 David Naylor wrote: > I'm test it in ~8 hours and report back. >=20 > On Aug 22, 2012 1:34 PM, "Konstantin Belousov" <kostikbel@gmail.com> wrot= e: > > On Wed, Aug 22, 2012 at 09:13:44AM +0200, David Naylor wrote: > > > Hi, > > >=20 > > > While trying to compile FreeBSD 10 packages I encountered this error: > > > # chroot /scratchpad/freebsd10_i386 tar -cf /dev/null root > > > tar: getvfsbyname failed: No such file or directory > > > tar: Error exit delayed from previous errors. > > >=20 > > > The kernel does have COMPAT_FREEBSD32 in it. To reproduce this (on an > > > FreeBSD10/amd64 machine) do: > > > # cd /usr/src > > > # make -sj16 buildworld installworld DESTDIR=3D/scratchpad/freebsd10_= i386 > > > # chroot /scratchpad/freebsd10_i386 tar -cf /dev/null root > >=20 > > http://lists.freebsd.org/pipermail/freebsd-current/2012-August/035976.h= tm > > l > >=20 > > I need somebody to test this before commit. Applying this patch to 9-STABLE (with some fuzz) I get: # chroot /scratchpad/freebsd10_i386/ tar -cvf /dev/null root a root a root/.k5login a root/.profile a root/.cshrc a root/.login a root/.history The patch works for me. Thanks --nextPart4105361.oALNXZL2p2 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEABECAAYFAlA1OQkACgkQUaaFgP9pFrJ9aACeLIFN5OfyVAlZSjEakvLF7zrs zh4An1P4aMej8nL0rbVP4wZNquYvoSm5 =EOsQ -----END PGP SIGNATURE----- --nextPart4105361.oALNXZL2p2--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208222154.49948.naylor.b.david>