Re: testing dist tarballs - Mailing list pgsql-hackers

From Andres Freund
Subject Re: testing dist tarballs
Date
Msg-id 20230527184713.32pjrsfgm2pixwmu@alap3.anarazel.de
Whole thread Raw
In response to Re: testing dist tarballs  (Peter Eisentraut <peter@eisentraut.org>)
Responses Re: testing dist tarballs
List pgsql-hackers
Hi,

On 2023-05-26 09:02:33 +0200, Peter Eisentraut wrote:
> On 24.05.23 23:24, Andres Freund wrote:
> > First thing I noticed that 'make dist' doesn't work in a vpath, failing in a
> > somewhat obscure way (likely because in a vpath build the the copy from the
> > source dir doesn't include GNUMakefile). Do we expect it to work?
> 
> I don't think so.

Maybe we should just error out in that case, instead of failing in an obscure
way down the line?


> > Separately, it's somewhat confusing that we include errcodes.h etc in
> > src/backend/utils, rather than its final location, in src/include/utils. It
> > works, even without perl, because copying the file doesn't require perl, it's
> > just generating it...
> 
> The "copying" is actually a symlink, right?  I don't think we want to ship
> symlinks in the tarball?

Fair point - still seems we should just create the files in the right
directory instead of doing it in the wrong place and then creating symlinks to
make them accessible...

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Why does pg_bsd_indent need to be installed?
Next
From: Gurjeet Singh
Date:
Subject: Document that server will start even if it's unable to open some TCP/IP ports