From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.bugs Subject: bug#40099: 28.0.50; [feature/native-comp] Different working dir of .eln files is not expected by pdf-tools Date: Wed, 18 Mar 2020 11:05:55 +0000 Message-ID: References: <87imj3wl0t.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="3256"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: 40099@debbugs.gnu.org To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Mar 18 12:06:15 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 1jEWWd-0000fo-3b for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 18 Mar 2020 12:06:15 +0100 Original-Received: from localhost ([::1]:48642 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jEWWb-0002Ko-LU for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 18 Mar 2020 07:06:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35670) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jEWWR-0002Ke-MR for bug-gnu-emacs@gnu.org; Wed, 18 Mar 2020 07:06:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jEWWQ-0004EY-Lu for bug-gnu-emacs@gnu.org; Wed, 18 Mar 2020 07:06:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33893) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jEWWQ-0004DI-Hb for bug-gnu-emacs@gnu.org; Wed, 18 Mar 2020 07:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jEWWQ-0000lb-9j for bug-gnu-emacs@gnu.org; Wed, 18 Mar 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: Wed, 18 Mar 2020 11:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40099 X-GNU-PR-Package: emacs Original-Received: via spool by 40099-submit@debbugs.gnu.org id=B40099.15845295602940 (code B ref 40099); Wed, 18 Mar 2020 11:06:02 +0000 Original-Received: (at 40099) by debbugs.gnu.org; 18 Mar 2020 11:06:00 +0000 Original-Received: from localhost ([127.0.0.1]:39866 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jEWWO-0000lL-JQ for submit@debbugs.gnu.org; Wed, 18 Mar 2020 07:06:00 -0400 Original-Received: from mx.sdf.org ([205.166.94.20]:59683) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jEWWL-0000lA-UM for 40099@debbugs.gnu.org; Wed, 18 Mar 2020 07:05:59 -0400 Original-Received: from sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 02IB5t7B014427 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Wed, 18 Mar 2020 11:05:55 GMT Original-Received: (from akrl@localhost) by sdf.org (8.15.2/8.12.8/Submit) id 02IB5tdf019633; Wed, 18 Mar 2020 11:05:55 GMT In-Reply-To: <87imj3wl0t.fsf@localhost> (Ihor Radchenko's message of "Tue, 17 Mar 2020 14:30:42 +0800") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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:177483 Archived-At: Ihor Radchenko writes: > After native-compiling pdf-tools, the loaded files failed to find some > files required for the package to work. > > Specifically, pdf-tools tried to rebuild the epdfinfo, which is usually > done by running make on "build" directory in the same folder with > pdf-tools.el and failed because pdf-tools.eln is located in different > directory. The working directory for pdf-tools.eln seems to be > ./eln-x86_64-pc-linux-gnu-85c5ba0bf5e77f42/ and does not contain > "build". > > I guess that it would make sense to set working directory to be same > when loading .el, .elc, and .eln. > > Best, > Ihor I'm not into pdf-tools but I think the trouble could be that its "make build" does something different in terms of compilation that what `native-compile' does. I suspect it's not a load path problem. Here it's hard to say something without more informations. Could I have exact instructions to preproduce it? Thanks Andrea -- akrl@sdf.org