Bug#876399: pbuilder: B20autopkgtest hook script uses removed adt-run commands

Guido Günther agx at sigxcpu.org
Wed Oct 4 18:59:34 UTC 2017


control: tags -1 +patch

Hi,
On Thu, Sep 21, 2017 at 12:24:09PM -0700, Diane Trout wrote:
> On Thu, 2017-09-21 at 20:57 +0200, Mattia Rizzolo wrote:
> > On Thu, Sep 21, 2017 at 11:14:05AM -0700, Diane Trout wrote:
> > > I was trying to build some packages in sid and discovered that the
> > > chroot B20autopkgtest hook script was using /usr/bin/adt-run which
> > > has
> > > been removed in autopkgtest 5.0
> > 
> > oh, thanks for the bug!
> > 
> 
> I quickly ported B20autopkgtest to use the autopkgtest commands.
> 
> Although I didn't add checks to fail back to adt commands, so, it'll
> only work with sufficiently new versions of autopkgtest. 
> 
> autopkgtest 4.4 in testing has both adt- and autopkgtest- commands, 5.0
> only has the autopkgtest- commands.

Attached patch supports both adt-rn and autopkgtest so we can continue
to build in wheezy and jessie.

I doubled the while invocations instead of special casing even more
options so it stays easier to extend.

Cheers,
 -- Guido
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-B20aupkgtest-Prefer-autopkgtest-over-adt-run.patch
Type: text/x-diff
Size: 2695 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20171004/4f2af16f/attachment.patch>


More information about the Pbuilder-maint mailing list