Re: BUG #15525: Build failures when compiling Postgres with Make parallelization

Thomas Munro <thomas.munro@enterprisedb.com>

From: Thomas Munro <thomas.munro@enterprisedb.com>
To: hi@alyssa.is, PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Date: 2018-11-27T23:31:36Z
Lists: pgsql-bugs
On Wed, Nov 28, 2018 at 11:27 AM PG Bug reporting form
<noreply@postgresql.org> wrote:
> PostgreSQL on macOS with Make's -j option have resulted in build failures.
> As far as we know, this has only happened on macOS. This appears to be an
> issue with PostgreSQL's build process, rather than with the package.

I don't know the answer but one thought that occurred to me: are you
using Apple's frozen-in-time GNU make?

$ make -v
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.

Could it have bugs that were later fixed?  On the other hand, I build
PostgreSQL myself quite regularly on a Mac with that version and -j8
and I have not seen that problem.

-- 
Thomas Munro
http://www.enterprisedb.com


Commits

  1. Ensure static libraries have correct mod time even if ranlib messes it up.