[buildd-tools-devel] sbuild in jessie-backports cannot build stretch packages

James Clarke jrtc27 at debian.org
Wed Jun 21 14:11:47 UTC 2017


On 21 Jun 2017, at 15:04, Neil Williams <codehelp at debian.org> wrote:
> A newly created schroot using schroot on jessie cannot build packages
> for stretch due to missing gpg binary. Installing gnupg manually runs
> into https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=827315 which is
> fixed in sbuild 0.70 but there is no jessie-backport of this version.
> 
> A workaround is to install gnupg1 and copy /usr/bin/gpg1 to /usr/bin/gpg
> 
> Can jessie-backports have an update containing the fix for #827315
> please? Is it necessary to manually install gnupg | gnupg2 | gnupg1
> into the stretch schroot - none of those were installed by
> sbuild-createchroot
> 
> Check dependencies
> ──────────────────
> 
> Merged Build-Depends: build-essential, fakeroot
> Filtered Build-Depends: build-essential, fakeroot
> dpkg-deb: building package 'sbuild-build-depends-core-dummy' in
> '/«BUILDDIR»/resolver-HGom4C/apt_archive/sbuild-build-depends-core-dummy.deb'.
> E: Failed to execute “gpg”: No such file or directory Failed to sign
> dummy archive Release file.

Unless you're building for squeeze (or earlier), sbuild doesn't need to sign
its own repository. Run `sudo rm -rf /var/lib/sbuild/apt-keys` and you
shouldn't need gnupg installed in the chroot.

Regards,
James

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20170621/883101d2/attachment.sig>


More information about the Buildd-tools-devel mailing list