Summary: | For dev-db/postgresql-server-8.4.3 'emerge postgresql-server --config' fails because of empty PG_INITDB_OPTS | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | Current packages | Assignee: | PgSQL Bugs <pgsql-bugs> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 2006.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Juergen Rose
2010-05-14 12:34:09 UTC
Still a notice I rename the old /var/lib/postgresql/8.4 directory to 8.4__legacytimestamp. Also adding a line: PG_INITDB_OPTS="-E utf8" as suggested in Bug #233572 does not solved the issue. I now get: root@lynx:/root(371)# emerge postgresql-server --config Configuring pkg... * PG_INITDB_OPTS set in /etc/conf.d/postgresql-8.4 * PG_INITDB_OPTS was set in /etc/conf.d/postgresql-8.4 * Or, locales were found in /etc/env.d/02locale * But, a satisfying match was not found. * ERROR: dev-db/postgresql-server-8.4.3 failed: * No locale information found or character set not specified. Why there is no applicable default in /etc/conf.d/postgresql-8.4? Adding the line PG_INITDB_OPTS="--locale=en_US.UTF-8" solved the problem. This needs to be fixed. Requiring PG_INITDB_OPTS is asinine, because it really is not required to make initializing the database work. Adding PG_INITDB_OPTS="--locale=en_US.UTF-8" is merely a work-around for a BROKEN way of doing thing. Please fix this ASAP. The -r1's have been committed to the tree. This bug should be resolved. Reopen if you still manage to hit it. |