[buildd-tools-devel] Bug#674669: Bug#674669: sbuild: Unable to get .changes when using --debbuildopt=-A

Roger Leigh rleigh at codelibre.net
Thu Jun 28 22:20:40 UTC 2012


On Fri, Jun 29, 2012 at 12:13:22AM +0200, Daniel Dehennin wrote:
> Roger Leigh <rleigh at codelibre.net> writes:
> 
> > Please could you provide the complete sbuild command line you used
> > to build this package?  If it's for a package that's currently in
> > the archive that I can use to reproduce the bug, that would be
> > even better.
> 
> You can test for whatever package declared as "Architecture: all", for
> example:
> 
>   apt-get -d source sbuild
>   sbuild -d unstable -A --debbuildopt=-A sbuild_0.63.1-1.dsc

Thanks for that.  Since using --debbuildopt basically bypasses sbuild
(it just passes them straight through to dpkg-buildpackage), we're
unaware that the changes filename is wrong.

For wheezy, I will implement this workaround:
 - if $arch.changes is not found, try _all.changes.
This will fix the problem fairly simply.

For wheezy+1, I would like to have sbuild support all the
dpkg-buildpackage options directly, and remove the need for
--debbuildopt.  That is, sbuild will be a direct wrapper around
dpkg-buildpackage and use all the same options.  In this case,
we'll know that if you use -A, then the changes name will use
arch=all.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux    http://people.debian.org/~rleigh/
 `. `'   schroot and sbuild  http://alioth.debian.org/projects/buildd-tools
   `-    GPG Public Key      F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800





More information about the Buildd-tools-devel mailing list