Skip Menu |

This queue is for tickets about the Mail-GnuPG CPAN distribution.

Report information
The Basics
Id: 7018
Status: resolved
Priority: 0/
Queue: Mail-GnuPG

People
Owner: Nobody in particular
Requestors: makoto [...] fes-total.com
Cc: jquelin [...] cpan.org
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: 0.20



Date: Tue, 20 Jul 2004 15:47:45 +0900
From: "makoto [...] fes-total.com" <makoto [...] fes-total.com>
To: bug-Mail-GnuPG [...] rt.cpan.org
Subject: make test issues
[root@www Mail-GnuPG-0.08]# cat /etc/redhat-release Red Hat Enterprise Linux ES release 3 (Taroon Update 2) [root@www Mail-GnuPG-0.08]# gpg --version gpg (GnuPG) 1.2.1 Copyright (C) 2002 Free Software Foundation, Inc. This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. See the file COPYING for details. Home: ~/.gnupg サポートしているアルゴリズム: Pubkey: RSA, RSA-E, RSA-S, ELG-E, DSA, ELG Cipher: 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH Hash: MD5, SHA1, RIPEMD160 Compress: Uncompressed, ZIP, ZLIB [root@www Mail-GnuPG-0.08]# perl --version This is perl, v5.8.0 built for i386-linux-thread-multi (with 1 registered patch, see perl -V for more detail) Copyright 1987-2002, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using `man perl' or `perldoc perl'. If you have access to the Internet, point your browser at http://www.perl.com/, the Perl Home Page. [root@www tmp]# (tar zxvf /export/tmp/Mail-GnuPG-0.08.tar.gz && cd Mail-GnuPG-0.08/ && perl Makefile.PL && make && make test) Mail-GnuPG-0.08/ Mail-GnuPG-0.08/t/ Mail-GnuPG-0.08/t/round-trip.t Mail-GnuPG-0.08/t/test-key.pgp Mail-GnuPG-0.08/t/99.pod.t Mail-GnuPG-0.08/t/base.t Mail-GnuPG-0.08/t/00.load.t Mail-GnuPG-0.08/META.yml Mail-GnuPG-0.08/test.pl Mail-GnuPG-0.08/Changes Mail-GnuPG-0.08/GnuPG.pm Mail-GnuPG-0.08/MANIFEST Mail-GnuPG-0.08/Makefile.PL Mail-GnuPG-0.08/README Checking if your kit is complete... Looks good Writing Makefile for Mail::GnuPG cp GnuPG.pm blib/lib/Mail/GnuPG.pm Manifying blib/man3/Mail::GnuPG.3pm PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00.load.......ok t/99.pod........ok t/base..........ok t/round-trip....ok 3/13# Failed test (t/round-trip.t at line 48) t/round-trip....NOK 4# got: 'EFEA4EAD' # expected: undef # Failed test (t/round-trip.t at line 49) # got: 'Mail::GnuPG Test Key <mail@gnupg.dom>' # expected: undef t/round-trip....ok 9/13# Failed test (t/round-trip.t at line 62) # got: 'EFEA4EAD' # expected: undef t/round-trip....NOK 10# Failed test (t/round-trip.t at line 63) t/round-trip....NOK 11# got: 'Mail::GnuPG Test Key <mail@gnupg.dom>' # expected: undef t/round-trip....ok 13/13# Looks like you failed 4 tests of 13. t/round-trip....dubious Test returned status 4 (wstat 1024, 0x400) DIED. FAILED tests 4-5, 10-11 Failed 4/13 tests, 69.23% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/round-trip.t 4 1024 13 4 30.77% 4-5 10-11 Failed 1/4 test scripts, 75.00% okay. 4/16 subtests failed, 75.00% okay. make: *** [test_dynamic] エラー 2
On Tue Jul 20 02:54:40 2004, makoto@fes-total.com wrote: Show quoted text
> t/round-trip....ok 3/13# Failed test (t/round-trip.t at line 48) > t/round-trip....NOK 4# got: 'EFEA4EAD' > # expected: undef > # Failed test (t/round-trip.t at line 49) > # got: 'Mail::GnuPG Test Key <mail@gnupg.dom>' > # expected: undef > t/round-trip....ok 9/13# Failed test (t/round-trip.t at line 62) > # got: 'EFEA4EAD' > # expected: undef > t/round-trip....NOK 10# Failed test (t/round-trip.t at line 63) > t/round-trip....NOK 11# got: 'Mail::GnuPG Test Key > <mail@gnupg.dom>' > # expected: undef > t/round-trip....ok 13/13# Looks like you failed 4 tests of 13. > t/round-trip....dubious > Test returned status 4 (wstat 1024, 0x400) > DIED. FAILED tests 4-5, 10-11 > Failed 4/13 tests, 69.23% okay > Failed Test Stat Wstat Total Fail Failed List of Failed >
------------------------------------------------------------------------------- Show quoted text
> t/round-trip.t 4 1024 13 4 30.77% 4-5 10-11 > Failed 1/4 test scripts, 75.00% okay. 4/16 subtests failed, 75.00% > okay. > make: *** [test_dynamic] エラー 2
Still true, with perl 5.10 on mandriva linux: t/round-trip......1/? # Failed test at t/round-trip.t line 50. # got: 'EFEA4EAD' # expected: undef # Failed test at t/round-trip.t line 51. # got: 'Mail::GnuPG Test Key <mail@gnupg.dom>' # expected: undef t/round-trip......8/? # Failed test at t/round-trip.t line 64. # got: 'EFEA4EAD' # expected: undef # Failed test at t/round-trip.t line 65. # got: 'Mail::GnuPG Test Key <mail@gnupg.dom>' # expected: undef t/round-trip......20/? # Looks like you failed 4 tests of 20. t/round-trip...... Dubious, test returned 4 (wstat 1024, 0x400) Failed 4/20 subtests Moreover, they are a lot of additional warnings: Name " GnuPG::Handles::options_clear" used only once: possible typo at /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi/Class/MethodMaker/Engine.pm line 781. Name " GnuPG::Handles::set_stdout" used only once: possible typo at /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi/Class/MethodMaker/Engine.pm line 781. Name " GnuPG::Handles::command_isset" used only once: possible typo at /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi/Class/MethodMaker/Engine.pm line 781. Name " GnuPG::Handles::stderr_reset" used only once: possible typo at /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi/Class/MethodMaker/Engine.pm line 781. Name " GnuPG::Handles::stdout_isset" used only once: possible typo at /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi/Class/MethodMaker/Engine.pm line 781. Name " GnuPG::Handles::stderr" used only once: possible typo at /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi/Class/MethodMaker/Engine.pm line 781. ...
still true with perl-5.10.1 and gnupg-1.4.10
Subject: Can't duplicate with 0.15
I can't duplicate this bug with Mail::GnuPG 0.15, perl 5.10.1, and gpg 1.4.10 on Debian Squeeze. jquelin, do you still have a problem with 0.15? David
Actually, this seems to be a locale issue: exporting LC_ALL=C before running test make them pass.
On Sun Dec 19 06:07:06 2010, GROUSSE wrote: Show quoted text
> Actually, this seems to be a locale issue: exporting LC_ALL=C before > running test make them pass.
Thanks for the feedback. I suppose I could hide the problem with setlocale. But maybe there are underlying bugs that should at least be documented. What is an example of a locale that fails? I use en_CA.UTF-8 normally d
Unless somebody reports otherwise, I'm going to assume the fixes in 0.20 fixed this issue as well.