[buildd-tools-devel] Bug#833549: Bug#833549: sbuild: autopkgtest fails when sbuild obtains the .dsc with apt-get source

Johannes Schauer josch at debian.org
Fri Aug 5 22:07:44 UTC 2016


Hi,

Quoting Sean Whitton (2016-08-05 22:29:29)
> When sbuild obtains the .dsc to build from the archive with `apt-get
> source`, autopkgtest fails.  It seems that sbuild is not passing the
> .dsc to autopkgtest in this case.
> 
> For example, if I run
> 
>     $ sbuild y-u-no-validate
> 
> autopkgtest fails like this:
> 
>     autopkgtest
>     -----------
> 
>     usage: autopkgtest [options] [testbinary ...] testsrc -- virt-server [options]
>     autopkgtest: error: y-u-no-validate_2013052407-3.dsc is not a valid test package
> 
>     E: Autopkgtest run failed.

this is because autopkgtest is run *outside* the chroot and unless sbuild was
instructed to recreated the source package, the system outside will never see
the .dsc.

I suggest to fix this by automatically skipping the autopkgtest in cases where
sbuild downloads the source package itself to resolve this bug.

Thanks!

cheers, josch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20160806/0e64e92c/attachment-0001.sig>


More information about the Buildd-tools-devel mailing list