On Tue, Mar 14, 2006 at 10:02:40PM +0100, Krister Walfridsson wrote: > > On Mon, 13 Mar 2006, Thomas Klausner wrote: > > >On Sun, Mar 12, 2006 at 08:49:05PM +0100, Krister Walfridsson wrote: > >>pkgsrc bulk build results > >>NetBSD 3.0/x86_64 > > > >Major pear breakage. Some ulimit missing? Caused by php4 update? > > I do not think it is due to a missing ulimit, since the mk/bulk/build > contains: > > ulimit -S -s `ulimit -H -s` > ulimit -S -d `ulimit -H -d` It's not. What installs the package is a PHP script which is limited by php.ini (or its command-line equivalent, in case that file is ignored, which should be the case here). > >> Build started: Tue Mar 7 13:02:23 2006 UTC > >> Build ended: Sun Mar 12 17:52:19 2006 UTC > >>net/nagios-base 6 pkgsrc-users%NetBSD.org@localhost > >>net/pear-Net_Socket 6 jdolecek%NetBSD.org@localhost > > > >cd /tmp/bulktmp/net/pear-Net_Socket/work/Net_Socket-1.0.2 && > >/usr/pkg/bin/pear "install" package.xml || exit 1 > >PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to > >allocate 76 bytes) in /usr/pkg/lib/php/PEAR/Registry.php on line 1006 > >Allowed memory size of 8388608 bytes exhausted (tried to allocate 24 bytes) > > Hmm. there seems to be some strange mixup. ulimit -a tells me that it is > > data(kbytes) 8388608 > > but pear seems to think the limit is 8388608 _bytes_. Or does it decrease > the limit itself? Craptastic. See php4's patch-ao for how I solved it for php4 installation on sparc64. I'll have a look at the pear packages we have tomorrow unless someone beats me to it. What a crappy release was that php 4.4.2. -- Quentin Garnier - cube%cubidou.net@localhost - cube%NetBSD.org@localhost "When I find the controls, I'll go where I like, I'll know where I want to be, but maybe for now I'll stay right here on a silent sea." KT Tunstall, Silent Sea, Eye to the Telescope, 2004.
Attachment:
pgpnCDcDqfHc9.pgp
Description: PGP signature