FS#77287 - [gnupg] libldap dependency shouldn't be optional, replace libusb-compat with libusb

Attached to Project: Arch Linux
Opened by Balló György (City-busz) - Friday, 27 January 2023, 16:08 GMT
Last edited by David Runge (dvzrv) - Sunday, 03 September 2023, 13:08 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Lukas Fleischer (lfleischer)
David Runge (dvzrv)
Levente Polyak (anthraxx)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

libldap should be moved from optdepends=() to depends=(), because dirmngr binary is linked to libldap.so. dirmngr is used by gpg to access the OpenPGP keyservers, so it's needed for a core feature.

gnupg has been ported to libusb 1.0 in 2016[1], so it's time to replace libusb-compat with libusb. :) I suggest to move it also from optdepends=() to depends=() as it's a really small library.


gnupg W: Dependency libldap detected but optional (libraries ['usr/lib/libldap.so.2', 'usr/lib/liblber.so.2'] needed in files ['usr/lib/gnupg/dirmngr_ldap', 'usr/bin/dirmngr'])

gnupg E: Dependency libusb detected and not included (libraries ['usr/lib/libusb-1.0.so.0'] needed in files ['usr/lib/gnupg/scdaemon'])


[1] https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commitdiff;h=d0d97089706286fafd3c8ff56f3b5bf7ac07c6e0
This task depends upon

Closed by  David Runge (dvzrv)
Sunday, 03 September 2023, 13:08 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed with gnupg 2.2.41-2
Comment by David Runge (dvzrv) - Sunday, 03 September 2023, 13:07 GMT
@City-busz: Thanks for the ticket!

Will adapt in a pkgrel bump.

Loading...