pkg database issue: database version 34 is newer than libpkg(3) version 33 ?

Matthew Seaman matthew at FreeBSD.org
Sun Jan 22 15:15:58 UTC 2017


On 22/01/2017 12:55, Kurt Jaeger wrote:
> Yes. The question is: why is
> 
> CREATE VIRTUAL TABLE pkg_search USING fts4(id, name, origin);
> 
> in sqlite3 failing, even if 
> 
> pkg info sqlite3
> 
> is configured with:
> 
>         FTS4           : on
> 

pkg doesn't use the sqlite3 port.  It has it's own private copy of the
sqlite3 sources:

https://github.com/freebsd/pkg/tree/master/external/sqlite

That's a policy thing: pkg(8) should not be dependent on any other
packages, so it imports everything it needs.

Although pkg's private sqlite should be compiled with FTS4 support:

https://github.com/freebsd/pkg/blob/master/external/Makefile.am#L243

	Cheers,

	Matthew


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 931 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20170122/c2f6d4f0/attachment.sig>


More information about the freebsd-ports mailing list