Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YlmZf-0001fS-PS for pgsql-hackers@arkaria.postgresql.org; Fri, 24 Apr 2015 22:59:55 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YlmZe-0003AE-IY for pgsql-hackers@arkaria.postgresql.org; Fri, 24 Apr 2015 22:59:54 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YlmZd-0003A4-5v for pgsql-hackers@postgresql.org; Fri, 24 Apr 2015 22:59:53 +0000 Received: from mout.gmx.net ([212.227.17.20]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YlmZZ-0007bs-A7 for pgsql-hackers@postgresql.org; Fri, 24 Apr 2015 22:59:52 +0000 Received: from auth1-smtp.messagingengine.com ([66.111.4.227]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MOkQc-1Yhx5g3eha-0067uG for ; Sat, 25 Apr 2015 00:59:47 +0200 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailauth.nyi.internal (Postfix) with ESMTP id 33A952092E for ; Fri, 24 Apr 2015 18:59:45 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute6.internal (MEProxy); Fri, 24 Apr 2015 18:59:45 -0400 X-Sasl-enc: 3HB4cehIyfrNOLL/BiOWyl60UohxkJkxjFz3jK+mpl1T 1429916385 Received: from [10.0.0.13] (unknown [67.165.24.246]) by mail.messagingengine.com (Postfix) with ESMTPA id EAEAAC00011; Fri, 24 Apr 2015 18:59:44 -0400 (EDT) Message-ID: <553ACAE0.2040501@gmx.net> Date: Fri, 24 Apr 2015 18:59:44 -0400 From: Peter Eisentraut User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Jeff Janes CC: pgsql-hackers Subject: Re: improving speed of make check-world References: <53ED9E6C.1080700@gmx.net> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:bQDAtGa34LrNOQ8X1GPjxU3/+D5JgVA5X26JqhDigPGR0VeFxf1 KJMHq8R5HWomF0dbvC+st1O2w3tYWllOXiHw6L0Lh6XVWsMxyExWJzAcflT/Kt7Ddx93JQh UjPDcCoFh5byPnRuDi+gY+RoXzeWy6rzx5znPEYZXyYGmpbtosgzqYcgfO+by5REFehth5/ gXigON1KwfH+cMWOd+FLA== X-UI-Out-Filterresults: notjunk:1; X-Pg-Spam-Score: -2.1 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 4/23/15 1:22 PM, Jeff Janes wrote: > Something about this commit (dcae5faccab64776376d354d) broke "make > check" in parallel conditions when started from a clean directory. It > fails with a different error each time, one example: > > make -j4 check > /dev/null > > In file included from gram.y:14515: > scan.c: In function 'yy_try_NUL_trans': > scan.c:10307: warning: unused variable 'yyg' > /usr/bin/ld: tab-complete.o: No such file: No such file or directory > collect2: ld returned 1 exit status > make[3]: *** [psql] Error 1 > make[2]: *** [all-psql-recurse] Error 2 > make[2]: *** Waiting for unfinished jobs.... > make[1]: *** [all-bin-recurse] Error 2 > make: *** [all-src-recurse] Error 2 > make: *** Waiting for unfinished jobs.... I think the problem is that "check" depends on "all", but now also depends on temp-install, which in turn runs install and all. With a sufficient amount of parallelism, you end up running two "all"s on top of each other. It seems this can be fixed by removing the check: all dependency. Try removing that in the top-level GNUmakefile.in and see if the problem goes away. For completeness, we should then also remove it in the other makefiles. -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers