perl-Padre-0.90-13.fc22 fails to build in F22: PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t Xlib: extension "RANDR" missing on display ":666". # Tests find Wx: 0.9922 wxWidgets 2.8.12 # Failed test 'no warnings' # at /usr/share/perl5/vendor_perl/Test/NoWarnings.pm line 45. # There were 1 warning(s) # Previous test 26 'use Padre::Role::Task;' # Possible precedence issue with control flow operator at /builddir/build/BUILD/Padre-0.90/blib/lib/Padre/Document/Perl/QuickFix/StrictWarnings.pm line 71. # at /builddir/build/BUILD/Padre-0.90/blib/lib/Padre/Document/Perl/QuickFix/StrictWarnings.pm line 71. # require Padre/Document/Perl/QuickFix/StrictWarnings.pm called at /builddir/build/BUILD/Padre-0.90/blib/lib/Padre.pm line 92 # eval {...} called at /builddir/build/BUILD/Padre-0.90/blib/lib/Padre.pm line 92 # Padre::import("Padre", ":everything") called at t/01-load.t line 53 # # Looks like you failed 1 test of 37. t/01-load.t ................ Dubious, test returned 1 (wstat 256, 0x100) Failed 1/37 subtests
The warning: $ xvfb-run -a perl -Iblib/{lib,arch} -e 'use Padre::Util::Win32' # 1410782039.19129 (eval) 'WARN: Inefficiently loading Padre::Util::Win32 when not on Win32' is triggered by importing all Padre modules from t/01-load.t: $ xvfb-run -a perl -Iblib/{lib,arch} -e 'use Padre; Padre->import(q{:everything})' Xlib: extension "RANDR" missing on display ":99". # 1410781999.08414 (eval) 'WARN: Inefficiently loading Padre::Util::Win32 when not on Win32' Possible precedence issue with control flow operator at blib/lib/Padre/Document/Perl/QuickFix/StrictWarnings.pm line 71.
The warning is emitted by the Padre module. Upstream solved it by disabling Test::NoWarnings tests in commit: r19823 | bowtie | 2014-02-02 16:37:37 +0100 (Ne, 02 úno 2014) | 2 lines tweak 01_compile.t so tjat it passes on 5.19.7 (BOWTIE)