Summary: | postgresql-base-8.3.1 and postgresql-server-8.3.1 build failure | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Leonid Podolny <leonidp.lists> |
Component: | New packages | Assignee: | PgSQL Bugs <pgsql-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gentoo, tb |
Priority: | High | ||
Version: | 2007.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
emerge --info |
Description
Leonid Podolny
2008-05-22 10:54:37 UTC
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! |