From owner-freebsd-current@FreeBSD.ORG Wed Aug 22 19:54:57 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5CBF41065673 for ; Wed, 22 Aug 2012 19:54:57 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id D97B18FC0A for ; Wed, 22 Aug 2012 19:54:56 +0000 (UTC) Received: by wgbds11 with SMTP id ds11so1130423wgb.31 for ; Wed, 22 Aug 2012 12:54:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; bh=bTfS2UGvkQauDh557udp1h5hsXFkOwbEZ8TGW++2xyg=; b=jQMxf34zOnVXTHc1Mbg5bpdQCSkEHWGDGOj/qGKot+htc3+Md+bRIP8Qw2rpWbebkn qjXZCJ4iU4VDlHe0gTHJlREaeKwp078Vg0CzFb0ujXYwCwfbhl1JI3hIrv/CXQ9/lhue J97gaJgqIEj/00Sw5LgZb3si/xHYnT1/VLnUALesVs5a4DDiiIzEK9fXx1R+wUf6yYvh Vr1P5CehBBtVaMXDwpmDMd1ROQcPH5us0+ufpzpZrPezt8gid4Jb2oFHxpT01rIFcI6t z6NoD3J8PK+N77HNScML2f2CVKc912xi0lHTxTx1fib4gM4wExbkoHfUmSqJ/bG0hEa6 vNVA== Received: by 10.180.19.169 with SMTP id g9mr8449711wie.9.1345665295537; Wed, 22 Aug 2012 12:54:55 -0700 (PDT) Received: from dragon.dg (41-132-210-104.dsl.mweb.co.za. [41.132.210.104]) by mx.google.com with ESMTPS id dc3sm40784137wib.7.2012.08.22.12.54.53 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 22 Aug 2012 12:54:54 -0700 (PDT) From: David Naylor To: Konstantin Belousov Date: Wed, 22 Aug 2012 21:54:46 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.1-PRERELEASE; KDE/4.8.4; amd64; ; ) References: <201208220913.48095.naylor.b.david@gmail.com> <20120822113430.GA33100@deviant.kiev.zoral.com.ua> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4105361.oALNXZL2p2"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201208222154.49948.naylor.b.david@gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: tar not working in an i386 chroot (getvfsbyname) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Aug 2012 19:54:57 -0000 --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" 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--