FTBFS against sqlite3 3.37 or newer

Bug #1956796 reported by Dan Bungert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ruby-sqlite3 (Debian)
Fix Released
Unknown
ruby-sqlite3 (Ubuntu)
Fix Committed
High
Simon Chopin

Bug Description

When built against sqlite 3.37 or newer, the build will fail in test.
Example:
https://autopkgtest.ubuntu.com/results/autopkgtest-jammy/jammy/amd64/r/ruby-sqlite3/20220107_075823_1a1f3@/log.gz

TC_ResultSet#test_types [/tmp/autopkgtest.J0NEKT/build.hEV/src/test/test_integration_resultset.rb:121]:
Expected: ["integer", "text"]
  Actual: ["INTEGER", "TEXT"]

+2 more failures of a similar nature.

As of sqlite 3.37.0, with FossilOrigin-Name:
d2da62a9df63036b02dadca3798de9e623c2680b3ef0c37d2b18bb88693afd7f,
type names for 5 common types BLOB, INT, INTEGER, REAL, and TEXT will be
treated as if they were created in all uppercase.

Revision history for this message
Dan Bungert (dbungert) wrote :

Adjust tests for combat with old and new sqlite3.

Changed in ruby-sqlite3 (Ubuntu):
status: New → Confirmed
Changed in ruby-sqlite3 (Debian):
status: Unknown → New
Simon Chopin (schopin)
Changed in ruby-sqlite3 (Ubuntu):
importance: Undecided → High
assignee: nobody → Simon Chopin (schopin)
status: Confirmed → In Progress
Revision history for this message
Simon Chopin (schopin) wrote :

Uploaded, thanks!

Changed in ruby-sqlite3 (Ubuntu):
status: In Progress → Fix Committed
Changed in ruby-sqlite3 (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.