Opened 3 years ago

Closed 2 years ago

#1419 closed defect (fixed)

Padre and the soon to be Perl 5.16

Reported by: bowtie Owned by:
Priority: blocker Milestone:
Component: installation Version: 0.95
Keywords: Cc:

Description

As Padre 0.96 is likely to be released before Perl 5.16, this is an issue.

you will have to install modified Test::Warn, see below

and force install to get following

                   Padre 0.95
Core...
                  osname linux
                archname i686-linux-thread-multi
            Distribution Ubuntu 11.10 
                  Kernel 3.0.0-16-generic
                    Perl 5.15.9
                 Threads 3
                     RAM (unsupported)
Wx...
                      Wx 0.9905
               WxWidgets 2.8.11
                 unicode 1
        Alien::wxWidgets 0.56
 Wx::Perl::ProcessStream 0.30
           Wx::Scintilla 0.38
Other...
                     PPI 1.215
           Debug::Client 0.18
                  Config /usr/src/Padre/Padre/.padre

Test Fail

kevin@vinny:~/src/Padre/Padre$ prove -lv t/01_compile.t 
t/01_compile.t .. 
1..37
ok 1 - use Wx;
# Tests find Wx: 0.9905 wxWidgets 2.8.11
ok 2 - use t::lib::Padre;
ok 3 - use Padre::Util;
ok 4 - use Padre::Config;
ok 5 - use Padre::Config::Apply;
ok 6 - use Padre::Config::Project;
ok 7 - use Padre::DB::Timeline;
ok 8 - use Padre::DB;
ok 9 - use Padre::Project;
ok 10 - use Padre::Wx;
ok 11 - use Padre::Wx::HtmlWindow;
ok 12 - use Padre::Wx::Printout;
ok 13 - use Padre::Wx::Dialog::PluginManager;
ok 14 - use Padre::Wx::Dialog::Preferences;
ok 15 - use Padre::Wx::TextEntryDialog::History;
ok 16 - use Padre::Wx::ComboBox::History;
ok 17 - use Padre::Wx::ComboBox::FindTerm;
ok 18 - use Padre;
ok 19 - use Padre::Pod2HTML;
ok 20 - use Padre::Plugin::Devel;
ok 21 - use Padre::Plugin::My;
ok 22 - use Padre::Task;
ok 23 - use Padre::TaskWorker;
ok 24 - use Padre::TaskHandle;
ok 25 - use Padre::TaskManager;
ok 26 - use Padre::Role::Task;
# 1332589728.63014 (eval) 'WARN: Inefficiently loading Padre::Util::Win32 when not on Win32'
ok 27 - Loaded the remaining 227 classes ok
ok 28 - Script script/padre compiles
ok 29 - Script share/examples/wx/01_simple_frame.pl compiles
ok 30 - Script share/examples/wx/02_label.pl compiles
ok 31 - Script share/examples/wx/03_button.pl compiles
ok 32 - Script share/examples/wx/04_button_with_event.pl compiles
ok 33 - Script share/examples/wx/05_button_with_event_and_message_box.pl compiles
ok 34 - Script share/examples/wx/21_progress_bar.pl compiles
ok 35 - Script share/examples/wx/22_notebook.pl compiles
ok 36 - Script share/examples/wx/30_editor.pl compiles
not ok 37 - no warnings

#   Failed test 'no warnings'
#   at /home/kevin/perl5/perlbrew/perls/perl-5.15.9/lib/site_perl/5.15.9/Test/NoWarnings.pm line 45.
# There were 1 warning(s)
#   Previous test 26 'use Padre::Role::Task;'
#   Use of uninitialized value $^WARNING_BITS in bitwise xor (^) at /home/kevin/perl5/perlbrew/perls/perl-5.15.9/lib/site_perl/5.15.9/common/sense.pm line 237.
#  at /home/kevin/perl5/perlbrew/perls/perl-5.15.9/lib/site_perl/5.15.9/common/sense.pm line 237.
#   common::sense::import('common::sense') called at /home/kevin/perl5/perlbrew/perls/perl-5.15.9/lib/site_perl/5.15.9/i686-linux-thread-multi/JSON/XS.pm line 104
#   JSON::XS::BEGIN() called at /home/kevin/perl5/perlbrew/perls/perl-5.15.9/lib/site_perl/5.15.9/i686-linux-thread-multi/JSON/XS.pm line 104
#   eval {...} called at /home/kevin/perl5/perlbrew/perls/perl-5.15.9/lib/site_perl/5.15.9/i686-linux-thread-multi/JSON/XS.pm line 104
#   require JSON/XS.pm called at /usr/src/Padre/Padre/lib/Padre/Sync.pm line 26
#   Padre::Sync::BEGIN() called at /home/kevin/perl5/perlbrew/perls/perl-5.15.9/lib/site_perl/5.15.9/i686-linux-thread-multi/JSON/XS.pm line 104
#   eval {...} called at /home/kevin/perl5/perlbrew/perls/perl-5.15.9/lib/site_perl/5.15.9/i686-linux-thread-multi/JSON/XS.pm line 104
#   require Padre/Sync.pm called at /usr/src/Padre/Padre/lib/Padre.pm line 87
#   eval {...} called at /usr/src/Padre/Padre/lib/Padre.pm line 87
#   Padre::import('Padre', ':everything') called at t/01_compile.t line 53
# 
# Looks like you failed 1 test of 37.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/37 subtests 

Test Summary Report
-------------------
t/01_compile.t (Wstat: 256 Tests: 37 Failed: 1)
  Failed test:  37
  Non-zero exit status: 1
Files=1, Tests=37, 28 wallclock secs ( 0.07 usr  0.00 sys +  3.88 cusr  0.58 csys =  4.53 CPU)
Result: FAIL

ps you will need to use

cpanm -v http://cpan.metacpan.org/authors/id/C/CH/CHORNY/Test-Warn-0.23_01.tar.gz

Change History (3)

comment:1 Changed 2 years ago by bowtie

  • Summary changed from Padre and the sone to be Perl 5.16 to Padre and the soon to be Perl 5.16

comment:2 Changed 2 years ago by bowtie

Test::Warn
0.24=0.23_01 2012-04-01

comment:3 Changed 2 years ago by azawawi

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r18974

Note: See TracTickets for help on using tickets.