From: Fujii Masao <masao.fujii@oss.nttdata.com>
To: Tatsuo Ishii <ishii@sraoss.co.jp>
To: nagata@sraoss.co.jp
Cc: alvherre@alvh.no-ip.org
Cc: pgsql-hackers@postgresql.org
Subject: Re: make_ctags: use -I option to ignore pg_node_attr macro
Date: Tue, 7 Feb 2023 01:17:31 +0900
Message-ID: <369c13b9-8b0f-d6f9-58fc-61258ec8f713@oss.nttdata.com> (raw)
In-Reply-To: <20221019.132517.1083262091188312375.t-ishii@sranhm.sra.co.jp>
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>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: masao.fujii@oss.nttdata.com, ishii@sraoss.co.jp, nagata@sraoss.co.jp, alvherre@alvh.no-ip.org
Subject: Re: make_ctags: use -I option to ignore pg_node_attr macro
In-Reply-To: <369c13b9-8b0f-d6f9-58fc-61258ec8f713@oss.nttdata.com>
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> <369c13b9-8b0f-d6f9-58fc-61258ec8f713@oss.nttdata.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox