[Debian-med-packaging] Bug#1114645: does not honour the parallel tag in DEB_BUILD_OPTIONS

Santiago Vila sanvila at debian.org
Thu Oct 22 00:54:30 BST 2026


On Sun, Sep 07, 2025 at 09:33:45PM +0200, Sébastien Villemot wrote:
> Source: mrtrix3
> Version: 3.0.4-1
> Severity: normal
> 
> Dear Maintainer,
> 
> Setting DEB_BUILD_OPTIONS="parallel=1" when building the package (for example
> by passing the -j1 option to dpkg-buildpackage) does not lead to a serial
> build. Instead, many g++ instances are spawn, probably as many as there are
> logical cores. See Policy §4.9.1 for more details on the DEB_BUILD_OPTIONS
> variable and the parallel flag.
> 
> This is a problem for building mrtrix3 on machines with a lot of logical cores
> but not enough RAM for handling so many g++ processes. I personally experienced
> such an out-of-memory error on a machine with 32 logical cores and 32GB RAM.

You are absolutely right. Please let me know if 3.0.8-4 works for you,
I think it might work, but I have not tested it a lot.

Thanks.



More information about the Debian-med-packaging mailing list