While upgrading an arm system on generic desktop profile, gnupg failed with configure: *** *** You need libusb to build the internal ccid driver. Please *** install a libusb suitable for your system. *** configure: error: *** *** Required libraries not found. Please consult the above messages *** and install them before running configure again. *** I will probably just set USE="-usb" since I don't need it, but maybe needs a conditional dep on libusb? Reproducible: Always
I can confirm that it was possible to work around with USE="-usb"
Same here. Wiht useflag usb app-crypt/gnupg must depend on libusb.
This is caused by: DEPEND="[snip] smartcard? ( usb? ( virtual/libusb:1 ) ) [/snip] " econf \ [snip] \ $(use_enable usb ccid-driver) \ [/snip] libusb is only pulled in when use smartcard is enabled. ccid-driver should be guarded by smartcard use flag. If it's independet from smartcard, then the DEPEND line has to be adjusted.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=820e8725752f8ced0448f0693aee31ea6f7c8e43 commit 820e8725752f8ced0448f0693aee31ea6f7c8e43 Author: Robin H. Johnson <robbat2@gentoo.org> AuthorDate: 2019-06-10 03:51:33 +0000 Commit: Robin H. Johnson <robbat2@gentoo.org> CommitDate: 2019-06-10 03:51:36 +0000 app-crypt/gnupg: fix ccid-driver smartcard dep Conceptually, serial line interfaces or other interfaces to smartcards could be used, but the upstream configure script depends on libusb if you want the internal ccid driver. Ensure that ccid-driver is only enabled if both smartcard && usb USE flags are set. Fixes: https://bugs.gentoo.org/684664 Package-Manager: Portage-2.3.67, Repoman-2.3.12 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> app-crypt/gnupg/gnupg-2.2.16-r1.ebuild | 153 +++++++++++++++++++++++++++++++++ 1 file changed, 153 insertions(+)