LC_MESSAGES set to anything else than C (even if not set explicitly, but implicitly through LC_ALL or LANG) causes initdb to fail with error 'failed to initialize lc_messages to ""'. To work around this, line calling initdb in the ebuild has to be prepended with 'LC_MESSAGES=C '.
Works fine here with 8.0.4, reopen if you still have this issue.
(In reply to comment #1) > Works fine here with 8.0.4, reopen if you still have this issue. > I had the same exact issue: emerge --config =dev-db/postgresql-8.15.0 fails complaining about lc_message LC_ALL was set to it_IT.UTF8 I exported manually LC_ALL=C and configuration went well, giving me a working install of postgresql. After initdb reverting LC_ALL to former values gives no problem.
(In reply to comment #2) > (In reply to comment #1) > > Works fine here with 8.0.4, reopen if you still have this issue. > > > > I had the same exact issue: > emerge --config =dev-db/postgresql-8.15.0 > > fails complaining about lc_message > LC_ALL was set to it_IT.UTF8 > I exported manually LC_ALL=C and configuration went well, giving me a working > install of postgresql. > After initdb reverting LC_ALL to former values gives no problem. > sry for the typo it's 8.0.15, not 8.15.0