I'm running xfce-base/xfce4-session-4.12.1 and app-crypt/gnupg-2.2.0.
Each time the session starts, I'm finding in ~/.xsession-errors :
> gpg-agent[PID]: WARNING: "--write-env-file" is an obsolete option - it has no effect
> gpg-agent[PID]: gpg-agent (GnuPG) 2.2.0 started
> (xfce4-session:PID): xfce4-session-WARNING **: gpg-agent returned no PID in the variables
Probably duplicate of bug #12044
Would be great if it could be fixed before 4.14 release.
You're right, it's a duplicate. We'll see if we can find a fix before 4.14, but from my pov this qualifies as a bugfix anyway so we could also fix it in a 4.14 patch release.
*** This bug has been marked as a duplicate of bug 12044 ***