[pkg-gnupg-maint] Bug#1102621: Bug#1102621: gpgv-udeb can't be installed: depend on non-udeb libassuan9 and libnpth0t64

Daniel Kahn Gillmor dkg at fifthhorseman.net
Fri Apr 11 22:34:47 BST 2025


Control: forwarded 1102621 https://dev.gnupg.org/T7603
Control: tags 1102621 + patch

On Fri 2025-04-11 19:27:12 +0200, Andreas Metzler wrote:
> npth was added in
> ce9906b008c94c2aa4ac770a981d1e1e0b8aea47
> gpg: First rough implementation of keyboxd access for key lookup.
>
> and libassuan in aba82684fe14289cf62b4694bc398f3a274b4762
> gpg: New option --use-keyboxd.

Thanks for the sleuthing here, Andreas.  It's definitely useful to know
where these additional dependencies were added. But i don't think gpgv
has any business talking to keyboxd, at least according to its
documentation.

And, in the places where we use gpgv, it would probably be a disaster if
it *did* talk to keyboxd.

It looks like libassuan is present only due to g10/call-keyboxd.c.  I've
reported that upstream as https://dev.gnupg.org/T7603, and the patch
attached here stubs out those calls for gpgv.

I'm now looking into whether the npth dependency is really needed.  it
seems like the only invocations of npth in gpgv are:

 - npth_read
 - npth_sleep
 - npth_usleep

afaict, those are merely collaborative asynchronous wrappers around the
standard POSIX calls, which again seem unnecessary for gpgv.

They appear to have been pulled in from common/sysutils.c when built
with pth, which suggests that we just need to link gpgv against a
non-pth libcommon.   I'll test further and report back.

        --dkg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-gpgv-Avoid-Assuan-dependency.patch
Type: text/x-diff
Size: 6038 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnupg-maint/attachments/20250411/d2850c63/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnupg-maint/attachments/20250411/d2850c63/attachment-0001.sig>


More information about the pkg-gnupg-maint mailing list