[Reproducible-builds] Bug#832361: libmousex-getopt-perl: FTBFS: Failed 2/22 test programs. 2/356 subtests failed.

Chris Lamb lamby at debian.org
Sun Jul 24 16:17:57 UTC 2016


Source: libmousex-getopt-perl
Version: 0.36-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

libmousex-getopt-perl fails to build from source in unstable/amd64:

  [..]

  ok 46 - ... libs is [] as expected
  ok 47 - ... details is { os => mac, name => foo } as expected
  ok 48 - An object of class 'App' isa 'App'
  ok 49 - ... verbosity is turned off as expected
  ok 50 - ... length is 24 as expected
  ok 51 - ... file is file.dat as expected
  ok 52 - ... libs is [] as expected
  ok 53 - ... details is {} as expected
  ok 54 - An object of class 'App' isa 'App'
  ok 55 - cmd_alias, but not using it
  ok 56 - An object of class 'App' isa 'App'
  ok 57 - cmd_alias, using long one
  ok 58 - An object of class 'App' isa 'App'
  ok 59 - cmd_alias, using short one
  ok 60 - An object of class 'App' isa 'App'
  ok 61 - cmd_alias+cmd_flag, using flag
  ok 62 - An object of class 'App' isa 'App'
  ok 63 - cmd_alias+cmd_flag, using alias
  ok 64 - An object of class 'App' isa 'App'
  ok 65 - _foo + cmd_flag
  ok 66 - An object of class 'App' isa 'App'
  ok 67 - ARGV accessor
  ok 68 - @ARGV unmangled
  ok 69 - extra_argv accessor
  ok
  t/007_nogetopt_trait.t ............ 
  1..9
  ok 1 - use MouseX::Getopt;
  ok 2 - An object of class 'App' isa 'App'
  ok 3 - ... verbosity is off as expected
  ok 4 - ... length is 24 as expected
  ok 5 - ... data is file.dat as expected
  ok 6 - ... libs is [] as expected
  ok 7 - ... details is {} as expected
  ok 8 - ... private stuff is 713 as expected
  ok 9 - threw Regexp ((?^:Unknown option: private_stuff))
  ok
  t/008_configfromfile.t ............ 
  1..37
  ok 1 - threw Regexp ((?^:Mandatory parameter 'required_from_config' missing))
  ok 2 - An object of class 'App::DefaultConfigFile' isa 'App::DefaultConfigFile'
  ok 3 - ... required_from_config is from_config_1 as expected
  ok 4 - ... optional_from_config is from_config_2 as expected
  ok 5 - ... required_from_argv is 1 as expected
  ok 6 - ... config_from_override false as expected
  ok 7 - ... configfile is /notused/default as expected
  ok 8 - An object of class 'App::DefaultConfigFileCodeRef' isa 'App::DefaultConfigFileCodeRef'
  ok 9 - ... required_from_config is from_config_1 as expected
  ok 10 - ... optional_from_config is from_config_2 as expected
  ok 11 - ... required_from_argv is 1 as expected
  ok 12 - ... config_from_override false as expected
  ok 13 - ... configfile is /notused/default as expected
  ok 14 - An object of class 'App' isa 'App'
  ok 15 - ... required_from_config is from_config_1 as expected
  ok 16 - ... optional_from_config is from_config_2 as expected
  ok 17 - ... required_from_argv is 1 as expected
  ok 18 - An object of class 'App::DefaultConfigFile' isa 'App::DefaultConfigFile'
  ok 19 - ... required_from_config is from_config_1 as expected
  ok 20 - ... optional_from_config is from_config_2 as expected
  ok 21 - ... required_from_argv is 1 as expected
  ok 22 - ... config_from_override true as expected
  ok 23 - ... configfile is /notused as expected
  ok 24 - An object of class 'App::DefaultConfigFileCodeRef' isa 'App::DefaultConfigFileCodeRef'
  ok 25 - ... required_from_config is from_config_1 as expected
  ok 26 - ... optional_from_config is from_config_2 as expected
  ok 27 - ... required_from_argv is 1 as expected
  ok 28 - ... config_from_override true as expected
  ok 29 - ... configfile is /notused as expected
  ok 30 - threw Regexp ((?^:Mandatory parameter 'required_from_argv' missing))
  ok 31 - An object of class 'App' isa 'App'
  ok 32 - ... required_from_config is override as expected
  ok 33 - ... optional_from_config is from_config_2 as expected
  ok 34 - An object of class 'App' isa 'App'
  ok 35 - ... required_from_config is noconfig as expected
  ok 36 - ... optional_from_config is undef as expected
  ok 37 - Can create DerivedApp
  ok
  t/009_gld_and_explicit_options.t .. 
  1..5
  ok 1 - use MouseX::Getopt;
  ok 2 - ... this should work
  ok 3 - An object of class 'Testing::Foo' isa 'Testing::Foo'
  ok 4 - ... got the right values
  ok 5 - ... got the right values
  ok
  t/010_dashes.t .................... 
  1..5
  ok 1 - use MouseX::Getopt;
  ok 2 - Dash in option name
  ok 3 - threw Regexp ((?^:Unknown option: some_thingy))
  ok 4 - Underscore in option name
  ok 5 - threw Regexp ((?^:Unknown option: another-thingy))
  ok
  t/100_gld_default_bug.t ........... 
  1..5
  ok 1 - use MouseX::Getopt;
  ok 2 - An object of class 'Engine::Foo' isa 'Engine::Foo'
  ok 3 - ... got the right value (10), not the default (1)
  ok 4 - An object of class 'Engine::Foo' isa 'Engine::Foo'
  ok 5 - ... got the right value (1), without GLD needing to handle defaults
  ok
  t/101_argv_bug.t .................. 
  1..3
  ok 1 - An object of class 'App' isa 'App'
  ok 2 - ... verbosity is turned on as expected
  ok 3 - ... length is 50 as expected
  ok
  t/102_basic_basic.t ............... 
  1..69
  ok 1 - use MouseX::Getopt::Basic;
  ok 2 - An object of class 'MouseX::Getopt::Meta::Attribute' isa 'Mouse::Meta::Attribute'
  ok 3 - An object of class 'MouseX::Getopt::Meta::Attribute' isa 'MouseX::Getopt::Meta::Attribute'
  ok 4 - MouseX::Getopt::Meta::Attribute->can('cmd_flag')
  ok 5 - MouseX::Getopt::Meta::Attribute->can('cmd_aliases')
  ok 6 - An object of class 'MouseX::Getopt::Meta::Attribute' isa 'Mouse::Meta::Attribute'
  ok 7 - An object of class 'MouseX::Getopt::Meta::Attribute' isa 'MouseX::Getopt::Meta::Attribute'
  ok 8 - MouseX::Getopt::Meta::Attribute->can('cmd_flag')
  ok 9 - MouseX::Getopt::Meta::Attribute->can('cmd_aliases')
  ok 10 - An object of class 'MouseX::Getopt::Meta::Attribute' isa 'Mouse::Meta::Attribute'
  ok 11 - An object of class 'MouseX::Getopt::Meta::Attribute' isa 'MouseX::Getopt::Meta::Attribute'
  ok 12 - MouseX::Getopt::Meta::Attribute->can('cmd_flag')
  ok 13 - MouseX::Getopt::Meta::Attribute->can('cmd_aliases')
  ok 14 - An object of class 'MouseX::Getopt::Meta::Attribute' isa 'Mouse::Meta::Attribute'
  ok 15 - An object of class 'MouseX::Getopt::Meta::Attribute' isa 'MouseX::Getopt::Meta::Attribute'
  ok 16 - MouseX::Getopt::Meta::Attribute->can('cmd_flag')
  ok 17 - MouseX::Getopt::Meta::Attribute->can('cmd_aliases')
  ok 18 - An object of class 'App' isa 'App'
  ok 19 - ... verbosity is off as expected
  ok 20 - ... length is 24 as expected
  ok 21 - ... data is file.dat as expected
  ok 22 - ... libs is [] as expected
  ok 23 - ... details is {} as expected
  ok 24 - An object of class 'App' isa 'App'
  ok 25 - ... verbosity is turned on as expected
  ok 26 - ... length is 50 as expected
  ok 27 - ... data is file.dat as expected
  ok 28 - ... libs is [] as expected
  ok 29 - ... details is {} as expected
  ok 30 - An object of class 'App' isa 'App'
  ok 31 - ... verbosity is turned on as expected
  ok 32 - ... length is 24 as expected
  ok 33 - ... data is foo.txt as expected
  ok 34 - ... libs is [] as expected
  ok 35 - ... details is {} as expected
  ok 36 - An object of class 'App' isa 'App'
  ok 37 - ... verbosity is turned on as expected
  ok 38 - ... length is 24 as expected
  ok 39 - ... data is foo.txt as expected
  ok 40 - ... libs is [libs/, includes/lib] as expected
  ok 41 - ... details is {} as expected
  ok 42 - An object of class 'App' isa 'App'
  ok 43 - ... verbosity is turned on as expected
  ok 44 - ... length is 24 as expected
  ok 45 - ... data is foo.txt as expected
  ok 46 - ... libs is [] as expected
  ok 47 - ... details is { os => mac, name => foo } as expected
  ok 48 - An object of class 'App' isa 'App'
  ok 49 - ... verbosity is turned off as expected
  ok 50 - ... length is 24 as expected
  ok 51 - ... file is file.dat as expected
  ok 52 - ... libs is [] as expected
  ok 53 - ... details is {} as expected
  ok 54 - An object of class 'App' isa 'App'
  ok 55 - cmd_alias, but not using it
  ok 56 - An object of class 'App' isa 'App'
  ok 57 - cmd_alias, using long one
  ok 58 - An object of class 'App' isa 'App'
  ok 59 - cmd_alias, using short one
  ok 60 - An object of class 'App' isa 'App'
  ok 61 - cmd_alias+cmd_flag, using flag
  ok 62 - An object of class 'App' isa 'App'
  ok 63 - cmd_alias+cmd_flag, using alias
  ok 64 - An object of class 'App' isa 'App'
  ok 65 - _foo + cmd_flag
  ok 66 - An object of class 'App' isa 'App'
  ok 67 - ARGV accessor
  ok 68 - @ARGV unmangled
  ok 69 - extra_argv accessor
  ok
  t/103_uc_bug.t .................... 
  1..3
  ok 1 - An object of class 'App' isa 'App'
  ok 2 - ... TrackingNumber is as expected
  ok 3 - ... otherparam is as expected
  ok
  
  #   Failed test at t/104_override_usage.t line 59.
  #     Structures begin differing at:
  #          $got->[1] = 'usage: 104_override_usage.t [-?] [long options...]
  #     	-? --usage --help  Prints this usage information.
  #     	--foo INT          A foo
  #     '
  #     $expected->[1] = 'usage: 104_override_usage.t [-?] [long options...]
  #     	-? --usage --help    Prints this usage information.
  #     	--foo INT            A foo
  #     '
  # Looks like you failed 1 test of 8.
  t/104_override_usage.t ............ 
  ok 1
  ok 2
  ok 3
  ok 4 - threw Regexp ((?^:A foo))
  ok 5
  ok 6 - threw Regexp ((?^:A foo))
  ok 7
  not ok 8
  1..8
  Dubious, test returned 1 (wstat 256, 0x100)
  Failed 1/8 subtests 
  t/105_uc_bug_more.t ............... 
  ok 1 - debug was set for argv -d on MouseX::Getopt
  ok 2 - debug was set for ARGV on MouseX::Getopt
  ok 3 - debug was set for argv --debug on MouseX::Getopt
  ok 4 - debug was set for argv --debug on MouseX::Getopt
  ok 5 - debug was set for argv -d on MouseX::Getopt::GLD
  ok 6 - debug was set for ARGV on MouseX::Getopt::GLD
  ok 7 - debug was set for argv --debug on MouseX::Getopt::GLD
  ok 8 - debug was set for argv --debug on MouseX::Getopt::GLD
  ok 9 - debug was set for argv -d on MouseX::Getopt::Basic
  ok 10 - debug was set for ARGV on MouseX::Getopt::Basic
  ok 11 - debug was set for argv --debug on MouseX::Getopt::Basic
  ok 12 - debug was set for argv --debug on MouseX::Getopt::Basic
  1..12
  ok
  t/106_no_ignore_case.t ............ 
  ok 1 - BigD was not set for argv -d on MouseX::Getopt
  ok 2 - SmallD was set for argv -d on MouseX::Getopt
  ok 3 - SmallD was set for argv -d on MouseX::Getopt
  ok 4 - SmallD was set for ARGV on MouseX::Getopt
  ok 5 - BigD was set for argv -d on MouseX::Getopt
  ok 6 - BigD was set for argv -D -d on MouseX::Getopt
  ok 7 - SmallD was set for argv -D -d on MouseX::Getopt
  ok 8 - BigD was not set for argv -d on MouseX::Getopt::GLD
  ok 9 - SmallD was set for argv -d on MouseX::Getopt::GLD
  ok 10 - SmallD was set for argv -d on MouseX::Getopt::GLD
  ok 11 - SmallD was set for ARGV on MouseX::Getopt::GLD
  ok 12 - BigD was set for argv -d on MouseX::Getopt::GLD
  ok 13 - BigD was set for argv -D -d on MouseX::Getopt::GLD
  ok 14 - SmallD was set for argv -D -d on MouseX::Getopt::GLD
  ok 15 - BigD was not set for argv -d on MouseX::Getopt::Basic
  ok 16 - SmallD was set for argv -d on MouseX::Getopt::Basic
  ok 17 - SmallD was set for argv -d on MouseX::Getopt::Basic
  ok 18 - SmallD was set for ARGV on MouseX::Getopt::Basic
  ok 19 - BigD was set for argv -d on MouseX::Getopt::Basic
  ok 20 - BigD was set for argv -D -d on MouseX::Getopt::Basic
  ok 21 - SmallD was set for argv -D -d on MouseX::Getopt::Basic
  1..21
  ok
  t/107_no_auto_help.t .............. skipped: This test needs MouseX::SimpleConfig 0.07
  t/108_usage_attr.t ................ 
  1..3
  ok 1 - basic class has no usage attribute
  ok 2 - class has usage attribute
  ok 3 - An object of class 'Getopt::Long::Descriptive::Usage' isa 'Getopt::Long::Descriptive::Usage'
  ok
  t/109_help_flag.t ................. 
  1..6
  ok 1 - Help request detected; usage information properly printed
  ok 2 - Help request detected; usage information properly printed
  ok 3 - Help request detected; usage information properly printed
  ok 4 - Help request detected; usage information properly printed
  ok 5 - class has usage attribute
  ok 6 - An object of class 'Getopt::Long::Descriptive::Usage' isa 'Getopt::Long::Descriptive::Usage'
  ok
  
  #   Failed test 'Usage text has nicely sorted options'
  #   at t/110_sort_usage_by_attr_order.t line 48.
  #          got: 'usage: 110_sort_usage_by_attr_order.t [-?] [long options...]
  # 	-? --usage --help  Prints this usage information.
  # 	--foo STR          Documentation for "foo"
  # 	--bar STR          Documentation for "bar"
  # 	--baz STR          Documentation for "baz"
  # '
  #     expected: 'usage: 110_sort_usage_by_attr_order.t [-?] [long options...]
  # 	-? --usage --help    Prints this usage information.
  # 	--foo STR            Documentation for "foo"
  # 	--bar STR            Documentation for "bar"
  # 	--baz STR            Documentation for "baz"
  # '
  # Looks like you failed 1 test of 1.
  t/110_sort_usage_by_attr_order.t .. 
  1..1
  not ok 1 - Usage text has nicely sorted options
  Dubious, test returned 1 (wstat 256, 0x100)
  Failed 1/1 subtests 
  
  Test Summary Report
  -------------------
  t/104_override_usage.t          (Wstat: 256 Tests: 8 Failed: 1)
    Failed test:  8
    Non-zero exit status: 1
  t/110_sort_usage_by_attr_order.t (Wstat: 256 Tests: 1 Failed: 1)
    Failed test:  1
    Non-zero exit status: 1
  Files=22, Tests=356,  1 wallclock secs ( 0.08 usr  0.03 sys +  1.35 cusr  0.08 csys =  1.54 CPU)
  Result: FAIL
  Failed 2/22 test programs. 2/356 subtests failed.
  dh_auto_test: perl Build test --verbose 1 returned exit code 1
  debian/rules:4: recipe for target 'build' failed
  make: *** [build] Error 2

  [..]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libmousex-getopt-perl.0.36-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 5492 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160724/e9e74535/attachment.obj>


More information about the Reproducible-builds mailing list