Bug 1543286 - perl-DBD-SQLite-1.54-5.fc28 FTBFS with sqlite 3.22.0: t/virtual_table/rt_99748.t: couldn't eval q{sub {my ($self, $i) = @_; my $row = $self->row($i); (defined($row->[1]) && defined($vals[0]) && $row->[1] $vals[0])}} : syntax error at (eval 20) line 1
Summary: perl-DBD-SQLite-1.54-5.fc28 FTBFS with sqlite 3.22.0: t/virtual_table/rt_9974...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-DBD-SQLite
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jitka Plesnikova
QA Contact: Fedora Extras Quality Assurance
URL: https://apps.fedoraproject.org/kosche...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-02-08 07:20 UTC by Petr Pisar
Modified: 2018-02-08 09:39 UTC (History)
6 users (show)

Fixed In Version: perl-DBD-SQLite-1.54-6.fc28
Clone Of:
Environment:
Last Closed: 2018-02-08 09:39:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1543288 0 unspecified CLOSED perl-Lucy-0.6.1-6.fc28 FTBFS: t/core/035-json.t aborts: cfcore/Lucy/Util/Json/JsonParser.c:681: yy_find_shift_action: As... 2021-02-22 00:41:40 UTC

Internal Links: 1543288

Description Petr Pisar 2018-02-08 07:20:07 UTC
perl-DBD-SQLite-1.54-5.fc28 fails to build in F28 because tests fail:

t/virtual_table/21_perldata_charinfo.t ................ ok
couldn't eval q{sub {my ($self, $i) = @_; my $row = $self->row($i); (defined($row->[1]) && defined($vals[0]) && $row->[1]  $vals[0])}} : syntax error at (eval 20) line 1, near "]  $vals"
#   Failed test 'no warnings'
#   at /usr/share/perl5/vendor_perl/Test/Builder.pm line 158.
# There were 2 warning(s)
# 	Previous test 23 'SELECT rowid FROM vtb WHERE c = 'six''
# 	Use of uninitialized value $op in pattern match (m//) at /builddir/build/BUILD/DBD-SQLite-1.54/blib/lib/DBD/SQLite/VirtualTable/PerlData.pm line 104.
#  at /builddir/build/BUILD/DBD-SQLite-1.54/blib/lib/DBD/SQLite/VirtualTable/PerlData.pm line 104.
# 	DBD::SQLite::VirtualTable::PerlData::BEST_INDEX(DBD::SQLite::VirtualTable::PerlData=HASH(0xaaaac62ec520), ARRAY(0xaaaac628d9c8), ARRAY(0xaaaac6288138)) called at /builddir/build/BUILD/DBD-SQLite-1.54/blib/lib/DBD/SQLite.pm line 202
# 	DBD::SQLite::db::prepare(DBI::db=HASH(0xaaaac625f5e8), "SELECT a FROM vtb WHERE b IS NULL ORDER BY a", undef) called at /usr/lib64/perl5/vendor_perl/DBI.pm line 1692
# 	DBD::_::db::selectcol_arrayref(DBI::db=HASH(0xaaaac625f5e8), "SELECT a FROM vtb WHERE b IS NULL ORDER BY a") called at t/virtual_table/rt_99748.t line 80
# 	main::test_table(DBI::db=HASH(0xaaaac625f690), "vtb") called at t/virtual_table/rt_99748.t line 57
# 
# ----------
# 	Previous test 23 'SELECT rowid FROM vtb WHERE c = 'six''
# 	Use of uninitialized value $op in concatenation (.) or string at /builddir/build/BUILD/DBD-SQLite-1.54/blib/lib/DBD/SQLite/VirtualTable/PerlData.pm line 108.
#  at /builddir/build/BUILD/DBD-SQLite-1.54/blib/lib/DBD/SQLite/VirtualTable/PerlData.pm line 108.
# 	DBD::SQLite::VirtualTable::PerlData::BEST_INDEX(DBD::SQLite::VirtualTable::PerlData=HASH(0xaaaac62ec520), ARRAY(0xaaaac628d9c8), ARRAY(0xaaaac6288138)) called at /builddir/build/BUILD/DBD-SQLite-1.54/blib/lib/DBD/SQLite.pm line 202
# 	DBD::SQLite::db::prepare(DBI::db=HASH(0xaaaac625f5e8), "SELECT a FROM vtb WHERE b IS NULL ORDER BY a", undef) called at /usr/lib64/perl5/vendor_perl/DBI.pm line 1692
# 	DBD::_::db::selectcol_arrayref(DBI::db=HASH(0xaaaac625f5e8), "SELECT a FROM vtb WHERE b IS NULL ORDER BY a") called at t/virtual_table/rt_99748.t line 80
# 	main::test_table(DBI::db=HASH(0xaaaac625f690), "vtb") called at t/virtual_table/rt_99748.t line 57
# 
# Looks like your test exited with 2 just after 24.
t/virtual_table/rt_99748.t ............................ 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 29/52 subtests 

This is caused by upgrading sqlite-devel from 3.20.1-1.fc28 to 3.22.0-2.fc28.

Comment 1 Petr Pisar 2018-02-08 07:25:30 UTC
perl-CGI-Application-Plugin-Authentication also fails tests when upgrading sqlite-libs. Either both tests are wrong, or there is something broken in the new sqlite.

Comment 2 Jitka Plesnikova 2018-02-08 08:57:21 UTC
The issue was fixed in developer release 1.55_04.

More info:
https://github.com/DBD-SQLite/DBD-SQLite/issues/28


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