there should be postgres/mysql/sqlite USE flag in the prosody ebuild which make it depends on dev-lua/luadbi with the same useflag Reproducible: Always
This has been fixed in the new prosody-0.8.1 ebuild.