{"action":"created","issue":{"url":"https://api.github.com/repos/theory/sqitch/issues/230","labels_url":"https://api.github.com/repos/theory/sqitch/issues/230/labels{/name}","comments_url":"https://api.github.com/repos/theory/sqitch/issues/230/comments","events_url":"https://api.github.com/repos/theory/sqitch/issues/230/events","html_url":"https://github.com/theory/sqitch/issues/230","id":71791857,"number":230,"title":"LOCALE test failure when installing from cpanm","user":{"login":"shantanubhadoria","id":545290,"avatar_url":"https://avatars.githubusercontent.com/u/545290?v=3","gravatar_id":"","url":"https://api.github.com/users/shantanubhadoria","html_url":"https://github.com/shantanubhadoria","followers_url":"https://api.github.com/users/shantanubhadoria/followers","following_url":"https://api.github.com/users/shantanubhadoria/following{/other_user}","gists_url":"https://api.github.com/users/shantanubhadoria/gists{/gist_id}","starred_url":"https://api.github.com/users/shantanubhadoria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shantanubhadoria/subscriptions","organizations_url":"https://api.github.com/users/shantanubhadoria/orgs","repos_url":"https://api.github.com/users/shantanubhadoria/repos","events_url":"https://api.github.com/users/shantanubhadoria/events{/privacy}","received_events_url":"https://api.github.com/users/shantanubhadoria/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-04-29T06:30:21Z","updated_at":"2015-05-20T17:23:30Z","closed_at":"2015-05-20T17:23:30Z","body":"Attaching my build LOG:\r\n\r\n    cpanm (App::cpanminus) 1.7001 on perl 5.018002 built for i686-linux-gnu-thread-multi-64int\r\n    Work directory is /root/.cpanm/work/1430288101.16106\r\n    You have make /usr/bin/make\r\n    You have LWP 6.05\r\n    You have /bin/tar: tar (GNU tar) 1.27.1\r\n    Copyright (C) 2013 Free Software Foundation, Inc.\r\n    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.\r\n    This is free software: you are free to change and redistribute it.\r\n    There is NO WARRANTY, to the extent permitted by law.\r\n    \r\n    Written by John Gilmore and Jay Fenlason.\r\n    --> Working on DWHEELER/App-Sqitch-0.9991.tar.gz\r\n    Fetching http://www.cpan.org/authors/id/D/DW/DWHEELER/App-Sqitch-0.9991.tar.gz\r\n    -> OK\r\n    Unpacking App-Sqitch-0.9991.tar.gz\r\n    Entering App-Sqitch-0.9991\r\n    Checking configure dependencies from META.json\r\n    Checking if you have Module::Build 0.35 ... Yes (0.4003)\r\n    Checking if you have Module::Build 0.36 ... Yes (0.4003)\r\n    Configuring App-Sqitch-0.9991\r\n    Running Build.PL\r\n    Checking prerequisites...\r\n      recommends:\r\n        *  Type::Tiny::XS is not installed\r\n    \r\n    ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions\r\n    of the modules indicated above before proceeding with this installation\r\n    \r\n    Created MYMETA.yml and MYMETA.json\r\n    Creating new 'Build' script for 'App-Sqitch' version '0.9991'\r\n    -> OK\r\n    Checking dependencies from MYMETA.json ...\r\n    Checking if you have User::pwent 0 ... Yes (1.00)\r\n    Checking if you have Test::Exception 0 ... Yes (0.32)\r\n    Checking if you have warnings 0 ... Yes (1.18)\r\n    Checking if you have Moo::Role 0 ... Yes (1.004002)\r\n    Checking if you have overload 0 ... Yes (1.22)\r\n    Checking if you have IPC::System::Simple 1.17 ... Yes (1.25)\r\n    Checking if you have Carp 0 ... Yes (1.29)\r\n    Checking if you have Scalar::Util 0 ... Yes (1.27)\r\n    Checking if you have Locale::TextDomain 1.20 ... Yes (1.24)\r\n    Checking if you have URI::db 0.15 ... Yes (0.15)\r\n    Checking if you have IPC::Run3 0 ... Yes (0.048)\r\n    Checking if you have parent 0 ... Yes (0.225)\r\n    Checking if you have File::Temp 0 ... Yes (0.23)\r\n    Checking if you have Type::Utils 0 ... Yes (1.000005)\r\n    Checking if you have Encode::Locale 0 ... Yes (1.03)\r\n    Checking if you have Encode 0 ... Yes (2.49)\r\n    Checking if you have List::Util 0 ... Yes (1.27)\r\n    Checking if you have Moo::sification 0 ... Yes (undef)\r\n    Checking if you have lib 0 ... Yes (0.63)\r\n    Checking if you have if 0 ... Yes (0.0602)\r\n    Checking if you have Clone 0 ... Yes (0.36)\r\n    Checking if you have FindBin 0 ... Yes (1.51)\r\n    Checking if you have Digest::SHA 0 ... Yes (5.84_01)\r\n    Checking if you have namespace::autoclean 0.16 ... Yes (0.24)\r\n    Checking if you have Throwable 0.200009 ... Yes (0.200009)\r\n    Checking if you have Getopt::Long 0 ... Yes (2.39)\r\n    Checking if you have Sub::Exporter::Util 0 ... Yes (0.986)\r\n    Checking if you have Test::Deep 0 ... Yes (0.112)\r\n    Checking if you have List::MoreUtils 0 ... Yes (0.33)\r\n    Checking if you have File::Basename 0 ... Yes (2.84)\r\n    Checking if you have String::ShellQuote 0 ... Yes (1.03)\r\n    Checking if you have Template::Tiny 0.11 ... Yes (1.12)\r\n    Checking if you have IO::Pager 0 ... Yes (0.34)\r\n    Checking if you have Test::File::Contents 0.20 ... Yes (0.21)\r\n    Checking if you have String::Formatter 0 ... Yes (0.102084)\r\n    Checking if you have Test::More 0.94 ... Yes (1.001014)\r\n    Checking if you have strict 0 ... Yes (1.07)\r\n    Checking if you have utf8 0 ... Yes (1.10)\r\n    Checking if you have Test::Dir 0 ... Yes (1.014)\r\n    Checking if you have PerlIO::utf8_strict 0 ... Yes (0.005)\r\n    Checking if you have Type::Library 0.040 ... Yes (1.000005)\r\n    Checking if you have File::Spec::Functions 0 ... Yes (3.40)\r\n    Checking if you have Moo 1.002000 ... Yes (1.004002)\r\n    Checking if you have Test::File 0 ... Yes (1.41)\r\n    Checking if you have Pod::Usage 0 ... Yes (1.61)\r\n    Checking if you have Hash::Merge 0 ... Yes (0.200)\r\n    Checking if you have Capture::Tiny 0.12 ... Yes (0.24)\r\n    Checking if you have Path::Class 0.33 ... Yes (0.33)\r\n    Checking if you have Sys::Hostname 0 ... Yes (1.17)\r\n    Checking if you have Types::Standard 0 ... Yes (1.000005)\r\n    Checking if you have Test::MockModule 0.05 ... Yes (0.09)\r\n    Checking if you have File::Copy 0 ... Yes (2.26)\r\n    Checking if you have constant 0 ... Yes (1.27)\r\n    Checking if you have Time::HiRes 0 ... Yes (1.9725)\r\n    Checking if you have File::HomeDir 0 ... Yes (1.00)\r\n    Checking if you have Locale::Messages 0 ... Yes (1.24)\r\n    Checking if you have POSIX 0 ... Yes (1.32)\r\n    Checking if you have DBI 0 ... Yes (1.630)\r\n    Checking if you have Term::ANSIColor 2.02 ... Yes (4.02)\r\n    Checking if you have File::Path 0 ... Yes (2.09)\r\n    Checking if you have Try::Tiny 0 ... Yes (0.19)\r\n    Checking if you have Test::NoWarnings 0.083 ... Yes (1.04)\r\n    Checking if you have Devel::StackTrace 1.30 ... Yes (1.30)\r\n    Checking if you have StackTrace::Auto 0 ... Yes (0.200009)\r\n    Checking if you have File::Spec 0 ... Yes (3.40)\r\n    Checking if you have Sub::Exporter 0 ... Yes (0.986)\r\n    Checking if you have DateTime 0 ... Yes (1.06)\r\n    Checking if you have Pod::Find 0 ... Yes (1.60)\r\n    Checking if you have URI 0 ... Yes (1.60)\r\n    Checking if you have Config::GitLike 1.11 ... Yes (1.16)\r\n    Checking if you have Module::Build 0.35 ... Yes (0.4003)\r\n    Checking if you have Time::Local 0 ... Yes (1.2300)\r\n    Building and testing App-Sqitch-0.9991\r\n    Building App-Sqitch\r\n    t/add.t ............. ok\r\n    t/base.t ............ ok\r\n    t/blank.t ........... ok\r\n    t/bundle.t .......... ok\r\n    t/change.t .......... ok\r\n    t/changelist.t ...... ok\r\n    t/checkout.t ........ ok\r\n    t/command.t ......... ok\r\n    t/config.t .......... ok\r\n    t/configuration.t ... ok\r\n    Invalid locale name or id: C.UTF_8\r\n    \r\n    #   Failed test 'no warnings'\r\n    #   at /usr/local/share/perl/5.18.2/Test/NoWarnings.pm line 45.\r\n    # There were 1 warning(s)\r\n    # \tPrevious test 3 'as_string_formats should be correct'\r\n    # \tUse of uninitialized value $language in lc at /usr/share/perl5/DateTime/Locale.pm line 246.\r\n    #  at /usr/share/perl5/DateTime/Locale.pm line 246.\r\n    # \tDateTime::Locale::_guess_id('DateTime::Locale', 'C.UTF_8') called at /usr/share/perl5/DateTime/Locale.pm line 209\r\n    # \tDateTime::Locale::load(undef, 'C.UTF-8') called at /usr/lib/perl5/DateTime.pm line 291\r\n    # \tDateTime::_set_locale('App::Sqitch::DateTime=HASH(0x9bf514c)', 'C.UTF-8') called at /usr/lib/perl5/DateTime.pm line 230\r\n    # \tDateTime::_new('App::Sqitch::DateTime', 'year', 2015, 'second', 13, 'day', 29, 'time_zone', 'DateTime::TimeZone::Asia::Singapore=HASH(0x9bd89cc)', ...) called at /usr/lib/perl5/DateTime.pm line 206\r\n    # \tDateTime::new(undef, 'year', 2015, 'time_zone', 'DateTime::TimeZone::Asia::Singapore=HASH(0x9bd89cc)', 'day', 29, 'minute', 15, ...) called at /usr/lib/perl5/DateTime.pm line 317\r\n    # \tDateTime::_new_from_self('App::Sqitch::DateTime=HASH(0x9c00d28)', 'locale', 'C.UTF-8') called at /usr/lib/perl5/DateTime.pm line 1923\r\n    # \tDateTime::set(undef, 'locale', 'C.UTF-8') called at t/datetime.t line 55\r\n    # \r\n    # Looks like you planned 33 tests but ran 4.\r\n    # Looks like you failed 1 test of 4 run.\r\n    # Looks like your test exited with 255 just after 4.\r\n    t/datetime.t ........ \r\n    Dubious, test returned 255 (wstat 65280, 0xff00)\r\n    Failed 30/33 subtests \r\n    t/depend.t .......... ok\r\n    t/deploy.t .......... ok\r\n    t/engine.t .......... ok\r\n    t/engine_cmd.t ...... ok\r\n    t/firebird.t ........ ok\r\n    t/help.t ............ ok\r\n    t/init.t ............ ok\r\n    Invalid locale name or id: C.UTF_8\r\n    \r\n    #   Failed test 'no warnings'\r\n    #   at /usr/local/share/perl/5.18.2/Test/NoWarnings.pm line 45.\r\n    # There were 1 warning(s)\r\n    # \tPrevious test 5 'Default date format should be \"iso\"'\r\n    # \tUse of uninitialized value $language in lc at /usr/share/perl5/DateTime/Locale.pm line 246.\r\n    #  at /usr/share/perl5/DateTime/Locale.pm line 246.\r\n    # \tDateTime::Locale::_guess_id('DateTime::Locale', 'C.UTF_8') called at /usr/share/perl5/DateTime/Locale.pm line 209\r\n    # \tDateTime::Locale::load(undef, 'C.UTF-8') called at /usr/lib/perl5/DateTime.pm line 291\r\n    # \tDateTime::_set_locale('App::Sqitch::DateTime=HASH(0x9f1e1fc)', 'C.UTF-8') called at /usr/lib/perl5/DateTime.pm line 230\r\n    # \tDateTime::_new('App::Sqitch::DateTime', 'minute', 15, 'month', 4, 'year', 2015, 'day', 29, ...) called at /usr/lib/perl5/DateTime.pm line 206\r\n    # \tDateTime::new(undef, 'hour', 14, 'nanosecond', 0, 'second', 17, 'locale', 'DateTime::Locale::en_US=HASH(0x9dbd954)', ...) called at /usr/lib/perl5/DateTime.pm line 317\r\n    # \tDateTime::_new_from_self('App::Sqitch::DateTime=HASH(0x9e7bc5c)', 'locale', 'C.UTF-8') called at /usr/lib/perl5/DateTime.pm line 1923\r\n    # \tDateTime::set(undef, 'locale', 'C.UTF-8') called at t/item_formatter.t line 71\r\n    # \r\n    # Looks like you planned 158 tests but ran 6.\r\n    # Looks like you failed 1 test of 6 run.\r\n    # Looks like your test exited with 255 just after 6.\r\n    t/item_formatter.t .. \r\n    Dubious, test returned 255 (wstat 65280, 0xff00)\r\n    Failed 153/158 subtests \r\n    t/linelist.t ........ ok\r\n    Invalid locale name or id: C.UTF_8\r\n    \r\n    #   Failed test 'no warnings'\r\n    #   at /usr/local/share/perl/5.18.2/Test/NoWarnings.pm line 45.\r\n    # There were 1 warning(s)\r\n    # \tPrevious test 44 'Instantiate with format \"full\" and date format \"long\"'\r\n    # \tUse of uninitialized value $language in lc at /usr/share/perl5/DateTime/Locale.pm line 246.\r\n    #  at /usr/share/perl5/DateTime/Locale.pm line 246.\r\n    # \tDateTime::Locale::_guess_id('DateTime::Locale', 'C.UTF_8') called at /usr/share/perl5/DateTime/Locale.pm line 209\r\n    # \tDateTime::Locale::load(undef, 'C.UTF-8') called at /usr/lib/perl5/DateTime.pm line 291\r\n    # \tDateTime::_set_locale('App::Sqitch::DateTime=HASH(0x97000cc)', 'C.UTF-8') called at /usr/lib/perl5/DateTime.pm line 230\r\n    # \tDateTime::_new('App::Sqitch::DateTime', 'locale', 'C.UTF-8', 'time_zone', 'DateTime::TimeZone::Asia::Singapore=HASH(0x9677204)', 'year', 2015, 'second', 18, ...) called at /usr/lib/perl5/DateTime.pm line 206\r\n    # \tDateTime::new(undef, 'minute', 15, 'nanosecond', 0, 'day', 29, 'month', 4, ...) called at /usr/lib/perl5/DateTime.pm line 317\r\n    # \tDateTime::_new_from_self('App::Sqitch::DateTime=HASH(0x97000e0)', 'locale', 'C.UTF-8') called at /usr/lib/perl5/DateTime.pm line 1923\r\n    # \tDateTime::set(undef, 'locale', 'C.UTF-8') called at /root/.cpanm/work/1430288101.16106/App-Sqitch-0.9991/blib/lib/App/Sqitch/DateTime.pm line 63\r\n    # \tApp::Sqitch::DateTime::as_string('App::Sqitch::DateTime=HASH(0x963e2d0)', 'format', 'long') called at t/log.t line 296\r\n    # \r\n    # Looks like you planned 248 tests but ran 45.\r\n    # Looks like you failed 1 test of 45 run.\r\n    # Looks like your test exited with 255 just after 45.\r\n    t/log.t ............. \r\n    Dubious, test returned 255 (wstat 65280, 0xff00)\r\n    Failed 204/248 subtests \r\n    t/mysql.t ........... ok\r\n    t/options.t ......... ok\r\n    t/oracle.t .......... ok\r\n    t/pg.t .............. ok\r\n    t/plan.t ............ ok\r\n    Invalid locale name or id: C.UTF_8\r\n    \r\n    #   Failed test 'no warnings'\r\n    #   at /usr/local/share/perl/5.18.2/Test/NoWarnings.pm line 45.\r\n    # There were 1 warning(s)\r\n    # \tPrevious test 41 'Instantiate with format \"full\" and date format \"long\"'\r\n    # \tUse of uninitialized value $language in lc at /usr/share/perl5/DateTime/Locale.pm line 246.\r\n    #  at /usr/share/perl5/DateTime/Locale.pm line 246.\r\n    # \tDateTime::Locale::_guess_id('DateTime::Locale', 'C.UTF_8') called at /usr/share/perl5/DateTime/Locale.pm line 209\r\n    # \tDateTime::Locale::load(undef, 'C.UTF-8') called at /usr/lib/perl5/DateTime.pm line 291\r\n    # \tDateTime::_set_locale('App::Sqitch::DateTime=HASH(0xa49f2ec)', 'C.UTF-8') called at /usr/lib/perl5/DateTime.pm line 230\r\n    # \tDateTime::_new('App::Sqitch::DateTime', 'time_zone', 'DateTime::TimeZone::Asia::Singapore=HASH(0xa41b7b4)', 'day', 28, 'minute', 15, 'nanosecond', 0, ...) called at /usr/lib/perl5/DateTime.pm line 206\r\n    # \tDateTime::new(undef, 'month', 4, 'year', 2015, 'nanosecond', 0, 'hour', 14, ...) called at /usr/lib/perl5/DateTime.pm line 317\r\n    # \tDateTime::_new_from_self('App::Sqitch::DateTime=HASH(0xa4a0488)', 'locale', 'C.UTF-8') called at /usr/lib/perl5/DateTime.pm line 1923\r\n    # \tDateTime::set(undef, 'locale', 'C.UTF-8') called at /root/.cpanm/work/1430288101.16106/App-Sqitch-0.9991/blib/lib/App/Sqitch/DateTime.pm line 63\r\n    # \tApp::Sqitch::DateTime::as_string('App::Sqitch::DateTime=HASH(0xa3de0e4)', 'format', 'long') called at t/plan_command.t line 272\r\n    # \r\n    # Looks like you planned 215 tests but ran 42.\r\n    # Looks like you failed 1 test of 42 run.\r\n    # Looks like your test exited with 255 just after 42.\r\n    t/plan_command.t .... \r\n    Dubious, test returned 255 (wstat 65280, 0xff00)\r\n    Failed 174/215 subtests \r\n    t/pragma.t .......... ok\r\n    t/rebase.t .......... ok\r\n    t/revert.t .......... ok\r\n    t/rework.t .......... ok\r\n    t/show.t ............ ok\r\n    t/sqlite.t .......... ok\r\n    t/status.t .......... ok\r\n    t/tag.t ............. ok\r\n    t/tag_cmd.t ......... ok\r\n    t/target.t .......... ok\r\n    t/target_cmd.t ...... ok\r\n    t/upgrade.t ......... ok\r\n    t/verify.t .......... ok\r\n    t/vertica.t ......... ok\r\n    t/x.t ............... ok\r\n    \r\n    Test Summary Report\r\n    -------------------\r\n    t/datetime.t      (Wstat: 65280 Tests: 4 Failed: 1)\r\n      Failed test:  4\r\n      Non-zero exit status: 255\r\n      Parse errors: Bad plan.  You planned 33 tests but ran 4.\r\n    t/item_formatter.t (Wstat: 65280 Tests: 6 Failed: 1)\r\n      Failed test:  6\r\n      Non-zero exit status: 255\r\n      Parse errors: Bad plan.  You planned 158 tests but ran 6.\r\n    t/log.t           (Wstat: 65280 Tests: 45 Failed: 1)\r\n      Failed test:  45\r\n      Non-zero exit status: 255\r\n      Parse errors: Bad plan.  You planned 248 tests but ran 45.\r\n    t/plan_command.t  (Wstat: 65280 Tests: 42 Failed: 1)\r\n      Failed test:  42\r\n      Non-zero exit status: 255\r\n      Parse errors: Bad plan.  You planned 215 tests but ran 42.\r\n    Files=42, Tests=5700, 23 wallclock secs ( 0.77 usr  0.07 sys + 19.62 cusr  1.75 csys = 22.21 CPU)\r\n    Result: FAIL\r\n    Failed 4/42 test programs. 4/5700 subtests failed.\r\n    -> FAIL Installing DWHEELER/App-Sqitch-0.9991.tar.gz failed. See /root/.cpanm/work/1430288101.16106/build.log for details. Retry with --force to force install it.\r\n\r\n$ uname -a\r\nLinux corepos-deploy 3.16.0-34-generic #47~14.04.1-Ubuntu SMP Fri Apr 10 17:49:51 UTC 2015 i686 i686 i686 GNU/Linux"},"comment":{"url":"https://api.github.com/repos/theory/sqitch/issues/comments/103967221","html_url":"https://github.com/theory/sqitch/issues/230#issuecomment-103967221","issue_url":"https://api.github.com/repos/theory/sqitch/issues/230","id":103967221,"user":{"login":"theory","id":46604,"avatar_url":"https://avatars.githubusercontent.com/u/46604?v=3","gravatar_id":"","url":"https://api.github.com/users/theory","html_url":"https://github.com/theory","followers_url":"https://api.github.com/users/theory/followers","following_url":"https://api.github.com/users/theory/following{/other_user}","gists_url":"https://api.github.com/users/theory/gists{/gist_id}","starred_url":"https://api.github.com/users/theory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theory/subscriptions","organizations_url":"https://api.github.com/users/theory/orgs","repos_url":"https://api.github.com/users/theory/repos","events_url":"https://api.github.com/users/theory/events{/privacy}","received_events_url":"https://api.github.com/users/theory/received_events","type":"User","site_admin":false},"created_at":"2015-05-20T17:23:30Z","updated_at":"2015-05-20T17:23:30Z","body":"[Done](https://rt.cpan.org/Ticket/Display.html?id=104574)."}}