Bug#1000235: 0ad: Ignore parallel jobs limit during building

Ludovic Rousseau ludovic.rousseau at free.fr
Sat Nov 20 14:14:54 GMT 2021


Le 20/11/2021 à 01:48, Boyuan Yang a écrit :
> Source: 0ad
> Severity: important
> Version: 0.0.25b-1
> X-Debbugs-CC: vcheng at debian.org rousseau at debian.org
> 
> Dear 0ad package maintainers,

Hello,

> https://sources.debian.org/src/0ad/0.0.25b-1/debian/rules/#L15 :
> 
> PARALLEL_JOBS=$(shell getconf _NPROCESSORS_ONLN)
> ifeq ($(findstring parallel=,$(DEB_BUILD_OPTIONS)),)
> 	export DEB_BUILD_OPTIONS+=parallel=$(PARALLEL_JOBS)
> endif
> 
> This really does not make sense; specifying parallel jobs to be the same as
> CPU core number will override -j parameter passed to dpkg-buildpackage and
> external DEB_BUILD_OPTIONS environment variable (if defined), which may cause
> troubles. For example, when preparing backport build for 0ad, my build machine
> OOMed due to having too many CPU cores but limited RAM.

Exact.
parallel (or not) compilation should now be handled by dpkg-buildpackage.

Thanks for the bug report.

Bye

-- 
Dr. Ludovic Rousseau



More information about the Pkg-games-devel mailing list