Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pP4BY-0001nm-RV for pgsql-hackers@arkaria.postgresql.org; Mon, 06 Feb 2023 16:17:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pP4BX-0001ba-Og for pgsql-hackers@arkaria.postgresql.org; Mon, 06 Feb 2023 16:17:39 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pP4BX-0001Zi-Ep for pgsql-hackers@lists.postgresql.org; Mon, 06 Feb 2023 16:17:39 +0000 Received: from oss.nttdata.com ([49.212.34.109]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pP4BU-0007cP-1C for pgsql-hackers@postgresql.org; Mon, 06 Feb 2023 16:17:37 +0000 Received: from [192.168.11.4] (p3152034-ipngn7002funabasi.chiba.ocn.ne.jp [153.137.220.34]) by oss.nttdata.com (Postfix) with ESMTPSA id 996386083D; Tue, 7 Feb 2023 01:17:31 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.7 at oss.nttdata.com Message-ID: <369c13b9-8b0f-d6f9-58fc-61258ec8f713@oss.nttdata.com> Date: Tue, 7 Feb 2023 01:17:31 +0900 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: make_ctags: use -I option to ignore pg_node_attr macro To: Tatsuo Ishii , nagata@sraoss.co.jp Cc: alvherre@alvh.no-ip.org, pgsql-hackers@postgresql.org References: <20221014140253.ac151da048dffe0070da4d58@sraoss.co.jp> <20221015.104029.452778853846743298.t-ishii@sranhm.sra.co.jp> <20221018173952.0d40fc3dfa78e8289ccff5f0@sraoss.co.jp> <20221019.132517.1083262091188312375.t-ishii@sranhm.sra.co.jp> Content-Language: en-US From: Fujii Masao In-Reply-To: <20221019.132517.1083262091188312375.t-ishii@sranhm.sra.co.jp> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2022/10/19 13:25, Tatsuo Ishii wrote: > Thanks. the v6 patch pushed to master branch. Since this commit, make_etags has started failing to generate tags files with the following error messages, on my MacOS. $ src/tools/make_etags /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ctags: illegal option -- e usage: ctags [-BFadtuwvx] [-f tagsfile] file ... sort: No such file or directory In my MacOS, non-Exuberant ctags is installed and doesn't support -e option. But the commit changed make_etags so that it always calls ctags with -e option via make_ctags. This seems the cause of the above failure. IS_EXUBERANT="" ctags --version 2>&1 | grep Exuberant && IS_EXUBERANT="Y" make_ctags has the above code and seems to support non-Exuberant ctags. If so, we should revert the changes of make_etags by the commit and make make_etags work with that ctags? Or, we should support only Exuberant-type ctags (btw, I'm ok with this) and get rid of something like the above code? Regards, -- Fujii Masao Advanced Computing Technology Center Research and Development Headquarters NTT DATA CORPORATION