From owner-freebsd-ports@FreeBSD.ORG Wed Jun 2 10:52:41 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 269E7106566B for ; Wed, 2 Jun 2010 10:52:41 +0000 (UTC) (envelope-from michael@techiesplace.com) Received: from mail.tmb.org (phoenix.tmb.org [209.144.21.58]) by mx1.freebsd.org (Postfix) with ESMTP id CF48D8FC1A for ; Wed, 2 Jun 2010 10:52:40 +0000 (UTC) Received: (qmail 69288 invoked by uid 1045); 2 Jun 2010 10:52:25 -0000 Date: Wed, 2 Jun 2010 05:52:25 -0500 From: Michael Patrick To: Garrett Cooper Message-ID: <20100602105225.GB68572@phoenix.tmb.org> References: <71A14488-FECC-4D9B-B8EA-36EC4B78DE78@techiesplace.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: freebsd-ports@freebsd.org Subject: Re: pkg_create: read_plist: unknown command 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: Wed, 02 Jun 2010 10:52:41 -0000 On Wed, Jun 02, 2010 at 12:02:19AM -0700, Garrett Cooper wrote: > On Tue, Jun 1, 2010 at 5:57 PM, Michael Patrick > wrote: > > Good evening folks > > > > This weekend a friend and I upgraded our server to FreeBSD 7.3 using a source upgrade. ?The building and installing seemed to go well. ?In general rebuilding of ports to use the new libraries is working with the exception of PHP 5.3.2 extensions. > > > > If we do, for example, portinstall php5-ftp (but not limited to just this extension) the extension DOES install but during the make step where it creates the /var/db/pkg entries it errors with > > > > pkg_create: read_plist: unknown command > > > > We've rebuilt ruby, the portupgrade tools, PHP itself, PHP's dependencies and still getting this error for the extensions. ?From +CONTENTS I headed to looking at the .PLIST.mktmp file in $port/work. I see what I'm pretty sure is Bash (the shell) as the first part of the file and then what would be expected in the file. > > > > The .PLIST.mktmp file generates during the 'make generate-plist' step but I've been unable to determine exactly what that step is doing when dealing with a php extension. ?I'm hoping someone here can point me toward what runs to generate that file for a php extension. > > Can you attach the offending plist please? > Thanks, > -Garrett Good morning Garrett Here is a link to a zip file containing two samples of the screwy .PLIST.mktmp (one from php5-curl, one from php5-ctype). http://www.techiesplace.com/plists.zip (its 640KB or so.. figured folks would be happier with a link than an attach) Michael