Bug#881291: libdbd-sqlite3-perl FTBFS with libsqlite3-dev 3.21.0-1

2017-11-14 Thread gregor herrmann
Control: forwarded -1 https://github.com/DBD-SQLite/DBD-SQLite/issues/28

On Tue, 14 Nov 2017 21:43:25 +, Damyan Ivanov wrote:

> So this seems like a genuine problem with newer sqlite. Upstream's 
> sqlite3.h is 3.13.0, while Debian/unstable now has 3.21.0.

Upstream's git master is at 3.20.1 but still not at 3.21.x

And Florian was faster with forwarding:
https://github.com/DBD-SQLite/DBD-SQLite/issues/28
:)


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at/ - Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Tom Waits: All the World Is Green


signature.asc
Description: Digital Signature


Processed: Re: Bug#881291: libdbd-sqlite3-perl FTBFS with libsqlite3-dev 3.21.0-1

2017-11-14 Thread Debian Bug Tracking System
Processing control commands:

> forwarded -1 https://github.com/DBD-SQLite/DBD-SQLite/issues/28
Bug #881291 [src:libdbd-sqlite3-perl] libdbd-sqlite3-perl FTBFS with 
libsqlite3-dev 3.21.0-1
Ignoring request to change the forwarded-to-address of bug#881291 to the same 
value

-- 
881291: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=881291
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#881291: libdbd-sqlite3-perl FTBFS with libsqlite3-dev 3.21.0-1

2017-11-14 Thread Florian Schlichting
Control: Forwarded 881291 https://github.com/DBD-SQLite/DBD-SQLite/issues/28

> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libdbd-sqlite3-perl.html
> 
> ...
> Test Summary Report
> ---
> t/virtual_table/rt_99748.t  (Wstat: 512 Tests: 24 
> Failed: 1)
>   Failed test:  24
>   Non-zero exit status: 2
>   Parse errors: Bad plan.  You planned 52 tests but ran 24.
> Files=105, Tests=3555, 22 wallclock secs ( 0.81 usr  0.26 sys + 12.46 cusr  
> 1.88 csys = 15.41 CPU)
> Result: FAIL
> Failed 1/105 test programs. 1/3555 subtests failed.
> Makefile:1078: recipe for target 'test_dynamic' failed
> make[1]: *** [test_dynamic] Error 2


I can confirm that it fails with libsqlite3-dev 3.21.0-1 and does not fail
with 3.20.1-2, all else being equal.

The test fails because of two warnings about uninitialized values, which
lead to a syntax error (missing operator) in the generated/eval'd code:

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 19) line 1, near "]  $vals"

#   Failed test 'no warnings'
#   at /usr/share/perl/5.26/Test/Builder.pm line 135.
# 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 
/home/fs/src/pkg-perl/git/packages/libdbd-sqlite3-perl/blib/lib/DBD/SQLite/VirtualTable/PerlData.pm
 line 104.
#  at 
/home/fs/src/pkg-perl/git/packages/libdbd-sqlite3-perl/blib/lib/DBD/SQLite/VirtualTable/PerlData.pm
 line 104.
#   
DBD::SQLite::VirtualTable::PerlData::BEST_INDEX(DBD::SQLite::VirtualTable::PerlData=HASH(0x557070b2ec60),
 ARRAY(0x557070b277e8), ARRAY(0x557070b271e8)) called at 
/home/fs/src/pkg-perl/git/packages/libdbd-sqlite3-perl/blib/lib/DBD/SQLite.pm 
line 202
#   DBD::SQLite::db::prepare(DBI::db=HASH(0x557070b15c60), "SELECT a FROM 
vtb WHERE b IS NULL ORDER BY a", undef) called at 
/usr/lib/x86_64-linux-gnu/perl5/5.26/DBI.pm line 1690
#   DBD::_::db::selectcol_arrayref(DBI::db=HASH(0x557070b15c60), "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(0x557070b15d08), "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 
/home/fs/src/pkg-perl/git/packages/libdbd-sqlite3-perl/blib/lib/DBD/SQLite/VirtualTable/PerlData.pm
 line 108.
#  at 
/home/fs/src/pkg-perl/git/packages/libdbd-sqlite3-perl/blib/lib/DBD/SQLite/VirtualTable/PerlData.pm
 line 108.
#   
DBD::SQLite::VirtualTable::PerlData::BEST_INDEX(DBD::SQLite::VirtualTable::PerlData=HASH(0x557070b2ec60),
 ARRAY(0x557070b277e8), ARRAY(0x557070b271e8)) called at 
/home/fs/src/pkg-perl/git/packages/libdbd-sqlite3-perl/blib/lib/DBD/SQLite.pm 
line 202
#   DBD::SQLite::db::prepare(DBI::db=HASH(0x557070b15c60), "SELECT a FROM 
vtb WHERE b IS NULL ORDER BY a", undef) called at 
/usr/lib/x86_64-linux-gnu/perl5/5.26/DBI.pm line 1690
#   DBD::_::db::selectcol_arrayref(DBI::db=HASH(0x557070b15c60), "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(0x557070b15d08), "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 

Florian



Processed: Re: Bug#881291: libdbd-sqlite3-perl FTBFS with libsqlite3-dev 3.21.0-1

2017-11-14 Thread Debian Bug Tracking System
Processing control commands:

> Forwarded 881291 https://github.com/DBD-SQLite/DBD-SQLite/issues/28
Bug #881291 [src:libdbd-sqlite3-perl] libdbd-sqlite3-perl FTBFS with 
libsqlite3-dev 3.21.0-1
Set Bug forwarded-to-address to 
'https://github.com/DBD-SQLite/DBD-SQLite/issues/28'.

-- 
881291: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=881291
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#881291: libdbd-sqlite3-perl FTBFS with libsqlite3-dev 3.21.0-1

2017-11-14 Thread Damyan Ivanov
Control: tag -1 confirmed upstream

-=| Adrian Bunk, 09.11.2017 20:25:17 +0200 |=-
> Source: libdbd-sqlite3-perl
> Version: 1.54-2
> Severity: serious
> 
> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libdbd-sqlite3-perl.html
> 
> ...
> Test Summary Report
> ---
> t/virtual_table/rt_99748.t  (Wstat: 512 Tests: 24 
> Failed: 1)
>   Failed test:  24
>   Non-zero exit status: 2
>   Parse errors: Bad plan.  You planned 52 tests but ran 24.
> Files=105, Tests=3555, 22 wallclock secs ( 0.81 usr  0.26 sys + 12.46 cusr  
> 1.88 csys = 15.41 CPU)
> Result: FAIL
> Failed 1/105 test programs. 1/3555 subtests failed.
> Makefile:1078: recipe for target 'test_dynamic' failed

This also falils in a current sbuild chroot:

#   Failed test 'no warnings'
#   at /usr/share/perl/5.26/Test/Builder.pm line 135.
# 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 
/<>/blib/lib/DBD/SQLite/VirtualTable/PerlData.pm line 104.
#  at /<>/blib/lib/DBD/SQLite/VirtualTable/PerlData.pm line 104.
#   
DBD::SQLite::VirtualTable::PerlData::BEST_INDEX(DBD::SQLite::VirtualTable::PerlData=HASH(0x55efd272a948),
 ARRAY(0x55efd2757f10), ARRAY(0x55efd26e8c98)) called at 
/<>/blib/lib/DBD/SQLite.pm line 202
#   DBD::SQLite::db::prepare(DBI::db=HASH(0x55efd26dc460), "SELECT a FROM 
vtb WHERE b IS NULL ORDER BY a", undef) called at 
/usr/lib/x86_64-linux-gnu/perl5/5.26/DBI.pm line 1690
#   DBD::_::db::selectcol_arrayref(DBI::db=HASH(0x55efd26dc460), "SELECT a 
FROMvtb WHERE b IS NULL ORDER BY a") called at t/virtual_table/rt_99748.t line 
80
#   main::test_table(DBI::db=HASH(0x55efd26dc508), "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 
/<>/blib/lib/DBD/SQLite/VirtualTable/PerlData.pm line 108.
#  at /<>/blib/lib/DBD/SQLite/VirtualTable/PerlData.pm line 108.
#   
DBD::SQLite::VirtualTable::PerlData::BEST_INDEX(DBD::SQLite::VirtualTable::PerlData=HASH(0x55efd272a948),
 ARRAY(0x55efd2757f10), ARRAY(0x55efd26e8c98)) called at 
/<>/blib/lib/DBD/SQLite.pm line 202
#   DBD::SQLite::db::prepare(DBI::db=HASH(0x55efd26dc460), "SELECT a FROM 
vtb WHERE b IS NULL ORDER BY a", undef) called at 
/usr/lib/x86_64-linux-gnu/perl5/5.26/DBI.pm line 1690
#   DBD::_::db::selectcol_arrayref(DBI::db=HASH(0x55efd26dc460), "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(0x55efd26dc508), "vtb") called at 
t/virtual_table/rt_99748.t line 57

Some observations:

 - no similar bug report exists upstream 
   (https://rt.cpan.org/Dist/Display.html?Queue=DBD-SQLite)
 - disabling the use_system_sqlite patch works around the failure
 - applying the patch from 
   https://rt.cpan.org/Ticket/Display.html?id=114138 for guaranteed 
   usage of system sqlite3.h does not help.
 - removing the upstream sqlite3.h from debian/rules also does not 
   help

So this seems like a genuine problem with newer sqlite. Upstream's 
sqlite3.h is 3.13.0, while Debian/unstable now has 3.21.0.

-- dam



Processed: Re: Bug#881291: libdbd-sqlite3-perl FTBFS with libsqlite3-dev 3.21.0-1

2017-11-14 Thread Debian Bug Tracking System
Processing control commands:

> tag -1 confirmed upstream
Bug #881291 [src:libdbd-sqlite3-perl] libdbd-sqlite3-perl FTBFS with 
libsqlite3-dev 3.21.0-1
Added tag(s) confirmed and upstream.

-- 
881291: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=881291
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#881291: libdbd-sqlite3-perl FTBFS with libsqlite3-dev 3.21.0-1

2017-11-09 Thread Adrian Bunk
Source: libdbd-sqlite3-perl
Version: 1.54-2
Severity: serious

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libdbd-sqlite3-perl.html

...
Test Summary Report
---
t/virtual_table/rt_99748.t  (Wstat: 512 Tests: 24 
Failed: 1)
  Failed test:  24
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 52 tests but ran 24.
Files=105, Tests=3555, 22 wallclock secs ( 0.81 usr  0.26 sys + 12.46 cusr  
1.88 csys = 15.41 CPU)
Result: FAIL
Failed 1/105 test programs. 1/3555 subtests failed.
Makefile:1078: recipe for target 'test_dynamic' failed
make[1]: *** [test_dynamic] Error 2