Skip Menu |

This queue is for tickets about the MooseX-Getopt CPAN distribution.

Report information
The Basics
Id: 52110
Status: resolved
Priority: 0/
Queue: MooseX-Getopt

People
Owner: bobtfish [...] bobtfish.net
Requestors: dmaki [...] cpan.org
Cc:
AdminCc:

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



Subject: install failure for 0.25
I'm getting lots of errors on a perl 5.10.1 fresh install from source. ----- CPAN.pm: Going to build B/BO/BOBTFISH/MooseX-Getopt-0.25.tar.gz Cannot determine perl version info from lib/MooseX/Getopt.pm Checking if your kit is complete... Looks good Writing Makefile for MooseX::Getopt cp lib/MooseX/Getopt/Dashes.pm blib/lib/MooseX/Getopt/Dashes.pm cp lib/MooseX/Getopt/Meta/Attribute/NoGetopt.pm blib/lib/MooseX/Getopt/Meta/Attribute/NoGetopt.pm cp lib/MooseX/Getopt/Basic.pm blib/lib/MooseX/Getopt/Basic.pm cp lib/MooseX/Getopt/Meta/Attribute.pm blib/lib/MooseX/Getopt/Meta/Attribute.pm cp lib/MooseX/Getopt/Meta/Attribute/Trait/NoGetopt.pm blib/lib/MooseX/Getopt/Meta/Attribute/Trait/NoGetopt.pm cp lib/MooseX/Getopt/GLD.pm blib/lib/MooseX/Getopt/GLD.pm cp lib/MooseX/Getopt/Strict.pm blib/lib/MooseX/Getopt/Strict.pm cp lib/MooseX/Getopt/Meta/Attribute/Trait.pm blib/lib/MooseX/Getopt/Meta/Attribute/Trait.pm cp lib/MooseX/Getopt.pm blib/lib/MooseX/Getopt.pm cp lib/MooseX/Getopt/OptionTypeMap.pm blib/lib/MooseX/Getopt/OptionTypeMap.pm Manifying blib/man3/MooseX::Getopt::Dashes.3 Manifying blib/man3/MooseX::Getopt::Meta::Attribute.3 Manifying blib/man3/MooseX::Getopt::Basic.3 Manifying blib/man3/MooseX::Getopt::Meta::Attribute::Trait.3 Manifying blib/man3/MooseX::Getopt::Strict.3 Manifying blib/man3/MooseX::Getopt::GLD.3 Manifying blib/man3/MooseX::Getopt::Meta::Attribute::NoGetopt.3 Manifying blib/man3/MooseX::Getopt::Meta::Attribute::Trait::NoGetopt.3 Manifying blib/man3/MooseX::Getopt.3 Manifying blib/man3/MooseX::Getopt::OptionTypeMap.3 BOBTFISH/MooseX-Getopt-0.25.tar.gz /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /home/nazar/tools/perl/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/000_load.t ...................... ok t/001_basic.t ..................... 1/69 Use of uninitialized value in join or string at /home/nazar/tools/perl/lib/site_perl/5.10.1/Getopt/Long/Descriptive/Usage.pm line 62. Use of uninitialized value $str in substitution (s///) at /home/nazar/tools/perl/lib/site_perl/5.10.1/Getopt/Long/Descriptive.pm line 347. Use of uninitialized value $str in substitution (s///) at /home/nazar/tools/perl/lib/site_perl/5.10.1/Getopt/Long/Descriptive.pm line 348. Unknown option: verbose Unknown option: length Use of uninitialized value in join or string at /home/nazar/tools/perl/lib/site_perl/5.10.1/Getopt/Long/Descriptive/Usage.pm line 62. # Looks like you planned 69 tests but ran 23. # Looks like your test exited with 2 just after 23. t/001_basic.t ..................... Dubious, test returned 2 (wstat 512, 0x200) Failed 46/69 subtests t/002_custom_option_type.t ........ 1/6 Use of uninitialized value in join or string at /home/nazar/tools/perl/lib/site_perl/5.10.1/Getopt/Long/Descriptive/Usage.pm line 62. Use of uninitialized value $str in substitution (s///) at /home/nazar/tools/perl/lib/site_perl/5.10.1/Getopt/Long/Descriptive.pm line 347. Use of uninitialized value $str in substitution (s///) at /home/nazar/tools/perl/lib/site_perl/5.10.1/Getopt/Long/Descriptive.pm line 348. Unknown option: nums Unknown option: nums Use of uninitialized value in join or string at /home/nazar/tools/perl/lib/site_perl/5.10.1/Getopt/Long/Descriptive/Usage.pm line 62. # Looks like you planned 6 tests but ran 3. # Looks like your test exited with 2 just after 3. t/002_custom_option_type.t ........ Dubious, test returned 2 (wstat 512, 0x200) Failed 3/6 subtests t/003_inferred_option_type.t ...... 1/5 Use of uninitialized value in join or string at /home/nazar/tools/perl/lib/site_perl/5.10.1/Getopt/Long/Descriptive/Usage.pm line 62. Use of uninitialized value $str in substitution (s///) at /home/nazar/tools/perl/lib/site_perl/5.10.1/Getopt/Long/Descriptive.pm line 347. Use of uninitialized value $str in substitution (s///) at /home/nazar/tools/perl/lib/site_perl/5.10.1/Getopt/Long/Descriptive.pm line 348. Unknown option: nums Unknown option: nums Use of uninitialized value in join or string at /home/nazar/tools/perl/lib/site_perl/5.10.1/Getopt/Long/Descriptive/Usage.pm line 62. # Looks like you planned 5 tests but ran 3. # Looks like your test exited with 2 just after 3. t/003_inferred_option_type.t ...... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/5 subtests t/004_nogetop.t ................... 1/9 Use of uninitialized value in join or string at /home/nazar/tools/perl/lib/site_perl/5.10.1/Getopt/Long/Descriptive/Usage.pm line 62. t/004_nogetop.t ................... ok t/005_strict.t .................... 1/10 Use of uninitialized value in join or string at /home/nazar/tools/perl/lib/site_perl/5.10.1/Getopt/Long/Descriptive/Usage.pm line 62. t/005_strict.t .................... ok t/006_metaclass_traits.t .......... 1/69 Use of uninitialized value in join or string at /home/nazar/tools/perl/lib/site_perl/5.10.1/Getopt/Long/Descriptive/Usage.pm line 62. Use of uninitialized value $str in substitution (s///) at /home/nazar/tools/perl/lib/site_perl/5.10.1/Getopt/Long/Descriptive.pm line 347. Use of uninitialized value $str in substitution (s///) at /home/nazar/tools/perl/lib/site_perl/5.10.1/Getopt/Long/Descriptive.pm line 348. Unknown option: verbose Unknown option: length Use of uninitialized value in join or string at /home/nazar/tools/perl/lib/site_perl/5.10.1/Getopt/Long/Descriptive/Usage.pm line 62. # Looks like you planned 69 tests but ran 23. # Looks like your test exited with 2 just after 23. t/006_metaclass_traits.t .......... Dubious, test returned 2 (wstat 512, 0x200) Failed 46/69 subtests t/007_nogetopt_trait.t ............ 1/9 Use of uninitialized value in join or string at /home/nazar/tools/perl/lib/site_perl/5.10.1/Getopt/Long/Descriptive/Usage.pm line 62. t/007_nogetopt_trait.t ............ ok t/008_configfromfile.t ............ skipped: Test requires MooseX::ConfigFromFile t/009_gld_and_explicit_options.t .. 1/5 # Failed test '... this should work' # at t/009_gld_and_explicit_options.t line 40. # died: Use of uninitialized value $str in substitution (s///) at /home/nazar/tools/perl/lib/site_perl/5.10.1/Getopt/Long/Descriptive.pm line 347. # Use of uninitialized value $str in substitution (s///) at /home/nazar/tools/perl/lib/site_perl/5.10.1/Getopt/Long/Descriptive.pm line 348. # Unknown option: bar # Use of uninitialized value in join or string at /home/nazar/tools/perl/lib/site_perl/5.10.1/Getopt/Long/Descriptive/Usage.pm line 62. # Failed test 'The thing isa Testing::Foo' # at t/009_gld_and_explicit_options.t line 41. # The thing isn't defined Can't call method "bar" on an undefined value at t/009_gld_and_explicit_options.t line 43. # Looks like you planned 5 tests but ran 3. # Looks like you failed 2 tests of 3 run. # Looks like your test exited with 2 just after 3. t/009_gld_and_explicit_options.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 4/5 subtests t/010_dashes.t .................... 1/3 # Failed test 'Dash in option name' # at t/010_dashes.t line 26. # died: Use of uninitialized value $str in substitution (s///) at /home/nazar/tools/perl/lib/site_perl/5.10.1/Getopt/Long/Descriptive.pm line 347. # Use of uninitialized value $str in substitution (s///) at /home/nazar/tools/perl/lib/site_perl/5.10.1/Getopt/Long/Descriptive.pm line 348. # Unknown option: some-thingy # Use of uninitialized value in join or string at /home/nazar/tools/perl/lib/site_perl/5.10.1/Getopt/Long/Descriptive/Usage.pm line 62. # Looks like you failed 1 test of 3. t/010_dashes.t .................... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/3 subtests t/100_gld_default_bug.t ........... 1/5 Use of uninitialized value in join or string at /home/nazar/tools/perl/lib/site_perl/5.10.1/Getopt/Long/Descriptive/Usage.pm line 62. Use of uninitialized value in join or string at /home/nazar/tools/perl/lib/site_perl/5.10.1/Getopt/Long/Descriptive/Usage.pm line 62. t/100_gld_default_bug.t ........... ok t/101_argv_bug.t .................. Use of uninitialized value $str in substitution (s///) at /home/nazar/tools/perl/lib/site_perl/5.10.1/Getopt/Long/Descriptive.pm line 347. Use of uninitialized value $str in substitution (s///) at /home/nazar/tools/perl/lib/site_perl/5.10.1/Getopt/Long/Descriptive.pm line 348. Unknown option: verbose Unknown option: length Use of uninitialized value in join or string at /home/nazar/tools/perl/lib/site_perl/5.10.1/Getopt/Long/Descriptive/Usage.pm line 62. # Looks like your test exited with 2 before it could output anything. t/101_argv_bug.t .................. Dubious, test returned 2 (wstat 512, 0x200) Failed 3/3 subtests t/102_basic_basic.t ............... ok t/103_uc_bug.t .................... Use of uninitialized value $str in substitution (s///) at /home/nazar/tools/perl/lib/site_perl/5.10.1/Getopt/Long/Descriptive.pm line 347. Use of uninitialized value $str in substitution (s///) at /home/nazar/tools/perl/lib/site_perl/5.10.1/Getopt/Long/Descriptive.pm line 348. Unknown option: trackingnumber Unknown option: otherparam Use of uninitialized value in join or string at /home/nazar/tools/perl/lib/site_perl/5.10.1/Getopt/Long/Descriptive/Usage.pm line 62. # Looks like your test exited with 2 before it could output anything. t/103_uc_bug.t .................... Dubious, test returned 2 (wstat 512, 0x200) Failed 3/3 subtests t/104_override_usage.t ............ Use of uninitialized value $str in substitution (s///) at /home/nazar/tools/perl/lib/site_perl/5.10.1/Getopt/Long/Descriptive.pm line 347. Use of uninitialized value $str in substitution (s///) at /home/nazar/tools/perl/lib/site_perl/5.10.1/Getopt/Long/Descriptive.pm line 348. Unknown option: foo Use of uninitialized value in join or string at /home/nazar/tools/perl/lib/site_perl/5.10.1/Getopt/Long/Descriptive/Usage.pm line 62. t/104_override_usage.t ............ Dubious, test returned 2 (wstat 512, 0x200) No subtests run Test Summary Report ------------------- t/001_basic.t (Wstat: 512 Tests: 23 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 69 tests but ran 23. t/002_custom_option_type.t (Wstat: 512 Tests: 3 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 6 tests but ran 3. t/003_inferred_option_type.t (Wstat: 512 Tests: 3 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 5 tests but ran 3. t/006_metaclass_traits.t (Wstat: 512 Tests: 23 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 69 tests but ran 23. t/009_gld_and_explicit_options.t (Wstat: 512 Tests: 3 Failed: 2) Failed tests: 2-3 Non-zero exit status: 2 Parse errors: Bad plan. You planned 5 tests but ran 3. t/010_dashes.t (Wstat: 256 Tests: 3 Failed: 1) Failed test: 2 Non-zero exit status: 1 t/101_argv_bug.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 3 tests but ran 0. t/103_uc_bug.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 3 tests but ran 0. t/104_override_usage.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output Files=16, Tests=161, 5 wallclock secs ( 0.06 usr 0.07 sys + 4.05 cusr 0.38 csys = 4.56 CPU) Result: FAIL Failed 9/16 test programs. 3/161 subtests failed. *** Error code 2 Stop in /home/nazar/.cpan/build/MooseX-Getopt-0.25-rmmuqq. BOBTFISH/MooseX-Getopt-0.25.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports BOBTFISH/MooseX-Getopt-0.25.tar.gz Running make install make test had returned bad status, won't install without force Failed during this command: BOBTFISH/MooseX-Getopt-0.25.tar.gz : make_test NO
This is due to the latest version of Getopt::Long::Descriptive - downgrading that fixes the issues. I've filed a bug with rjbs about that (RT#52110), but I'm unlikely to be able to look at this myself until early next week, sorry about that. Thanks for the bug report. t0m
GLD 0.081 fixes this issue. -- rjbs