Bug 1088741 - perl-MooseX-App-Cmd-0.09-8.fc21 FTBFS
Summary: perl-MooseX-App-Cmd-0.09-8.fc21 FTBFS
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-MooseX-App-Cmd
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL: http://koji.fedoraproject.org/koji/ta...
Whiteboard:
Depends On: 1088856
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-17 05:45 UTC by Petr Pisar
Modified: 2014-04-18 08:05 UTC (History)
4 users (show)

Fixed In Version: perl-MooseX-App-Cmd-0.27-1.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-04-18 08:05:50 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2014-04-17 05:45:27 UTC
perl-MooseX-App-Cmd-0.09-8.fc21 fails to build in F21 due to tests:

+ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-compile.t ............... ok
# Testing with Perl 5.018002, /usr/bin/perl
#     App::Cmd version is 0.323
#     App::Cmd::Command version is 0.323
#     Carp version is 1.3301
#     Data::Dumper version is 2.151
#     English version is 1.06_01
#     ExtUtils::MakeMaker version is 6.96
#     File::Basename version is 2.84
#     File::Find version is 1.23
#     File::Temp version is 0.2304
#     Getopt::Long::Descriptive version is 0.093
#     Moose version is 2.1005
#     Moose::Object version is 2.1005
#     MooseX::ConfigFromFile version is 0.13
#     MooseX::Getopt version is 0.63
#     MooseX::Has::Options version is 0.003
#     MooseX::MarkAsMethods version is 0.15
#     Scalar::Util version is 1.38
#     Test::More version is 1.001003
#     Test::Output version is 1.03
#     Test::Requires version is 0.07
#     Test::use::ok version is 0.11
#     YAML version is 0.90
#     base version is 2.18
#     strict version is 1.07
#     warnings version is 1.18
t/000-report-versions.t ...... ok
t/author-critic.t ............ skipped: these tests are for testing by the author
t/author-test-eol.t .......... skipped: these tests are for testing by the author
#   Failed test 'got correct list of registered command names'
#   at t/basic.t line 16.
#     Structures begin differing at:
#          $got->[1] = '--version'
#     $expected->[1] = '-?'
#   Failed test 'got correct list of registered command plugins'
#   at t/basic.t line 26.
#     Structures begin differing at:
#          $got->[2] = 'App::Cmd::Command::version'
#     $expected->[2] = 'Test::MyCmd::Command::bark'
# Looks like you failed 2 tests of 12.
t/basic.t .................... 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/12 subtests 
t/build_emulates_new.t ....... ok
#   Failed test 'command died with the correct string'
#   at t/configfile.t line 30.
#                   'Can't call method "can" on an undefined value at /usr/share/perl5/vendor_perl/MooseX/ConfigFromFile.pm line 31.
# '
#     doesn't match '(?^:Mandatory parameter 'moo' missing in call to \(eval\))'
# Looks like you failed 1 test of 3.
t/configfile.t ............... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/3 subtests 
t/release-cpan-changes.t ..... skipped: these tests are for release candidate testing
t/release-dist-manifest.t .... skipped: these tests are for release candidate testing
t/release-distmeta.t ......... skipped: these tests are for release candidate testing
t/release-kwalitee.t ......... skipped: these tests are for release candidate testing
t/release-meta-json.t ........ skipped: these tests are for release candidate testing
t/release-minimum-version.t .. skipped: these tests are for release candidate testing
t/release-mojibake.t ......... skipped: these tests are for release candidate testing
t/release-no-tabs.t .......... skipped: these tests are for release candidate testing
t/release-pod-coverage.t ..... skipped: these tests are for release candidate testing
t/release-pod-linkcheck.t .... skipped: these tests are for release candidate testing
t/release-pod-syntax.t ....... skipped: these tests are for release candidate testing
t/release-portability.t ...... skipped: these tests are for release candidate testing
t/release-synopsis.t ......... skipped: these tests are for release candidate testing
t/release-test-version.t ..... skipped: these tests are for release candidate testing
t/release-unused-vars.t ...... skipped: these tests are for release candidate testing
Test Summary Report
-------------------
t/basic.t                  (Wstat: 512 Tests: 12 Failed: 2)
  Failed tests:  2-3
  Non-zero exit status: 2
t/configfile.t             (Wstat: 256 Tests: 3 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
Files=22, Tests=43,  3 wallclock secs ( 0.06 usr  0.02 sys +  2.51 cusr  0.20 csys =  2.79 CPU)
Result: FAIL

This ancient version seems not to be compatible with current software. Upstream has already released version 0.27.

Comment 1 Paul Howarth 2014-04-17 09:14:13 UTC
New version requires MouseX::Getopt (not in Fedora); I'll put a package together for it.

The new version also has support for both Moose and Mouse, and it'll probably be best to sub-package off the Moose- and Mouse-specific bits so we don't end up requiring both.

Comment 2 Petr Pisar 2014-04-17 09:30:53 UTC
(In reply to Paul Howarth from comment #1)
> New version requires MouseX::Getopt (not in Fedora); I'll put a package
> together for it.
>
Ok. I've just started packaging it. You can do your submission. It requires not-yet-package MouseX::ConfigFromFile for optional tests too.
 
> The new version also has support for both Moose and Mouse, and it'll
> probably be best to sub-package off the Moose- and Mouse-specific bits so we
> don't end up requiring both.
I have almost finished it. I will do that.

Comment 3 Paul Howarth 2014-04-17 09:57:32 UTC
(In reply to Petr Pisar from comment #2)
> (In reply to Paul Howarth from comment #1)
> > New version requires MouseX::Getopt (not in Fedora); I'll put a package
> > together for it.
> >
> Ok. I've just started packaging it. You can do your submission. It requires
> not-yet-package MouseX::ConfigFromFile for optional tests too.

It wants MouseX::SimpleConfig too. I'll put those together as well.

Comment 4 Paul Howarth 2014-04-17 10:20:01 UTC
The dependency chain for MouseX::SimpleConfig is going to want to pull in MouseX::Getopt so I'll bootstrap that without the optional test dependencies.

Comment 5 Paul Howarth 2014-04-17 10:26:34 UTC
MouseX::Getopt review request: Bug #1088856


Note You need to log in before you can comment on or make changes to this bug.