Bug#859178: pbuilder: source-only changes doesn't handle -sa passed to pbuilder --debbuildopts

Yves-Alexis Perez corsac at debian.org
Thu Apr 20 11:09:17 UTC 2017


On Thu, 2017-04-20 at 11:15 +0100, James Clarke wrote:
> What's in your B10_source-build hook? Looking closely at the log:
> 
> > [...]
> 
> I imagine B10_source-build is overwriting the _source.changes pbuilder just
> generated.

Indeed, it was used to generate source changes files before pbuilder gained
that support and I didn't disable it:

=====
generate_change_file()
{
  echo "Generating source changes file"
  local version=$(dpkg-parsechangelog -Sversion)
  local package=$(dpkg-parsechangelog -Ssource)
  dpkg-genchanges -S > ../${package}_${version}_source.changes
}

cd /tmp/buildd/*/debian/..
generate_change_file
=====

I'll remove it and update or close the bug. Thanks (feeling a bit of shame
here)

Regards,
-- 
Yves-Alexis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20170420/bb5faeb3/attachment.sig>


More information about the Pbuilder-maint mailing list