Subject: Re: pkgsrc NetBSD 3.0/x86_64 bulk build results 20060307.1259
To: Krister Walfridsson <cato@df.lth.se>
From: Quentin Garnier <cube@cubidou.net>
List: pkgsrc-bulk
Date: 03/14/2006 22:57:52
--t9Z+TRNn0ZVFwr0D
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Mar 14, 2006 at 10:02:40PM +0100, Krister Walfridsson wrote:
>=20
> On Mon, 13 Mar 2006, Thomas Klausner wrote:
>=20
> >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?
>=20
> I do not think it is due to a missing ulimit, since the mk/bulk/build
> contains:
>=20
>   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
> >>net/pear-Net_Socket        6       jdolecek@NetBSD.org
> >
> >cd /tmp/bulktmp/net/pear-Net_Socket/work/Net_Socket-1.0.2 &&=20
> >/usr/pkg/bin/pear "install" package.xml || exit 1
> >PHP Fatal error:  Allowed memory size of 8388608 bytes exhausted (tried =
to=20
> >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 byt=
es)
>=20
> Hmm. there seems to be some strange mixup. ulimit -a tells me that it is
>=20
>    data(kbytes)         8388608
>=20
> but pear seems to think the limit is 8388608 _bytes_.  Or does it decreas=
e=20
> 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.

--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"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.

--t9Z+TRNn0ZVFwr0D
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)

iQEVAwUBRBc8X9goQloHrPnoAQItoQgAwMvCVzWmvxVGxt3IilRiDssqfXEx4l5d
Xl2Ycf83rdBRUZ88sVGNHOiHChDvvoxlm38+F26v3EjBrBKRcziTk4ZH/Zh1q00y
qod9kgBkN4/sT7wRI2FysVUSjBVztqQmnlgYLF7zbpzrC1M1VXM70Nks2gwCsE42
Tj0/bqrmaGZIj5U/SCzRdza3ol5FLVVuNjT2skaLP/Ume0TpBae50oTRU0NQOW5t
p1JaLCXtXjBulbVBJ1O9pHtwjO7vgabebH/sCim3Hr5tAeGRj1comRzUg7TnBSq5
ySJl9DYDUH1ft+ZDYmZ116yWgsdMj19VRtZYtBkEZ6NzL56qD+7jIA==
=00dI
-----END PGP SIGNATURE-----

--t9Z+TRNn0ZVFwr0D--