Prev: INDEX now builds successfully on 6.x
Next: How to know which version of an apps available in variousFreeBSD release?
From: Michael Patrick on 1 Jun 2010 20:57 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. Michael_______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: Garrett Cooper on 2 Jun 2010 03:02 On Tue, Jun 1, 2010 at 5:57 PM, Michael Patrick <michael(a)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 _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: Michael Patrick on 2 Jun 2010 06:52
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(a)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 _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org" |