postgresql-7.4.2-r1 has a DEPEND for sudo, but no RDEPEND. It then uses sudo during "ebuild ... config" Reproducible: Always Steps to Reproduce: 1. build binary package (mine was part of a GRP) 2. package installs fine on target system (without requiring sudo) Actual Results: Now you can't config the initial database because sudo is required, but isn't installed Expected Results: The package should either require sudo via RDEPEND, or the config part of the ebuild should be re-written with a here document piped to su (though I supposed that might yield undesireable results for non-root portage-group members doing the config).
Fixed. Thank you for reporting.