Bug 1141153 - perl-Padre-0.90-13.fc22 FTBFS: a test fails due a warning
Summary: perl-Padre-0.90-13.fc22 FTBFS: a test fails due a warning
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Padre
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL: https://koji.fedoraproject.org/koji/b...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-12 10:54 UTC by Petr Pisar
Modified: 2014-09-15 12:43 UTC (History)
3 users (show)

Fixed In Version: perl-Padre-0.90-14.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-15 12:43:55 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2014-09-12 10:54:05 UTC
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

Comment 1 Petr Pisar 2014-09-15 11:55:05 UTC
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.

Comment 2 Petr Pisar 2014-09-15 12:07:05 UTC
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)


Note You need to log in before you can comment on or make changes to this bug.