syslog-ng uses the "sql" use flag for enabling the ability to use dev-db/libdbi. The proper use flag to do this is the "dbi" use flag (as documented in use.desc). The ebuild should be changed to remove the "sql" use flag and add "dbi" in its place. Reproducible: Always
fixed in 3.4.1