Hi Guillem,

On Thu, Jan 02, 2025 at 03:27:08PM +0100, Guillem Jover wrote:
> Hi!
> 
> On Thu, 2025-01-02 at 15:12:58 +0100, Salvatore Bonaccorso wrote:
> > Package: dpkg-dev
> > Version: 1.22.12
> > Severity: normal
> > X-Debbugs-Cc: [email protected]
> 
> > I'm not even sure if this is considered a bug, so if not feel free to
> > close.
> 
> I'd need to first understand what's going on, but my assumption is
> that this is a bug yes. :) I try to reproduce after lunch.

Ok, thanks for looking into it. (I was thinking it might be unusual
situation having sq installed but not transitioned yet to sequoia or
using gpg-sq et al). 

> > I do not use sq, but sq is installed on the system. Now after the
> > update to dpkg/1.22.12 when building a source package and singing I
> > get:
> > 
> > dpkg-buildpackage: info: source package linux-base
> > dpkg-buildpackage: info: source version 4.11
> > dpkg-buildpackage: info: source distribution unstable
> > dpkg-buildpackage: info: source changed by Salvatore Bonaccorso 
> > <[email protected]>
> >  dpkg-source --before-build .
> >  debian/rules clean
> > dh clean
> >    dh_auto_clean
> >         make -j8 clean
> > make[1]: Entering directory '/tmp/linux-base-4.11'
> > rm -f man/*.??.[1-9]
> > make[1]: Leaving directory '/tmp/linux-base-4.11'
> >    dh_clean
> >  dpkg-source -b .
> > dpkg-source: info: using source format '3.0 (native)'
> > dpkg-source: info: building linux-base in linux-base_4.11.tar.xz
> > dpkg-source: info: building linux-base in linux-base_4.11.dsc
> >  dpkg-genbuildinfo --build=source -O../linux-base_4.11_source.buildinfo
> >  dpkg-genchanges -sa --build=source -O../linux-base_4.11_source.changes
> > dpkg-genchanges: info: including full source code in upload
> >  dpkg-source --after-build .
> > dpkg-buildpackage: info: source-only upload: Debian-native package
> >  signfile linux-base_4.11.dsc
> > dpkg-buildpackage: error: failed to sign ../linux-base_4.11.dsc file: 
> > specified key needs a keystore
> > 
> > Either downgrading dpkg to 1.22.11 or removing the installed sq
> > package solves the problem. Equally reverting the change 17309e15bbe7
> > ("Dpkg::OpenPGP::Backend::Sequoia: Add keystore support").
> 
> I assume that you either specify the signing via a key ID or let
> dpkg-buildpackage use the email from the changelog as the user ID?
> 
> (I'm assuming you are not using a keyfile.)

Right, it happens both when specifying the key ID with -k/--sign-keyid
or letting dpkg-buildpackage use the email from the changelog as the
user ID. I'm not using a keyfile.

Thank you,

Regards,
Salvatore

Reply via email to