Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g5Wdh-0002u5-RQ for pgsql-bugs@arkaria.postgresql.org; Thu, 27 Sep 2018 13:47:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1g5Wdf-0007Cc-B4 for pgsql-bugs@arkaria.postgresql.org; Thu, 27 Sep 2018 13:47:31 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g5Wdf-0007CV-4e for pgsql-bugs@lists.postgresql.org; Thu, 27 Sep 2018 13:47:31 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g5WdX-00073f-Pq for pgsql-bugs@lists.postgresql.org; Thu, 27 Sep 2018 13:47:30 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w8RDlJGB001119; Thu, 27 Sep 2018 09:47:20 -0400 From: Tom Lane To: st-postgresql@luettgert.de cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15407: [minor] build depends on $MAKELEVEL being 0 at top Makefile In-reply-to: <15407-7b64e5de97dedc5e@postgresql.org> References: <15407-7b64e5de97dedc5e@postgresql.org> Comments: In-reply-to =?utf-8?q?PG_Bug_reporting_form?= message dated "Thu, 27 Sep 2018 08:31:47 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1117.1538056039.1@sss.pgh.pa.us> Date: Thu, 27 Sep 2018 09:47:19 -0400 Message-ID: <1118.1538056039@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk =?utf-8?q?PG_Bug_reporting_form?= writes: > 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: > ... > Workaround for us was to use > MAKELEVEL=0 $(MAKE) > instead. Yeah, this is now documented, near the bottom of the "2. Build" step at https://www.postgresql.org/docs/11/static/install-procedure.html It should be harmless to do that for pre-11 versions too. regards, tom lane