Skip Menu |

This queue is for tickets about the Kavorka CPAN distribution.

Report information
The Basics
Id: 130058
Status: stalled
Priority: 0/
Queue: Kavorka

People
Owner: Nobody in particular
Requestors: jkeenan [...] cpan.org
Cc:
AdminCc:

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



Subject: Kavorka t/moosemeta.t fails against perl-5.31.0 on FreeBSD-12
As per subject line. Excerpt from the cpanm build.log: ##### $ dumpjson TOBYINK.Kavorka-0.039.log.json { author => "TOBYINK", dist => "Kavorka", distname => "Kavorka-0.039", distversion => 0.039, grade => "FAIL", prereqs => undef, test_output => [ "Building and testing Kavorka-0.039", "cp lib/Kavorka/MethodModifier.pm blib/lib/Kavorka/MethodModifier.pm", "cp lib/Kavorka/Sub/After.pm blib/lib/Kavorka/Sub/After.pm", "cp lib/Kavorka/TraitFor/Sub/fresh.pm blib/lib/Kavorka/TraitFor/Sub/fresh.pm", "cp lib/Parse/KeywordX.pm blib/lib/Parse/KeywordX.pm", "cp lib/Kavorka/TraitFor/Parameter/ref_alias.pm blib/lib/Kavorka/TraitFor/Parameter/ref_alias.pm", "cp lib/Kavorka/Manual/PrototypeAndAttributes.pod blib/lib/Kavorka/Manual/PrototypeAndAttributes.pod", "cp lib/Kavorka/Signature.pm blib/lib/Kavorka/Signature.pm", "cp lib/Kavorka/TraitFor/Parameter/locked.pm blib/lib/Kavorka/TraitFor/Parameter/locked.pm", "cp lib/Kavorka/TraitFor/Parameter/optional.pm blib/lib/Kavorka/TraitFor/Parameter/optional.pm", "cp lib/Kavorka/Sub/Before.pm blib/lib/Kavorka/Sub/Before.pm", "cp lib/Kavorka/TraitFor/Parameter/ro.pm blib/lib/Kavorka/TraitFor/Parameter/ro.pm", "cp lib/Kavorka/TraitFor/Sub/begin.pm blib/lib/Kavorka/TraitFor/Sub/begin.pm", "cp lib/Kavorka/Manual/Methods.pod blib/lib/Kavorka/Manual/Methods.pod", "cp lib/Kavorka/Sub/Around.pm blib/lib/Kavorka/Sub/Around.pm", "cp lib/Kavorka/Manual/MultiSubs.pod blib/lib/Kavorka/Manual/MultiSubs.pod", "cp lib/Kavorka/Multi.pm blib/lib/Kavorka/Multi.pm", "cp lib/Kavorka/TraitFor/Sub/override.pm blib/lib/Kavorka/TraitFor/Sub/override.pm", "cp lib/Kavorka/Sub.pm blib/lib/Kavorka/Sub.pm", "cp lib/Kavorka.pm blib/lib/Kavorka.pm", "cp lib/Kavorka/Sub/ObjectMethod.pm blib/lib/Kavorka/Sub/ObjectMethod.pm", "cp lib/Kavorka/TraitFor/Parameter/alias.pm blib/lib/Kavorka/TraitFor/Parameter/alias.pm", "cp lib/Kavorka/Parameter.pm blib/lib/Kavorka/Parameter.pm", "cp lib/Kavorka/TraitFor/Parameter/assumed.pm blib/lib/Kavorka/TraitFor/Parameter/assumed.pm", "cp lib/Kavorka/TraitFor/ReturnType/assumed.pm blib/lib/Kavorka/TraitFor/ReturnType/assumed.pm", "cp lib/Kavorka/Sub/ClassMethod.pm blib/lib/Kavorka/Sub/ClassMethod.pm", "cp lib/Kavorka/Manual/Signatures.pod blib/lib/Kavorka/Manual/Signatures.pod", "cp lib/Kavorka/Manual/ExtendingKavorka.pod blib/lib/Kavorka/Manual/ExtendingKavorka.pod", "cp lib/Kavorka/Manual.pod blib/lib/Kavorka/Manual.pod", "cp lib/Kavorka/Sub/Method.pm blib/lib/Kavorka/Sub/Method.pm", "cp lib/Kavorka/Sub/Augment.pm blib/lib/Kavorka/Sub/Augment.pm", "cp lib/MooseX/KavorkaInfo.pm blib/lib/MooseX/KavorkaInfo.pm", "cp lib/Kavorka/Sub/Fun.pm blib/lib/Kavorka/Sub/Fun.pm", "cp lib/Kavorka/Manual/Functions.pod blib/lib/Kavorka/Manual/Functions.pod", "cp lib/Kavorka/ReturnType.pm blib/lib/Kavorka/ReturnType.pm", "cp lib/Kavorka/Manual/API.pod blib/lib/Kavorka/Manual/API.pod", "cp lib/Kavorka/Manual/MethodModifiers.pod blib/lib/Kavorka/Manual/MethodModifiers.pod", "cp lib/Kavorka/Sub/Override.pm blib/lib/Kavorka/Sub/Override.pm", "PERL_DL_NONLAZY=1 \"/usr/home/jkeenan/var/tad/testing/perl-5.31.0/bin/perl\" \"-MExtUtils::Command::MM\" \"-MTest::Harness\" \"-e\" \"undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')\" t/*.t", "t/01basic.t .................... ok", [snip] "t/70introspection.t ............ ok", "Can't call method \"add_attribute\" on an undefined value at /home/jkeenan/var/tad/testing/perl-5.31.0/lib/site_perl/5.31.0/Moo/HandleMoose.pm line 169.", "Compilation failed in require at t/71moosemeta.t line 34.", "BEGIN failed--compilation aborted at t/71moosemeta.t line 34.", "t/71moosemeta.t ................ ", "Dubious, test returned 255 (wstat 65280, 0xff00)", "No subtests run ", "t/80returntype.t ............... ok", [snip] "", "Test Summary Report", "-------------------", "t/71moosemeta.t (Wstat: 65280 Tests: 0 Failed: 0)", " Non-zero exit status: 255", " Parse errors: No plan found in TAP output", "Files=43, Tests=334, 15 wallclock secs ( 0.07 usr 0.14 sys + 11.39 cusr 3.59 csys = 15.20 CPU)", "Result: FAIL", ], via => "App::cpanminus::reporter 0.17 (1.7044)", } ##### Can you investigate? Thank you very much. Jim Keenan #####
Was this a threaded Perl?
On Fri May 01 05:06:18 2020, TOBYINK wrote: Show quoted text
> Was this a threaded Perl?
Yes, the config_args would have been like the following, chosen to simulate the "vendor perl" on FreeBSD: config_args='-des -Dusedevel -Duseithreads -Doptimize=-O2 -pipe -fstack-protector -fno-strict-aliasing';
I imagine it's the Devel::CallParser issue presenting itself. Devel::CallParser on CPAN is very broken. There's a patch on RT (and I released an Alt release of Devel::CallParser) which partially fixes it, but still has issues on threaded versions of Perl. If you're able to install Kavorka at all, you've probably already got the patched version.
On Fri May 15 11:27:06 2020, TOBYINK wrote: Show quoted text
> I imagine it's the Devel::CallParser issue presenting itself. > > Devel::CallParser on CPAN is very broken. There's a patch on RT (and I > released an Alt release of Devel::CallParser) which partially fixes > it, but still has issues on threaded versions of Perl. If you're able > to install Kavorka at all, you've probably already got the patched > version.
Thanks for continuing to look into this. I took a look at these two tickets in the Devel-CallParser bug tracker: https://rt.cpan.org/Ticket/Display.html?id=110623 https://rt.cpan.org/Ticket/Display.html?id=120243 And I agree that your "Alt" module is probably the only work-around until such time as Devel-CallParser is adequately maintained. The pisser for me is that since Devel-CallParser's own tests PASS, it gets installed in the course of CPAN-River-3000 testing (which is dependency-order but with no special workarounds), meaning Kavorka and other distros are reachable but fail under circumstances which are not of their own doing and which presumably would be exposed by a more thorough test suite in Devel-CallParser. Perhaps you should change this ticket's status to "Stalled". Thank you very much. Jim Keenan