Subject: | Failed Install |
I'm not quite sure if this is the right place since the preferred bug tracker is GitHub but the issues haven't been activated on GitHub yet. I get the following message log when attempting to install Metabase.
Building and testing Metabase-1.003
cp lib/Metabase/Gateway.pm blib\lib\Metabase\Gateway.pm
cp lib/Metabase/Librarian.pm blib\lib\Metabase\Librarian.pm
cp lib/Metabase/Archive.pm blib\lib\Metabase\Archive.pm
cp lib/Metabase/Test/Index.pm blib\lib\Metabase\Test\Index.pm
cp lib/Metabase/Index/FlatFile.pm blib\lib\Metabase\Index\FlatFile.pm
cp lib/Metabase.pm blib\lib\Metabase.pm
cp lib/Metabase/Test/Archive.pm blib\lib\Metabase\Test\Archive.pm
cp lib/Metabase/Test/Fact.pm blib\lib\Metabase\Test\Fact.pm
cp lib/Metabase/Query.pm blib\lib\Metabase\Query.pm
cp lib/Metabase/Archive/Filesystem.pm blib\lib\Metabase\Archive\Filesystem.pm
cp lib/Metabase/Index.pm blib\lib\Metabase\Index.pm
cp lib/Metabase/Test/Archive/Null.pm blib\lib\Metabase\Test\Archive\Null.pm
cp lib/Metabase/Test/Factory.pm blib\lib\Metabase\Test\Factory.pm
"C:\Strawberry\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/archive/*.t t/gateway/*.t t/index/*.t t/librarian/*.t
#
# Versions for all modules listed in MYMETA.json (including optional ones):
# Version Module
# -------- ----------------------------
# 0.60 CHI
# 0.12 CPAN::DistnameInfo
# 2.150005 CPAN::Meta
# 2.140 CPAN::Meta::Requirements
# 1.38 Carp
# 2.1604 Class::MOP
# 0.048 Data::GUID
# 0.11 Data::Stream::Bulk::Array
# 0.11 Data::Stream::Bulk::Callback
# 0.11 Data::Stream::Bulk::Filter
# 0.11 Data::Stream::Bulk::Nil
# 7.10 ExtUtils::MakeMaker
# 1.13 Fcntl
# 2.12 File::Path
# 9999.19 File::Slurp
# 3.60 File::Spec::Functions
# 0.2304 File::Temp
# 1.16 IO::File
# 2.90 JSON
# 0.09 List::AllUtils
# 1.42 List::Util
# 0.024 Metabase::Fact
# 0.024 Metabase::Fact::String
# 0.024 Metabase::Report
# 0.024 Metabase::User::Profile
# 0.024 Metabase::User::Secret
# 2.1604 Moose
# 2.1604 Moose::Role
# 2.1604 Moose::Util::TypeConstraints
# 0.46 MooseX::Types::Moose
# 0.08 MooseX::Types::Path::Class
# 0.35 MooseX::Types::Structured
# 0.35 Path::Class
# 0.001 Regexp::SQL::LIKE
# 1.120 Test::Deep
# 0.43 Test::Exception
# 1.001014 Test::More
# 0.020 Test::Routine
# 0.020 Test::Routine::Util
# 1.01 Tie::File
# 2.23 base
# 0.63 lib
# 0.28 namespace::autoclean
# 0.234 parent
# 1.09 strict
# 1.34 warnings
t/00-report-prereqs.t ... ok
t/archive/filesystem.t .. ok
t/gateway/gateway.t ..... ok
# Child (delete()) exited without calling finalize()
# Failed test 'delete()'
# at C:/Strawberry/perl/lib/Test/Builder.pm line 279.
garbage after JSON object, at character offset 503 (before "{"resource.dist_file...") at C:\Users\jlund\.cpanm\work\1453657718.7588\Metabase-1.003\blib\lib/Metabase/Index/FlatFile.pm line 101, <$fh> line 2.
# Child (Run Index tests on Metabase::Index::Filesystem) exited without calling finalize()
# Failed test 'Run Index tests on Metabase::Index::Filesystem'
# at C:/Strawberry/perl/lib/Test/Builder.pm line 279.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 255 just after 1.
t/index/flatfile.t ......
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/1 subtests
Class::MOP::load_class is deprecated at C:/Strawberry/perl/vendor/lib/Class/MOP.pm line 69.
Class::MOP::load_class("Metabase::Archive::Filesystem") called at t/lib/Test/Metabase/Util.pm line 68
Test::Metabase::Util::_build_test_archive(Test::Metabase::Util=HASH(0x34c868)) called at reader Test::Metabase::Util::test_archive (defined at t/lib/Test/Metabase/Util.pm line 58) line 8
Test::Metabase::Util::test_archive(Test::Metabase::Util=HASH(0x34c868)) called at t/lib/Test/Metabase/Util.pm line 106
Test::Metabase::Util::__ANON__(Test::Metabase::Util=HASH(0x34c868)) called at reader Test::Metabase::Util::test_librarian (defined at t/lib/Test/Metabase/Util.pm line 111) line 6
Test::Metabase::Util::test_librarian(Test::Metabase::Util=HASH(0x34c868)) called at t/librarian/report.t line 27
Class::MOP::load_class is deprecated at C:/Strawberry/perl/vendor/lib/Class/MOP.pm line 69.
Class::MOP::load_class("Test::Metabase::Report") called at lib/Metabase/Librarian.pm line 101
Metabase::Librarian::_thaw_fact(Metabase::Librarian=HASH(0x47b38c8), HASH(0x49ea6c0)) called at lib/Metabase/Librarian.pm line 89
Metabase::Librarian::extract(Metabase::Librarian=HASH(0x47b38c8), "ec45ca8a-6bf3-1014-b7d9-d35ee5c4c83d") called at t/librarian/report.t line 46
t/librarian/report.t .... ok
Class::MOP::load_class is deprecated at C:/Strawberry/perl/vendor/lib/Class/MOP.pm line 69.
Class::MOP::load_class("Metabase::Archive::Filesystem") called at t/lib/Test/Metabase/Util.pm line 68
Test::Metabase::Util::_build_test_archive(Test::Metabase::Util=HASH(0x4fc868)) called at reader Test::Metabase::Util::test_archive (defined at t/lib/Test/Metabase/Util.pm line 58) line 8
Test::Metabase::Util::test_archive(Test::Metabase::Util=HASH(0x4fc868)) called at t/lib/Test/Metabase/Util.pm line 106
Test::Metabase::Util::__ANON__(Test::Metabase::Util=HASH(0x4fc868)) called at reader Test::Metabase::Util::test_librarian (defined at t/lib/Test/Metabase/Util.pm line 111) line 6
Test::Metabase::Util::test_librarian(Test::Metabase::Util=HASH(0x4fc868)) called at t/librarian/simple.t line 26
Class::MOP::load_class is deprecated at C:/Strawberry/perl/vendor/lib/Class/MOP.pm line 69.
Class::MOP::load_class("Test::Metabase::StringFact") called at lib/Metabase/Librarian.pm line 101
Metabase::Librarian::_thaw_fact(Metabase::Librarian=HASH(0x457da18), HASH(0x48f9e28)) called at lib/Metabase/Librarian.pm line 89
Metabase::Librarian::extract(Metabase::Librarian=HASH(0x457da18), "ec6315ce-6bf3-1014-96c1-ef4de5c4c83d") called at t/librarian/simple.t line 42
t/librarian/simple.t .... ok
Test Summary Report
-------------------
t/index/flatfile.t (Wstat: 65280 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 255
Parse errors: No plan found in TAP output
Files=6, Tests=27, 4 wallclock secs ( 0.09 usr + 0.02 sys = 0.11 CPU)
Result: FAIL
Failed 1/6 test programs. 1/27 subtests failed.
dmake.exe: Error code 255, while making 'test_dynamic'
-> FAIL Installing Metabase failed.
I'm using;
Platform:
osname=MSWin32, osvers=6.3, archname=MSWin32-x64-multi-thread
uname='Win32 strawberry-perl 5.22.1.2 #1 Wed Jan 6 19:19:42 2016 x64'
config_args='undef'
hint=recommended, useposix=true, d_sigaction=undef
useithreads=define, usemultiplicity=define
use64bitint=define, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags =' -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_
Any help would be appreciated.
Jed