optional_tests test TCL functions even if they are not compiled in. Reproducible: Always /var/tmp/paludis/dev-db-sqlcipher-3.3.0/temp//ccDXvwdJ.o: In function `dbFreeStmt': tclsqlite.c:(.text+0x7e4): undefined reference to `Tcl_Free' tclsqlite.c:(.text+0x7f7): undefined reference to `Tcl_Free' /var/tmp/paludis/dev-db-sqlcipher-3.3.0/temp//ccDXvwdJ.o: In function `DbDeleteCmd': tclsqlite.c:(.text+0x85b): undefined reference to `Tcl_UnregisterChannel' tclsqlite.c:(.text+0x87c): undefined reference to `Tcl_Free' tclsqlite.c:(.text+0x89f): undefined reference to `TclFreeObj' tclsqlite.c:(.text+0x8b2): undefined reference to `Tcl_Free' tclsqlite.c:(.text+0x8c8): undefined reference to `Tcl_Free' tclsqlite.c:(.text+0x8d7): undefined reference to `Tcl_Free' tclsqlite.c:(.text+0x8e6): undefined reference to `Tcl_Free' tclsqlite.c:(.text+0x8f5): undefined reference to `Tcl_Free' /var/tmp/paludis/dev-db-sqlcipher-3.3.0/temp//ccDXvwdJ.o:tclsqlite.c:(.text+0x904): more undefined references to `Tcl_Free' follow /var/tmp/paludis/dev-db-sqlcipher-3.3.0/temp//ccDXvwdJ.o: In function `DbDeleteCmd': tclsqlite.c:(.text+0x964): undefined reference to `TclFreeObj' tclsqlite.c:(.text+0x97a): undefined reference to `TclFreeObj' tclsqlite.c:(.text+0x984): undefined reference to `TclFreeObj' tclsqlite.c:(.text+0x98e): undefined reference to `TclFreeObj' /var/tmp/paludis/dev-db-sqlcipher-3.3.0/temp//ccDXvwdJ.o: In function `DbTransPostCmd': tclsqlite.c:(.text+0xa19): undefined reference to `Tcl_AppendResult' /var/tmp/paludis/dev-db-sqlcipher-3.3.0/temp//ccDXvwdJ.o: In function `tclCollateNeeded': tclsqlite.c:(.text+0xab5): undefined reference to `Tcl_DuplicateObj' tclsqlite.c:(.text+0xac9): undefined reference to `Tcl_NewStringObj' tclsqlite.c:(.text+0xadd): undefined reference to `Tcl_ListObjAppendElement' ...
commit ef28c6338ead2ab85cdce9a0de238e15cb564288 Author: Sergey Popov <pinkbyte@gentoo.org> Date: Mon May 30 23:36:30 2016 +0300 dev-db/sqlcipher: fix building with FEATURES="test" Testsuite requires, that sqlcipher is built with TCL Gentoo-Bug: 582584 Reported-by: Killian De Volder <Killian.de.volder@scarlet.be> Package-Manager: portage-2.3.0_rc1 Thank you for your contribution