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 1fdLWe-00013B-Pz for pgsql-hackers@arkaria.postgresql.org; Wed, 11 Jul 2018 20:15:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fdLWd-0007r4-1f for pgsql-hackers@arkaria.postgresql.org; Wed, 11 Jul 2018 20:15:47 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fdLWc-0007qw-NQ for pgsql-hackers@lists.postgresql.org; Wed, 11 Jul 2018 20:15:46 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fdLWa-0003lR-8u for pgsql-hackers@postgresql.org; Wed, 11 Jul 2018 20:15:45 +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 w6BKFflr016110; Wed, 11 Jul 2018 16:15:41 -0400 From: Tom Lane To: Alexander Lakhin cc: Peter Eisentraut , Robert Haas , "pgsql-hackers@postgresql.org" Subject: Re: make installcheck-world in a clean environment In-reply-to: References: <24834.1525712835@sss.pgh.pa.us> Comments: In-reply-to Alexander Lakhin message dated "Fri, 06 Jul 2018 10:45:13 +0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <16108.1531340141.1@sss.pgh.pa.us> Date: Wed, 11 Jul 2018 16:15:41 -0400 Message-ID: <16109.1531340141@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Alexander Lakhin writes: > 06.07.2018 00:39, Peter Eisentraut wrote: >> Exactly what order of steps are you executing that doesn't work? > In Centos 7, using the master branch from git: > ./configure --enable-tap-tests > make install > make install -C contrib > chown -R postgres:postgres /usr/local/pgsql/ > /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data > /usr/local/pgsql/bin/pg_ctl start -l logfile -D /usr/local/pgsql/data > /make clean/ > # Also you can just install binary packages to get the same state. > make installcheck-world > # This check fails. I do not think that should be expected to work. It would require that "make installcheck" first invoke "make all" (to rebuild the stuff you threw away with "make clean"), which is rather antithetical to its purpose. Specifically, installcheck is supposed to be checking something you already built; so having it do a fresh build seems to introduce version-skew hazards that we don't need. regards, tom lane