Re: Weird corner-case failure mode for VPATH builds

2020-10-13 Thread Noah Misch
On Fri, Sep 04, 2020 at 09:49:16PM -0400, Tom Lane wrote: > There are a couple different ways we might think about fixing > this. Maybe this specific rule is broken and needs to be fixed to > not assume that '$(dir $<)' is the same for all its dependencies. > Alternatively, maybe the problem is th

Re: Weird corner-case failure mode for VPATH builds

2020-09-11 Thread Andres Freund
Hi, On 2020-09-11 13:58:41 -0300, Alvaro Herrera wrote: > On 2020-Sep-11, Robert Haas wrote: > > > On Fri, Sep 4, 2020 at 9:49 PM Tom Lane wrote: > > > I discovered a problem today while trying to do a VPATH build on > > > a machine I don't use that often: > > > > > > $ make > > > ... > > > In f

Re: Weird corner-case failure mode for VPATH builds

2020-09-11 Thread Alvaro Herrera
On 2020-Sep-11, Robert Haas wrote: > On Fri, Sep 4, 2020 at 9:49 PM Tom Lane wrote: > > I discovered a problem today while trying to do a VPATH build on > > a machine I don't use that often: > > > > $ make > > ... > > In file included from /home/tgl/pgsql/src/include/postgres.h:47, > >

Re: Weird corner-case failure mode for VPATH builds

2020-09-11 Thread Robert Haas
On Fri, Sep 4, 2020 at 9:49 PM Tom Lane wrote: > I discovered a problem today while trying to do a VPATH build on > a machine I don't use that often: > > $ make > ... > In file included from /home/tgl/pgsql/src/include/postgres.h:47, > from /home/tgl/pgsql/src/common/hashfn.c:24:

Weird corner-case failure mode for VPATH builds

2020-09-04 Thread Tom Lane
I discovered a problem today while trying to do a VPATH build on a machine I don't use that often: $ make ... In file included from /home/tgl/pgsql/src/include/postgres.h:47, from /home/tgl/pgsql/src/common/hashfn.c:24: /home/tgl/pgsql/src/include/utils/elog.h:71:10: fatal error: