BUG #15407: [minor] build depends on $MAKELEVEL being 0 at top Makefile

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: st-postgresql(at)luettgert(dot)de
Subject: BUG #15407: [minor] build depends on $MAKELEVEL being 0 at top Makefile
Date: 2018-09-27 08:31:47
Message-ID: 15407-7b64e5de97dedc5e@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 15407
Logged by: Torsten Lüttgert
Email address: st-postgresql(at)luettgert(dot)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.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Paquier 2018-09-27 09:09:38 Re: BUG #15407: [minor] build depends on $MAKELEVEL being 0 at top Makefile
Previous Message Madeleine Thompson 2018-09-27 05:46:25 Re: BUG #15307: Low numerical precision of (Co-) Variance