PostgreSQL Bugs

Collected from the PG bugs email list.

Bug ID15407
PG Version11beta4
OSCentOS 7
Opened2018-09-27 08:31:47+00
Reported byTorsten Lüttgert
StatusNew

Body of first available message related to this bug follows.

The following bug has been logged on the website:

Bug reference:      15407
Logged by:          Torsten Lüttgert
Email address:      (redacted)
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.

Messages

DateAuthorSubject
2018-09-27 08:31:47+00=?utf-8?q?PG_Bug_reporting_form?=BUG #15407: [minor] build depends on $MAKELEVEL being 0 at top Makefile
2018-09-27 09:09:38+00Michael PaquierRe: BUG #15407: [minor] build depends on $MAKELEVEL being 0 at top Makefile
2018-09-27 13:47:19+00Tom LaneRe: BUG #15407: [minor] build depends on $MAKELEVEL being 0 at top Makefile