[elbe-devel] pbuilder on wheezy targets: incompatible "-jauto" option

Manuel Traut manuel.traut at linutronix.de
Thu Apr 5 12:58:05 CEST 2018


Hi Lukasz,

thanks for your report. I opened an issue:
https://github.com/Linutronix/elbe/issues/147

  Manuel

> 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:
> 
> 
> dpkg-buildpackage(1):
> 
> 
>       -j, --jobs[=jobs|auto]
>               Number  of  jobs  allowed  to  be  run  simultaneously,  number  of  jobs matching the number of online
>               processors if auto is specified (since dpkg 1.17.10), or unlimited number if  jobs  is  not  specified,
> 
> 
> However, pbuilder for a <suite>wheezy</suite> image is (not surprisingly) created as Debian 7.x (wheezy) pbuilder:
> 
> 
> running cmd +pbuilder --create --configfile "/var/cache/elbe/ID/pbuilderrc" --aptconfd
> ir "/var/cache/elbe/ID/aptconfdir" --extrapackages git+
> ------------------------------------------------------------------------------
> W: /.pbuilderrc does not exist
> I: Distribution is wheezy.
> 
> 
> and dpkg in Debian 7.x (wheezy) is 1.16.18, so pbuilder fails due to unrecognized option:
> 
> 
> running cmd +cd "/var/cache/elbe/ID/pdebuilder/current"; pdebuild --debbuildopts "-jau
> to -sa" --configfile "/var/cache/elbe/ID/pbuilderrc" --use-pdebuild-internal --buildre
> sult "/var/cache/elbe/ID/pbuilder/result"+
> [...]
> 
> I: Running /usr/bin/dpkg-buildpackage -rfakeroot -us -uc ${DEBBUILDOPTS}
> dpkg-buildpackage: unknown option or argument -jauto
> [...]
> 
> Command failed with errorcode 1
> 
> Package fails to build.
> 
> 
> 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:
> 
> 
> "-j$(nproc --all)"
> 
> 
> ???
> 
> 
> Best,
> 
> Lukasz
> 
> 
> ----------------------------------------
> 
> [http://www.s-can.at/disclaimer/scan_industrial.jpg]
> 
> ----------------------------------------
> 
> scan Messtechnik GmbH
> Brigittagasse 22-24
> A-1200 Wien/Vienna
> tel. +43 1 219 73 93 - 0
> fax +43 1 219 73 93 - 12
> http://www.s-can.at
> office at s-can.at
> 
> Geschaeftsfuehrer/President: DI Andreas Weingartner
> Firmenbuchnummer/Incorporation No: FN178880i
> Gerichtsstand/Court of Jurisdiction: Wien/Vienna

> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel
> 
> --===============565783629268772




More information about the elbe-devel mailing list