Date: Wed, 2 Jun 2010 05:52:25 -0500 From: Michael Patrick <michael@techiesplace.com> To: Garrett Cooper <yanefbsd@gmail.com> Cc: freebsd-ports@freebsd.org Subject: Re: pkg_create: read_plist: unknown command Message-ID: <20100602105225.GB68572@phoenix.tmb.org> In-Reply-To: <AANLkTinWvBpCxdXAZKo-kDjG-msDJmmrMNbKQWRLOUU7@mail.gmail.com> References: <71A14488-FECC-4D9B-B8EA-36EC4B78DE78@techiesplace.com> <AANLkTinWvBpCxdXAZKo-kDjG-msDJmmrMNbKQWRLOUU7@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jun 02, 2010 at 12:02:19AM -0700, Garrett Cooper wrote: > On Tue, Jun 1, 2010 at 5:57 PM, Michael Patrick > <michael@techiesplace.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100602105225.GB68572>