Package: devscripts Version: 2.15.4 Tags: patch Severity: minor Hi!
debuild warns about an unknown option, when -jauto is specified (on commandline or in the configuration file): > debuild: unknown dpkg-buildpackage/debuild option: -jauto > debuild: unknown dpkg-buildpackage option in configuration file: -jauto But it is a valid option and will spawn as many jobs as processors/cores are available. The attached patch lets debuild recognize this option so that it no longer complains. Regards, Reiner
diff --git a/scripts/debuild.pl b/scripts/debuild.pl index f6e74dd..068b95a 100755 --- a/scripts/debuild.pl +++ b/scripts/debuild.pl @@ -837,7 +837,7 @@ if ($command_version eq 'dpkg') { /^-e(.*)/ and $changedby=$1, push(@debsign_opts, $_), push(@dpkg_opts, $_), next; /^-C(.*)/ and $desc=$1, push(@dpkg_opts, $_), next; - /^-j(\d*)$/ and $parallel=($1 || '-1'), push(@dpkg_opts, $_), next; + /^-j(auto|\d*)$/ and $parallel=($1 || '-1'), push(@dpkg_opts, $_), next; $_ eq '-W' and $warnable_error=1, push(@passopts, $_), push(@dpkg_opts, $_), next; $_ eq '-E' and $warnable_error=0, push(@passopts, $_), @@ -889,7 +889,7 @@ if ($command_version eq 'dpkg') { /^-e(.*)/ and $changedby=$1, push(@debsign_opts, $_), push(@dpkg_opts, $_), next; /^-C(.*)/ and $desc=$1, push(@dpkg_opts, $_), next; - /^-j(\d*)$/ and $parallel=($1 || '-1'), push(@dpkg_opts, $_), next; + /^-j(auto|\d*)$/ and $parallel=($1 || '-1'), push(@dpkg_opts, $_), next; $_ eq '-W' and $warnable_error=1, push(@passopts, $_), push(@dpkg_opts, $_), next; $_ eq '-E' and $warnable_error=0, push(@passopts, $_),
signature.asc
Description: OpenPGP digital signature