'make check' fails

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: 'make check' fails
Date: 2018-04-11 10:39:30
Message-ID: 20180411103930.GB31461@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I have discovered that:

make clean; make check

fails with:

/bin/mkdir -p '/pgtop'/tmp_install/log
make -C '.' DESTDIR='/pgtop'/tmp_install install >'/pgtop'/tmp_install/log/install.log 2>&1
src/Makefile.global:388: recipe for target 'temp-install' failed
make: *** [temp-install] Error 2

and '/pgtop'/tmp_install/log/install.log says:

relpath.c:21:37: fatal error: catalog/pg_tablespace_d.h: No such file or directory
#include "catalog/pg_tablespace_d.h"
^
compilation terminated.
<builtin>: recipe for target 'relpath.o' failed
make[3]: *** [relpath.o] Error 1

Oddly, this works:

make clean; make; make check

I found this because I have some scripts that do the former. The
problem has existed for several days now and I only now dug into it.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ As you are, so once was I. As I am, so you will be. +
+ Ancient Roman grave inscription +

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Munro 2018-04-11 10:55:58 Re: Excessive PostmasterIsAlive calls slow down WAL redo
Previous Message Heikki Linnakangas 2018-04-11 10:22:28 Re: Excessive PostmasterIsAlive calls slow down WAL redo