<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi,</p>
<p><br>
</p>
<p>When building Debian packages for <suite>wheezy</suite> images with pbuilder, elbe calls pdebuild with --debbuildopts "-jauto", which is supported by dpkg since version 1.17.10:</p>
<p><br>
</p>
<p>dpkg-buildpackage(1):</p>
<p><br>
</p>
<p> -j, --jobs[=jobs|auto]<br>
Number of jobs allowed to be run simultaneously, number of jobs matching the number of online<br>
processors if auto is specified (since dpkg 1.17.10), or unlimited number if jobs is not specified,<br>
</p>
<p><br>
</p>
<p>However, pbuilder for a <suite>wheezy</suite> image is (not surprisingly) created as Debian 7.x (wheezy) pbuilder:</p>
<p><br>
</p>
<p>running cmd +pbuilder --create --configfile "/var/cache/elbe/ID/pbuilderrc" --aptconfd<br>
ir "/var/cache/elbe/ID/aptconfdir" --extrapackages git+<br>
------------------------------------------------------------------------------<br>
W: /.pbuilderrc does not exist<br>
I: Distribution is wheezy.<br>
</p>
<p><br>
</p>
<p>and dpkg in Debian 7.x (wheezy) is 1.16.18, so pbuilder fails due to unrecognized option:</p>
<p><br>
</p>
<p>running cmd +cd "/var/cache/elbe/ID/pdebuilder/current"; pdebuild --debbuildopts "-jau<br>
to -sa" --configfile "/var/cache/elbe/ID/pbuilderrc" --use-pdebuild-internal --buildre<br>
sult "/var/cache/elbe/ID/pbuilder/result"+<br>
[...]<br>
</p>
<p>I: Running /usr/bin/dpkg-buildpackage -rfakeroot -us -uc ${DEBBUILDOPTS}<br>
dpkg-buildpackage: unknown option or argument -jauto<br>
[...]</p>
<p>Command failed with errorcode 1<br>
<br>
Package fails to build.</p>
<p><br>
</p>
<p>On the other hand "-jauto" is a convenient option esp. for large packages. Maybe elbe could emulate it on wheezy pbuilders with something similar to:</p>
<p><br>
</p>
<p>"-j$(nproc --all)"</p>
<p><br>
</p>
<p>???<br>
</p>
<p><br>
</p>
<p>Best,</p>
<p>Lukasz<br>
</p>
<br>
<br>
<div style="font-size:9pt; font-family: 'Arial',sans-serif;">----------------------------------------<br>
<br>
<img src="http://www.s-can.at/disclaimer/scan_industrial.jpg" width="400"><br>
<br>
----------------------------------------<br>
<br>
scan Messtechnik GmbH<br>
Brigittagasse 22-24<br>
A-1200 Wien/Vienna<br>
tel. +43 1 219 73 93 - 0<br>
fax +43 1 219 73 93 - 12<br>
http://www.s-can.at<br>
office@s-can.at<br>
<br>
Geschaeftsfuehrer/President: DI Andreas Weingartner<br>
Firmenbuchnummer/Incorporation No: FN178880i<br>
Gerichtsstand/Court of Jurisdiction: Wien/Vienna<br>
</div>
</body>
</html>