From owner-freebsd-ports@FreeBSD.ORG Mon Jan 29 02:08:51 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7286316A402 for ; Mon, 29 Jan 2007 02:08:51 +0000 (UTC) (envelope-from jon.passki@hursk.com) Received: from davie.textdrive.com (davie.textdrive.com [207.7.108.101]) by mx1.freebsd.org (Postfix) with ESMTP id 5BF2413C491 for ; Mon, 29 Jan 2007 02:08:51 +0000 (UTC) (envelope-from jon.passki@hursk.com) Received: from [10.1.2.34] (v-209-98-139-33.mn.visi.com [209.98.139.33]) by davie.textdrive.com (Postfix) with ESMTP id 8AA6ABFEBF; Mon, 29 Jan 2007 02:08:50 +0000 (GMT) In-Reply-To: <20070129012430.GA3163@xor.obsecurity.org> References: <20070129000645.GB65592@xor.obsecurity.org> <974D437A-ABFE-4981-AAE6-8156142C2004@hursk.com> <20070129011344.GB80477@xor.obsecurity.org> <20070129012430.GA3163@xor.obsecurity.org> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <85E46A38-87D8-472A-B817-110403ECE1E4@hursk.com> Content-Transfer-Encoding: 7bit From: Jon Passki Date: Sun, 28 Jan 2007 20:08:31 -0600 To: Kris Kennaway X-Pgp-Agent: GPGMail 1.1.2 (Tiger) X-Mailer: Apple Mail (2.752.3) Cc: freebsd-ports@freebsd.org Subject: Re: pkg-plist, +CONTENTS, make package, and the ports cluster X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jan 2007 02:08:51 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Jan 28, 2007, at 19:24 , Kris Kennaway wrote: > On Sun, Jan 28, 2007 at 07:21:03PM -0600, Jon Passki wrote: > >>> xor# grep -r ldconfig/pth /var/db/pkg/pth-2.0.7/ +CONTENTS >>> /var/db/pkg/pth-2.0.7/+CONTENTS:libdata/ldconfig/pth >>> +CONTENTS:libdata/ldconfig/pth >> >> This was a pretty recent (within a day) port update w/ a slightly >> custom supfile [1]. Got any suggestions on things I could look for? >> Are you taking a look at the installed +CONTENTS file or the one >> included in the package created by `make package` and friends? > > I'm comparing both, the latter file was extracted from the freshly > made package. The only thing I can think of is that you are actually > extracting stale packages instead of the freshly made ones. > > Your ports collection is incomplete since you drop a number of the > categories. Maybe that is related, otherwise I can't imagine what > would cause this. grep -v '^#' ports-supfile *default host=cvsup9.us.FreeBSD.org *default base=/var/db *default prefix=/usr *default release=cvs tag=. *default delete use-rel-suffix *default compress ports-all [ran cvsup -L 2 -g ports-supfile] [devel01] ~# jexec 1 tcsh You have mail. kilo# cd /usr/ports/devel/pth kilo# make deinstall ===> Deinstalling for devel/pth ===> Deinstalling pth-2.0.7 kilo# make clean ===> Cleaning for pth-2.0.7 kilo# rm -rf /tmp/All /tmp/devel /tmp/Latest kilo# make package PACKAGES="/tmp" > /tmp/pth-2.0.7.out kilo# tail !$ tail /tmp/pth-2.0.7.out to deinstall the port if this is a concern. For more information, and contact details about the security status of this software, see the following webpage: http://www.gnu.org/software/pth/ ===> Building package for pth-2.0.7 ===> Generating temporary packing list Creating package /tmp/All/pth-2.0.7.tbz Registering depends:. Creating bzip'd tar ball in '/tmp/All/pth-2.0.7.tbz' kilo# tar -xjf /tmp/All/pth-2.0.7.tbz -C /tmp +CONTENTS kilo# diff -u /tmp/+CONTENTS /var/db/pkg/pth-2.0.7/+CONTENTS - --- /tmp/+CONTENTS Mon Jan 29 01:53:09 2007 +++ /var/db/pkg/pth-2.0.7/+CONTENTS Mon Jan 29 01:53:09 2007 @@ -40,14 +40,5 @@ @dirrm lib/pth @exec /sbin/ldconfig -m /usr/local/lib/pth @unexec /sbin/ldconfig -R - -@cwd . - -@ignore - -+COMMENT - -@comment MD5:fe3390e01609cef4464e3da82ca715eb - -@ignore - -+DESC - -@comment MD5:5857a78166a3bfc28f7d918d443db7d0 - -@ignore - -+MTREE_DIRS - -@comment MD5:62ec091098aedd20983344152fd56afb - -@mtree +MTREE_DIRS +libdata/ldconfig/pth +@comment MD5:4f8e8d8ed05f7e16d74fc8d39b779d38 kilo# ll /usr/local/libdata/ldconfig/pth - -rw-r--r-- 1 root wheel 19 Jan 29 01:53 /usr/local/libdata/ ldconfig/pth Same thing... Okay, I did a lot of testing here and I think I got it. Without any make.conf file set, everything worked. With the previously posted one [1], it didn't work. I commented out WKRDIRPREFIX and it worked. Odd. Can you test this? I'm running 6.2R. I've also noticed issues with OPTION files via dialogue, which fail if I hit "OKAY" but work if I hit "CANCEL". Jon [1] # cat /etc/make.conf # port stuff WRKDIRPREFIX="/tmp" DISTDIR="/var/backups/distfiles" PACKAGES="/var/backups/pub/FreeBSD/ports/i386/packages-6.2-release" # added by use.perl 2007-01-23 17:20:15 PERL_VER=5.8.8 PERL_VERSION=5.8.8 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) iD8DBQFFvVcuZpJsLIS+QSIRAmElAKCOws0wdbdpQe5FhHc5NHIFvIZrNQCglldS Uni7pQnpKM2U/EW70LGaqMo= =AaKK -----END PGP SIGNATURE-----