Vladimir Koković <vladimir.kokovic@a-asoft.com> writes:
> PostgreSQL build failed with current GIT source.
Works for me ...
> pg_regress: could not open file
> "/home/src/postgresql-devel/postgresql-git/postgresql/src/test/regress/sql/security_label.sql"
> for writing: Permission denied
> make[2]: *** [check] Error 2
Hmmm. Reading between the lines here, but are you attempting to do a
VPATH build as a user that doesn't have write permission on the source
tree? AFAIK that's never worked, and isn't expected to work, because
architecture-independent derived files will be stored back into the
source tree.
regards, tom lane