Bug#965215: dune-common: please lower parallel builds

Gianfranco Costamagna locutusofborg at debian.org
Sat Jul 18 18:54:07 BST 2020


Hello Ansgar
On Sat, 18 Jul 2020 10:09:34 +0200 Ansgar <ansgar at debian.org> wrote:
> On Fri, 2020-07-17 at 20:03 +0200, Gianfranco Costamagna wrote:
> > Hello, dune-common is FTBFS in Ubuntu and on systems where there is not enough ram, because of OOM killer.
> 
> The package builds in Debian. Maybe Canonical Ltd should configure
> their buildd network with similar parameters as Debian (e.g. similar
> amount of memory per task)?
> 
> > Can you please consider adding --max-parallel=3 to dh invocation?
> > 
> > People might want to rebuild on their system without having to swap during the build process.
> 
> That might require parallel=1 depending on the system anyway.  I
> usually build with parallel=8 without problems, so I don't want to
> limit it to 3.

mmm what about doing something like this?
ifeq ($(shell dpkg-vendor --is Ubuntu && echo yes),yes)
	dh $@ --builddirectory=build --max-parallel=3
else
	dh $@ --builddirectory=build
endif

this will make the package build fine in Ubuntu too, hopefully the ram will eventually increase,
but as short term it will make the package syncable again :)

thanks!

Gianfranco



More information about the debian-science-maintainers mailing list