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

Sean Whitton spwhitton at spwhitton.name
Sat Aug 6 01:16:04 UTC 2016


Hello,

On Sat, Aug 06, 2016 at 01:02:59AM +0200, Johannes Schauer wrote:
> > Doesn't sbuild have a mechanism to get files out of the chroot?  How else
> > does it extract the .deb files that are built?
> 
> It does. But it would be unexpected behaviour if sbuild would also produce the
> source package if you just tell it `sbuild package`. The expected behaviour in
> this case would be for sbuild to just create the binary packages. Unless you
> add the --source flag of course, which would be a workaround as described
> above.
> 
> Do you see a solution to this problem?

What I had in mind was that sbuild would extract the .dsc just to run
autopkgtest.  It could put it in /tmp, pass that on the autopkgtest
command line, and then delete it afterwards.  Would that be hard to
implement?

-- 
Sean Whitton



More information about the Buildd-tools-devel mailing list