Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bHbBW-0007Hf-GH for pgsql-hackers@arkaria.postgresql.org; Mon, 27 Jun 2016 18:23:02 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bHbBW-0003R9-33 for pgsql-hackers@arkaria.postgresql.org; Mon, 27 Jun 2016 18:23:02 +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.84_2) (envelope-from ) id 1bHbBV-0003PQ-1s for pgsql-hackers@postgreSQL.org; Mon, 27 Jun 2016 18:23:01 +0000 Received: from feynman.df7cb.de ([195.49.152.168]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bHbBR-0005TX-Q8 for pgsql-hackers@postgreSQL.org; Mon, 27 Jun 2016 18:23:00 +0000 Received: from msg.df7cb.de (aftr-37-201-192-233.unity-media.net [37.201.192.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 3rdck902vjz3F0G; Mon, 27 Jun 2016 20:22:56 +0200 (CEST) Date: Mon, 27 Jun 2016 20:22:56 +0200 From: Christoph Berg To: Tom Lane Cc: Robert Haas , pgsql-hackers@postgreSQL.org Subject: Re: Broken handling of lwlocknames.h Message-ID: <20160627182256.GB8514@msg.df7cb.de> Mail-Followup-To: Christoph Berg , Tom Lane , Robert Haas , pgsql-hackers@postgreSQL.org References: <31398.1467036827@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="CdrF4e02JqNVZeln" Content-Disposition: inline In-Reply-To: <31398.1467036827@sss.pgh.pa.us> User-Agent: Mutt/1.6.0 (2016-04-01) X-Pg-Spam-Score: -3.2 (---) 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 --CdrF4e02JqNVZeln Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Re: Tom Lane 2016-06-27 <31398.1467036827@sss.pgh.pa.us> > Bjorn Munch reported off-list that this sequence: >=20 > unpack tarball, cd into it > ./configure ... > cd src/test/regress > make >=20 > no longer works in 9.6beta2, where it did work in previous releases. > I have confirmed both statements. The failure looks like >=20 > gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statem= ent -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict= -aliasing -fwrapv -g -O1 -fpic -I../../../src/include -D_GNU_SOURCE -c -o= regress.o regress.c > In file included from ../../../src/include/storage/lock.h:23, > from ../../../src/include/access/heapam.h:22, > from ../../../src/include/nodes/execnodes.h:18, > from ../../../src/include/commands/trigger.h:17, > from regress.c:29: > ../../../src/include/storage/lwlock.h:129:33: error: storage/lwlocknames.= h: No such file or directory > make: *** [regress.o] Error 1 >=20 > So this is some sort of fallout from commit aa65de042f582896, which > invented that as a generated file. >=20 > Perhaps the solution is to extend src/test/regress/GNUmakefile to know > about this file explicitly (as it already does know about > src/port/pg_config_paths.h). But that seems rather brute-force; in > particular it seems like that does nothing to keep us from getting burnt > again the same way in future. I wonder if we should modify > src/backend/Makefile so that it exposes a phony target for "update all the > generated include files", and then have src/test/regress/GNUmakefile call > that. Or maybe there are other ways. That would also fix the "build plpython3 only" problem I was aiming at in https://www.postgresql.org/message-id/20150916200959.GB32090@msg.df7cb.de So another +1 from a packagers perspective. Christoph --CdrF4e02JqNVZeln Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXcW7/AAoJEExaa6sS0qeuJFkP/2V8Ors93zW7/3nIHYVzxecM Ty6KXF2vM8+laKbMlQhRVN93LeqQyJmxlCiceHCY4YsBNOKCqUpjPjfgS01ME7qk Pd0QTkz0gme+KnD9bkntsvEaejZ6Q3wI0atk0wUmJe2Pl3OimdAefiE5v4HEnWvI FJRsXiRzF2fh6sGI6QHXh5d5o81V0s5eQjfAog0mJdmCEOnaNRYJ8GSpJ93xZG7k AGwdZDMZ3tCh8oLy6t7uCLpIOAwt64hPFy1fLfhE7GIekj2kT123Sy5a+/GZuB15 3VtR73uVcflF7RFzCQ7uBKxPAJNQlMH6nf5NntoPI6YsSPAfGlgX/VXgn8fTMlaU fdKtxfH8YXqvJUwSDvo+l6Hljt0WAWiFG9U0ZzIYRYtMpL3SwHq/IH88P4KTNS0t ZEPCJiwzGZ6nrgibA+cUf5jRimtjS4IWJ5+tJNKfDX1U7UJ5bZbmrdHqW4U4RX/f 45W2j6ni2O3Bk6CNDQC3o63P8IdNeCt36rvtCpTpBe1YeGfMgbFS4XVpVjUZ/3Nr KntClT+TU4+BQIDpN41UdDGSOj+lLs20qfr2pJ0PVxb21yVipgltmvGnCu0sNWAw sd+YucuN5FatoCuDcEZk+N4jAF6rtn2iboa3jj+aiBDWAIh++wl/QFhEq8/IKBcB 9t7/aAhLhwmXQ4aA+q6i =/DbS -----END PGP SIGNATURE----- --CdrF4e02JqNVZeln--