Bug#818148: bullet: Out of memory errors do not make the build to stop

Markus Koschany apo at debian.org
Tue Mar 15 13:10:34 UTC 2016


Control: tags -1 moreinfo

Am 14.03.2016 um 10:45 schrieb Santiago Vila:
> Package: src:bullet
> Version: 2.83.6+dfsg-3
> Severity: important
> 
> Dear maintainer: I tried to build this package (using dpkg-buildpackage -A)
> on a system with less than 400 MB of free RAM.
> 
> The build succeeded in theory, but I see a lot of messages like this:
> 
> fork error: Cannot allocate memory

Hello,

I don't think this is a bug in Bullet. If your host system does not
provide enough memory you can try to build the source package without
the --parallel option in debian/rules or you can override dh_auto_build
with $(MAKE) -j1 for example. This will most likely reduce the memory
usage due the use of only one thread instead of multiple ones.

> Those are errors that should be caught and the build should have
> failed, but they are not.

Why should we make the build fail, if the build log shows that Bullet
has been built successfully? Is there anything different with your
compiled version of Bullet and the current one in Debian's archive?

> The build log is attached. To reproduce, try to build on a system with
> less than 400 MB of available RAM.

My advice: Try to build without --parallel if you run out of memory. If
the build succeeds anyway, I don't consider this to be a bug. There is
always a minimum requirement for something. As it stands it looks like a
handling error and not as an important bug in Bullet.

Regards,

Markus

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20160315/e8c5a224/attachment.sig>


More information about the Pkg-games-devel mailing list