From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ulrich Mueller Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Re: etags name collision. Date: Tue, 12 Apr 2022 07:03:23 +0200 Message-ID: References: <20220411124736.3qijvtearh6wlen7@Ergus> <83pmln69n0.fsf@gnu.org> <20220411134749.ps6g5ulpbamzm6ot@Ergus> <83k0bv679q.fsf@gnu.org> <20220411154635.qfw2ijpdahiv5ctl@Ergus> <83fsmj62jl.fsf@gnu.org> <20220411161942.xsqr3ekorpm6jf6y@Ergus> <83ee2360aq.fsf@gnu.org> <20220411191933.wyxvmgpyd4hnpfc2@Ergus> <20220411195350.7jhugti3e3vng6yx@Ergus> <835ynf592m.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8810"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) Cc: Ergus , ulm@gentoo.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Apr 12 07:04:18 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ne8hM-00025N-Pw for ged-emacs-devel@m.gmane-mx.org; Tue, 12 Apr 2022 07:04:16 +0200 Original-Received: from localhost ([::1]:46962 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ne8hL-0005eU-8p for ged-emacs-devel@m.gmane-mx.org; Tue, 12 Apr 2022 01:04:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57356) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ne8gh-0004y6-Oc for emacs-devel@gnu.org; Tue, 12 Apr 2022 01:03:35 -0400 Original-Received: from woodpecker.gentoo.org ([140.211.166.183]:41120 helo=smtp.gentoo.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1ne8ge-0002ku-MH; Tue, 12 Apr 2022 01:03:34 -0400 In-Reply-To: <835ynf592m.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 12 Apr 2022 05:28:33 +0300") Received-SPF: pass client-ip=140.211.166.183; envelope-from=ulm@gentoo.org; helo=smtp.gentoo.org X-Spam_score_int: -68 X-Spam_score: -6.9 X-Spam_bar: ------ X-Spam_report: (-6.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:288265 Archived-At: >>>>> On Tue, 12 Apr 2022, Eli Zaretskii wrote: >> Date: Mon, 11 Apr 2022 21:53:50 +0200 >> From: Ergus >> Cc: Eli Zaretskii , emacs-devel@gnu.org >> >> >I still think that any test for an installed binary is a bad idea, from >> >a distro point of view. Note that distros typically build packages in an >> >environment that is different from the one of the final target system. >> > >> Here I agree > How else to test whether this is needed? I'm okay with having > "--without-ctags" with no test, but then the default will have to be > to install our ctags. That sounds good. > With the test, we could refrain from installing it if the test says > so. But then the test should be more specific, and check if there would be a file collision at the actual target location (with the name modified by --program-transform-name, if applicable). If there's no collision (e.g. Emacs ctags has a different name) then Emacs should install it. > I'm also okay with leaving things as they are now, obviously, if this > change brings more problems than it solves. I don't consider the > current situation bad enough to necessitate any changes. Things are like this since more than a decade, and obviously distros can cope with the status quo.