Build log and emerge info attached
Created attachment 153923 [details] build.log build.log
Created attachment 153925 [details] emerge --info
Change the line that reads use $u && echo ${u#linguas_} to use $u && echo -n "${u#linguas_} " In /usr/portage/dev-db/postgresql-base/postgresql-base-8.3.1.ebuild
(In reply to comment #3) > > use $u && echo ${u#linguas_} > > to > > use $u && echo -n "${u#linguas_} " It works, great.
The very same error and the very same fix applies to /usr/portage/dev-db/postgresql-server/postgresql-server-8.3.1.ebuild
This happens because Leonid has two LINGUAS defined that are recognized by the pgsql ebuilds: es and ru. As written the "echo" line in wanted_languages will add a newline between es and ru. This newline propagates to the makefile, which winds up with two lines like this: WANTED_LANGUAGES=es ru The bareword language definition at the beginning of a line is what causes make to barf. The fix suppresses the newline and adds a space between the languages.
Fixed. Thanks for the report and the analysis!