Re: tar not working in an i386 chroot (getvfsbyname)
--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--
討論串 (同標題文章)
完整討論串 (本文為第 4 之 4 篇):