Hi Sebastian,

On Sat, Mar 16, 2024 at 11:34:23PM +0100, Sebastian Ramacher wrote:
> Source: lnav
> Version: 0.11.2-1
> Severity: serious
> Tags: ftbfs
> Justification: fails to build from source (but built successfully in the past)
> X-Debbugs-Cc: [email protected]
> 
> https://buildd.debian.org/status/fetch.php?pkg=lnav&arch=armhf&ver=0.11.2-1%2Bb1&stamp=1710618595&raw=0
> 
> 
> 2024-03-16T19:49:36+00:00 
> ␛[0;35m=============================================================␛[0m
> ␛[0;35mCommand␛[0m: test: env TEST_COMMENT=parse_url1 ./drive_sql
> ␛[0;32mBEGIN␛[0m 
> test_sql_str_func.sh_b088735cf46f23ca3d5fb3da41f07a6a3b1cba35.out
> ␛[0;32mEND␛[0m   
> test_sql_str_func.sh_b088735cf46f23ca3d5fb3da41f07a6a3b1cba35.out
> OUT: test: env TEST_COMMENT=parse_url1 ./drive_sql
> --- 
> /<<PKGBUILDDIR>>/test/expected/test_sql_str_func.sh_b088735cf46f23ca3d5fb3da41f07a6a3b1cba35.out
>   2023-07-03 04:16:02.000000000 +0000
> +++ test_sql_str_func.sh_b088735cf46f23ca3d5fb3da41f07a6a3b1cba35.out 
> 2024-03-16 19:49:36.550940820 +0000
> @@ -1,2 +0,0 @@
> -Row 0:
> -  Column parse_url('https://example.com'): 
> {"scheme":"https","user":null,"password":null,"host":"example.com","port":null,"path":"/","query":null,"parameters":null,"fragment":null}
> FAIL! EXPECTED OUT DIFF
> ␛[0;31mBEGIN␛[0m 
> test_sql_str_func.sh_b088735cf46f23ca3d5fb3da41f07a6a3b1cba35.err
> error: sqlite3_exec failed -- misuse of sqlite3_result_subtype() by 
> parse_url()
> ␛[0;31mEND␛[0m   
> test_sql_str_func.sh_b088735cf46f23ca3d5fb3da41f07a6a3b1cba35.err
> ERR: test: env TEST_COMMENT=parse_url1 ./drive_sql
> --- 
> /<<PKGBUILDDIR>>/test/expected/test_sql_str_func.sh_b088735cf46f23ca3d5fb3da41f07a6a3b1cba35.err
>   2023-07-03 04:16:02.000000000 +0000
> +++ test_sql_str_func.sh_b088735cf46f23ca3d5fb3da41f07a6a3b1cba35.err 
> 2024-03-16 19:49:36.558940841 +0000
> @@ -0,0 +1 @@
> +error: sqlite3_exec failed -- misuse of sqlite3_result_subtype() by 
> parse_url()
> FAIL! EXPECTED ERR DIFF
> 
> 2024-03-16T19:49:36+00:00 
> ␛[0;35m=============================================================␛[0m
> ␛[0;35mCommand␛[0m: test: env TEST_COMMENT=parse_url2 ./drive_sql
> ␛[0;32mBEGIN␛[0m 
> test_sql_str_func.sh_0947bfe7ec626eaa0409a45b10fcbb634fb12eb7.out
> ␛[0;32mEND␛[0m   
> test_sql_str_func.sh_0947bfe7ec626eaa0409a45b10fcbb634fb12eb7.out
> OUT: test: env TEST_COMMENT=parse_url2 ./drive_sql
> --- 
> /<<PKGBUILDDIR>>/test/expected/test_sql_str_func.sh_0947bfe7ec626eaa0409a45b10fcbb634fb12eb7.out
>   2023-07-03 04:16:02.000000000 +0000
> +++ test_sql_str_func.sh_0947bfe7ec626eaa0409a45b10fcbb634fb12eb7.out 
> 2024-03-16 19:49:36.662941118 +0000
> @@ -1,2 +0,0 @@
> -Row 0:
> -  Column parse_url('https://example.com/'): 
> {"scheme":"https","user":null,"password":null,"host":"example.com","port":null,"path":"/","query":null,"parameters":null,"fragment":null}
> FAIL! EXPECTED OUT DIFF
> ␛[0;31mBEGIN␛[0m 
> test_sql_str_func.sh_0947bfe7ec626eaa0409a45b10fcbb634fb12eb7.err
> error: sqlite3_exec failed -- misuse of sqlite3_result_subtype() by 
> parse_url()
> ␛[0;31mEND␛[0m   
> test_sql_str_func.sh_0947bfe7ec626eaa0409a45b10fcbb634fb12eb7.err
> ERR: test: env TEST_COMMENT=parse_url2 ./drive_sql
> --- 
> /<<PKGBUILDDIR>>/test/expected/test_sql_str_func.sh_0947bfe7ec626eaa0409a45b10fcbb634fb12eb7.err
>   2023-07-03 04:16:02.000000000 +0000
> +++ test_sql_str_func.sh_0947bfe7ec626eaa0409a45b10fcbb634fb12eb7.err 
> 2024-03-16 19:49:36.674941150 +0000
> @@ -0,0 +1 @@
> +error: sqlite3_exec failed -- misuse of sqlite3_result_subtype() by 
> parse_url()
> FAIL! EXPECTED ERR DIFF
> 
> 2024-03-16T19:49:36+00:00 
> ␛[0;35m=============================================================␛[0m
> ␛[0;35mCommand␛[0m: test: env TEST_COMMENT=parse_url3 ./drive_sql
> ␛[0;32mBEGIN␛[0m 
> test_sql_str_func.sh_bac7f6531a2adf70cd1871fb13eab26dff133b7c.out
> ␛[0;32mEND␛[0m   
> test_sql_str_func.sh_bac7f6531a2adf70cd1871fb13eab26dff133b7c.out
> OUT: test: env TEST_COMMENT=parse_url3 ./drive_sql
> --- 
> /<<PKGBUILDDIR>>/test/expected/test_sql_str_func.sh_bac7f6531a2adf70cd1871fb13eab26dff133b7c.out
>   2023-07-03 04:16:02.000000000 +0000
> +++ test_sql_str_func.sh_bac7f6531a2adf70cd1871fb13eab26dff133b7c.out 
> 2024-03-16 19:49:36.778941428 +0000
> @@ -1,2 +0,0 @@
> -Row 0:
> -  Column parse_url('https://example.com/search?flag'): 
> {"scheme":"https","user":null,"password":null,"host":"example.com","port":null,"path":"/search","query":"flag","parameters":{"flag":null},"fragment":null}
> FAIL! EXPECTED OUT DIFF
> ␛[0;31mBEGIN␛[0m 
> test_sql_str_func.sh_bac7f6531a2adf70cd1871fb13eab26dff133b7c.err
> error: sqlite3_exec failed -- misuse of sqlite3_result_subtype() by 
> parse_url()
> ␛[0;31mEND␛[0m   
> test_sql_str_func.sh_bac7f6531a2adf70cd1871fb13eab26dff133b7c.err
> ERR: test: env TEST_COMMENT=parse_url3 ./drive_sql
> --- 
> /<<PKGBUILDDIR>>/test/expected/test_sql_str_func.sh_bac7f6531a2adf70cd1871fb13eab26dff133b7c.err
>   2023-07-03 04:16:02.000000000 +0000
> +++ test_sql_str_func.sh_bac7f6531a2adf70cd1871fb13eab26dff133b7c.err 
> 2024-03-16 19:49:36.790941460 +0000
> @@ -0,0 +1 @@
> +error: sqlite3_exec failed -- misuse of sqlite3_result_subtype() by 
> parse_url()
> FAIL! EXPECTED ERR DIFF
> 
> 2024-03-16T19:49:36+00:00 
> ␛[0;35m=============================================================␛[0m
> ␛[0;35mCommand␛[0m: test: env TEST_COMMENT=parse_url4 ./drive_sql
> ␛[0;32mBEGIN␛[0m 
> test_sql_str_func.sh_805ca5e97fbf1ed56f2e920befd963255ba190b6.out
> ␛[0;32mEND␛[0m   
> test_sql_str_func.sh_805ca5e97fbf1ed56f2e920befd963255ba190b6.out
> OUT: test: env TEST_COMMENT=parse_url4 ./drive_sql
> --- 
> /<<PKGBUILDDIR>>/test/expected/test_sql_str_func.sh_805ca5e97fbf1ed56f2e920befd963255ba190b6.out
>   2023-07-03 04:16:02.000000000 +0000
> +++ test_sql_str_func.sh_805ca5e97fbf1ed56f2e920befd963255ba190b6.out 
> 2024-03-16 19:49:36.890941727 +0000
> @@ -1,2 +0,0 @@
> -Row 0:
> -  Column parse_url('https://example.com/search?flag&flag2'): 
> {"scheme":"https","user":null,"password":null,"host":"example.com","port":null,"path":"/search","query":"flag&flag2","parameters":{"flag":null,"flag2":null},"fragment":null}
> FAIL! EXPECTED OUT DIFF
> ␛[0;31mBEGIN␛[0m 
> test_sql_str_func.sh_805ca5e97fbf1ed56f2e920befd963255ba190b6.err
> error: sqlite3_exec failed -- misuse of sqlite3_result_subtype() by 
> parse_url()
> ␛[0;31mEND␛[0m   
> test_sql_str_func.sh_805ca5e97fbf1ed56f2e920befd963255ba190b6.err
> ERR: test: env TEST_COMMENT=parse_url4 ./drive_sql
> --- 
> /<<PKGBUILDDIR>>/test/expected/test_sql_str_func.sh_805ca5e97fbf1ed56f2e920befd963255ba190b6.err
>   2023-07-03 04:16:02.000000000 +0000
> +++ test_sql_str_func.sh_805ca5e97fbf1ed56f2e920befd963255ba190b6.err 
> 2024-03-16 19:49:36.898941748 +0000
> @@ -0,0 +1 @@
> +error: sqlite3_exec failed -- misuse of sqlite3_result_subtype() by 
> parse_url()
> FAIL! EXPECTED ERR DIFF
> 
> 2024-03-16T19:49:37+00:00 
> ␛[0;35m=============================================================␛[0m
> ␛[0;35mCommand␛[0m: test: env TEST_COMMENT=parse_url5 ./drive_sql
> ␛[0;32mBEGIN␛[0m 
> test_sql_str_func.sh_51766b600fd158a9e0677f6b0fa31b83537b2e5b.out
> ␛[0;32mEND␛[0m   
> test_sql_str_func.sh_51766b600fd158a9e0677f6b0fa31b83537b2e5b.out
> OUT: test: env TEST_COMMENT=parse_url5 ./drive_sql
> --- 
> /<<PKGBUILDDIR>>/test/expected/test_sql_str_func.sh_51766b600fd158a9e0677f6b0fa31b83537b2e5b.out
>   2023-07-03 04:16:02.000000000 +0000
> +++ test_sql_str_func.sh_51766b600fd158a9e0677f6b0fa31b83537b2e5b.out 
> 2024-03-16 19:49:36.998942015 +0000
> @@ -1,2 +0,0 @@
> -Row 0:
> -  Column parse_url('https://example.com/search?flag&flag2&=def'): 
> {"scheme":"https","user":null,"password":null,"host":"example.com","port":null,"path":"/search","query":"flag&flag2&=def","parameters":{"flag":null,"flag2":null,"":"def"},"fragment":null}
> FAIL! EXPECTED OUT DIFF
> ␛[0;31mBEGIN␛[0m 
> test_sql_str_func.sh_51766b600fd158a9e0677f6b0fa31b83537b2e5b.err
> error: sqlite3_exec failed -- misuse of sqlite3_result_subtype() by 
> parse_url()
> ␛[0;31mEND␛[0m   
> test_sql_str_func.sh_51766b600fd158a9e0677f6b0fa31b83537b2e5b.err
> ERR: test: env TEST_COMMENT=parse_url5 ./drive_sql
> --- 
> /<<PKGBUILDDIR>>/test/expected/test_sql_str_func.sh_51766b600fd158a9e0677f6b0fa31b83537b2e5b.err
>   2023-07-03 04:16:02.000000000 +0000
> +++ test_sql_str_func.sh_51766b600fd158a9e0677f6b0fa31b83537b2e5b.err 
> 2024-03-16 19:49:37.010942047 +0000
> @@ -0,0 +1 @@
> +error: sqlite3_exec failed -- misuse of sqlite3_result_subtype() by 
> parse_url()
> FAIL! EXPECTED ERR DIFF
> 
> 2024-03-16T19:49:37+00:00 
> ␛[0;35m=============================================================␛[0m
> ␛[0;35mCommand␛[0m: test: env TEST_COMMENT=parse_url6 ./drive_sql
> ␛[0;32mBEGIN␛[0m 
> test_sql_str_func.sh_6ff984d8ed3e5099376d19f0dd20d5fd1ed42494.out
> ␛[0;32mEND␛[0m   
> test_sql_str_func.sh_6ff984d8ed3e5099376d19f0dd20d5fd1ed42494.out
> OUT: test: env TEST_COMMENT=parse_url6 ./drive_sql
> --- 
> /<<PKGBUILDDIR>>/test/expected/test_sql_str_func.sh_6ff984d8ed3e5099376d19f0dd20d5fd1ed42494.out
>   2023-07-03 04:16:02.000000000 +0000
> +++ test_sql_str_func.sh_6ff984d8ed3e5099376d19f0dd20d5fd1ed42494.out 
> 2024-03-16 19:49:37.114942324 +0000
> @@ -1,2 +0,0 @@
> -Row 0:
> -  Column 
> parse_url('https://example.com/sea%26rch?flag&flag2&=def#frag1%20space'): 
> {"scheme":"https","user":null,"password":null,"host":"example.com","port":null,"path":"/sea&rch","query":"flag&flag2&=def","parameters":{"flag":null,"flag2":null,"":"def"},"fragment":"frag1
>  space"}
> FAIL! EXPECTED OUT DIFF
> ␛[0;31mBEGIN␛[0m 
> test_sql_str_func.sh_6ff984d8ed3e5099376d19f0dd20d5fd1ed42494.err
> error: sqlite3_exec failed -- misuse of sqlite3_result_subtype() by 
> parse_url()
> ␛[0;31mEND␛[0m   
> test_sql_str_func.sh_6ff984d8ed3e5099376d19f0dd20d5fd1ed42494.err
> ERR: test: env TEST_COMMENT=parse_url6 ./drive_sql
> --- 
> /<<PKGBUILDDIR>>/test/expected/test_sql_str_func.sh_6ff984d8ed3e5099376d19f0dd20d5fd1ed42494.err
>   2023-07-03 04:16:02.000000000 +0000
> +++ test_sql_str_func.sh_6ff984d8ed3e5099376d19f0dd20d5fd1ed42494.err 
> 2024-03-16 19:49:37.126942356 +0000
> @@ -0,0 +1 @@
> +error: sqlite3_exec failed -- misuse of sqlite3_result_subtype() by 
> parse_url()
> FAIL! EXPECTED ERR DIFF
> 
> 2024-03-16T19:49:37+00:00 
> ␛[0;35m=============================================================␛[0m
> ␛[0;35mCommand␛[0m: test: env TEST_COMMENT=unparse_url3 ./drive_sql
> ␛[0;32mBEGIN␛[0m 
> test_sql_str_func.sh_b81b27abfafbd357d41c407428d41ae0f4bb75e2.out
> ␛[0;32mEND␛[0m   
> test_sql_str_func.sh_b81b27abfafbd357d41c407428d41ae0f4bb75e2.out
> OUT: test: env TEST_COMMENT=unparse_url3 ./drive_sql
> --- 
> /<<PKGBUILDDIR>>/test/expected/test_sql_str_func.sh_b81b27abfafbd357d41c407428d41ae0f4bb75e2.out
>   2023-07-03 04:16:02.000000000 +0000
> +++ test_sql_str_func.sh_b81b27abfafbd357d41c407428d41ae0f4bb75e2.out 
> 2024-03-16 19:49:37.230942634 +0000
> @@ -1,2 +0,0 @@
> -Row 0:
> -  Column unparse_url(parse_url('https://example.com/search?flag')): 
> https://example.com/search?flag
> FAIL! EXPECTED OUT DIFF
> ␛[0;31mBEGIN␛[0m 
> test_sql_str_func.sh_b81b27abfafbd357d41c407428d41ae0f4bb75e2.err
> error: sqlite3_exec failed -- misuse of sqlite3_result_subtype() by 
> parse_url()
> ␛[0;31mEND␛[0m   
> test_sql_str_func.sh_b81b27abfafbd357d41c407428d41ae0f4bb75e2.err
> ERR: test: env TEST_COMMENT=unparse_url3 ./drive_sql
> --- 
> /<<PKGBUILDDIR>>/test/expected/test_sql_str_func.sh_b81b27abfafbd357d41c407428d41ae0f4bb75e2.err
>   2023-07-03 04:16:02.000000000 +0000
> +++ test_sql_str_func.sh_b81b27abfafbd357d41c407428d41ae0f4bb75e2.err 
> 2024-03-16 19:49:37.238942655 +0000
> @@ -0,0 +1 @@
> +error: sqlite3_exec failed -- misuse of sqlite3_result_subtype() by 
> parse_url()
> FAIL! EXPECTED ERR DIFF
> 
> 2024-03-16T19:49:37+00:00 
> ␛[0;35m=============================================================␛[0m
> ␛[0;35mCommand␛[0m: test: env TEST_COMMENT=unparse_url4 ./drive_sql
> ␛[0;32mBEGIN␛[0m 
> test_sql_str_func.sh_7c1e7604ac050e7047201638dca0a6b0fcfd8bdf.out
> ␛[0;32mEND␛[0m   
> test_sql_str_func.sh_7c1e7604ac050e7047201638dca0a6b0fcfd8bdf.out
> OUT: test: env TEST_COMMENT=unparse_url4 ./drive_sql
> --- 
> /<<PKGBUILDDIR>>/test/expected/test_sql_str_func.sh_7c1e7604ac050e7047201638dca0a6b0fcfd8bdf.out
>   2023-07-03 04:16:02.000000000 +0000
> +++ test_sql_str_func.sh_7c1e7604ac050e7047201638dca0a6b0fcfd8bdf.out 
> 2024-03-16 19:49:37.338942922 +0000
> @@ -1,2 +0,0 @@
> -Row 0:
> -  Column unparse_url(parse_url('https://example.com/search?flag&flag2')): 
> https://example.com/search?flag&flag2
> FAIL! EXPECTED OUT DIFF
> ␛[0;31mBEGIN␛[0m 
> test_sql_str_func.sh_7c1e7604ac050e7047201638dca0a6b0fcfd8bdf.err
> error: sqlite3_exec failed -- misuse of sqlite3_result_subtype() by 
> parse_url()
> ␛[0;31mEND␛[0m   
> test_sql_str_func.sh_7c1e7604ac050e7047201638dca0a6b0fcfd8bdf.err
> ERR: test: env TEST_COMMENT=unparse_url4 ./drive_sql
> --- 
> /<<PKGBUILDDIR>>/test/expected/test_sql_str_func.sh_7c1e7604ac050e7047201638dca0a6b0fcfd8bdf.err
>   2023-07-03 04:16:02.000000000 +0000
> +++ test_sql_str_func.sh_7c1e7604ac050e7047201638dca0a6b0fcfd8bdf.err 
> 2024-03-16 19:49:37.346942943 +0000
> @@ -0,0 +1 @@
> +error: sqlite3_exec failed -- misuse of sqlite3_result_subtype() by 
> parse_url()
> FAIL! EXPECTED ERR DIFF
> 
> 2024-03-16T19:49:37+00:00 
> ␛[0;35m=============================================================␛[0m
> ␛[0;35mCommand␛[0m: test: env TEST_COMMENT=unparse_url5 ./drive_sql
> ␛[0;32mBEGIN␛[0m 
> test_sql_str_func.sh_7b6e7c26e8a80459fef55d56156d6ff93c00bd49.out
> ␛[0;32mEND␛[0m   
> test_sql_str_func.sh_7b6e7c26e8a80459fef55d56156d6ff93c00bd49.out
> OUT: test: env TEST_COMMENT=unparse_url5 ./drive_sql
> --- 
> /<<PKGBUILDDIR>>/test/expected/test_sql_str_func.sh_7b6e7c26e8a80459fef55d56156d6ff93c00bd49.out
>   2023-07-03 04:16:02.000000000 +0000
> +++ test_sql_str_func.sh_7b6e7c26e8a80459fef55d56156d6ff93c00bd49.out 
> 2024-03-16 19:49:37.430943167 +0000
> @@ -1,2 +0,0 @@
> -Row 0:
> -  Column 
> unparse_url(parse_url('https://example.com/search?flag&flag2&=def')): 
> https://example.com/search?flag&flag2&=def
> FAIL! EXPECTED OUT DIFF
> ␛[0;31mBEGIN␛[0m 
> test_sql_str_func.sh_7b6e7c26e8a80459fef55d56156d6ff93c00bd49.err
> error: sqlite3_exec failed -- misuse of sqlite3_result_subtype() by 
> parse_url()
> ␛[0;31mEND␛[0m   
> test_sql_str_func.sh_7b6e7c26e8a80459fef55d56156d6ff93c00bd49.err
> ERR: test: env TEST_COMMENT=unparse_url5 ./drive_sql
> --- 
> /<<PKGBUILDDIR>>/test/expected/test_sql_str_func.sh_7b6e7c26e8a80459fef55d56156d6ff93c00bd49.err
>   2023-07-03 04:16:02.000000000 +0000
> +++ test_sql_str_func.sh_7b6e7c26e8a80459fef55d56156d6ff93c00bd49.err 
> 2024-03-16 19:49:37.438943188 +0000
> @@ -0,0 +1 @@
> +error: sqlite3_exec failed -- misuse of sqlite3_result_subtype() by 
> parse_url()
> FAIL! EXPECTED ERR DIFF
> 
> 2024-03-16T19:49:37+00:00 
> ␛[0;35m=============================================================␛[0m
> ␛[0;35mCommand␛[0m: test: env TEST_COMMENT=unparse_url6 ./drive_sql
> ␛[0;32mBEGIN␛[0m 
> test_sql_str_func.sh_30f65162174b886130b94a5dd1f094e7f09debed.out
> ␛[0;32mEND␛[0m   
> test_sql_str_func.sh_30f65162174b886130b94a5dd1f094e7f09debed.out
> OUT: test: env TEST_COMMENT=unparse_url6 ./drive_sql
> --- 
> /<<PKGBUILDDIR>>/test/expected/test_sql_str_func.sh_30f65162174b886130b94a5dd1f094e7f09debed.out
>   2023-07-03 04:16:02.000000000 +0000
> +++ test_sql_str_func.sh_30f65162174b886130b94a5dd1f094e7f09debed.out 
> 2024-03-16 19:49:37.510943381 +0000
> @@ -1,2 +0,0 @@
> -Row 0:
> -  Column 
> unparse_url(parse_url('https://example.com/search?flag&flag2&=def#frag1%20space')):
>  https://example.com/search?flag&flag2&=def#frag1%20space
> FAIL! EXPECTED OUT DIFF
> ␛[0;31mBEGIN␛[0m 
> test_sql_str_func.sh_30f65162174b886130b94a5dd1f094e7f09debed.err
> error: sqlite3_exec failed -- misuse of sqlite3_result_subtype() by 
> parse_url()
> ␛[0;31mEND␛[0m   
> test_sql_str_func.sh_30f65162174b886130b94a5dd1f094e7f09debed.err
> ERR: test: env TEST_COMMENT=unparse_url6 ./drive_sql
> --- 
> /<<PKGBUILDDIR>>/test/expected/test_sql_str_func.sh_30f65162174b886130b94a5dd1f094e7f09debed.err
>   2023-07-03 04:16:02.000000000 +0000
> +++ test_sql_str_func.sh_30f65162174b886130b94a5dd1f094e7f09debed.err 
> 2024-03-16 19:49:37.522943413 +0000
> @@ -0,0 +1 @@
> +error: sqlite3_exec failed -- misuse of sqlite3_result_subtype() by 
> parse_url()
> FAIL! EXPECTED ERR DIFF
> 
> 2024-03-16T19:49:37+00:00 
> ␛[0;35m=============================================================␛[0m
> ␛[0;35mCommand␛[0m: test: ../src/lnav-test -n -c ;SELECT log_body, 
> extract(log_body) from vmw_log -c :write-json-to - 
> {test_dir}/logfile_vmw_log.0
> ␛[0;32mBEGIN␛[0m 
> test_sql_str_func.sh_d54a759f5683a22ad289129b2096b80652b1cc0c.out
> ␛[0;32mEND␛[0m   
> test_sql_str_func.sh_d54a759f5683a22ad289129b2096b80652b1cc0c.out
> OUT: test: ../src/lnav-test -n -c ;SELECT log_body, extract(log_body) from 
> vmw_log -c :write-json-to - {test_dir}/logfile_vmw_log.0
> --- 
> /<<PKGBUILDDIR>>/test/expected/test_sql_str_func.sh_d54a759f5683a22ad289129b2096b80652b1cc0c.out
>   2023-07-03 04:16:02.000000000 +0000
> +++ test_sql_str_func.sh_d54a759f5683a22ad289129b2096b80652b1cc0c.out 
> 2024-03-16 19:49:37.738943989 +0000
> @@ -1,47 +0,0 @@
> -[
> -    {
> -        "log_body": "[VpxLRO] -- BEGIN lro-846063 -- SessionManager -- 
> vim.SessionManager.sessionIsActive -- 
> 528e6e0c-246d-58b5-3234-278c6e0c5d0d(52c289ac-2563-48d5-8a8e-f178da022c0d)",
> -        "extract(log_body)": {
> -            "col_0": [
> -                "VpxLRO"
> -            ],
> -            "col_1": "--",
> -            "col_2": "BEGIN",
> -            "col_3": "lro-846063",
> -            "col_4": "--",
> -            "col_5": "SessionManager",
> -            "col_6": "--",
> -            "col_7": "vim.SessionManager.sessionIsActive",
> -            "col_8": "--",
> -            "col_9": "528e6e0c-246d-58b5-3234-278c6e0c5d0d",
> -            "col_10": [
> -                "52c289ac-2563-48d5-8a8e-f178da022c0d"
> -            ]
> -        }
> -    },
> -    {
> -        "log_body": "[VpxLRO] -- FINISH lro-846063",
> -        "extract(log_body)": {
> -            "col_0": [
> -                "VpxLRO"
> -            ],
> -            "col_1": "--",
> -            "col_2": "FINISH",
> -            "col_3": "lro-846063"
> -        }
> -    },
> -    {
> -        "log_body": "Exception was thrown when call vsan-performance-manager 
> for cluster [vim.ClusterComputeResource:domain-c109,Cluster-52] perf metrics: 
> N3Vim5Fault8NotFound9ExceptionE(Fault cause: vim.fault.NotFound\n--> )",
> -        "extract(log_body)": {
> -            "Exception was thrown when call vsan-performance-manager for 
> cluster [vim.ClusterComputeResource:domain-c109,Cluster-52] perf metrics": {
> -                "N3Vim5Fault8NotFound9ExceptionE": [
> -                    "Fault cause",
> -                    "vim.fault.NotFound",
> -                    "\n",
> -                    "--",
> -                    ">"
> -                ]
> -            }
> -        }
> -    }
> -]
> FAIL! EXPECTED OUT DIFF
> ␛[0;31mBEGIN␛[0m 
> test_sql_str_func.sh_d54a759f5683a22ad289129b2096b80652b1cc0c.err
> ✘ error: SQL statement failed
>  reason: misuse of sqlite3_result_subtype() by extract()
>  --> command-option:1
>  | ;SELECT log_body, extract(log_body) from vmw_log
> ✘ error: no query result to write, use ';' to execute a query
>  --> command-option:2
>  | :write-json-to -                        
>  = help: :write-json-to [--anonymize] path
>          
> ══════════════════════════════════════════════════════════════════════
>            Write SQL results to the given file in JSON format
> ␛[0;31mEND␛[0m   
> test_sql_str_func.sh_d54a759f5683a22ad289129b2096b80652b1cc0c.err
> ERR: test: ../src/lnav-test -n -c ;SELECT log_body, extract(log_body) from 
> vmw_log -c :write-json-to - {test_dir}/logfile_vmw_log.0
> --- 
> /<<PKGBUILDDIR>>/test/expected/test_sql_str_func.sh_d54a759f5683a22ad289129b2096b80652b1cc0c.err
>   2023-07-03 04:16:02.000000000 +0000
> +++ test_sql_str_func.sh_d54a759f5683a22ad289129b2096b80652b1cc0c.err 
> 2024-03-16 19:49:37.746944010 +0000
> @@ -0,0 +1,10 @@
> +✘ error: SQL statement failed
> + reason: misuse of sqlite3_result_subtype() by extract()
> + --> command-option:1
> + | ;SELECT log_body, extract(log_body) from vmw_log
> +✘ error: no query result to write, use ';' to execute a query
> + --> command-option:2
> + | :write-json-to -                        
> + = help: :write-json-to [--anonymize] path
> +         
> ══════════════════════════════════════════════════════════════════════
> +           Write SQL results to the given file in JSON format
> FAIL! EXPECTED ERR DIFF
> 
> 2024-03-16T19:49:37+00:00 
> ␛[0;35m=============================================================␛[0m
> ␛[0;35mCommand␛[0m: test: ../src/lnav-test -n -c ;SELECT 
> anonymize(bro_id_resp_h) FROM bro_http_log {test_dir}/logfile_bro_http.log.0
> ␛[0;32mBEGIN␛[0m 
> test_sql_str_func.sh_11d458fdadd00df1239a0eeaac049abb49ed212d.out
> anonymize(bro_id_resp_h) 
> 10.0.0.1                 
> 10.0.0.2                 
> 10.0.0.2                 
> 10.0.0.2                 
> 10.0.0.2                 
> 10.0.0.2                 
> 10.0.0.2                 
> 10.0.0.3                 
> 10.0.0.4                 
> 10.0.0.1                 
> 10.0.0.4                 
> 10.0.0.4                 
> 10.0.0.5                 
> 10.0.0.4                 
> 10.0.0.4                 
> 10.0.0.1                 
> 10.0.0.6                 
> 10.0.0.4                 
> 10.0.0.7                 
> 10.0.0.8                 
> 10.0.0.8                 
> 10.0.0.8                 
> 10.0.0.8                 
> 10.0.0.8                 
> 10.0.0.8                 
> 10.0.0.8                 
> 10.0.0.8                 
> 10.0.0.9                 
> 10.0.0.10                
> 10.0.0.5                 
> 10.0.0.11                
> 10.0.0.11                
> 10.0.0.11                
> 10.0.0.11                
> 10.0.0.11                
> 10.0.0.11                
> 10.0.0.5                 
> 10.0.0.11                
> 10.0.0.11                
> 10.0.0.11                
> 10.0.0.11                
> 10.0.0.11                
> 10.0.0.11                
> 10.0.0.11                
> 10.0.0.11                
> 10.0.0.11                
> 10.0.0.11                
> 10.0.0.5                 
> 10.0.0.10                
> 10.0.0.6                 
> 10.0.0.12                
> 10.0.0.1                 
> 10.0.0.1                 
> 10.0.0.6                 
> 10.0.0.11                
> 10.0.0.11                
> 10.0.0.13                
> 10.0.0.6                 
> 10.0.0.11                
> 10.0.0.11                
> 10.0.0.11                
> 10.0.0.13                
> 10.0.0.6                 
> 10.0.0.6                 
> 10.0.0.6                 
> 10.0.0.6                 
> 10.0.0.6                 
> 10.0.0.6                 
> 10.0.0.6                 
> 10.0.0.6                 
> 10.0.0.14                
> 10.0.0.6                 
> 10.0.0.14                
> 10.0.0.15                
> 10.0.0.16                
> 10.0.0.6                 
> 10.0.0.16                
> 10.0.0.17                
> 10.0.0.5                 
> 10.0.0.1                 
> 10.0.0.17                
> 10.0.0.15                
> 10.0.0.17                
> 10.0.0.18                
> 10.0.0.18                
> 10.0.0.10                
> 10.0.0.5                 
> 10.0.0.11                
> 10.0.0.11                
> 10.0.0.11                
> 10.0.0.11                
> 10.0.0.11                
> 10.0.0.11                
> 10.0.0.11                
> 10.0.0.11                
> 10.0.0.11                
> 10.0.0.18                
> 10.0.0.11                
> 10.0.0.11                
> 10.0.0.11                
> 10.0.0.18                
> 10.0.0.18                
> 10.0.0.18                
> 10.0.0.19                
> 10.0.0.18                
> 10.0.0.19                
> 10.0.0.19                
> 10.0.0.19                
> 10.0.0.19                
> 10.0.0.19                
> 10.0.0.19                
> 10.0.0.19                
> 10.0.0.19                
> 10.0.0.20                
> 10.0.0.20                
> 10.0.0.21                
> 10.0.0.18                
> 10.0.0.18                
> 10.0.0.22                
> 10.0.0.6                 
> 10.0.0.5                 
> 10.0.0.5                 
> 10.0.0.5                 
> 10.0.0.5                 
> 10.0.0.6                 
> 10.0.0.23                
> 10.0.0.24                
> 10.0.0.23                
> 10.0.0.23                
> 10.0.0.23                
> 10.0.0.23                
> 10.0.0.23                
> 10.0.0.23                
> 10.0.0.23                
> 10.0.0.23                
> 10.0.0.23                
> 10.0.0.23                
> 10.0.0.23                
> 10.0.0.23                
> 10.0.0.23                
> 10.0.0.23                
> 10.0.0.24                
> 10.0.0.24                
> 10.0.0.24                
> 10.0.0.24                
> 10.0.0.25                
> 10.0.0.26                
> 10.0.0.27                
> 10.0.0.23                
> 10.0.0.23                
> 10.0.0.23                
> 10.0.0.25                
> 10.0.0.26                
> 10.0.0.24                
> 10.0.0.24                
> 10.0.0.27                
> 10.0.0.23                
> 10.0.0.25                
> 10.0.0.26                
> 10.0.0.24                
> 10.0.0.24                
> 10.0.0.27                
> 10.0.0.25                
> 10.0.0.26                
> 10.0.0.24                
> 10.0.0.24                
> 10.0.0.27                
> 10.0.0.28                
> 10.0.0.23                
> 10.0.0.25                
> 10.0.0.24                
> 10.0.0.24                
> 10.0.0.27                
> 10.0.0.26                
> 10.0.0.23                
> 10.0.0.25                
> 10.0.0.26                
> 10.0.0.24                
> 10.0.0.24                
> 10.0.0.27                
> 10.0.0.23                
> 10.0.0.23                
> 10.0.0.23                
> 10.0.0.23                
> 10.0.0.23                
> 10.0.0.23                
> 10.0.0.23                
> 10.0.0.23                
> 10.0.0.23                
> 10.0.0.23                
> 10.0.0.27                
> 10.0.0.23                
> 10.0.0.25                
> 10.0.0.24                
> 10.0.0.24                
> 10.0.0.27                
> 10.0.0.26                
> ␛[0;32mEND␛[0m   
> test_sql_str_func.sh_11d458fdadd00df1239a0eeaac049abb49ed212d.out
> ␛[0;31mBEGIN␛[0m 
> test_sql_str_func.sh_11d458fdadd00df1239a0eeaac049abb49ed212d.err
> ␛[0;31mEND␛[0m   
> test_sql_str_func.sh_11d458fdadd00df1239a0eeaac049abb49ed212d.err
> FAIL test_sql_str_func.sh (exit status: 1)
> 
> ============================================================================
> Testsuite summary for lnav 0.11.2
> ============================================================================
> # TOTAL: 41
> # PASS:  36
> # SKIP:  0
> # XFAIL: 0
> # FAIL:  5
> # XPASS: 0
> # ERROR: 0

Thanks for the report. This is puzzling, as the very same version did
build on the archive upload. So the tests are either not stable enough
(we had that in past) or it is a fallout of the time_t
transition/changes or some other change inbetween happened. But it's
surprising that its just armel and armhf.

I will try to debug this.

Regards,
Salvatore

Reply via email to