I want to build/install Net::Google:Spreadsheets, which depends on:
Any::Moose (though there are a bunch of warnings that this should be replaced with Moo)
Net::Google::DataAPI
and other modules which I've managed to get installed (with only a modicum of problems)
The last one seems to be my current blocker, as Net::Google::DataAPI fails to install
Build Output:
cpan(6)> install Net::Google::DataAPI
Running install for module 'Net::Google::DataAPI'
DANJOU/Net-Google-DataAPI-0.2805.tar.gz
Has already been unwrapped into directory /Users/ghoti1/.cpan/build/Net-Google-DataAPI-0.2805-4
Configuring D/DA/DANJOU/Net-Google-DataAPI-0.2805.tar.gz with Makefile.PL
Adding Any::Moose to prerequisites...
(Any::Moose support for Moose)
- Moose ... loaded (2.2013)
Checking if your kit is complete...
Looks good
Have /Users/ghoti1/perl5/lib/perl5/darwin-2level
Want /Users/ghoti1/perl5/perlbrew/perls/perl-5.33.4/lib/5.33.4/darwin-2level
Your perl and your Config.pm seem to have different ideas about the
architecture they are running on.
Perl thinks: (darwin-2level)
Config says: (darwin-2level)
This may or may not cause problems. Please check your installation of perl
if you have problems building this extension.
Generating a Unix-style Makefile
Writing Makefile for Net::Google::DataAPI
Writing MYMETA.yml and MYMETA.json
DANJOU/Net-Google-DataAPI-0.2805.tar.gz
/Users/ghoti1/perl5/perlbrew/perls/perl-5.33.4/bin/perl5.33.4 Makefile.PL -- OK
Running make for D/DA/DANJOU/Net-Google-DataAPI-0.2805.tar.gz
cp lib/Net/Google/DataAPI/Auth/Null.pm blib/lib/Net/Google/DataAPI/Auth/Null.pm
cp lib/Net/Google/DataAPI.pm blib/lib/Net/Google/DataAPI.pm
cp lib/Net/Google/DataAPI/Types.pm blib/lib/Net/Google/DataAPI/Types.pm
cp lib/Net/Google/DataAPI/Auth/AuthSub.pm blib/lib/Net/Google/DataAPI/Auth/AuthSub.pm
cp lib/Net/Google/DataAPI/Role/Auth.pm blib/lib/Net/Google/DataAPI/Role/Auth.pm
cp lib/Net/Google/DataAPI/Auth/ClientLogin/Multiple.pm blib/lib/Net/Google/DataAPI/Auth/ClientLogin/Multiple.pm
cp lib/Net/Google/DataAPI/Role/Service.pm blib/lib/Net/Google/DataAPI/Role/Service.pm
cp lib/Net/Google/DataAPI/Auth/OAuth2.pm blib/lib/Net/Google/DataAPI/Auth/OAuth2.pm
cp lib/Net/Google/DataAPI/Role/Entry.pm blib/lib/Net/Google/DataAPI/Role/Entry.pm
cp lib/Net/Google/DataAPI/Role/HasContent.pm blib/lib/Net/Google/DataAPI/Role/HasContent.pm
cp lib/Net/Google/DataAPI/Auth/OAuth.pm blib/lib/Net/Google/DataAPI/Auth/OAuth.pm
Manifying 7 pod documents
DANJOU/Net-Google-DataAPI-0.2805.tar.gz
/usr/bin/make -- OK
Running make test for DANJOU/Net-Google-DataAPI-0.2805.tar.gz
PERL_DL_NONLAZY=1 "/Users/ghoti1/perl5/perlbrew/perls/perl-5.33.4/bin/perl5.33.4" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/01_role/01_service/*.t t/01_role/02_entry/*.t t/01_role/03_has_content/*.t t/02_feedurl/*.t t/03_entry_has/*.t t/04_auth/*.t
t/00_compile.t ......................................... Any::Moose is deprecated. Please use Moo instead at /Users/ghoti1/.cpan/build/Net-Google-DataAPI-0.2805-4/blib/lib/Net/Google/DataAPI.pm line 3.
t/00_compile.t ......................................... ok
t/01_role/01_service/01_instanciate.t .................. Any::Moose is deprecated. Please use Moo instead at /Users/ghoti1/.cpan/build/Net-Google-DataAPI-0.2805-4/blib/lib/Net/Google/DataAPI/Role/Service.pm line 2.
t/01_role/01_service/01_instanciate.t .................. ok
t/01_role/01_service/02_namespace.t .................... Any::Moose is deprecated. Please use Moo instead at /Users/ghoti1/.cpan/build/Net-Google-DataAPI-0.2805-4/blib/lib/Net/Google/DataAPI/Role/Service.pm line 2.
t/01_role/01_service/02_namespace.t .................... ok
t/01_role/01_service/03_request.t ...................... Any::Moose is deprecated. Please use Moo instead at t/01_role/01_service/03_request.t line 11.
t/01_role/01_service/03_request.t ...................... ok
t/01_role/01_service/04_methods.t ...................... Any::Moose is deprecated. Please use Moo instead at t/01_role/01_service/04_methods.t line 9.
t/01_role/01_service/04_methods.t ...................... ok
t/01_role/01_service/05_debug.t ........................ Any::Moose is deprecated. Please use Moo instead at t/lib/MyService.pm line 2.
t/01_role/01_service/05_debug.t ........................ ok
t/01_role/01_service/06_pass_through.t ................. Any::Moose is deprecated. Please use Moo instead at /Users/ghoti1/.cpan/build/Net-Google-DataAPI-0.2805-4/blib/lib/Net/Google/DataAPI/Role/Service.pm line 2.
t/01_role/01_service/06_pass_through.t ................. ok
t/01_role/01_service/07_max_line_length.t .............. Any::Moose is deprecated. Please use Moo instead at /Users/ghoti1/.cpan/build/Net-Google-DataAPI-0.2805-4/blib/lib/Net/Google/DataAPI/Role/Service.pm line 2.
t/01_role/01_service/07_max_line_length.t .............. ok
t/01_role/01_service/08_max_line_length_custom_size.t .. Any::Moose is deprecated. Please use Moo instead at /Users/ghoti1/.cpan/build/Net-Google-DataAPI-0.2805-4/blib/lib/Net/Google/DataAPI/Role/Service.pm line 2.
t/01_role/01_service/08_max_line_length_custom_size.t .. ok
t/01_role/02_entry/01_instanciate.t .................... Any::Moose is deprecated. Please use Moo instead at /Users/ghoti1/.cpan/build/Net-Google-DataAPI-0.2805-4/blib/lib/Net/Google/DataAPI/Role/Entry.pm line 2.
t/01_role/02_entry/01_instanciate.t .................... ok
t/01_role/02_entry/02_update.t ......................... Any::Moose is deprecated. Please use Moo instead at t/01_role/02_entry/02_update.t line 10.
t/01_role/02_entry/02_update.t ......................... ok
t/01_role/03_has_content/01_basic.t .................... Any::Moose is deprecated. Please use Moo instead at /Users/ghoti1/.cpan/build/Net-Google-DataAPI-0.2805-4/blib/lib/Net/Google/DataAPI/Role/HasContent.pm line 2.
t/01_role/03_has_content/01_basic.t .................... ok
t/02_feedurl/01_basic.t ................................ Any::Moose is deprecated. Please use Moo instead at t/lib/MyService.pm line 2.
t/02_feedurl/01_basic.t ................................ ok
t/02_feedurl/02_add.t .................................. Any::Moose is deprecated. Please use Moo instead at t/lib/MyService.pm line 2.
t/02_feedurl/02_add.t .................................. ok
t/02_feedurl/03_list.t ................................. Any::Moose is deprecated. Please use Moo instead at t/lib/MyService.pm line 2.
t/02_feedurl/03_list.t ................................. ok
t/02_feedurl/04_delete.t ............................... Any::Moose is deprecated. Please use Moo instead at t/lib/MyService.pm line 2.
t/02_feedurl/04_delete.t ............................... ok
t/02_feedurl/05_error.t ................................ Any::Moose is deprecated. Please use Moo instead at t/02_feedurl/05_error.t line 10.
t/02_feedurl/05_error.t ................................ ok
t/03_entry_has/01_basic.t .............................. Any::Moose is deprecated. Please use Moo instead at t/03_entry_has/01_basic.t line 116.
t/03_entry_has/01_basic.t .............................. ok
t/03_entry_has/02_error.t .............................. Any::Moose is deprecated. Please use Moo instead at t/03_entry_has/02_error.t line 8.
t/03_entry_has/02_error.t .............................. ok
t/04_auth/01_authsub.t ................................. Any::Moose is deprecated. Please use Moo instead at t/lib/MyService.pm line 2.
t/04_auth/01_authsub.t ................................. ok
t/04_auth/02_oauth.t ................................... Any::Moose is deprecated. Please use Moo instead at /Users/ghoti1/.cpan/build/Net-Google-DataAPI-0.2805-4/blib/lib/Net/Google/DataAPI/Auth/OAuth.pm line 2.
t/04_auth/02_oauth.t ................................... ok
t/04_auth/03_multiple.t ................................ Any::Moose is deprecated. Please use Moo instead at /Users/ghoti1/.cpan/build/Net-Google-DataAPI-0.2805-4/blib/lib/Net/Google/DataAPI/Auth/ClientLogin/Multiple.pm line 2.
t/04_auth/03_multiple.t ................................ ok
t/04_auth/04_oauth2.t .................................. Any::Moose is deprecated. Please use Moo instead at /Users/ghoti1/.cpan/build/Net-Google-DataAPI-0.2805-4/blib/lib/Net/Google/DataAPI/Auth/OAuth2.pm line 2.
t/04_auth/04_oauth2.t .................................. 1/?
# Failed test at t/04_auth/04_oauth2.t line 72.
# Structures begin differing at:
# $got->{hd} = ''
# $expected->{hd} = Does not exist
# Failed test at t/04_auth/04_oauth2.t line 101.
# Structures begin differing at:
# $got->{hd} = ''
# $expected->{hd} = Does not exist
# Failed test at t/04_auth/04_oauth2.t line 124.
# Structures begin differing at:
# $got->{hd} = ''
# $expected->{hd} = Does not exist
# Looks like you failed 3 tests of 28.
t/04_auth/04_oauth2.t .................................. Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/28 subtests
t/05_types.t ........................................... Any::Moose is deprecated. Please use Moo instead at t/05_types.t line 6.
t/05_types.t ........................................... ok
Test Summary Report
-------------------
t/04_auth/04_oauth2.t (Wstat: 768 Tests: 28 Failed: 3)
Failed tests: 9, 22, 28
Non-zero exit status: 3
Files=24, Tests=423, 6 wallclock secs ( 0.08 usr 0.04 sys + 4.61 cusr 0.80 csys = 5.53 CPU)
Result: FAIL
Failed 1/24 test programs. 3/423 subtests failed.
make: *** (test_dynamic) Error 255
DANJOU/Net-Google-DataAPI-0.2805.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports DANJOU/Net-Google-DataAPI-0.2805.tar.gz
Failed during this command:
DANJOU/Net-Google-DataAPI-0.2805.tar.gz : make_test NO
cpan(7)>
Questions:
I don't know much about Moose and Moo - is that likely to be the reason the test is failing?
If not, has anyone else figured out how to resolve this issue? It looks like there is either a discrepancy between the way the test fails and the way the test is expected to fail - or the test is succeeding where it is expected to fail (?)