[rt-users] Problem RTIR Installation -- CPAN's GnuPG::Interface tests failing

Behzad Mahini mahini at apple.com
Tue Sep 22 19:23:59 EDT 2009


I attempted to manually install "GnuPG-Interface-040_04" ( 1--perl  
Makefile.PL 2-- make test,...), and it also failed during the 'make  
test' phase and hence no installation. Warning/Error messages were  
pretty much similar to the 'make test' phase of 'GnuPG- 
Interface-0.36' (with the exception that a lot of CPAN dependencies  
for this module needed to get installed manually --listed below). Test  
failure results are shown below, as well as a few other notes


1) GnuPG Pre-requisite for my box
==========================
gpg2 (instead of gpg) -- gnupg-2.0.13 (http://www.gnupg.org/)

2) Results of "make test"
===================

$ sudo make test
cp lib/GnuPG/Signature.pm blib/lib/GnuPG/Signature.pm
cp lib/GnuPG/Interface.pm blib/lib/GnuPG/Interface.pm
AutoSplitting blib/lib/GnuPG/Interface.pm (blib/lib/auto/GnuPG/ 
Interface)
blib/lib/GnuPG/Interface.pm: some names are not unique when truncated  
to 8 characters:
  directory blib/lib/auto/GnuPG/Interface:
   get_public_keys.al, get_public_keys_with_sigs.al truncate to get_publ
cp lib/GnuPG/PrimaryKey.pm blib/lib/GnuPG/PrimaryKey.pm
cp lib/GnuPG/SubKey.pm blib/lib/GnuPG/SubKey.pm
cp lib/GnuPG/Handles.pm blib/lib/GnuPG/Handles.pm
cp lib/GnuPG/HashInit.pm blib/lib/GnuPG/HashInit.pm
cp lib/GnuPG/Key.pm blib/lib/GnuPG/Key.pm
cp lib/GnuPG/SecretKey.pm blib/lib/GnuPG/SecretKey.pm
cp lib/GnuPG/Fingerprint.pm blib/lib/GnuPG/Fingerprint.pm
cp lib/GnuPG/UserId.pm blib/lib/GnuPG/UserId.pm
cp lib/GnuPG/PublicKey.pm blib/lib/GnuPG/PublicKey.pm
cp lib/GnuPG/Options.pm blib/lib/GnuPG/Options.pm
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"  
"test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
t/clearsign.t .............. ok
t/decrypt.t ................ ok
t/detach_sign.t ............ ok
t/encrypt.t ................ 1/3 gpg: WARNING: unsafe permissions on  
homedir `test'
t/encrypt.t ................ ok
t/encrypt_symmetrically.t .. ok
t/export_keys.t ............ ok
t/Fingerprint.t ............ ok
t/get_public_keys.t ........ gpg: WARNING: unsafe permissions on  
homedir `test'
t/get_public_keys.t ........ 1/3 subkeys fail comparison; this is a  
known issue with GnuPG 1.0.1 at t/get_public_keys.t line 92.
t/get_public_keys.t ........ Failed 3/3 subtests
t/get_secret_keys.t ........ gpg: WARNING: unsafe permissions on  
homedir `test'
t/get_secret_keys.t ........ Failed 2/2 subtests
t/import_keys.t ............ ok
t/Interface.t .............. ok
t/list_public_keys.t ....... ok
t/list_secret_keys.t ....... ok
t/list_sigs.t .............. ok
t/passphrase_handling.t .... 1/3 gpg: WARNING: unsafe permissions on  
homedir `test'
t/passphrase_handling.t .... ok
t/sign.t ................... ok
t/sign_and_encrypt.t ....... ok
t/UserId.t ................. ok
t/verify.t ................. ok
t/wrap_call.t .............. ok

Test Summary Report
-------------------
t/get_public_keys.t      (Wstat: 0 Tests: 3 Failed: 3)
   Failed tests:  1-3
t/get_secret_keys.t      (Wstat: 0 Tests: 2 Failed: 2)
   Failed tests:  1-2
Files=20, Tests=51,  2 wallclock secs ( 0.07 usr  0.05 sys +  1.47  
cusr  0.43 csys =  2.02 CPU)
Result: FAIL
Failed 2/20 test programs. 5/51 subtests failed.
make: *** [test_dynamic] Error 255

====


3) Results of the 'prove -blv t/some_failing_test'  (Note: I combined  
flags "b" & "l" together) -- for all Warnings/Error cases
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
========================================================================

====
$ sudo prove -blv t/encrypt.t
Password:
t/encrypt.t ..
1..3
ok 1
gpg: WARNING: unsafe permissions on homedir `test'
ok 2
ok 3
ok
All tests successful.
Files=1, Tests=3,  0 wallclock secs ( 0.02 usr  0.00 sys +  0.10 cusr   
0.04 csys =  0.16 CPU)
Result: PASS

====

====
$ sudo prove -blv t/get_public_keys.t
t/get_public_keys.t ..
1..3
gpg: WARNING: unsafe permissions on homedir `test'
not ok 1
not ok 2
not ok 3
subkeys fail comparison; this is a known issue with GnuPG 1.0.1 at t/ 
get_public_keys.t line 92.
Failed 3/3 subtests

Test Summary Report
-------------------
t/get_public_keys.t (Wstat: 0 Tests: 3 Failed: 3)
   Failed tests:  1-3
Files=1, Tests=3,  0 wallclock secs ( 0.02 usr  0.00 sys +  0.07 cusr   
0.01 csys =  0.10 CPU)
Result: FAIL

====

====
$ sudo prove -blv t/get_secret_keys.t
t/get_secret_keys.t ..
1..2
gpg: WARNING: unsafe permissions on homedir `test'
not ok 1
not ok 2
Failed 2/2 subtests

Test Summary Report
-------------------
t/get_secret_keys.t (Wstat: 0 Tests: 2 Failed: 2)
   Failed tests:  1-2
Files=1, Tests=2,  0 wallclock secs ( 0.02 usr  0.00 sys +  0.07 cusr   
0.01 csys =  0.10 CPU)
Result: FAIL

====

====
$ sudo prove -blv t/passphrase_handling.t
t/passphrase_handling.t ..
1..3
ok 1
ok 2
gpg: WARNING: unsafe permissions on homedir `test'
ok 3
ok
All tests successful.
Files=1, Tests=3,  0 wallclock secs ( 0.02 usr  0.00 sys +  0.09 cusr   
0.02 csys =  0.13 CPU)
Result: PASS

====


4) CPAN dependencies that Must get installed manually before "GnuPG- 
Interface-040_04 provides any "make test" error messages:
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
========================================================================

Any::Moose
Mouse
MRO::Compat
Class::MOP
Moose
Class::Method::Modifiers::Fast
Class::Method::Modifiers
Test::Output
Declare::Constraints::Simple



-Behzad

>
>
>
> On Tue, Sep 22, 2009 at 01:50:27PM -0700, Behzad Mahini wrote:
>> Here are the results of the manual install associated to "prove -lv  
>> t/
>> anythiing_that_fails"  for all of the failing tests ('perl
>> Makefile.PL' & 'make test' steps resulted in the same output as I had
>> already reported in my earlier email):
>>
>
> Try out http://search.cpan.org/~jesse/GnuPG-Interface-0.40_04/ instead
> of 0.36 and tell us how it does.




More information about the rt-users mailing list