[Bug 1168882] perl-SQL-Abstract-Limit-0.141-17.fc22 FTBFS: t/01.sql.t test fails

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

 



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



--- Comment #3 from Petr Pisar <ppisar@xxxxxxxxxx> ---
The perl-SQL-Abstract contains:

package SQL::Abstract::Tree;

# DO NOT edit away without talking to riba first, he will just put it back
# BEGIN pre-Moo2 import block
BEGIN {
  require warnings;
  my $initial_fatal_bits = (${^WARNING_BITS}||'') & $warnings::DeadBits{all};

  local $ENV{PERL_STRICTURES_EXTRA} = 0;
  # load all of these now, so that lazy-loading does not escape
  # the current PERL_STRICTURES_EXTRA setting
  require Sub::Quote;
  require Sub::Defer;
  require Moo;
  require Moo::Object;
  require Method::Generate::Accessor;
  require Method::Generate::Constructor;

  Moo->import;
  Sub::Quote->import('quote_sub');
  ${^WARNING_BITS} &= ( $initial_fatal_bits | ~ $warnings::DeadBits{all} );
}

So, if perl-Moo is not installed, the Sub::Quote will not be available which
will cause different parentheses in the output and the test of
perl-SQL-Abstract-Limit will fail. The direct use fails:

$ perl -e 'require SQL::Abstract::Tree'
Can't locate Sub/Quote.pm in @INC (you may need to install the Sub::Quote
modul.
BEGIN failed--compilation aborted at
/usr/share/perl5/vendor_perl/SQL/Abstract/.
Compilation failed in require at -e line 1.

I think perl-SQL-Abstract should require all the listed modules.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=O6ZtpAkNZA&a=cc_unsubscribe
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[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