[Bug 1307852] perl-MooX-Cmd: FTBFS in rawhide

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1307852



--- Comment #9 from Petr Pisar <ppisar@xxxxxxxxxx> ---
It looks like a bug in perl-MooX-Options.
/usr/share/perl5/vendor_perl/MooX/Options/Descriptive/Usage.pm has this code:

# set the column size of your terminal into the wrapper
sub _get_line_fold {
    my $columns = $ENV{TEST_FORCE_COLUMN_SIZE}
        || eval {
        require Term::Size::Any;
        [ Term::Size::Any::chars() ]->[0];
        } || 80;

    require Text::LineFold;
    return Text::LineFold->new( ColMax => $columns - 4 );
}

but perl-MooX-Options does not declare dependency on Text::LineFold.

The perl-MooX-CMD's test t/lib/OptionTestApp/Cmd/primary/Cmd/secondary.pm has
some code in the eval and it's tha last common code path between failing and
passing case. Just after that interpreter would open
/usr/lib64/perl5/vendor_perl/Text/LineFold.pm. Because of the secondary.pm'
eval the "require Text::LineFold" failure is masked so we don't get report from
MooX::Options::Descriptive::Usage.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/perl-devel@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux