Package Details: sqlar-fossil f9267bb61a-1

Git Clone URL: https://aur.archlinux.org/sqlar-fossil.git (read-only, click to copy)
Package Base: sqlar-fossil
Description: Compressed archives in SQLite databases, including a fuse filesystem
Upstream URL: https://sqlite.org/sqlar/doc/trunk/README.md
Licenses: Public Domain
Conflicts: sqlar
Provides: sqlar
Submitter: ido50
Maintainer: ido50
Last Packager: ido50
Votes: 2
Popularity: 0.000049
First Submitted: 2021-04-08 11:39 (UTC)
Last Updated: 2023-10-03 09:58 (UTC)

Dependencies (5)

Required by (0)

Sources (0)

Latest Comments

ido50 commented on 2023-10-03 10:09 (UTC)

Thanks a lot, fixed and updated.

paulieg commented on 2023-10-03 02:22 (UTC) (edited on 2023-10-03 02:24 (UTC) by paulieg)

This fails to compile with the included sqlite3.c amalgamation with current gcc:

sqlite3.c:103150:3: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation]
103150 |   if( pIdx->pPartIdxWhere!=0 ) a[0] -= 10;  assert( 10==sqlite3LogEst(2) );

Generally speaking, people have been fixing this by using the sqlite3.c amalgamation produced by make sqlite3.c from the main repo. However, this would complicate the PKGBUILD as written, so here's a better solution.

Add the following to the value of CFLAGS in the build() stage:

CFLAGS="-Wno-misleading-indentation -Wno-return-local-addr -O2"

The latter two are not strictly necessary, but it turns on optimisation which is inexplicably turned off and silences a spurious warning resulting from it.