Source: lnav
Version: 0.10.1-2
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
Control: found -1 0.9.0-2

Hi,

lnav in sid and experimental recently started to FTBFS, since some
(transitive) build-depends seems to have changed the quoting style in
the stuff it generates. Is the new one even correct?
(Looks to me like the change from an array to a string.)

FAIL: test_sql_json_func.sh
===========================

test: ./drive_sql SELECT id, json_group_object(key, value) as stack FROM ( 
SELECT 1 as id, 1 as key, 10 as value UNION ALL SELECT 1 as id, 2 as key, 
json_array(1, 2, 3) as value UNION ALL SELECT 1 as id, 3 as key, 30.5 as value)
json_group_object with number keys does not work
--- -   2022-07-04 06:29:15.368031500 +0000
+++ test_sql_json_func.sh_32.tmp        2022-07-04 06:29:15.346400398 +0000
@@ -1,3 +1,3 @@
 Row 0:
   Column         id: 1
-  Column      stack: {"1":10,"2":[1,2,3],"3":30.5}
+  Column      stack: {"1":10,"2":"[1,2,3]","3":30.5}
FAIL test_sql_json_func.sh (exit status: 1)

============================================================================
Testsuite summary for lnav 0.10.1
============================================================================
# TOTAL: 36
# PASS:  35
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See test/test-suite.log


Andreas

Attachment: lnav_0.10.1-2.log.gz
Description: application/gzip

Reply via email to