From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 17 11:52:31 2020 Received: (at submit) by debbugs.gnu.org; 17 Aug 2020 15:52:31 +0000 Received: from localhost ([127.0.0.1]:32984 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k7hR0-0002ym-2n for submit@debbugs.gnu.org; Mon, 17 Aug 2020 11:52:31 -0400 Received: from lists.gnu.org ([209.51.188.17]:45650) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k7gsD-0008IF-Ae for submit@debbugs.gnu.org; Mon, 17 Aug 2020 11:16:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51080) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k7gsC-0007Ww-R5 for bug-gnu-emacs@gnu.org; Mon, 17 Aug 2020 11:16:33 -0400 Received: from esvaout.mail-relay.ubc.ca ([142.103.203.5]:65207 helo=nesvaprod05.mail-relay.ubc.ca) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k7gsA-0003f7-Hc for bug-gnu-emacs@gnu.org; Mon, 17 Aug 2020 11:16:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ubc.ca; i=@ubc.ca; q=dns/txt; s=s1; t=1597677390; x=1629213390; h=to:from:subject:message-id:date: content-transfer-encoding; bh=KkkX9WVy6aQPMJpylpxsfm34BpxFtr6mg7usieY8oLs=; b=ZqwesFqMF7EW1OGi6KK31w1lCT+1KEQxToP5JSM9gUg+MEiXpBHrT6lI W35Uvf53ARzK9+kTeAS1BZIV+5kb+FKU7qfw2HEOjz4m3jKZnGBfTeMl1 pcr2K04W8KxxQvjL6qgtFKi0bnZ8/Trjveqjz/vfmKzq3dVp8En721srW peOKvFtaH0lQoKKL+fzzzMf9knMLD/aTbTPfLgxJtkTE655XkaKM8kCwO 8oLsDTdx9QhfBYucEovC92FdyQZcCHLKG+2aZnQfp9qcNLn9ueyDxXMbz 6Km0Sd3PZ4n09HMWDdOLnqex/2hzxi+p4XGKIhdYxh5YFYPUdk5uTIXi8 w==; X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False IronPort-PHdr: =?us-ascii?q?9a23=3AD29DvB8HDnVDMf9uRHKM819IXTAuvvDOBiVQ1K?= =?us-ascii?q?B42+8cTK2v8tzYMVDF4r011RmVBNudsqofwLqN+4nbGkU4qa6bt34DdJEeHz?= =?us-ascii?q?Qksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPER?= =?us-ascii?q?vjKwV1Ov71GonPhMiryuy+4ZLebxhJiTanfL9+MBu7oQrSu8QYnIBvNrs/xh?= =?us-ascii?q?zVr3VSZu9Y33loJVWdnxb94se/4ptu+DlOtvwi6sBNT7z0c7w3QrJEAjsmNX?= =?us-ascii?q?s15NDwuhnYUQSP/HocXX4InRdOHgPI8Qv1Xpb1siv9q+p9xCyXNtD4QLwoRT?= =?us-ascii?q?iv6bpgRRn1gykFKjE56nnahNJwgqxGoxyvqQBwzYHPbYGJLfpzZL/Rcc8GSW?= =?us-ascii?q?dDWMtaSixPApm7b4sKF+cPJPhYr4jgqFsPsBu1GBeiBOT1xTBVmHD2x7Ax3u?= =?us-ascii?q?MmEQHY3QwtBMoOsHTOo9XuLqsSTPu6w7XSwTrfdfxbwDHw45XHfR49u/+DR6?= =?us-ascii?q?5wcdbPxkk1EQPIlluep4zlMj6J2OoArnWX4u5jWO+rhGMrtgN8riWty8ovhY?= =?us-ascii?q?TEiYMYx1DZ+ChkxIs4JcO1RU9lbdK6E5ZduT2XOYVwT8g/QG9ooD43xqAJtJ?= =?us-ascii?q?KlZiQG1YgryhDFZ/CZfYWF4AjvWPiPLTtlgn9uZaixiAyo8Ue6z+3xTsy00F?= =?us-ascii?q?FXoSVbitTMrXUN1wDL6siAV/t94l+t2TaR2ADX7eFJOUU0mrHAK5I72r4wlo?= =?us-ascii?q?AcsV/ZEi/rg0r5kLWaeVk+9eSw6uTnZKvppoOEOoNphQzyLL4iltGjDek2KA?= =?us-ascii?q?QCQWaW9Oam2LH940H1Xa1GjvgsnanYtJDaK94bpqm8AwJN1YYj9Re/Aiy+0N?= =?us-ascii?q?QYh3YHN0hJeA+cgIf1IV3BPOr3Ae+lg1uwiDdr2+zGPrr5D5rWM3jDn67tfb?= =?us-ascii?q?l7605B0QY809Vf6IhIBbEaO//zVUnxtMHCAh8+KQy0zLWvNNIo3J4RHG2JH+?= =?us-ascii?q?qUNarZqneH4P9pJPODN6EPvzOoDOYk6//zxUM+kFMQZ+H92oUWQGi4F+8gPk?= =?us-ascii?q?+SJ3Hl1IRSWVwWtxYzGbS5wGaJViReMi6/?= X-IPAS-Result: =?us-ascii?q?A2EDBQCQnjpf/93tZ45fH2qFOIUWj2YGhEkBhwaRfQsBA?= =?us-ascii?q?QEBAQEBAQEbHAQBAYccJjgTAgMBAQEDAgUBAQEFAQEBAQEBBQMBAQEChgxFg?= =?us-ascii?q?jcihBtvHAImAoQYglgllAKbeoEyhVKDUYFAgQ4qjTh5gQeBOA+IIoJKgmAEm?= =?us-ascii?q?gaBa5o+gmyaFAUHAx6gIbQKgXszGggwgyVPGQ2NdgEzGI5EJGcCBgEJAQEDC?= =?us-ascii?q?SGRBwEB?= Received: from mbs.phas.ubc.ca ([142.103.237.221]) by nesvaprod05.mail-relay.ubc.ca with SMTP; 17 Aug 2020 08:16:27 -0700 To: bug-gnu-emacs@gnu.org From: Ovidiu Toader Subject: [feature/native-comp] out-of-tree build process broken Message-ID: <8f6a8257-6ecb-6c14-c41e-142ad9dfb441@phas.ubc.ca> Date: Mon, 17 Aug 2020 08:16:26 -0700 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Received-SPF: none client-ip=142.103.203.5; envelope-from=ovi@phas.ubc.ca; helo=nesvaprod05.mail-relay.ubc.ca X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/17 11:16:27 X-ACL-Warn: Detected OS = FreeBSD 9.x or newer X-Spam_score_int: -32 X-Spam_score: -3.3 X-Spam_bar: --- X-Spam_report: (-3.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FORGED_SPF_HELO=1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 17 Aug 2020 11:52:28 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) When feature/native-comp branch is built out-of-tree, emacs cannot find t= he .eln files during start. The patch below fixes this issue. The problem is caused by the fact that = during an out-of-tree build, default-directory points inside the build tr= ee while the .eln files are found in the source tree and because of that = the subsequent replace-regexp-in-string fails to adjust the file path of = the compilation unit. modified=C2=A0=C2=A0 lisp/loadup.el @@ -454,7 +454,7 @@ =C2=A0=C2=A0 ;; when installed or if the source directory got moved.=C2=A0= This is set to be =C2=A0=C2=A0 ;; a pair in the form: (rel-path-from-install-bin . rel-path= -from-local-bin). =C2=A0=C2=A0 (let ((h (make-hash-table :test #'eq)) -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (lisp-src-dir (expand-file-na= me (concat default-directory "../lisp"))) +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (lisp-src-dir (expand-file-na= me "lisp" source-directory)) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (bin-dest-dir (cadr (mem= ber "--bin-dest" command-line-args))) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (lisp-dest-dir (cadr (me= mber "--lisp-dest" command-line-args)))) =C2=A0=C2=A0=C2=A0=C2=A0 (mapatoms (lambda (s) From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 17 14:49:58 2020 Received: (at 42906) by debbugs.gnu.org; 17 Aug 2020 18:49:58 +0000 Received: from localhost ([127.0.0.1]:33179 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k7kCk-0005T4-JI for submit@debbugs.gnu.org; Mon, 17 Aug 2020 14:49:58 -0400 Received: from mx.sdf.org ([205.166.94.24]:64855) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k7kCg-0005Su-J6 for 42906@debbugs.gnu.org; Mon, 17 Aug 2020 14:49:56 -0400 Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTP id 07HInrHd025584; Mon, 17 Aug 2020 18:49:53 GMT From: Andrea Corallo To: Ovidiu Toader Subject: Re: bug#42906: [feature/native-comp] out-of-tree build process broken References: <8f6a8257-6ecb-6c14-c41e-142ad9dfb441@phas.ubc.ca> Date: Mon, 17 Aug 2020 18:49:53 +0000 In-Reply-To: <8f6a8257-6ecb-6c14-c41e-142ad9dfb441@phas.ubc.ca> (Ovidiu Toader's message of "Mon, 17 Aug 2020 08:16:26 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 42906 Cc: 42906@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Ovidiu Toader writes: > When feature/native-comp branch is built out-of-tree, emacs cannot find the .eln files during start. > > The patch below fixes this issue. The problem is caused by the fact > that during an out-of-tree build, default-directory points inside the > build tree while the .eln files are found in the source tree and > because of that the subsequent replace-regexp-in-string fails to > adjust the file path of the compilation unit. Hi Ovidiu, thanks for the feedback and the patch! I just pushed this evening a branch that reworks also the eln file placement on the file-system and partially this mechanism. https://lists.gnu.org/archive/html/emacs-devel/2020-08/msg00535.html It should cure also this problem. It would be great if you cold try it out and give a feedback if it works for you. Thanks! Andrea -- akrl@sdf.org From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 18 03:24:18 2020 Received: (at 42906-done) by debbugs.gnu.org; 18 Aug 2020 07:24:18 +0000 Received: from localhost ([127.0.0.1]:33798 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k7vyk-0007Dg-7w for submit@debbugs.gnu.org; Tue, 18 Aug 2020 03:24:18 -0400 Received: from mx.sdf.org ([205.166.94.24]:62988) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k7vyf-0007DT-WE for 42906-done@debbugs.gnu.org; Tue, 18 Aug 2020 03:24:16 -0400 Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTP id 07I7OCaF029879; Tue, 18 Aug 2020 07:24:12 GMT From: Andrea Corallo To: 42906-done@debbugs.gnu.org Subject: Re: bug#42906: [feature/native-comp] out-of-tree build process broken References: <8f6a8257-6ecb-6c14-c41e-142ad9dfb441@phas.ubc.ca> <18edfde8-2c39-189b-ab19-a72043bd6d4f@phas.ubc.ca> Date: Tue, 18 Aug 2020 07:24:12 +0000 In-Reply-To: <18edfde8-2c39-189b-ab19-a72043bd6d4f@phas.ubc.ca> (Ovidiu Toader's message of "Mon, 17 Aug 2020 21:22:18 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 42906-done Cc: Ovidiu Toader X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Ovidiu Toader writes: > On 2020-08-17 11:49 a.m., Andrea Corallo wrote: >> It would be great if you cold try it out and give a feedback if it works >> for you. > > I confirm that the new version works well with an out-of-tree build. Great, closing it. Thanks! Andrea -- akrl@sdf.org From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 18 03:25:21 2020 Received: (at 42906) by debbugs.gnu.org; 18 Aug 2020 07:25:21 +0000 Received: from localhost ([127.0.0.1]:33810 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k7vzk-0007GK-0c for submit@debbugs.gnu.org; Tue, 18 Aug 2020 03:25:21 -0400 Received: from esvaout2.mail-relay.ubc.ca ([142.103.203.9]:56507) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k7t8j-0002in-Ai for 42906@debbugs.gnu.org; Tue, 18 Aug 2020 00:22:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ubc.ca; i=@ubc.ca; q=dns/txt; s=s1; t=1597724546; x=1629260546; h=subject:to:cc:references:from:message-id:date: in-reply-to:content-transfer-encoding; bh=bCn7tNY+eQfCWWRGeZQB3/RD7mtG7KpRnh7yUQiKXXE=; b=lHDYnH8fYkih3ugU0dF/KJ6y7JVFeNqHUeniby5iXeFf1Y7mFeMafrDk Kq4BrbWaZW/9Y3Kbgd4/42tGXNig08yAo2Q9aMzaO19NdTm4/uK/Z5FGN iQp4OVdmQYxbSfN0hZEf/N0QhojqEUXd6jMk+cE3ZUugsqcDD0BDudbYm xOJgXp7zkwC5y2qOGOdwMTjZwGEFrCugDnC8Lc9l04FpFRf4DNnrbq8nr Xuo6CQsXxX9HRlGz/oo+GrT0iwJKqrwPNHLQgDmQXBLQNK/bSQaQUUqXV 4MMwFeZ+7Lagc24F8YGJr5uOtS9ZN7jOLjTHfy6HgAzHTX4xN0D0CL05k w==; X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False IronPort-PHdr: =?us-ascii?q?9a23=3ADo3VGRJihJoO2IrOVtmcpTZWNBhigK39O0sv0r?= =?us-ascii?q?FitYgeKfvxwZ3uMQTl6Ol3ixeRBMOHsqwC0rKL+P+wEUU7or+5+EgYd5JNUx?= =?us-ascii?q?JXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQ?= =?us-ascii?q?viPgRpOOv1BpTSj8Oq3Oyu5pHfeQpFiCe8bL9oMRm6sQXcusYUjIZhN6081g?= =?us-ascii?q?bHrnxUdupM2GhmP0iTnxHy5sex+J5s7SFdsO8/+sBDTKv3Yb02QaRXAzo6PW?= =?us-ascii?q?814tbrtQTYQguU+nQcSGQWnQFWDAXD8Rr3Q43+sir+tup6xSmaIcj7Rq06VD?= =?us-ascii?q?i+86tmTgLjhSEaPDA77W7XkNR9gr9FrhKvpxJxwIDab4OJO/RxZa7dYdEXSH?= =?us-ascii?q?BdUspNSyBMAIWxZJYPAeobOuZYqpHwqUIQrRu/GAasBf7vwSJWiH/xx6I1zv?= =?us-ascii?q?ouERvb1wEnGNIOrnXUoc7tNKcSS++117PEzSjYYPxKwzvy9JLHfwknrPqRUr?= =?us-ascii?q?1+bdDfxlMzFwPZkFqQs4rlMiuI2+gTr2WW7OptWOKxh2MlpQx8rDqiy9koh4?= =?us-ascii?q?TGhowYxEzJ+Dh2zYooOdG1TE12bMK6HZZOty+XNol7T8ItTWx1visx174IuY?= =?us-ascii?q?ajcSQXx5kr2QTTZ+Gbf4WG+B7vSuicLDViiH57Zr6zmhC/+lW6xOLmTMm7yl?= =?us-ascii?q?NKozJAktnLq38CyQTe6tOCSvth5keh3iuP1xzL5uFEP080ka3bJoYkwrErjZ?= =?us-ascii?q?ofq1zDHi/sl0XtlqOWa14r9fSy5+v7eLrqvp6cN4lqhQHiKqkih8OyDfoiPg?= =?us-ascii?q?QTQ2SW9/6w2KPt8ED7WrlGkOM6nrTBvJDfP8sbp6q5AwFP0oYk7hayFzCm0M?= =?us-ascii?q?oZnXQcNFJFeAiIj5PzN1HTO//3Ee2zjEi2nztz3fDJIqXhAonRLnjEiLrscq?= =?us-ascii?q?hx5kpAxAcy1t1Q+oxbBaoaL/LuVU/xr8bUDhA/Mwyp2ernD8991owGU2KVHq?= =?us-ascii?q?CZKL/SsUOP5u83OeaMZ5UVuDLmJvg++vHug2U1mVgHfammjtMrbyWRGPh8Lk?= =?us-ascii?q?zRSn32i9MFFi9etwkkSMTxhFPEViRcMSWcRaU5sxYlCY6nEM//QYmhjabJiC?= =?us-ascii?q?ClH7VOZmldTE2GGjHjftPXCL83dCuOL5o5wXQ/Xr+7Rtp52A=3D=3D?= X-IPAS-Result: =?us-ascii?q?A2HmAgA/Vztf/93tZ45fHAEBAQEBAQcBARIBAQQEAQFAg?= =?us-ascii?q?UqDboUWj2QBAQaBOYoXkX0LAQEBAQEBAQEBNwQBAYRMAoJOJjgTAgMBAQEDA?= =?us-ascii?q?gUBAQEFAQEBAQEBBQMBAQEChgxFgjcig3IBBSNWEAsOCgICJgICVwaDOYJYJ?= =?us-ascii?q?bB0gTKFUoNegUCBDiqNOHmBB4E4D4JaPodUgmAEmx9Smj6CbJoUBQcDHoJuA?= =?us-ascii?q?Z0ytAuBezMaCDCDJU8ZDZ0GJGcCBgoBAQMJIZEzAQE?= Received: from mbs.phas.ubc.ca ([142.103.237.221]) by esvaout2.mail-relay.ubc.ca with SMTP; 17 Aug 2020 21:22:19 -0700 Subject: Re: bug#42906: [feature/native-comp] out-of-tree build process broken To: Andrea Corallo References: <8f6a8257-6ecb-6c14-c41e-142ad9dfb441@phas.ubc.ca> From: Ovidiu Toader Message-ID: <18edfde8-2c39-189b-ab19-a72043bd6d4f@phas.ubc.ca> Date: Mon, 17 Aug 2020 21:22:18 -0700 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 42906 X-Mailman-Approved-At: Tue, 18 Aug 2020 03:25:18 -0400 Cc: 42906@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 2020-08-17 11:49 a.m., Andrea Corallo wrote: > It would be great if you cold try it out and give a feedback if it works > for you. I confirm that the new version works well with an out-of-tree build. Thank you for all the great work! Ovidiu From unknown Sun Jun 22 11:45:42 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 15 Sep 2020 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator