Bug 1543899

Summary: perl-CGI-Application-Plugin-Authentication-0.21-4.fc28 FTBFS: t/53_driver_dbi.t test fails with sqlite 3.22.0
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-CGI-Application-Plugin-AuthenticationAssignee: Emmanuel Seyman <emmanuel>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: emmanuel, perl-devel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://apps.fedoraproject.org/koschei/build/4145296
Whiteboard:
Fixed In Version: perl-CGI-Application-Plugin-Authentication-0.22-2.fc28 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-11 07:56:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Petr Pisar 2018-02-09 14:00:42 UTC
perl-CGI-Application-Plugin-Authentication-0.21-4.fc28 fails to build in F28 because tests fail:

t/53_driver_dbi.t ................... ok
#   Failed test 'DBI syntax error'
#   at t/53_driver_dbi_bad.t line 101.
# expecting: Regexp ((?^:Error executing class callback in prerun stage: Failed to prepare SQL statement:  near " "))
# found: Error executing class callback in prerun stage: Failed to prepare SQL statement:  incomplete input at /builddir/build/BUILD/CGI-Application-Plugin-Authentication-0.21/blib/lib/CGI/Application/Plugin/Authentication/Driver/DBI.pm line 343.
#   Failed test 'DBD:SQLite'
#   at t/53_driver_dbi_bad.t line 103.
# found warning: DBD::SQLite::db prepare_cached failed: incomplete input at /builddir/build/BUILD/CGI-Application-Plugin-Authentication-0.21/blib/lib/CGI/Application/Plugin/Authentication/Driver/DBI.pm line 343.
# expected to find warning: (?^:DBD::SQLite::db prepare_cached failed: near " ": syntax error)
# Looks like you failed 2 tests of 9.
t/53_driver_dbi_bad.t ............... 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/9 subtests 

This is triggered by upgrading sqlite-libs from 3.20.1-1.fc28 to 3.22.0-2.fc28.

Comment 1 Petr Pisar 2018-02-09 14:05:17 UTC
Debian provided a fix to the upstream <https://github.com/cees/cgi-application-plugin-authentication/pull/4>.

Comment 2 Emmanuel Seyman 2018-02-11 07:56:07 UTC
Thanks for the heads-up, Petr. Patch applied.
https://koji.fedoraproject.org/koji/buildinfo?buildID=1043447