make -jn fails by requiring not-yet-generated include files.

From: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: make -jn fails by requiring not-yet-generated include files.
Date: 2019-07-10 07:17:35
Message-ID: 20190710.161735.263215352.horikyota.ntt@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Sorry, the subject of the previous mail was wrong. I resend it
with the correct subject.

====
I found the following make's behavior is annoying (at dab81b9953).

make distclean
./configure ....
make all
<succeeds>
make -j4 clean all
relpath.c:21:10: fatal error: catalog/pg_tablespace_d.h: No such file or directory
#include "catalog/pg_tablespace_d.h"

(-j is needed, this happnes for me by -j2)

Just fixing the Makefile for it reveals the next complainer.

I'm not sure that it's the right thing but make got quiet by
moving include to the top in SUBDIRS in src/Makefile.

regards.

--
Kyotaro Horiguchi
NTT Open Source Software Center

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2019-07-10 07:21:28 Re: PGOPTIONS="-fh" make check gets stuck since Postgres 11
Previous Message Michael Paquier 2019-07-10 07:13:07 Re: Postgres 11: Table Partitioning and Primary Keys