Hey Andreas,

On Mon, Jul 04, 2022 at 03:13:16PM +0200, Andreas Beckmann wrote:
> 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

Thanks for the report! I was in fact holding back the experimental
upload to move to unstable, because lnav FTBFS due to test failures
htere (but for different ones). But now it fails as well on unstable.

Will try to find time to address those and move to the 0.10.x version
as well.

Regards,
Salvatore

Reply via email to