Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing Build Ubuntu 16.04 #2

Open
toddbruner opened this issue Dec 7, 2016 · 0 comments
Open

Failing Build Ubuntu 16.04 #2

toddbruner opened this issue Dec 7, 2016 · 0 comments

Comments

@toddbruner
Copy link

toddbruner commented Dec 7, 2016

Build log as follows on clean install of Ubuntu 16.04

cpanm (App::cpanminus) 1.7040 on perl 5.022001 built for x86_64-linux-gnu-thread-multi
Work directory is /home/scot/.cpanm/work/1481069607.118079
You have make /usr/bin/make
You have LWP 6.15
You have /bin/tar: tar (GNU tar) 1.28
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
Searching MooseX::Role::MongoDB () on cpanmetadb ...
--> Working on MooseX::Role::MongoDB
Fetching http://www.cpan.org/authors/id/D/DA/DAGOLDEN/MooseX-Role-MongoDB-0.009.tar.gz
-> OK
Unpacking MooseX-Role-MongoDB-0.009.tar.gz
Entering MooseX-Role-MongoDB-0.009
Checking configure dependencies from META.json
Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.04_01)
Configuring MooseX-Role-MongoDB-0.009
Running Makefile.PL
Warning: prerequisite MongoDB::MongoClient 0.702 not found. We have v1.6.0.
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for MooseX::Role::MongoDB
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have Parallel::Iterator 0 ... Yes (1.00)
Checking if you have strict 0 ... Yes (1.09)
Checking if you have warnings 0 ... Yes (1.34)
Checking if you have Type::Params 0 ... Yes (1.000005)
Checking if you have namespace::autoclean 0 ... Yes (0.28)
Checking if you have Moose 0 ... Yes (2.1604)
Checking if you have Test::FailWarnings 0 ... Yes (0.008)
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.04_01)
Checking if you have Types::Standard 0 ... Yes (1.000005)
Checking if you have MongoDB 0 ... Yes (v1.6.0)
Checking if you have File::Spec 0 ... Yes (3.56)
Checking if you have MooseX::Role::Logger 0.002 ... Yes (0.005)
Checking if you have Socket 1.96 ... Yes (2.018)
Checking if you have String::Flogger 0 ... Yes (1.101245)
Checking if you have Test::Requires 0 ... Yes (0.10)
Checking if you have Log::Any::Adapter 0 ... Yes (1.045)
Checking if you have MooseX::AttributeShortcuts 0 ... Yes (0.028)
Checking if you have MongoDB::MongoClient 0.702 ... Yes (v1.6.0)
Checking if you have Moose::Role 2 ... Yes (2.1604)
Checking if you have Test::More 0.96 ... Yes (1.302067)
Checking if you have Carp 0 ... Yes (1.36)
Building and testing MooseX-Role-MongoDB-0.009
cp lib/MooseX/Role/MongoDB.pm blib/lib/MooseX/Role/MongoDB.pm
Manifying 1 pod document
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
#
# Versions for all modules listed in MYMETA.json (including optional ones):
#
# === Configure Requires ===
#
#     Module              Want    Have
#     ------------------- ---- -------
#     ExtUtils::MakeMaker 6.17 7.04_01
#
# === Build Requires ===
#
#     Module              Want    Have
#     ------------------- ---- -------
#     ExtUtils::MakeMaker  any 7.04_01
#
# === Test Requires ===
#
#     Module                Want     Have
#     -------------------- ----- --------
#     ExtUtils::MakeMaker    any  7.04_01
#     File::Spec             any     3.56
#     Log::Any::Adapter      any    1.045
#     Moose                  any   2.1604
#     MooseX::Role::Logger 0.002    0.005
#     Parallel::Iterator     any     1.00
#     Test::FailWarnings     any    0.008
#     Test::More            0.96 1.302067
#     Test::Requires         any     0.10
#
# === Test Recommends ===
#
#     Module         Want     Have
#     ---------- -------- --------
#     CPAN::Meta 2.120900 2.150005
#
# === Runtime Requires ===
#
#     Module                      Want     Have
#     -------------------------- ----- --------
#     Carp                         any     1.36
#     MongoDB                      any   v1.6.0
#     MongoDB::MongoClient       0.702   v1.6.0
#     Moose::Role                    2   2.1604
#     MooseX::AttributeShortcuts   any    0.028
#     Socket                      1.96    2.018
#     String::Flogger              any 1.101245
#     Type::Params                 any 1.000005
#     Types::Standard              any 1.000005
#     namespace::autoclean         any     0.28
#     strict                       any     1.09
#     warnings                     any     1.34
#
t/00-report-prereqs.t .. ok
# MongoDB::MongoClient version v1.6.0

    #   Failed test 'Test::FailWarnings should catch no warnings'
    #   at /usr/local/lib/x86_64-linux-gnu/perl/5.22.1/MongoDB/Role/_DeprecationWarner.pm line 80.
    # Warning was '#
    # # *** DEPRECATION WARNING ***
    # #
    # # The 'insert' method will be removed in a future major release.
    # # Use 'insert_one' instead.
    # #    MongoDB::Collection::insert called at t/basic.t line 106
    # #    main::__ANON__ called at /usr/local/share/perl/5.22.1/Test/Builder.pm line 309
    # #    (eval) called at /usr/local/share/perl/5.22.1/Test/Builder.pm line 309
    # #    Test::Builder::subtest called at /usr/local/share/perl/5.22.1/Test/More.pm line 807
    # #    Test::More::subtest called at t/basic.t line 138'

    #   Failed test 'Test::FailWarnings should catch no warnings'
    #   at /usr/local/lib/x86_64-linux-gnu/perl/5.22.1/MongoDB/Role/_DeprecationWarner.pm line 80.
    # Warning was '#
    # # *** DEPRECATION WARNING ***
    # #
    # # The 'insert' method will be removed in a future major release.
    # # Use 'insert_one' instead.
    # #    MongoDB::Collection::insert called at t/basic.t line 111
    # #    main::__ANON__ called at /usr/local/share/perl/5.22.1/Test/Builder.pm line 309
    # #    Test::Builder::subtest called at /usr/local/share/perl/5.22.1/Test/More.pm line 807
    # #    Test::More::subtest called at t/basic.t line 138'

    #   Failed test 'Test::FailWarnings should catch no warnings'
    #   at /usr/local/lib/x86_64-linux-gnu/perl/5.22.1/MongoDB/Role/_DeprecationWarner.pm line 80.
    # Warning was '#
    # # *** DEPRECATION WARNING ***
    # #
    # # The 'insert' method will be removed in a future major release.
    # # Use 'insert_one' instead.
    # #    MongoDB::Collection::insert called at t/basic.t line 119
    # #    main::__ANON__ called at /usr/local/share/perl/5.22.1/Parallel/Iterator.pm line 423
    # #    (eval) called at /usr/local/share/perl/5.22.1/Parallel/Iterator.pm line 423
    # #    Parallel::Iterator::__ANON__ called at t/basic.t line 128
    # #    main::__ANON__ called at /usr/local/share/perl/5.22.1/Test/Builder.pm line 309
    # #    (eval) called at /usr/local/share/perl/5.22.1/Test/Builder.pm line 309
    # #    Test::Builder::subtest called at /usr/local/share/perl/5.22.1/Test/More.pm line 807
    # #    Test::More::subtest called at t/basic.t line 138'

    #   Failed test 'Test::FailWarnings should catch no warnings'
    #   at /usr/local/lib/x86_64-linux-gnu/perl/5.22.1/MongoDB/Role/_DeprecationWarner.pm line 80.
    # Warning was '#
    # # *** DEPRECATION WARNING ***
    # #
    # # The 'insert' method will be removed in a future major release.
    # # Use 'insert_one' instead.
    # #    MongoDB::Collection::insert called at t/basic.t line 119
    # #    main::__ANON__ called at /usr/local/share/perl/5.22.1/Parallel/Iterator.pm line 423
    # #    (eval) called at /usr/local/share/perl/5.22.1/Parallel/Iterator.pm line 423
    # #    Parallel::Iterator::__ANON__ called at t/basic.t line 128
    # #    main::__ANON__ called at /usr/local/share/perl/5.22.1/Test/Builder.pm line 309
    # #    (eval) called at /usr/local/share/perl/5.22.1/Test/Builder.pm line 309
    # #    Test::Builder::subtest called at /usr/local/share/perl/5.22.1/Test/More.pm line 807
    # #    Test::More::subtest called at t/basic.t line 138'

    #   Failed test 'Test::FailWarnings should catch no warnings'
    #   at /usr/local/lib/x86_64-linux-gnu/perl/5.22.1/MongoDB/Role/_DeprecationWarner.pm line 80.
    # Warning was '#
    # # *** DEPRECATION WARNING ***
    # #
    # # The 'insert' method will be removed in a future major release.
    # # Use 'insert_one' instead.
    # #    MongoDB::Collection::insert called at t/basic.t line 119
    # #    main::__ANON__ called at /usr/local/share/perl/5.22.1/Parallel/Iterator.pm line 423
    # #    (eval) called at /usr/local/share/perl/5.22.1/Parallel/Iterator.pm line 423
    # #    Parallel::Iterator::__ANON__ called at t/basic.t line 128
    # #    main::__ANON__ called at /usr/local/share/perl/5.22.1/Test/Builder.pm line 309
    # #    (eval) called at /usr/local/share/perl/5.22.1/Test/Builder.pm line 309
    # #    Test::Builder::subtest called at /usr/local/share/perl/5.22.1/Test/More.pm line 807
    # #    Test::More::subtest called at t/basic.t line 138'
    # Looks like you failed 2 tests of 10.

#   Failed test 'parallel insertion'
#   at t/basic.t line 138.
# Looks like you failed 1 test of 2.
t/basic.t ..............
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests

Test Summary Report
-------------------
t/basic.t            (Wstat: 256 Tests: 2 Failed: 1)
  Failed test:  2
  Non-zero exit status: 1
Files=2, Tests=3,  2 wallclock secs ( 0.02 usr  0.01 sys +  1.04 cusr  1.49 csys =  2.56 CPU)
Result: FAIL
Failed 1/2 test programs. 1/3 subtests failed.
Makefile:856: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 1
-> FAIL Installing MooseX::Role::MongoDB failed. See /home/scot/.cpanm/work/1481069607.118079/build.log for details. Retry with --force to force install it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant