Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83176 - dev-perl/GnuPG-Interface-0.34 fails with SRC_TEST="do"
Summary: dev-perl/GnuPG-Interface-0.34 fails with SRC_TEST="do"
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-24 04:11 UTC by Torsten Veller (RETIRED)
Modified: 2005-04-27 06:26 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
fix-testbail.patch (fix-testbail.patch,385 bytes, patch)
2005-04-27 06:26 UTC, Tobias Sager
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Torsten Veller (RETIRED) gentoo-dev 2005-02-24 04:11:22 UTC
!!! test failed

[...]
Manifying blib/man3/GnuPG::PublicKey.3pm
Manifying blib/man3/GnuPG::Options.3pm
PERL_DL_NONLAZY=1 /usr/bin/perl5.8.5 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/clearsign................Odd number of elements in hash assignment at /var/tmp/portage/GnuPG-Interface-0.34/work/GnuPG-Interface-0.34/blib/lib/GnuPG/Options.pm line 64.
Can't locate object method "Interface=HASH(0x83c3bf0)" via package "GnuPG" at lib/Class/MethodMaker/Engine.pm (autosplit into blib/lib/auto/Class/MethodMaker/Engine/new.al) line 947.
Compilation failed in require at t/clearsign.t line 11.
BEGIN failed--compilation aborted at t/clearsign.t line 11.
dubious       
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-2
        Failed 2/2 tests, 0.00% okay
t/decrypt..................Odd number of elements in hash assignment at /var/tmp/portage/GnuPG-Interface-0.34/work/GnuPG-Interface-0.34/blib/lib/GnuPG/Options.pm line 64.
Can't locate object method "Interface=HASH(0x83c3b2c)" via package "GnuPG" at lib/Class/MethodMaker/Engine.pm (autosplit into blib/lib/auto/Class/MethodMaker/Engine/new.al) line 947.
Compilation failed in require at t/decrypt.t line 12.
BEGIN failed--compilation aborted at t/decrypt.t line 12.
dubious       
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-4
[...]


# perl -v
This is perl, v5.8.6 built for i686-linux
Comment 1 Torsten Veller (RETIRED) gentoo-dev 2005-02-24 04:14:38 UTC
i tried perl-5.8.6 inbetween (the reason why the versions not match). but the output is the same:

Manifying blib/man3/GnuPG::PublicKey.3pm
Manifying blib/man3/GnuPG::Options.3pm
PERL_DL_NONLAZY=1 /usr/bin/perl5.8.6 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/clearsign................Odd number of elements in hash assignment at /var/tmp/portage/GnuPG-Interface-0.34/work/GnuPG-Interface-0.34/blib/lib/GnuPG/Options.pm line 64.
Can't locate object method "Interface=HASH(0x83cc010)" via package "GnuPG" at lib/Class/MethodMaker/Engine.pm (autosplit into blib/lib/auto/Class/MethodMaker/Engine/new.al) line 947.
Compilation failed in require at t/clearsign.t line 11.
BEGIN failed--compilation aborted at t/clearsign.t line 11.
dubious       
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-2
        Failed 2/2 tests, 0.00% okay
t/decrypt..................Odd number of elements in hash assignment at /var/tmp/portage/GnuPG-Interface-0.34/work/GnuPG-Interface-0.34/blib/lib/GnuPG/Options.pm line 64.
Can't locate object method "Interface=HASH(0x83cbdc8)" via package "GnuPG" at lib/Class/MethodMaker/Engine.pm (autosplit into blib/lib/auto/Class/MethodMaker/Engine/new.al) line 947.
Compilation failed in require at t/decrypt.t line 12.
BEGIN failed--compilation aborted at t/decrypt.t line 12.
dubious       
        Test returned status 255 (wstat 65280, 0xff00)
Comment 2 Torsten Veller (RETIRED) gentoo-dev 2005-03-01 09:32:08 UTC
i downgraded to dev-perl/Class-MethodMaker-2.0.2 (from ~2.0.4) and it looks better
(only one test failed:

Failed 1/20 test scripts, 95.00% okay. 1/51 subtests failed, 98.04% okay.
Failed Test          Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/list_secret_keys.t                4    1  25.00%  2
make: *** [test_dynamic] Error 255
)
Comment 3 Michael Cummings (RETIRED) gentoo-dev 2005-03-11 08:42:27 UTC
I can confirm this. Looking at Class-MethodMaker, it seems the author includes a broken Build.pl script to begin with...
Comment 4 Michael Cummings (RETIRED) gentoo-dev 2005-03-11 09:25:47 UTC
Actually, the problem is that Gnupg-Interface is extremely out of date/unmaintained. It hasn't been touched in over 2 years, and there has been a lot of changes since then. Using a Class-MethodMaker more relevant to that era (ok, couldn't resist using that word :) ), ie <2, results in it passing 97% (failure on an unknown record type). I can update the GnuPG ebuild to reflect this and disable tests (still functions fine despite the error), but we may have to look at removing the ebuild all together eventually. A scan of the tree shows that it isn't actually a dep of anything.
Comment 5 Torsten Veller (RETIRED) gentoo-dev 2005-03-14 11:18:23 UTC
Yes, one can't say that GnuPG-Interface is maintained by upstream atm.

I am using it for some tools (<http://svn.debian.org/wsvn/pgp-tools/> and <http://svn.debian.org/wsvn/cabot/>) which are not in the tree.
Comment 6 Michael Cummings (RETIRED) gentoo-dev 2005-04-18 09:36:49 UTC
I'm going to have to close this one out - gnupg is unmaintained, and should be slotted for removal from the tree. On the other hand...in support of Module-Signature, Crypt::OpenPGP is in the tree :)
Comment 7 Tobias Sager 2005-04-27 06:26:33 UTC
Created attachment 57384 [details, diff]
fix-testbail.patch

Found at
https://sourceforge.net/tracker/index.php?func=detail&aid=1184812&group_id=4802&atid=104802.

Should fix the test error.