perl-Mail-GnuPG-0.21-2.fc22 fails to build in F22 because tests fail: t/99.pod.t ............... ok gpg-agent[28489]: directory '/builddir/.gnupg' created gpg-agent[28489]: directory '/builddir/.gnupg/private-keys-v1.d' created gpg-agent[28490]: gpg-agent (GnuPG) 2.1.1 started # Failed test at t/agent.t line 78. # got: '2' # expected: '0' # Failed test at t/agent.t line 81. # got: '2' # expected: '0' # Failed test at t/agent.t line 82. # got: undef # expected: 'EFEA4EAD' # Failed test at t/agent.t line 83. # got: undef # expected: 'Mail::GnuPG Test Key <mail>' # Failed test at t/agent.t line 92. # got: '2' # expected: '0' Unknown Content-Type or no PGP message in body at /builddir/build/BUILD/Mail-GnuPG-0.21/blib/lib/Mail/GnuPG.pm line 402. # Looks like you planned 20 tests but ran 8. # Looks like you failed 5 tests of 8 run. # Looks like your test exited with 2 just after 8. /var/tmp/rpm-tmp.SmEZsV: line 31: 28438 Terminated GPG_PRESET_PASSPHRASE=/usr/libexec/gpg-preset-passphrase ./Build test RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.SmEZsV (%check) Bad exit status from /var/tmp/rpm-tmp.SmEZsV (%check) Child return code was: 1 EXCEPTION: Command failed. See logs for output. Differnce between working and failing build root is: Removed packages: gnupg2-2.0.25-2.fc22 nspr-4.10.7-1.fc22 pth-2.0.7-25.fc22 Added packages: gnupg2-2.1.1-2.fc22 libasan-4.9.2-5.fc22 libatomic-4.9.2-5.fc22 libksba-1.3.2-1.fc22 libubsan-4.9.2-5.fc22 npth-1.1-1.fc22 nspr-4.10.8-1.fc22
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle. Changing version to '22'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22
This is a change in gpg-agent-2.1 which does not export GPG_AGENT_INFO anymore, thus gpg-1 cannot locate it. See bug #1221234.
Created attachment 1025114 [details] Fix proposod to upstream If you don't object I'd like to push it into Fedora. It changes only tests.
GnuPG author said, it's caller's responsibility to set the environment variable. Therefore the fix has to be done in perl-Mail-GnuPG.
perl-Mail-GnuPG-0.21-3.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/perl-Mail-GnuPG-0.21-3.fc22
Package perl-Mail-GnuPG-0.21-3.fc22: * should fix your issue, * was pushed to the Fedora 22 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing perl-Mail-GnuPG-0.21-3.fc22' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-8455/perl-Mail-GnuPG-0.21-3.fc22 then log in and leave karma (feedback).
perl-Mail-GnuPG-0.21-3.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.