Installing dev-db/postgresql-base-9.0.4-r2 and dev-db/postgresql-server-9.0.4-r1 with ROOT causes files to be installed into paths within ${ROOT} that themselves contain ${ROOT}. # ROOT=/mnt/trunk equery list postgresql [ Searching for package 'postgresql' in all categories among: ] * installed packages [I--] [ ] app-admin/eselect-postgresql-1.0.10 (0) [I--] [ ] dev-db/postgresql-base-9.0.4-r2 (9.0) [I--] [ ] dev-db/postgresql-server-9.0.4-r1 (9.0) # ROOT=/mnt/trunk qlist postgresql-base | egrep -c '^/mnt/trunk' 533 # ROOT=/mnt/trunk qlist postgresql-base | egrep -cv '^/mnt/trunk' 173 # ROOT=/mnt/trunk qlist postgresql-server | egrep -c '^/mnt/trunk' 194 # ROOT=/mnt/trunk qlist postgresql-server | egrep -cv '^/mnt/trunk' 16 # cat /mnt/trunk/etc/env.d/50postgresql # Configuration file for eselect # This file has been automatically generated. LDPATH="/mnt/trunk/usr/lib/postgresql:/mnt/trunk/usr/lib64/postgresql:/mnt/trunk/usr/lib64/postgresql-9.0/lib64/" MANPATH="/mnt/trunk/usr/share/postgresql/man/:/mnt/trunk/usr/share/postgresql-9.0/man/" PATH="/usr/lib64/postgresql-9.0/bin" PGHOME="/usr/lib64/postgresql-9.0" This is a regression against the PostgreSQL 9.0.3 ebuilds, which did not exhibit this erroneous behavior.
Give the latest revisions a go. The previously had ${EROOT} in the econf paths when it should have been ${EPREFIX}.
Fixed! Thanks for the quick turnaround.