The packages dev-libs/apr-util does not follow not following this definition of the sqlite use flag. The package is misinterpreting the flag to mean dev-db/sqlite version 2 is required. Since sqlite version 2 is broken on amd64 and appears to have been out of development for a long time, this is causing problems for packages that need to use sqlite. The definitions from use.desc: sqlite - Adds support for sqlite - embedded sql database sqlite3 - Adds support for sqlite3 - embedded sql database The ebuild should change to use the following approach: sqlite3? ( dev-db/sqlite:3 ) !sqlite3? ( sqlite? ( dev-db/sqlite:0 ) ) Reproducible: Always Steps to Reproduce: Toggle the sqlite and sqlite3 use flags