Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1exx9V-0005oY-In for pgsql-hackers@arkaria.postgresql.org; Mon, 19 Mar 2018 15:56:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1exx9U-00070h-9K for pgsql-hackers@arkaria.postgresql.org; Mon, 19 Mar 2018 15:56:48 +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 1exx9U-00070H-27 for pgsql-hackers@lists.postgresql.org; Mon, 19 Mar 2018 15:56:48 +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 1exx9R-0001A8-HL for pgsql-hackers@lists.postgresql.org; Mon, 19 Mar 2018 15:56:47 +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 w2JFuh1X000517 for ; Mon, 19 Mar 2018 11:56:43 -0400 From: Tom Lane To: pgsql-hackers@lists.postgresql.org Subject: configure's checks for --enable-tap-tests are insufficient MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <515.1521475003.1@sss.pgh.pa.us> Date: Mon, 19 Mar 2018 11:56:43 -0400 Message-ID: <516.1521475003@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk So I just went through a rather annoying process trying to run check-world on a Fedora 26 box where I hadn't done it before: $ ./configure --enable-tap-tests ... fails, whining about IPC::Run $ sudo yum install perl-IPC-Run $ ./configure --enable-tap-tests ... fails, whining about prove ... figure out where Fedora hides prove $ sudo yum install perl-Test-Harness $ ./configure --enable-tap-tests ... works this time ... make, then $ make -j check-world ... runs for awhile and then fails ... much excavation finds a complaint about Test::More not being installed ... figure out where Fedora hides Test::More $ sudo yum install perl-Test-Simple $ make -j check-world ... runs for awhile and then fails ... much excavation finds a complaint about Time::HiRes not being installed $ sudo yum install perl-Time-HiRes $ make -j check-world ... finally, it works! Now, perhaps this is an indictment of Red Hat's choices about how to package-ize the Perl world and which packages belong in a default workstation installation. But we haven't made it any easier. I'm thinking that at minimum we ought to make configure --enable-tap-tests check for Test::More and Time::HiRes as well as IPC::Run. It might be useful for somebody to repeat this exercise on a minimal Debian-oid installation and see if there's a different set of pain points. regards, tom lane