Raku / ecosystem-unbitrot

Which modules are not installable?
https://perl6.github.io/ecosystem-unbitrot/
GNU General Public License v3.0
5 stars 4 forks source link

Getopt::ForClass #406

Open AlexDaniel opened 5 years ago

AlexDaniel commented 5 years ago

Module Getopt::ForClass cannot be installed (AlwaysFail), perhaps it has some failing tests.

If you can't self-assign yourself or attach a label, please let us know on #perl6 channel on freenode or just leave a comment here. We will try to give you privileges as fast as possible.

Output:

===> Searching for: Getopt::ForClass
===> Found: Getopt::ForClass:ver<0.3>:auth<github:zostay> [via Zef::Repository::Ecosystems<p6c>]
===> Fetching [OK]: Getopt::ForClass:ver<0.3>:auth<github:zostay> to /home/alex/Blin/data/zef-data/tmp/1549582888.10737.8291/p6-Getopt-ForClass.git
===> Extraction [OK]: Getopt::ForClass to /home/alex/Blin/data/zef-data/store/p6-Getopt-ForClass.git
===> Testing: Getopt::ForClass:ver<0.3>:auth<github:zostay>
t/basic.t ...... ok
Ambiguous call to 'MAIN_HELPER(Nil)'; these signatures all match:
:($retval = 0)
:($IN-as-ARGSFILES, $retval = 0)
  in block <unit> at t/testclass.p6 line 19

# Failed test 'ran command-one'
# at t/cli.t line 9
# expected: 'one
# '
#      got: ''
Ambiguous call to 'MAIN_HELPER(Nil)'; these signatures all match:
:($retval = 0)
:($IN-as-ARGSFILES, $retval = 0)
  in block <unit> at t/testclass.p6 line 19

# Failed test 'ran command-two'
# at t/cli.t line 12
# expected: 'two
# '
#      got: ''
Ambiguous call to 'MAIN_HELPER(Nil)'; these signatures all match:
:($retval = 0)
:($IN-as-ARGSFILES, $retval = 0)
  in block <unit> at t/testclass.p6 line 19

# Failed test 'ran command-three'
# at t/cli.t line 15
# expected: 'three
# '
#      got: ''
# Looks like you failed 3 tests of 3
t/cli.t ........ 
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/3 subtests 
t/test-meta.t .. ok

Test Summary Report
-------------------
t/cli.t      (Wstat: 768 Tests: 3 Failed: 3)
  Failed tests:  1-3
  Non-zero exit status: 3
Files=3, Tests=10, 12 wallclock secs ( 0.04 usr  0.00 sys +  8.81 cusr  0.57 csys =  9.42 CPU)
Result: FAIL
===> Testing [FAIL]: Getopt::ForClass:ver<0.3>:auth<github:zostay>
Failed to get passing tests, but continuing with --force-test
===> Installing: Getopt::ForClass:ver<0.3>:auth<github:zostay>
===> Install [OK] for Getopt::ForClass:ver<0.3>:auth<github:zostay>

Ping @zostay

Previous ticket: #205

Leont commented 5 years ago

rakudo 2018.06 changed the MAIN_HELPER logic, and then 2018.10 changed it again. So now this module appears to work on 2018.06-2018.09, ironically it's the backwards compatibility logic that seems to have broken it on 2018.10.

I suspect the way out is to implement the third and newest interface(ARGS-TO-CAPTURE/RUN-MAIN)