From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#42940: feature/native-comp; xref-find-definition searches compile location of el files instead of install location Date: Thu, 20 Aug 2020 11:05:00 +0000 Message-ID: References: Reply-To: Andrea Corallo Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38587"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: 42940@debbugs.gnu.org To: Tom Gillespie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 20 13:06:11 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1k8iOY-0009ud-3m for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 20 Aug 2020 13:06:10 +0200 Original-Received: from localhost ([::1]:35970 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k8iOX-00011A-2m for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 20 Aug 2020 07:06:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55932) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k8iOQ-0000zt-KY for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2020 07:06:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58435) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k8iOQ-0007zN-BH for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2020 07:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k8iOQ-0007JB-4u for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2020 07:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 Aug 2020 11:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42940 X-GNU-PR-Package: emacs X-Debbugs-Original-Cc: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.159792150828024 (code B ref -1); Thu, 20 Aug 2020 11:06:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 20 Aug 2020 11:05:08 +0000 Original-Received: from localhost ([127.0.0.1]:41747 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8iNY-0007Hv-EI for submit@debbugs.gnu.org; Thu, 20 Aug 2020 07:05:08 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:42188) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k8iNX-0007Hp-Cl for submit@debbugs.gnu.org; Thu, 20 Aug 2020 07:05:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55618) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k8iNX-0000C3-8L for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2020 07:05:07 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:59790) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k8iNU-0007k3-Pm for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2020 07:05:06 -0400 Original-Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTP id 07KB505j012798; Thu, 20 Aug 2020 11:05:01 GMT In-Reply-To: (Tom Gillespie's message of "Wed, 19 Aug 2020 15:22:22 -0700") Received-SPF: pass client-ip=205.166.94.24; envelope-from=akrl@sdf.org; helo=mx.sdf.org X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/20 07:05:02 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:185669 Archived-At: Tom Gillespie writes: > Hi Andrea, > On feature/native-comp at 8a931a97b8dd19a38d6f719f810280a07ba76438 > I am unable to use xref-find-definition to resolve a large subset of functions > including shell-command. This was not an issue at > 9f01ce6327af886f26399924a9aadf16cdd4fd9f and is not an issue on master at > a566e409d0d962d3c2870691175836da22c31111. Repro is below and the messages > point to the cause being that xref-find-definitions is now looking in > the location where > the el files were during compilation instead of where they have been > installed. This > will cause problems for anyone distributing emacs in addition to distros where > compilation is sandboxed. To reproduce it on your end I suspect that > you will need > to use a different compile and install location for the el files. Best! > Tom Hi Tom, I believe could be an issue related to commit I've just reverted, could you give a try to the last state? If you still see it could you open a bug in the emacs bug tracker about that? I've a number of things in the queue and that's the best place to cumulate and discuss these. Thanks! Andrea -- akrl@sdf.org