Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 598870

Summary: kde-apps/kleopatra-4.14.11_pre20160211 initial self-tests fail with app-crypt/gnupg[-smartcard]
Product: Gentoo Linux Reporter: Enrico Bonato <enribnt>
Component: Current packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED OBSOLETE    
Severity: trivial    
Priority: Lowest    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch to require app-crypt[smartcard]

Description Enrico Bonato 2016-11-03 15:54:41 UTC
Created attachment 452268 [details, diff]
patch to require app-crypt[smartcard]

Initial self test in Kleopatra looks for the "scdaemon", which is available only if the "smartcard" USE flag is enabled in app-crypt/gnupg 

There seems to be no way to disable the scdaemon check without disabling the other checks altogether, so I propose to require the gnupg "smartcard" USE to be enabled when emerging kleopatra

A screenshot of the error is available here: https://snag.gy/PvYUpf.jpg 
I've attached a possible patch to apply to the ebuild (really trivial, but hope this could be time-saving)
Comment 1 Johannes Huber (RETIRED) gentoo-dev 2016-11-04 09:21:59 UTC
Not everyone has a smartcard...Is the self test fatal?
Comment 2 Enrico Bonato 2016-11-05 15:07:24 UTC
No, the self test is not fatal. Sure it's annoying. 
If there is a way to exclude the scdaemon from the Kleopatra initial tests without disabling everything it would be better
Comment 3 Michael Palimaka (kensington) gentoo-dev 2018-02-02 12:33:04 UTC
kleopatra:4 is gone, and kleopatra:4 has tests restricted