Stuart Henderson <[email protected]> writes:

> I'm running into an intermittent build failure of notmuch on i386.
> During configure it tries to use gmime to decrypt an email and check
> that the session key is as expected.
>
> On amd64 and aarch64 this runs reliably for me.
>
> On i386 it's hit and miss, usually miss, reported "decryption failed".
>
> Extracting the check so I can run it separately as a test case, if
> on first run it returns "decryption failed", re-running it typically
> repeats the failure for a while, but after some time it starts working
> (and then seems to work reliably if re-run using the same test dir).
>
> No idea what triggered this, it didn't used to happen, and I don't
> see any updates of related ports. Same happens if I backout gnupg to
> 2.4.8.
>
> Any ideas?

gpg-agent related (or scdaemon) ?

gpg is starting gpg-agent as daemon using homedir=$tmp (and gpg-agent is
starting scdaemon). it could explain failure on first run (not starting
enough quickly before some timeout ? I dunno) and run fine after, as the
communication is done using socket file inside $tmp.

A new gpg-agent will be started at each run (as $tmp changed).

Just my 2 cents.

Regards
-- 
Sebastien Marie

Reply via email to