Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h5Dn7-0006y3-CK for pgsql-hackers@arkaria.postgresql.org; Sat, 16 Mar 2019 18:12:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h5Dn5-0006GH-Ps for pgsql-hackers@arkaria.postgresql.org; Sat, 16 Mar 2019 18:12:15 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1h5Dn5-0006GA-IH for pgsql-hackers@lists.postgresql.org; Sat, 16 Mar 2019 18:12:15 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h5Dn3-00010a-EH for pgsql-hackers@postgresql.org; Sat, 16 Mar 2019 18:12:15 +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 x2GIBwQ9003449; Sat, 16 Mar 2019 14:11:58 -0400 From: Tom Lane To: Alexander Korotkov cc: Jeff Janes , Nikita Glukhov , Tomas Vondra , Andres Freund , Oleg Bartunov , Michael Paquier , Stas Kelvich , PostgreSQL-development , Thomas Munro , David Steele , Andrew Dunstan , Robert Haas , Pavel Stehule Subject: Re: jsonpath In-reply-to: <32541.1552759144@sss.pgh.pa.us> References: <9f5f1247-29f4-17cd-edd9-38e9bcd95b14@postgrespro.ru> <20190130022826.of7w6xv5lbvzqxfp@alap3.anarazel.de> <957ee2ff-f9a6-0ba1-13e2-9c4d320f63ac@2ndquadrant.com> <67128b8b-2d80-9e51-20a8-9ac8e0e2243e@2ndquadrant.com> <220821fb-52c0-c277-0959-322c8eef76b2@postgre! spro.ru> <32541.1552759144@sss.pgh.pa.us> Comments: In-reply-to Tom Lane message dated "Sat, 16 Mar 2019 13:59:04 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3446.1552759918.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Sat, 16 Mar 2019 14:11:58 -0400 Message-ID: <3448.1552759918@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk I wrote: > Good point. I also see jsonpath_gram.h left behind after maintainer-cle= an: Oh, and of potentially more significance: after maintainer-clean and re-configure, make fails with In file included from jsonpath_gram.y:24: ../../../../src/include/utils/jsonpath_scanner.h:25:33: error: utils/jsonp= ath_gram.h: No such file or directory I first thought this was a problem with insufficient dependencies allowing parallel make to do things in the wrong order, but the problem repeats even without any parallelism. It looks like the dependencies have been constructed in such a way that if the symlink at src/include/utils/jsonpath_gram.h exists but the underlying file does not, nothing will make the underlying file. This is pretty broken; aside from this outright failure, it also suggests that nothing will update that file if it exists but is out of date relative to its sources. Please make sure that the make rules associated with these files look exactly like the previously-debugged rules for existing bison/flex output files. There are generally good reasons for every last bit of weirdness in those. regards, tom lane