From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: 'make check' fails |
Date: | 2018-04-11 16:40:42 |
Message-ID: | 20180411164042.GD17149@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Wed, Apr 11, 2018 at 12:35:41PM -0400, Tom Lane wrote:
> Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk> writes:
> > Tom> Please be more explicit about what state you're starting from.
>
> > This is consistently failing for me, on FreeBSD with GNU Make 4.2.1,
> > clang 3.9.1, at commit 651cb90941:
>
> > git clean -dfx
> > ./configure '--prefix=/home/andrew/work/pgsql/head' \
> > '--with-includes=/usr/local/include' '--with-libs=/usr/local/lib' \
> > '--enable-debug' '--enable-depend' 'CFLAGS=-O0' '--enable-cassert' \
> > gmake -j4
> > gmake clean
> > gmake -j4 check
>
> Oh ... I forgot that "make clean" removes the symlinks in
> src/include/catalog. Still, that also removes
> src/include/utils/errcodes.h, so there was a parallel-make hazard
> here before too.
>
> We can fix this by making submake-generated-headers be a recursive
> prerequisite for "check" as well as "all" and "install". I wonder
> whether anybody is expecting any other shortcuts to work.
In case it wasn't clear, I can reproduce this failure without parallel
mode. FYI, the reason I used this shortcut is so I can just run one
command and check one error code to know if they all worked; see
src/tools/pgtest for an example.
--
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 +
From | Date | Subject | |
---|---|---|---|
Next Message | Jonathan S. Katz | 2018-04-11 16:45:10 | Re: Creation of wiki page for open items of v11 |
Previous Message | Alvaro Herrera | 2018-04-11 16:40:16 | Re: 'make check' fails |