Re: Compilation of timezone source with zic fails (on mountpoint) - Mailing list pgsql-bugs

From Sandeep Thakkar
Subject Re: Compilation of timezone source with zic fails (on mountpoint)
Date
Msg-id CANFyU95y67C94yEvr_dev7jF1Y60TEpYrYHM=2RWicwSyFkAJQ@mail.gmail.com
Whole thread Raw
In response to Re: Compilation of timezone source with zic fails (on mountpoint)  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Compilation of timezone source with zic fails (on mountpoint)
Re: Compilation of timezone source with zic fails (on mountpoint)
List pgsql-bugs
On Wed, Nov 2, 2016 at 6:59 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> Sandeep Thakkar <sandeep.thakkar@enterprisedb.com> writes:
> > Yes, zic has always attempted to create hard links and it never failed on
> > our build farm and we haven't changed anything.
>
> > The patch given doesn't help. I guess the problem is that in dolink(),
> the
> > fromfield value is a directory (path to postgresql/timezone) and hence
> the
> > make install fails at following check:
>
> Well, that should have failed for anyone.  Maybe you mean that it's
> trying to symlink from a symlink?
>
> No, I mean the itsdir(fromname); is returning the non zero value and I
thought it is because it thinks the fromname is a directory and not a file.
Anyway, I observed that there is change in the itsdir() function that it
now returns '2' for the symbolic links. Hence the error. Till previous
release, it used to return '0' for symbolic links.  If hard links cannot be
used and it fallsback to symbolic links, then itsdir() should return '0'
for symbolic links. Isn't it?



>                         regards, tom lane
>



--
Sandeep Thakkar

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #14404: High row estimates when query uses master inherited tables
Next
From: Tom Lane
Date:
Subject: Re: Compilation of timezone source with zic fails (on mountpoint)