Subject: Re: pkg/33121: pear-DB no longer packages
To: None <,,>
From: Adrian Portelli <>
List: pkgsrc-bugs
Date: 03/22/2006 12:20:02
The following reply was made to PR pkg/33121; it has been noted by GNATS.

From: Adrian Portelli <>
Subject: Re: pkg/33121: pear-DB no longer packages
Date: Wed, 22 Mar 2006 12:19:17 +0000

 I think I've found the problem.  By the looks of it patch-ao bumps
 the memory limit to 16Mb for the installation of the pear packages that 
 are bundled with the php package.
 However when you install individual pear packages from pkgsrc (e.g. 
 pear-DB) the ${PREFIX}/bin/pear command is run which looks like this on 
 my system:
 exec $PHP -C -q $INCARG -d output_buffering=1 -n $INCDIR/pearcmd.php "$@"
 So that will default to 8Mb.  Try the attached patch and see how you get on.
 Also, although this is showing up on bulk builds as well I actaully 
 found that I could not replicate it in a clean environment on 3.0 x86 
 using pkg_comp.
 Index: distinfo
 RCS file: /cvsroot/pkgsrc/www/php4/distinfo,v
 retrieving revision 1.51
 diff -u -u -r1.51 distinfo
 --- distinfo    6 Mar 2006 15:57:58 -0000       1.51
 +++ distinfo    22 Mar 2006 11:58:38 -0000
 @@ -10,6 +10,6 @@
 SHA1 (patch-ai) = 0b9c1c9fb75a64026f2fb3cbd44cc19e0a1f186c
 SHA1 (patch-aj) = cc68ce876dc5998becbe2f1f74288b5da5bbaca3
 SHA1 (patch-ak) = 1f9fbe26c7329e1d18eec053499ee2d574b5b970
 -SHA1 (patch-al) = 28ad9006b387e2b9984ad49beea21c9d46e63b46
 +SHA1 (patch-al) = 074f5e33a2e38cf6ff92b1f07782da84633388dd
 SHA1 (patch-ao) = cd30bbff10f1d045c829f72d94304c9dcf202fc6
 SHA1 (patch-ap) = 2f852abd1e9d0f089add18b2eade2831253ad00e
 Index: patches/patch-al
 RCS file: /cvsroot/pkgsrc/www/php4/patches/patch-al,v
 retrieving revision 1.1
 diff -u -u -r1.1 patch-al
 --- patches/patch-al    12 Dec 2004 11:03:33 -0000      1.1
 +++ patches/patch-al    22 Mar 2006 11:58:38 -0000
 @@ -7,4 +7,4 @@
   -exec $PHP -C -q $INCARG -d output_buffering=1 $INCDIR/pearcmd.php "$@"
 -+exec $PHP -C -q $INCARG -d output_buffering=1 -n $INCDIR/pearcmd.php "$@"
 ++exec $PHP -C -q $INCARG -d output_buffering=1 -n $INCDIR/pearcmd.php 
 -dmemory_limit=16M "$@"