From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: st-postgresql@luettgert.de
Subject: BUG #15407: [minor] build depends on $MAKELEVEL being 0 at top Makefile
Date: Thu, 27 Sep 2018 08:31:47 +0000
Message-ID: <15407-7b64e5de97dedc5e@postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 15407
Logged by: Torsten Lüttgert
Email address: st-postgresql@luettgert.de
PostgreSQL version: 11beta4
Operating system: CentOS 7
Description:
We build postgresql as part of a larger runtime environment, and if the
top-level make is invoked from an existing, other Makefile (i.e., with
$MAKELEVEL set), the build fails like this:
relpath.c:21:37: fatal error: catalog/pg_tablespace_d.h: No such file or
directory
#include "catalog/pg_tablespace_d.h"
The file is there:
# find -name pg_tablespace_d.h
./src/backend/catalog/pg_tablespace_d.h
Workaround for us was to use
MAKELEVEL=0 $(MAKE)
instead.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: noreply@postgresql.org, st-postgresql@luettgert.de
Subject: Re: BUG #15407: [minor] build depends on $MAKELEVEL being 0 at top Makefile
In-Reply-To: <15407-7b64e5de97dedc5e@postgresql.org>
References: <15407-7b64e5de97dedc5e@postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox