[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sbuild in jessie-backports cannot build stretch packages



On Wed, 21 Jun 2017 15:11:47 +0100
James Clarke <jrtc27@debian.org> wrote:

> On 21 Jun 2017, at 15:04, Neil Williams <codehelp@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.

I'd already done that after reading #827315 - no success. I had to
install gnupg1 and cp /usr/bin/gpg1 usr/bin/

-- 


Neil Williams
=============
http://www.linux.codehelp.co.uk/

Attachment: pgph7F7zcOspA.pgp
Description: OpenPGP digital signature


Reply to: