From owner-freebsd-hackers@FreeBSD.ORG Thu May 27 01:47:46 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6182F16A4CF for ; Thu, 27 May 2004 01:47:46 -0700 (PDT) Received: from gandalf.online.bg (gandalf.online.bg [217.75.128.9]) by mx1.FreeBSD.org (Postfix) with SMTP id 569AE43D1F for ; Thu, 27 May 2004 01:47:44 -0700 (PDT) (envelope-from roam@ringlet.net) Received: (qmail 6910 invoked from network); 27 May 2004 08:46:54 -0000 Received: from office.sbnd.net (HELO straylight.m.ringlet.net) (217.75.140.130) by gandalf.online.bg with SMTP; 27 May 2004 08:46:53 -0000 Received: (qmail 73408 invoked by uid 1000); 27 May 2004 08:47:15 -0000 Date: Thu, 27 May 2004 11:47:14 +0300 From: Peter Pentchev To: Tim Kientzle Message-ID: <20040527084714.GD62544@straylight.m.ringlet.net> Mail-Followup-To: Tim Kientzle , Brenden Grace , freebsd-hackers@freebsd.org References: <1085603749.2367.35.camel@linux.local> <40B55E4C.7020504@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CblX+4bnyfN0pR09" Content-Disposition: inline In-Reply-To: <40B55E4C.7020504@freebsd.org> User-Agent: Mutt/1.5.6i cc: Brenden Grace cc: freebsd-hackers@freebsd.org Subject: Re: pkg_create @cwd and @srcdir X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 May 2004 08:47:46 -0000 --CblX+4bnyfN0pR09 Content-Type: text/plain; charset=windows-1251 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 26, 2004 at 08:19:40PM -0700, Tim Kientzle wrote: > Brenden Grace wrote: > >In this thread: > >http://lists.freebsd.org/pipermail/freebsd-hackers/2003-June/001673.html > > > >some people seem to think that @cwd is broken. The man pages do not > >explicitly state how @cwd should operate, but currently the directory > >must exist for pkg_create to run properly. > > > >This is extremely annoying because build machines *must* create the > >final directory structure of the target install before the package can > >be created. I thought the directory structure is supposed to be created using mtree files? The ports collection runs 'mtree' before running the actual 'make install' in the port's working directory; as for pkg_add and generated packages, they should include a @mtree directive in +CONTENTS and an +MTREE_DIRS file... > >So my question is, does the 5.2.1 version of pkg_create contain a bug or > >is pkg_create really just very limited? >=20 > Try it with bsdtar as the system default tar > and see if that behaves any differently. > (WITH_BSDTAR=3D1 in /etc/make.conf). Errr, that's all fine and good, but how about people who still use GNU tar for various reasons, such as sticking with RELENG_4? :) Or do you have any plans for MFC'ing libarchive/bsdtar into RELENG_4 (please please please!), even without making it the default? =20 G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@sbnd.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 =2Esiht ekil ti gnidaer eb d'uoy ,werbeH ni erew ecnetnes siht fI --CblX+4bnyfN0pR09 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAtasS7Ri2jRYZRVMRAuU5AJ9WZ6P1SSHbXs2VYE4g/niD1x3ABwCglcIw mVoc513qszilstZ8Jzd98P8= =gNcG -----END PGP SIGNATURE----- --CblX+4bnyfN0pR09--