Summary: | dev-perl/GnuPG-Interface-0.34 fails with SRC_TEST="do" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Torsten Veller (RETIRED) <tove> |
Component: | New packages | Assignee: | Gentoo Perl team <perl> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | CC: | moixa |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | fix-testbail.patch |
Description
Torsten Veller (RETIRED)
2005-02-24 04:11:22 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) 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 ) I can confirm this. Looking at Class-MethodMaker, it seems the author includes a broken Build.pl script to begin with... 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. 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. 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 :) 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. |