Bug#805144: libmongodbx-class-perl: FTBFS: Attribute (bson_codec) is required at constructor

Niko Tyni ntyni at debian.org
Sun Nov 15 09:26:27 UTC 2015


Package: libmongodbx-class-perl
Version: 1.030002-1 
Severity: serious
Tags: sid stretch

This package fails to build on current sid. Looking at
 https://reproducible.debian.net/history/libmongodbx-class-perl.html
this regressed between 2015-10-21 and 2015-11-02.


  PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
  # Testing MongoDBx::Class 1.030002, Perl 5.020002, /usr/bin/perl
  t/00-load.t ................ 
  1..1
  ok 1 - use MongoDBx::Class;
  ok
  Attribute (bson_codec) is required at constructor MongoDBx::Class::Database::new (defined at /build/libmongodbx-class-perl-1.030002/blib/lib/MongoDBx/Class/Database.pm line 110) line 22
      MongoDBx::Class::Database::new('MongoDBx::Class::Database', '_client', 'MongoDBx::Class::Connection=HASH(0x54f41c8)', 'name', 'mongodbx_class_test') called at /build/libmongodbx-class-perl-1.030002/blib/lib/MongoDBx/Class/Connection.pm line 102
      MongoDBx::Class::Connection::__ANON__('MongoDBx::Class::Connection=HASH(0x54f41c8)', 'mongodbx_class_test') called at /usr/lib/x86_64-linux-gnu/perl5/5.20/Moose/Meta/Method/Overridden.pm line 38
      MongoDBx::Class::Connection::get_database('MongoDBx::Class::Connection=HASH(0x54f41c8)', 'mongodbx_class_test') called at t/01-simple.t line 31
  # Looks like you planned 32 tests but ran 2.
  # Looks like your test exited with 255 just after 2.
  t/01-simple.t .............. 
  1..32
  ok 1 - successfully loaded schema
  ok 2 - Using safe operations by default
  Dubious, test returned 255 (wstat 65280, 0xff00)
  [...]
  Test Summary Report
  -------------------
  t/01-simple.t            (Wstat: 65280 Tests: 2 Failed: 0)
    Non-zero exit status: 255
    Parse errors: Bad plan.  You planned 32 tests but ran 2.

-- 
Niko Tyni   ntyni at debian.org



More information about the pkg-perl-maintainers mailing list