Package: icedove Version: 24.5.0-1 Severity: important Tags: patch By default icedove builds on all available CPUs. This decision should be left to the admin, as the package may fail to build from source on a machine with a lot of CPU, but not a lot of RAM. On a laptop/desktop machine it might also render slow or unusable for other activities.
The package should instead parse the parallel value in the DEB_BUILD_OPTIONS environment variable as per policy 4.9.1 and default to 1 if the option is not set. This is what the patch below does. diff -Nru icedove-24.5.0/debian/mozconfig.default icedove-24.5.0/debian/mozconfig.default --- icedove-24.5.0/debian/mozconfig.default 2014-04-29 23:57:03.000000000 +0200 +++ icedove-24.5.0/debian/mozconfig.default 2014-04-30 12:52:46.000000000 +0200 @@ -61,7 +61,7 @@ ac_add_options --enable-xinerama # Debian specific things -PARALLEL_BUILD=$(getconf _NPROCESSORS_ONLN) +PARALLEL_BUILD=$(echo $DEB_BUILD_OPTIONS | sed -e '/parallel=/!s/.*/1/;s/.*parallel=\([0-9]\+\).*/\1/g') mk_add_options MOZ_MAKE_FLAGS="-j$PARALLEL_BUILD" ac_add_options --with-distribution-id=org.debian ac_add_options --with-default-mozilla-five-home=/usr/lib/icedove -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.13-1-amd64 (SMP w/4 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

