Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

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 Toolybird (Toolybird) - Friday, 27 January 2023, 21:16 GMT
Task Type Bug Report
Category Packages: Core
Status Assigned
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 0%
Votes 1
Private No


libldap should be moved from optdepends=() to depends=(), because dirmngr binary is linked to 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/', 'usr/lib/'] needed in files ['usr/lib/gnupg/dirmngr_ldap', 'usr/bin/dirmngr'])

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

This task depends upon