The command "cddb_query query" fails with "*** libcdio support missing, CD access failed ***" It appears that the libcddb ebuild has a "econf --without-cdio" line. Well maybe there is a good reason for that, I don't know, but a USE flags would have been welcome. I manually compiled libcddb WITH cdio and it seems to work fine.
From ChangeLog: 28 Sep 2006; Diego Pettenò <flameeyes sobaka gentoo.org> libcddb-1.2.1.ebuild: Fix circular dependency with libcdio as reported by Mike Lundy in bug #149383, thanks to Anders Hellgren (kallamej) for the solution. But lets let maintainers to review.
Created attachment 218075 [details] proposed patch This modified ebuild just checks if libcdio is already installed. If it is the case, then libcddb is build with cdio support.
I can confirm that savi's patch fixes this, and that it is still an issue.