From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 20 09:03:07 2020 Received: (at submit) by debbugs.gnu.org; 20 Sep 2020 13:03:07 +0000 Received: from localhost ([127.0.0.1]:49134 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJyzi-0006Aj-PD for submit@debbugs.gnu.org; Sun, 20 Sep 2020 09:03:07 -0400 Received: from lists.gnu.org ([209.51.188.17]:48046) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJyzf-0006AY-Dd for submit@debbugs.gnu.org; Sun, 20 Sep 2020 09:03:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59258) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJyzf-00049f-6f for bug-gnu-emacs@gnu.org; Sun, 20 Sep 2020 09:03:03 -0400 Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]:43415) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kJyzd-0000dj-2Y for bug-gnu-emacs@gnu.org; Sun, 20 Sep 2020 09:03:02 -0400 Received: by mail-ed1-x52f.google.com with SMTP id n13so10224589edo.10 for ; Sun, 20 Sep 2020 06:02:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jimeh-me.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=Ok7Lyo2w/cyoa0aH8fKoRxQfru8uJw3T4Qh8dSyn6KI=; b=m15qq8w1C+vW+1dJzHWZgQ2kgk2uVOak6oJvYXn9LsqPMuwH8q+bB/50v5diEVRGs0 8z2TYB16dnI4AE9cS2lg5QjL5ruGNKMiTTuXA7uW9nDkCKaeAI1Hpe8aBAcs9dg96Tdx phgK7dSB5GdHdaUk592cV69vLpJ3/OuPGaqRDf7XDwLXvLwUl/cLG8uLNP0T8J9LvzO0 CS5weq1829neH1TYcb8ySgH3fv7LTsun6UVY/ms5/LVBZUqby/wFrEYf1KG2EMFT5dZd 6cAAV+wOh7mf9t+qOjSTc7mkHzkS/yavagjcQ0pYjeHl1mcTnamimT5SW7TB8peN7S5+ NvLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Ok7Lyo2w/cyoa0aH8fKoRxQfru8uJw3T4Qh8dSyn6KI=; b=kEYtuEwdkY9ZX4NnDKL1uFfg/AO9lNbdjs+IwspSc5M5OuVy20dfR2yRhE4rD+acVY au2Ol9ZWq6HGuNu4n78SgfroMelo5FxOCl51HHWZ+3ZjrZSjSdkCFF6XqXmKgNroD6C7 kHcIaSeyeCZB0UywPp7xZgaB5DnpcwXi+J3UuXEL35OfJ3mEleZEvn4+My+eexEDDs+l qTkZ0IuWa5iTacTg/m40A/FB0TrivCg6r77693G9297RjP+oYsURaCrgK4guWmdmI4d7 FY3aTH7DaLUukMnFmlSjjCUZ8gKUgZZNkwVBNzG0fqZdWOIhi/baIeup1VIw1+MeBWx7 /caQ== X-Gm-Message-State: AOAM530GK/NBfLBht0c+w0VxW16DbhpKj4Ebr7MyhY2ggJ35EwI4X5X4 QqUVLztK/ybZqFyuAZ2RZHcyNZKb6g+3L9hx+uuoAxDNVgfPFvXF X-Google-Smtp-Source: ABdhPJx/Kc3It1ksjIUckniVWeZaC9zZGIAytGWQwJEjnmplERkvAVqAVFecVLvDtASRtPKd3m2xxkkYKPprGqTtZrs= X-Received: by 2002:a05:6402:1386:: with SMTP id b6mr47481670edv.296.1600606974636; Sun, 20 Sep 2020 06:02:54 -0700 (PDT) MIME-Version: 1.0 From: Jim Myhrberg Date: Sun, 20 Sep 2020 14:02:44 +0100 Message-ID: Subject: [feature/native-comp] *.eln file name hashing algorithm doesn't seem to play nice with NATIVE_FULL_AOT and self-contained Emacs.app builds for macOS To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: none client-ip=2a00:1450:4864:20::52f; envelope-from=contact@jimeh.me; helo=mail-ed1-x52f.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit 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 (---) Hi, TL;DR: If I've understood correctly, the filename of the cached *.eln files includes a hash based on the absolute file path and content of the source *.el/*.el.gz file. On macOS when producing a self-contained Emacs.app bundle this means that the cached *.eln files bundled into the app cannot be used, as their absolute path won't match what they were during build time. And app bundles on macOS can be placed and launched from anywhere on disk. I'm not sure what the best solution here might be. But if the actual content of the file is used to produce the hash, maybe there's no need to use the full absolute file path, and instead just the filename itself, along with the content? The Long Version: I'm not sure how familiar people here might be with macOS application bundles, so here's a brief summary just in case; Application bundles are self-contained macOS GUI applications which can be launched by for example double clicking on them, among other ways. On a technical level, they're simply a folder called ".app" which contains all assets needed to run the application. The main executable is ".app/Contents/MacOS/". In the case of building a self-contained Emacs.app on macOS, it looks the *.eln caches are generated for the files located in "/nextstep/Emacs.app/Contents/Resources/lisp", and the *.eln cache folder is "/nextstep/Emacs.app/Contents/MacOS/lib/emacs/28.0.50/native-lisp". Which means the full set of *.eln caches can only be used when launched from within the Emacs source directory where you built the application. Typical usage on macOS would have the Emacs.app movied/copied to the "/Applications" folder, but there's no guarantee about that, as applications are supposed work fine regardless of where it's located on disk they're located. I've done some tests while using NATIVE_FULL_AOT=1, which produces 1,572 *.eln files within Emacs.app. But when starting emacs with my config, it starts by compiling a whole bunch of files from "Emacs.app/Contents/Resources/lisp/", like "emacs-lisp/cconv.el.gz", "emacs-lisp/bytecomp.el.gz", "help-mode.el.gz", and others. If I grab the new *.eln files it produced in my user cache, and move them to within Emacs.app, it doesn't compile them on launch again. If I then move Emacs.app to another location on disk, it does compile them again, as the absolute path has changed. However there's 83 *.eln files which are loaded from Emacs.app, because if they're removed, it fails to start at all with a dlopen error instead. I don't know enough about the internals of Emacs, but I'd assume they are referred to from the dump file, while the others are loaded up due to my config requiring them, at which point a cache miss happens due to the absolute path yielding a different change filename. Thanks :) From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 21 03:53:46 2020 Received: (at 43532) by debbugs.gnu.org; 21 Sep 2020 07:53:46 +0000 Received: from localhost ([127.0.0.1]:53378 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKGdu-0000c2-I0 for submit@debbugs.gnu.org; Mon, 21 Sep 2020 03:53:46 -0400 Received: from mx.sdf.org ([205.166.94.24]:52206) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKGdq-0000bq-HG for 43532@debbugs.gnu.org; Mon, 21 Sep 2020 03:53:45 -0400 Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTP id 08L7rfvn000519; Mon, 21 Sep 2020 07:53:41 GMT From: Andrea Corallo To: Jim Myhrberg Subject: Re: bug#43532: [feature/native-comp] *.eln file name hashing algorithm doesn't seem to play nice with NATIVE_FULL_AOT and self-contained Emacs.app builds for macOS References: Date: Mon, 21 Sep 2020 07:53:41 +0000 In-Reply-To: (Jim Myhrberg's message of "Sun, 20 Sep 2020 14:02:44 +0100") 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: 43532 Cc: 43532@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 (-) Jim Myhrberg writes: > Hi, > > TL;DR: > > If I've understood correctly, the filename of the cached *.eln files > includes a hash based on the absolute file path and content of the > source *.el/*.el.gz file. On macOS when producing a self-contained > Emacs.app bundle this means that the cached *.eln files bundled into > the app cannot be used, as their absolute path won't match what they > were during build time. And app bundles on macOS can be placed and > launched from anywhere on disk. Hi Jim, I think we should be able to improve the filename hashing mechanism on MacOS to deal with that. Perhaps something like removing */Emacs.app/Contents/MacOS/ from the input of it. Could you post the value of PATH_DUMPLOADSEARCH and PATH_LOADSEARCH macros? You should find them defined in epaths.h in your build directory. Thanks Andrea From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 21 05:19:25 2020 Received: (at 43532) by debbugs.gnu.org; 21 Sep 2020 09:19:25 +0000 Received: from localhost ([127.0.0.1]:53471 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKHym-0002eq-TF for submit@debbugs.gnu.org; Mon, 21 Sep 2020 05:19:25 -0400 Received: from mail-ej1-f43.google.com ([209.85.218.43]:35272) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKHyk-0002eY-Sr for 43532@debbugs.gnu.org; Mon, 21 Sep 2020 05:19:23 -0400 Received: by mail-ej1-f43.google.com with SMTP id u21so16708500eja.2 for <43532@debbugs.gnu.org>; Mon, 21 Sep 2020 02:19:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jimeh-me.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=55V/A2fGM4rRrkYEZZLiEjfyCG8N1SrYrpdDJ7ShBO4=; b=mfILt5ZGEN27gjAhwPvyhTHKpQzrZi1pe3usD8cYJkDC+cJ77ZN1cquAL0YAM+QBh5 taGdcGQ7tZrvZl6kOmQOeKHG2jA24rGCa4yislx7iCRbIWMdepaxqTqJCKB6wuLmgwKV jI8r5jaa+Ae8KnSbgl0LKBVSTtNwZjNhTk30/ImOjmWqRdlyjG00aOCqMsfeI1SZqlbY EiRgWUfm4Rnw45C0F0rn+3s1/KtCiBQAdntYggJt1YI3mt/uewjLInV9kL+2PpzWZS7S wd55UcAk8G0PXQJO/bQEsut3zVX8MzgDAg4dUCk9d8PxeERG3CQjvRYzg4RZdLmxBRKM g3wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=55V/A2fGM4rRrkYEZZLiEjfyCG8N1SrYrpdDJ7ShBO4=; b=eoar37Jod67UWZ6i7Sm3HSUUOoibMPBbXDzF9bUVC35E7Qif0D4ygQQwYW5ys/aslv Q/Ty+CXx70ps/KPMVcishAS8iHvva5ubEpyi3SWU0xyAUs8VOSg1loX59JEUpnwt/msY BAzWHhwtWA2HUqbxqnmiCIQwzIZ2xs97KX0dyrhawM7DCnhtzfDsYL0f7go5ENL2cRD3 oBaBPTSWXCmsRMTFSNwKFHOr01nm/a+UsepfA5kjL2HyVtsjAJwESa40sR02ZXjd+hDq 7jlppCMtVH56a+g7Jl0dhUBalYMsufi7BV+qPRQLXgwj/bMjju3r8fob8322dK+xOd1K EQIw== X-Gm-Message-State: AOAM532c98Zlj8nWL46vXab2eFbPHBq91SwA7Tq7bbDjLmdRM7gzC2yy jxdrkhnRTESU2iz2GEvJT2bh+EvnYtkvPYhGh5bZdA== X-Google-Smtp-Source: ABdhPJxjIH9lYv3HDgszELcE6dSDObRAWo4HAxvgyrJIoeBLmog79Wulw5q1Sus/3+G9uJwe5eAyJ+jFJ7yKluXPVgo= X-Received: by 2002:a17:906:8543:: with SMTP id h3mr47667316ejy.258.1600679956771; Mon, 21 Sep 2020 02:19:16 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jim Myhrberg Date: Mon, 21 Sep 2020 10:19:06 +0100 Message-ID: Subject: Re: bug#43532: [feature/native-comp] *.eln file name hashing algorithm doesn't seem to play nice with NATIVE_FULL_AOT and self-contained Emacs.app builds for macOS To: Andrea Corallo Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43532 Cc: 43532@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 (-) Here they are: #define PATH_LOADSEARCH "/Users/jimeh/Projects/build-emacs-for-macos/sources/emacs-mirror-emacs-5b41545/nextstep/Emacs.app/Contents/Resources/lisp" #define PATH_DUMPLOADSEARCH "/Users/jimeh/Projects/build-emacs-for-macos/sources/emacs-mirror-emacs-5b41545/lisp" "/Users/jimeh/Projects/build-emacs-for-macos/sources/emacs-mirror-emacs-5b41545" is obviously my local source/build directory that my build script extracts the source tarball to and builds from. On Mon, Sep 21, 2020 at 8:53 AM Andrea Corallo wrote: > > Jim Myhrberg writes: > > > Hi, > > > > TL;DR: > > > > If I've understood correctly, the filename of the cached *.eln files > > includes a hash based on the absolute file path and content of the > > source *.el/*.el.gz file. On macOS when producing a self-contained > > Emacs.app bundle this means that the cached *.eln files bundled into > > the app cannot be used, as their absolute path won't match what they > > were during build time. And app bundles on macOS can be placed and > > launched from anywhere on disk. > > Hi Jim, > > I think we should be able to improve the filename hashing mechanism on > MacOS to deal with that. Perhaps something like removing > */Emacs.app/Contents/MacOS/ from the input of it. > > Could you post the value of PATH_DUMPLOADSEARCH and PATH_LOADSEARCH > macros? You should find them defined in epaths.h in your build > directory. > > Thanks > > Andrea From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 21 06:26:40 2020 Received: (at 43532) by debbugs.gnu.org; 21 Sep 2020 10:26:40 +0000 Received: from localhost ([127.0.0.1]:53500 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKJ1r-0004LX-Mk for submit@debbugs.gnu.org; Mon, 21 Sep 2020 06:26:39 -0400 Received: from mx.sdf.org ([205.166.94.24]:57030) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKJ1o-0004LM-6q for 43532@debbugs.gnu.org; Mon, 21 Sep 2020 06:26:38 -0400 Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTP id 08LAQX8R012612; Mon, 21 Sep 2020 10:26:33 GMT From: Andrea Corallo To: Jim Myhrberg Subject: Re: bug#43532: [feature/native-comp] *.eln file name hashing algorithm doesn't seem to play nice with NATIVE_FULL_AOT and self-contained Emacs.app builds for macOS References: Date: Mon, 21 Sep 2020 10:26:33 +0000 In-Reply-To: (Jim Myhrberg's message of "Mon, 21 Sep 2020 10:19:06 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 43532 Cc: 43532@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 (-) --=-=-= Content-Type: text/plain Jim Myhrberg writes: > Here they are: > > #define PATH_LOADSEARCH > "/Users/jimeh/Projects/build-emacs-for-macos/sources/emacs-mirror-emacs-5b41545/nextstep/Emacs.app/Contents/Resources/lisp" > #define PATH_DUMPLOADSEARCH > "/Users/jimeh/Projects/build-emacs-for-macos/sources/emacs-mirror-emacs-5b41545/lisp" > > "/Users/jimeh/Projects/build-emacs-for-macos/sources/emacs-mirror-emacs-5b41545" > is obviously my local source/build directory that my build script > extracts the source tarball to and builds from. Could you have a run with the attached blind patch? Thanks Andrea --=-=-= Content-Type: text/plain Content-Disposition: inline; filename=macos-relpath.path diff --git a/src/comp.c b/src/comp.c index 15d85d30fc..c51d13ade1 100644 --- a/src/comp.c +++ b/src/comp.c @@ -4060,6 +4060,10 @@ DEFUN ("comp-el-to-eln-filename", Fcomp_el_to_eln_filename, FOR_EACH_TAIL (loadsearch_list) loadsearch_re_list = Fcons (Fregexp_quote (XCAR (loadsearch_list)), loadsearch_re_list); + loadsearch_re_list = + Fcons ( + build_string ("^[[:ascii:]]+/Emacs\\.app/Contents/Resources/lisp"), + loadsearch_re_list); } Lisp_Object loadsearch_res = loadsearch_re_list; FOR_EACH_TAIL (loadsearch_res) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 21 09:02:30 2020 Received: (at 43532) by debbugs.gnu.org; 21 Sep 2020 13:02:31 +0000 Received: from localhost ([127.0.0.1]:53801 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKLSg-0008BU-HU for submit@debbugs.gnu.org; Mon, 21 Sep 2020 09:02:30 -0400 Received: from mail-ej1-f52.google.com ([209.85.218.52]:33376) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKLSa-00083b-Sh for 43532@debbugs.gnu.org; Mon, 21 Sep 2020 09:02:29 -0400 Received: by mail-ej1-f52.google.com with SMTP id j11so17666443ejk.0 for <43532@debbugs.gnu.org>; Mon, 21 Sep 2020 06:02:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jimeh-me.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6+QviOi+dbJRLqxsxI/j4xVwBlDTkvN0aKWMM4BpO3o=; b=dzDXrLkOcm6P7+M/MSQRoOgbaojOVxCuK+oqVax1hg+SkFw1e424Kv/0AWZenN/V0o d83VftK4rWBNYmBn7I+OMXaRW24bhzxXE5UjlFhv/GzQFuG6Za7cMn/LBQv4T5u/w6AW 5PlWES416TREmOr//cUuDHma8X0cn4ut2PCPBYKlQk8bZLNPxH7bjKcgU2BjGx23T1gI qeMvQERg23CX/rvPoAcqpi0aaBlT3mQUSGtkPCrHqWRrOc5xzs8ddvOK0hh5rr3v/9PJ 3qAqhEpROGO0cYeKWm6qYgqYvPv1phmc+HNhZ+wQG36SJUQfZ3z6vqIfNz7HPMHcctAD zWAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6+QviOi+dbJRLqxsxI/j4xVwBlDTkvN0aKWMM4BpO3o=; b=ABKsFnxXhB0Y43UeSt/VCil9MK/XeI9RxvIDF5R4PYD2gUtqgajGuJyipHG6la5ugi WyVEK0WQqewP30PYHdDXOeA3C160V6Ir7/AVHFxoQRebDlR80B5YOAtw14o4e1rNNmG9 DDxV+o4ab4/ITTTVyx2EPWkAC97mxxEK864jeCjSGCwLUjHAUfLijXq2rUj6pgsIsWfk x+7VEu5RwIzqpv2o2TxFzUGsSwHYNSjkWik+yMWDChNacXnGfNvYbV6iPfoDcgjXjUsF KyNGaN7tqOayAIQL5KE/CLke/1iceZsgizUDfjvg+VP8kjTt59GQ7ArSwSdx7nUEkTsb 57Vw== X-Gm-Message-State: AOAM531FRsmb4tFHjZHbZss2Ojfl+BdtuaxeTOr5w4lJahF1DLrpswIe fdZDUDwzl5S7Uc1DsnXb4i8xGnu80n81tWRFJqbSXg== X-Google-Smtp-Source: ABdhPJya+JIyhz3krhZ1gbqHszkA7XCCoETPsD86gd7fhEFgS+yfzhT3WZBVTqkG0biCv/EODCf/7D3eqYwznVqVMcM= X-Received: by 2002:a17:906:a947:: with SMTP id hh7mr47749541ejb.126.1600693338643; Mon, 21 Sep 2020 06:02:18 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jim Myhrberg Date: Mon, 21 Sep 2020 14:02:07 +0100 Message-ID: Subject: Re: bug#43532: [feature/native-comp] *.eln file name hashing algorithm doesn't seem to play nice with NATIVE_FULL_AOT and self-contained Emacs.app builds for macOS To: Andrea Corallo Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43532 Cc: 43532@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 (-) That works perfectly. It's picking up all *.eln files from within Emacs.app, regardless of where I place it on disk, and only generating new *.eln files into my user cache for external packages I've installed myself. Thanks yet again for your help :) On Mon, Sep 21, 2020 at 11:26 AM Andrea Corallo wrote: > > Jim Myhrberg writes: > > > Here they are: > > > > #define PATH_LOADSEARCH > > "/Users/jimeh/Projects/build-emacs-for-macos/sources/emacs-mirror-emacs-5b41545/nextstep/Emacs.app/Contents/Resources/lisp" > > #define PATH_DUMPLOADSEARCH > > "/Users/jimeh/Projects/build-emacs-for-macos/sources/emacs-mirror-emacs-5b41545/lisp" > > > > "/Users/jimeh/Projects/build-emacs-for-macos/sources/emacs-mirror-emacs-5b41545" > > is obviously my local source/build directory that my build script > > extracts the source tarball to and builds from. > > Could you have a run with the attached blind patch? > > Thanks > > Andrea > From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 21 09:41:10 2020 Received: (at 43532) by debbugs.gnu.org; 21 Sep 2020 13:41:10 +0000 Received: from localhost ([127.0.0.1]:53895 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKM45-000318-MG for submit@debbugs.gnu.org; Mon, 21 Sep 2020 09:41:09 -0400 Received: from mx.sdf.org ([205.166.94.24]:57535) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKM40-00030u-Cp for 43532@debbugs.gnu.org; Mon, 21 Sep 2020 09:41:08 -0400 Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTP id 08LDf1na001569; Mon, 21 Sep 2020 13:41:01 GMT From: Andrea Corallo To: Jim Myhrberg Subject: Re: bug#43532: [feature/native-comp] *.eln file name hashing algorithm doesn't seem to play nice with NATIVE_FULL_AOT and self-contained Emacs.app builds for macOS References: Date: Mon, 21 Sep 2020 13:41:01 +0000 In-Reply-To: (Jim Myhrberg's message of "Mon, 21 Sep 2020 14:02:07 +0100") 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: 43532 Cc: 43532@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 (-) Jim Myhrberg writes: > That works perfectly. It's picking up all *.eln files from within > Emacs.app, regardless of where I place it on disk, and only generating > new *.eln files into my user cache for external packages I've > installed myself. > > Thanks yet again for your help :) Welcome :) I'll rewrite it a little more decently and push it soon. We can keep the bug open since it's there. Thanks Andrea From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 21 14:54:25 2020 Received: (at 43532) by debbugs.gnu.org; 21 Sep 2020 18:54:25 +0000 Received: from localhost ([127.0.0.1]:56201 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKQxF-0005FE-D7 for submit@debbugs.gnu.org; Mon, 21 Sep 2020 14:54:25 -0400 Received: from mail-ed1-f42.google.com ([209.85.208.42]:33871) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKQxA-0005Ez-TX for 43532@debbugs.gnu.org; Mon, 21 Sep 2020 14:54:23 -0400 Received: by mail-ed1-f42.google.com with SMTP id k14so13904024edo.1 for <43532@debbugs.gnu.org>; Mon, 21 Sep 2020 11:54:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jimeh-me.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=M0gZIErnSkYlKtOoOQme8JwJxPOXQvP6CiBEaTzNwbI=; b=kmgKoTGo9hnSBz1hbtazpwr1EF6gPLGiKxadRNSKtyO/DiyAqifdrmzucC0kxYK6o0 BKQqAGo3jIv/1ecRai52mTG6HRuopqz///YSuJI/S9LLFDNjx/IAW0VNX2NIfdzpZuLO 9nykIiDcLfPIs5WV3ZTb+RUS5InNxVC4x5HKVC2B8gayHqfWVLBqSEqrhCPLu2YGp/ef 89FULPGhSpx8lFnyXjBwURvcW8GQXjAnGuRqJST3RNX07NKmO0/WX/rUVvs1FYdvfDm2 wSCUYyi6ITTIu7AeXmu2ny3cbh56x+ShZOeXM41QoR99EOjUCiio7vUkn6zcxhO1611w t0aA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=M0gZIErnSkYlKtOoOQme8JwJxPOXQvP6CiBEaTzNwbI=; b=M9cZmScE8Zd9pEZsKIaItRDSXF0dqcLLNQP1iesCeBhfhZgu03dlhs8BgmSEHXru9p Q+a4UpcUIIjC6i7HLkuGmGCXSAqqEyohCCw++1xwv2UTJyXcGDMYfvlJTw2xuDrYX3eU nHlwQiHYoUSs0zu5F8w/aF/pCEh76sAvrdOYCl0ubIOPytw1PJ6oWG+fiqtFHuwCmepU eyhbJ4uSqVT3QJwpd6x/x471DpGb6uYzzT/JEyJqBYXWEjyiH4fWGi/9rBGfP4qxDh5u Ns+tEIozSKmPbVKQHvumaNwFfFR/njFt5w+iL6cI67CxZ++Sd3n/c37/hAcsvvIbqO0G wJRg== X-Gm-Message-State: AOAM530MWUg5h283O+ZCmk8RnYofKfxtqJNdMDLnpBYRaRWabxjC4JSI ABlMrBRFVWlg698Da19zEVA8ImvQAhVpe1gkgPuZcQ== X-Google-Smtp-Source: ABdhPJymnBLTmTw25zS3QQE9V4B165ucdVdaqUnRA3GfalGAlamFd9i/jjFc/lI4I7QROn4UNyk/ox1h8W/zXE8xHY0= X-Received: by 2002:a50:ab1d:: with SMTP id s29mr351121edc.246.1600714454996; Mon, 21 Sep 2020 11:54:14 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jim Myhrberg Date: Mon, 21 Sep 2020 19:54:04 +0100 Message-ID: Subject: Re: bug#43532: [feature/native-comp] *.eln file name hashing algorithm doesn't seem to play nice with NATIVE_FULL_AOT and self-contained Emacs.app builds for macOS To: Andrea Corallo Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43532 Cc: 43532@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 (-) I was just reminded by someone on GitHub that the "Emacs.app" application can be renamed to anything by users. So I think we probably need to effectively match against and remove "^.*\.app\/Contents\/Resources\/lisp", basically wildcare anything before the ".app" part. Sorry I didn't think of this earlier myself >_< On Mon, Sep 21, 2020 at 2:41 PM Andrea Corallo wrote: > > Jim Myhrberg writes: > > > That works perfectly. It's picking up all *.eln files from within > > Emacs.app, regardless of where I place it on disk, and only generating > > new *.eln files into my user cache for external packages I've > > installed myself. > > > > Thanks yet again for your help :) > > Welcome :) I'll rewrite it a little more decently and push it soon. We > can keep the bug open since it's there. > > Thanks > > Andrea From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 21 15:38:06 2020 Received: (at 43532) by debbugs.gnu.org; 21 Sep 2020 19:38:06 +0000 Received: from localhost ([127.0.0.1]:56366 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKRdV-0002J6-Un for submit@debbugs.gnu.org; Mon, 21 Sep 2020 15:38:06 -0400 Received: from mab.sdf.org ([205.166.94.33]:56006 helo=ma.sdf.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKRdV-0002Ix-3k for 43532@debbugs.gnu.org; Mon, 21 Sep 2020 15:38:05 -0400 Received: from akrl by ma.sdf.org with local (Exim 4.92) (envelope-from ) id 1kKRdT-0007S3-LE; Mon, 21 Sep 2020 19:38:03 +0000 From: Andrea Corallo To: Jim Myhrberg Subject: Re: bug#43532: [feature/native-comp] *.eln file name hashing algorithm doesn't seem to play nice with NATIVE_FULL_AOT and self-contained Emacs.app builds for macOS In-Reply-To: (Jim Myhrberg's message of "Mon, 21 Sep 2020 14:02:07 +0100") References: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Date: Mon, 21 Sep 2020 19:38:03 +0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43532 Cc: 43532@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 (-) Hi Jim, could you check what I've pushed to scratch/native-comp-macos-43532 works for you? I've done what I could to test it but is not much as I'm not on MacOS. Thanks Andrea From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 21 17:17:20 2020 Received: (at 43532) by debbugs.gnu.org; 21 Sep 2020 21:17:20 +0000 Received: from localhost ([127.0.0.1]:56501 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKTBX-0000eY-QX for submit@debbugs.gnu.org; Mon, 21 Sep 2020 17:17:19 -0400 Received: from mail-ed1-f45.google.com ([209.85.208.45]:42794) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKTBV-0000eC-NO for 43532@debbugs.gnu.org; Mon, 21 Sep 2020 17:17:19 -0400 Received: by mail-ed1-f45.google.com with SMTP id j2so14196796eds.9 for <43532@debbugs.gnu.org>; Mon, 21 Sep 2020 14:17:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jimeh-me.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tPuzlecYWbRUqtdgxW3hlapIy9DsS1UyUuKPYr+5Qrs=; b=Z9/8Pf+v8wwBgIKp+sM49f7GF6pwfKczkLSf455C0O+WoT+kKWCkCFK4m+eGOVn1w2 QfMHosi4OG3ydW7vRnJTZSiVUT5zKGIQZxWzMZb9Sja+SH4s9MWZQD9Q7TkVfpwqlXIo E6KtNpViB9qmGL0+cXvNuWbXjDtWo2gjr4z/ZBJdro23rDZ7yRaSyIuAOqWCKOH9Y1iU q3+uzP7pphmCALoNhIcAXrESo8DaO3fFoTao+jgpiuj4bmtXg1fKq20KrMqA+T1Ic3n/ ZOGGFXOLN2H3YCyWJzlmgCYwjf2jIEIIMdUdkmj14J0vavUMlqgjGUjr3NFFNCRbjfKh f0hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tPuzlecYWbRUqtdgxW3hlapIy9DsS1UyUuKPYr+5Qrs=; b=P8Xt+46CMH0bS0j2xJWd2uhDvgIvPC5YTS4UwBwjkm48HInkGYJdc809LMlrnU/1ZV PRj0mG3FNHkJy4XTyFHojQv2q3c872ch/n9OyF5CwoFtj2XFIBTNYRTWQBdm1Za1hvw8 3jAcha2qC6GSIMeaZOU83949oEMQFujLJ4W+puRoQGPb4J3+FtTNH6K28fn8getRn3WV dnAIM5x3d80tFiAD3yIlFS4x0LjqixQXSQz100f6vdUmOFK3MXQgrGyvl2vGyd1QB1yH aptaxxRe7bXv51CC2FgE6z7lfdnHuRwI6orBAmm2p1KedyA1KKg4h/z/0N0Y/sb+ACGr RHUg== X-Gm-Message-State: AOAM533mE+J6LWHjEY9ck7DBem0YMVDIpjJISjGepuMlhF2DO9jcYd7N OBS5sCQKnDHz+TVwIKQJNjMQ5M5ZPuzX16T3X4hl3Q== X-Google-Smtp-Source: ABdhPJweA4JHdrfsdrBOzB0pdA/tX2QYEY3EPRinzFHq4tw52f1yiWl64GudUA2J6vBRqv2onG5J3TRJ51Jv51BV5OE= X-Received: by 2002:aa7:da42:: with SMTP id w2mr822096eds.287.1600723031629; Mon, 21 Sep 2020 14:17:11 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jim Myhrberg Date: Mon, 21 Sep 2020 22:17:00 +0100 Message-ID: Subject: Re: bug#43532: [feature/native-comp] *.eln file name hashing algorithm doesn't seem to play nice with NATIVE_FULL_AOT and self-contained Emacs.app builds for macOS To: Andrea Corallo Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43532 Cc: 43532@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 (-) Hi Andrea, I've just tested that branch, and I'm afraid it doesn't work. It starts native compiling cconv.el and others like before. Looking at the changes, I believe it's looking for "Emacs.app" within PATH_DUMPLOADSEARCH, which didn't actually contain that in my build directory, it was PATH_LOADSEARCH that did. So currently that branch doesn't find the bundled *.eln files even when the app is named "Emacs.app". And annoyingly we also need to support it if the user renames the app to something else, like "Emacs 28.app", or "Emacs Native.app", or even something crazy like "fooBar! LaLa.app". My knowledge of C is mostly non-existent, but in an effort to reduce the feedback loop and not take up too much of your time, I'll try some guess-based tweaks and see if I have any success :) Thanks again :) On Mon, Sep 21, 2020 at 8:38 PM Andrea Corallo wrote: > > Hi Jim, > > could you check what I've pushed to scratch/native-comp-macos-43532 > works for you? > > I've done what I could to test it but is not much as I'm not on MacOS. > > Thanks > > Andrea From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 21 18:40:57 2020 Received: (at 43532) by debbugs.gnu.org; 21 Sep 2020 22:40:57 +0000 Received: from localhost ([127.0.0.1]:56696 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKUUT-0002k7-Ei for submit@debbugs.gnu.org; Mon, 21 Sep 2020 18:40:57 -0400 Received: from mail-ed1-f41.google.com ([209.85.208.41]:38456) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKUUR-0002jt-3F for 43532@debbugs.gnu.org; Mon, 21 Sep 2020 18:40:56 -0400 Received: by mail-ed1-f41.google.com with SMTP id c8so14386153edv.5 for <43532@debbugs.gnu.org>; Mon, 21 Sep 2020 15:40:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jimeh-me.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=76bkJF+Xn4tk8ZBvvFR2zWVDl0eMf9ANMAl5ml5NUB0=; b=Sgg3Cn9ajlsuPFKJmh10zmtDDLxy2gmZIU7aGKWjfvX/yeY3wwUGwSGjjCZ9MpZqij cxo5FxElF973aqtiE+W6OIqq9P3++im8+oXNAX4mCisHyzzr3yTPmDNDP+x6iTZ04muY JRdi1lAIqgBkE+j7g10MutnPwXR44kKqxyFz7Ss1PO92UmUGQtwLELYt3jMzRI9wefjb YcnhAQfAEJmJtT4vzSMvMvCU2uGmf21BR3YbNPJhOePGDEq+MLkX0SX7XOgMggq7LanK dyKJPIABxWm0D4Za3Yy9y06Y1odxe4hrEUcK+Ps4osNPwXOIsclIIkERtoA6TAPU8gP2 61PQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=76bkJF+Xn4tk8ZBvvFR2zWVDl0eMf9ANMAl5ml5NUB0=; b=TRX3RYIY+p49WJfy/2ztEGXQEU42boLa7F9uGBtNL+0oz9ETBAqB9pMslMZ/UTfvfh dqRHbggmUB7/7QMdxqGq7iGOLR3K/BUAj0Daeh3ArhIiadBql8G85YbJ7Xrwl91f8FwN RfKMUsCgyuIxtwEYN5F/V5UUj4gd1wn2WAnQSXxCReteoBCl9MAErpc6yd1vh3biW2dU e4oLivpcS48P+amXjYGhIrgG9C3CXlAAad7g1fpGcjDbjWAK+X9T2XhY8/ZGdHoyPQPi z0VQCbSxp2M7k7g/Ofap88HrxLC0AzFb+zhacUY4iuvpI94IXpAUpsRgeBuamduuOOlT QZsw== X-Gm-Message-State: AOAM531s/TrjzhyLQaP/leyAWFBGUPC5cXxQycSElbHpxy5EXBCsbqxu Hv75bu9bziz2Y9a70TBFmqTq+DYaTNDHn1KANCQn4A== X-Google-Smtp-Source: ABdhPJxQsXVu5Og0kK5Gk53jFTObla+T93XUi+PlQIFvTWKpXiF1d4x7EDDVRVlzWJV2pvbbFPWhLUKWGMrnXgN1q30= X-Received: by 2002:a50:ab1d:: with SMTP id s29mr1171597edc.246.1600728049051; Mon, 21 Sep 2020 15:40:49 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jim Myhrberg Date: Mon, 21 Sep 2020 23:40:38 +0100 Message-ID: Subject: Re: bug#43532: [feature/native-comp] *.eln file name hashing algorithm doesn't seem to play nice with NATIVE_FULL_AOT and self-contained Emacs.app builds for macOS To: Andrea Corallo Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43532 Cc: 43532@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 (-) I'm afraid I've tried all the guess-based tweaks I can think of without any luck, mostly just changing the two PATH_* variables around. On Mon, Sep 21, 2020 at 10:17 PM Jim Myhrberg wrote: > > Hi Andrea, > > I've just tested that branch, and I'm afraid it doesn't work. It > starts native compiling cconv.el and others like before. Looking at > the changes, I believe it's looking for "Emacs.app" within > PATH_DUMPLOADSEARCH, which didn't actually contain that in my build > directory, it was PATH_LOADSEARCH that did. So currently that branch > doesn't find the bundled *.eln files even when the app is named > "Emacs.app". > > And annoyingly we also need to support it if the user renames the app > to something else, like "Emacs 28.app", or "Emacs Native.app", or even > something crazy like "fooBar! LaLa.app". > > My knowledge of C is mostly non-existent, but in an effort to reduce > the feedback loop and not take up too much of your time, I'll try some > guess-based tweaks and see if I have any success :) > > Thanks again :) > > On Mon, Sep 21, 2020 at 8:38 PM Andrea Corallo wrote: > > > > Hi Jim, > > > > could you check what I've pushed to scratch/native-comp-macos-43532 > > works for you? > > > > I've done what I could to test it but is not much as I'm not on MacOS. > > > > Thanks > > > > Andrea From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 22 03:59:02 2020 Received: (at 43532) by debbugs.gnu.org; 22 Sep 2020 07:59:02 +0000 Received: from localhost ([127.0.0.1]:57066 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKdCY-0001kO-H7 for submit@debbugs.gnu.org; Tue, 22 Sep 2020 03:59:02 -0400 Received: from mab.sdf.org ([205.166.94.33]:38808 helo=ma.sdf.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKdCW-0001jz-Ou for 43532@debbugs.gnu.org; Tue, 22 Sep 2020 03:59:01 -0400 Received: from akrl by ma.sdf.org with local (Exim 4.92) (envelope-from ) id 1kKdCV-0000eX-6f; Tue, 22 Sep 2020 07:58:59 +0000 From: Andrea Corallo To: Jim Myhrberg Subject: Re: bug#43532: [feature/native-comp] *.eln file name hashing algorithm doesn't seem to play nice with NATIVE_FULL_AOT and self-contained Emacs.app builds for macOS References: Date: Tue, 22 Sep 2020 07:58:59 +0000 In-Reply-To: (Jim Myhrberg's message of "Mon, 21 Sep 2020 22:17:00 +0100") 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: 43532 Cc: 43532@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 (-) Jim Myhrberg writes: > Hi Andrea, > > I've just tested that branch, and I'm afraid it doesn't work. It > starts native compiling cconv.el and others like before. Looking at > the changes, I believe it's looking for "Emacs.app" within > PATH_DUMPLOADSEARCH, which didn't actually contain that in my build > directory, it was PATH_LOADSEARCH that did. So currently that branch > doesn't find the bundled *.eln files even when the app is named > "Emacs.app". > > And annoyingly we also need to support it if the user renames the app > to something else, like "Emacs 28.app", or "Emacs Native.app", or even > something crazy like "fooBar! LaLa.app". > > My knowledge of C is mostly non-existent, but in an effort to reduce > the feedback loop and not take up too much of your time, I'll try some > guess-based tweaks and see if I have any success :) > > Thanks again :) Hi Jim, apologies to a quick look I've inverted PATH_LOADSEARCH and PATH_DUMPLOADSEARCH in the code :/ I've also addressed the *.app suggestion (yesterday I've missed your mail). Lets see if I got it right now. Thanks Andrea From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 22 05:43:32 2020 Received: (at 43532) by debbugs.gnu.org; 22 Sep 2020 09:43:32 +0000 Received: from localhost ([127.0.0.1]:57256 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKepg-0004Tw-4R for submit@debbugs.gnu.org; Tue, 22 Sep 2020 05:43:32 -0400 Received: from mail-ej1-f54.google.com ([209.85.218.54]:43229) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKepe-0004Tf-2f for 43532@debbugs.gnu.org; Tue, 22 Sep 2020 05:43:31 -0400 Received: by mail-ej1-f54.google.com with SMTP id o8so21879388ejb.10 for <43532@debbugs.gnu.org>; Tue, 22 Sep 2020 02:43:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jimeh-me.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2bJ1JHHARTCN1bu++q1xmkcve3JxK4TOa/59Z/q6t/o=; b=CYag7J9TqcxBYenYVNwqoi0v1EycpuAUOkFuPYJiDyS1j25ujD6/1Bw1NdwTGIlgq8 KTozqoabpc2GWFzxUc4m6aYvHTzdqaKIWmqFIVdeeQxEw+yxMdtCK9hJ4kLH3wZpTIoI 8oxjwNfwW7DQSHJcO1bWEavhpZ6T8SEPzD+vkKbvKfaO1FtyxqTFz3MpsUsPap75/IFU MfUFt6TeWFSlx4rwePp9s4URI+0nDf5hFg54Dfbulmm1SrHQFGjF2vMcCI9ei2NOsUN0 BfUsvchDN9M8aIK5LTCU/9QEQQLBrOP4W5iyfHhBVibzaJIfgYt6DOOSqbCyiYhA/zeU +GbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2bJ1JHHARTCN1bu++q1xmkcve3JxK4TOa/59Z/q6t/o=; b=rJwURsSiuC8oBGygpTGaHIAsBviVsV/r2KvdOcPxo3MTT11lhjZVWFAKTZE+tF4Y+W cn3nx0Io7s4ytCH/y9UOrve3nbBK9kxyzLOytslhc4FmepcsC70LrmoVfhHfNh2fl/iS wW3rwPh4I/PMKfgsISn6pNxynZQNTNsDV3x+GubV/Ura+CIIy7Hz1XVtUOqdYefPqBMH lHF/zEk/61qw6WIlSvTEfSY1LBQAy43qFQ4yCjHtVsz8AtYhsYdD6Uh9kNKnfkjHYU1q go+8O59D/EMrLozzAUOdDp+hITIwMj3tGKUqnqG5gdgpCnszqPR8CSyfFcHF4VokwN9a Drjw== X-Gm-Message-State: AOAM530lrKDWRrmxZOvneSepmFgKytPyZjcB3Kf1pvPfe1bhq/TJiyWp tv3GHFo1Kz8I8Nsfk5NIoAl4gasT83CCCD/HahWWpA== X-Google-Smtp-Source: ABdhPJylWdwPCukvXfZVcdOklyPLkyxvvEoiB+kt+IZjM2kaRVPr19H2ojJWzguBarAhzyKQcr7Nd4i1zMNKgCHEFP4= X-Received: by 2002:a17:906:6411:: with SMTP id d17mr3810943ejm.93.1600767804036; Tue, 22 Sep 2020 02:43:24 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jim Myhrberg Date: Tue, 22 Sep 2020 10:43:12 +0100 Message-ID: Subject: Re: bug#43532: [feature/native-comp] *.eln file name hashing algorithm doesn't seem to play nice with NATIVE_FULL_AOT and self-contained Emacs.app builds for macOS To: Andrea Corallo Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43532 Cc: 43532@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 (-) HI Andrea, I'm afraid it's still not picking up the *.eln files from within the app bundle. I tried inverting those two variables myself last night without any luck. Anything I can check on my end to yield some more light on what's going on? On Tue, Sep 22, 2020 at 8:59 AM Andrea Corallo wrote: > > Jim Myhrberg writes: > > > Hi Andrea, > > > > I've just tested that branch, and I'm afraid it doesn't work. It > > starts native compiling cconv.el and others like before. Looking at > > the changes, I believe it's looking for "Emacs.app" within > > PATH_DUMPLOADSEARCH, which didn't actually contain that in my build > > directory, it was PATH_LOADSEARCH that did. So currently that branch > > doesn't find the bundled *.eln files even when the app is named > > "Emacs.app". > > > > And annoyingly we also need to support it if the user renames the app > > to something else, like "Emacs 28.app", or "Emacs Native.app", or even > > something crazy like "fooBar! LaLa.app". > > > > My knowledge of C is mostly non-existent, but in an effort to reduce > > the feedback loop and not take up too much of your time, I'll try some > > guess-based tweaks and see if I have any success :) > > > > Thanks again :) > > Hi Jim, > > apologies to a quick look I've inverted PATH_LOADSEARCH and > PATH_DUMPLOADSEARCH in the code :/ > > I've also addressed the *.app suggestion (yesterday I've missed your > mail). > > Lets see if I got it right now. > > Thanks > > Andrea From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 22 06:21:15 2020 Received: (at 43532) by debbugs.gnu.org; 22 Sep 2020 10:21:15 +0000 Received: from localhost ([127.0.0.1]:57293 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKfQB-0005QA-AQ for submit@debbugs.gnu.org; Tue, 22 Sep 2020 06:21:15 -0400 Received: from mab.sdf.org ([205.166.94.33]:35814 helo=ma.sdf.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKfQ7-0005Pz-HH for 43532@debbugs.gnu.org; Tue, 22 Sep 2020 06:21:14 -0400 Received: from akrl by ma.sdf.org with local (Exim 4.92) (envelope-from ) id 1kKfQ5-0000QV-2Y; Tue, 22 Sep 2020 10:21:09 +0000 From: Andrea Corallo To: Jim Myhrberg Subject: Re: bug#43532: [feature/native-comp] *.eln file name hashing algorithm doesn't seem to play nice with NATIVE_FULL_AOT and self-contained Emacs.app builds for macOS References: Date: Tue, 22 Sep 2020 10:21:09 +0000 In-Reply-To: (Jim Myhrberg's message of "Tue, 22 Sep 2020 10:43:12 +0100") 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: 43532 Cc: 43532@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 (-) Jim Myhrberg writes: > HI Andrea, > > I'm afraid it's still not picking up the *.eln files from within the > app bundle. I tried inverting those two variables myself last night > without any luck. > > Anything I can check on my end to yield some more light on what's going on? Glab, it may work now please have a run when you've time, apologies for the back and forward. Andrea From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 22 07:38:03 2020 Received: (at 43532) by debbugs.gnu.org; 22 Sep 2020 11:38:03 +0000 Received: from localhost ([127.0.0.1]:57432 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKgcV-00011q-7B for submit@debbugs.gnu.org; Tue, 22 Sep 2020 07:38:03 -0400 Received: from mail-ed1-f43.google.com ([209.85.208.43]:34650) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKgcT-00011J-DJ for 43532@debbugs.gnu.org; Tue, 22 Sep 2020 07:38:01 -0400 Received: by mail-ed1-f43.google.com with SMTP id k14so15887404edo.1 for <43532@debbugs.gnu.org>; Tue, 22 Sep 2020 04:38:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jimeh-me.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=np55oJg7Ky8OHxod3ZmGqGX6rNoErccIQQT0pMIUggs=; b=XqmEci9dpqivbq1Is/t16JrhKdQPcqMn0HQXPBAul+hWFYWbWoW9wNPT4Z+j4HIyfB PbIr0PE3mkBh5n+RpeysJIPU1Km0XdpZvYByU96U6ZWtpuYI8Gmn3gizmuo7sHLDPnnE KIlCr4KEUwAQXgts799LYjMZm2IuA1JVu/bcqG29xrBej2k3S/qodcjMysUcn5fUavX4 LTtL+DMICuVsScFzCLKg5Qsr5lWTLhgZ4TEDq7Csoy6iXdpFClkid3yQqaaXXVQXfFLA QzVaPSfjVHFlA5B3HlIDMuvxJ94UWlPxnAXhWznx4MZSWC/MfTsrIlIkctlA8PznjJsy SVfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=np55oJg7Ky8OHxod3ZmGqGX6rNoErccIQQT0pMIUggs=; b=jE9peynUsRK48C8lod7VRtGwpWHOnaf225uAGNzsXP4W38WN8HPebvlYaS3dsUlTEX wraKkN3dC21NV0icek4tumUC6CQ0KA+RicLlUJBkD3di09J3/3QX51skPaoGSTzpeX55 s3LJWHy0IfYzW79FkL006VPiO19qYNOfhlGwTQYX/6ucP4zf/cQJk/YsOn/uVqZ6YftC i6aWAbZZ448nY+/AzAvjk5Yutu433NXws/jpfQTuwT4wbAZ5vflOeHqYlWJkqADTkgcZ cv7siW9lAcOiFKVDbVto+0MyrFjJ8CDdJPoWBcZqTcZs5IrwbtvDQluHTdc+77v61voL V92A== X-Gm-Message-State: AOAM530CVpFnSf2komhUjQKLGJ4zYokBnyjeOi7OrOMhVAr9feEpGIDP f6DI2meO0Js+Z04dDP/dAHH5fQqxOue/iAeWu6COPw== X-Google-Smtp-Source: ABdhPJwooAuJ+z8wBWYVDiO0PE9L1LFSv4VgQCZhGonSnoBPHxwK3Tlj+GH1SixY/k6+rAh5okZG7lyXlgUxuJki3xk= X-Received: by 2002:a05:6402:b68:: with SMTP id cb8mr3486078edb.350.1600774675328; Tue, 22 Sep 2020 04:37:55 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jim Myhrberg Date: Tue, 22 Sep 2020 12:37:44 +0100 Message-ID: Subject: Re: bug#43532: [feature/native-comp] *.eln file name hashing algorithm doesn't seem to play nice with NATIVE_FULL_AOT and self-contained Emacs.app builds for macOS To: Andrea Corallo Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43532 Cc: 43532@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 (-) We have success :D It now works and picks up the bundled *.eln files regardless of where I place the app bundle or what I rename it to. Thanks again, and, no, I'm sorry for the back and forth. You're the one fixing stuff for me :) On Tue, Sep 22, 2020 at 11:21 AM Andrea Corallo wrote: > > Jim Myhrberg writes: > > > HI Andrea, > > > > I'm afraid it's still not picking up the *.eln files from within the > > app bundle. I tried inverting those two variables myself last night > > without any luck. > > > > Anything I can check on my end to yield some more light on what's going on? > > Glab, it may work now please have a run when you've time, apologies for > the back and forward. > > Andrea From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 22 09:00:14 2020 Received: (at 43532-done) by debbugs.gnu.org; 22 Sep 2020 13:00:14 +0000 Received: from localhost ([127.0.0.1]:57656 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKhu2-0003Dn-3r for submit@debbugs.gnu.org; Tue, 22 Sep 2020 09:00:14 -0400 Received: from mab.sdf.org ([205.166.94.33]:43394 helo=ma.sdf.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKhty-0003Dc-I8 for 43532-done@debbugs.gnu.org; Tue, 22 Sep 2020 09:00:13 -0400 Received: from akrl by ma.sdf.org with local (Exim 4.92) (envelope-from ) id 1kKhtv-0004NV-7Q; Tue, 22 Sep 2020 13:00:07 +0000 From: Andrea Corallo To: Jim Myhrberg Subject: Re: bug#43532: [feature/native-comp] *.eln file name hashing algorithm doesn't seem to play nice with NATIVE_FULL_AOT and self-contained Emacs.app builds for macOS References: Date: Tue, 22 Sep 2020 13:00:07 +0000 In-Reply-To: (Jim Myhrberg's message of "Tue, 22 Sep 2020 12:37:44 +0100") 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: 43532-done Cc: 43532-done@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 (-) Jim Myhrberg writes: > We have success :D Amazing, see was easy :D I've pushed it as 4a50f54144 so I'm closing this. Thanks for reporting and your patience in testing the fix. Andrea From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 29 13:44:10 2020 Received: (at 43532) by debbugs.gnu.org; 29 Sep 2020 17:44:10 +0000 Received: from localhost ([127.0.0.1]:57076 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNJfd-0001tb-Gq for submit@debbugs.gnu.org; Tue, 29 Sep 2020 13:44:10 -0400 Received: from mail-pj1-f67.google.com ([209.85.216.67]:37311) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNHvx-0007eq-PN for 43532@debbugs.gnu.org; Tue, 29 Sep 2020 11:52:54 -0400 Received: by mail-pj1-f67.google.com with SMTP id kk9so2878452pjb.2 for <43532@debbugs.gnu.org>; Tue, 29 Sep 2020 08:52:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:message-id:date:user-agent:mime-version :content-language; bh=ydVv/85s9Gnkv77/+XKSt2h+RhyW2vNdFQWIBT2xyWo=; b=AKJrR8iScyakH1g48UKDqwslCpuxCmJHn/X8Q+oCdO/xOTnlXBqu3+mCUREm5oRcdQ lfTemABjAbUIG2dCS4Sh144hHgnf13UpP6kJoeTlHtICoqfWfXhUjgSv5ry2ghW5zlQC X+4Kr0wrErDvPQGbqG7U0V3AeJhWDfWzNiail68O1V7PnZ4acb6xChyB8aXUeON6FlX5 UMV5kJKcPDjscFsEeaIo+PP/DBCgsnR5g5iS97t0e6u6L3Gz7qoxa9EFlRA8dNdlatrf NHVOT1Cj+e8lEMvwlkkNi3uqBOwwdSnIP8iIjl8LS9qLVfnMIsbBKHV0PFZl9h53gF/A 0cUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:message-id:date:user-agent :mime-version:content-language; bh=ydVv/85s9Gnkv77/+XKSt2h+RhyW2vNdFQWIBT2xyWo=; b=Tj6qhyagf49a95DLjGkQfD8YKjlBLeaakTIMiQZaIXGIiKgZ67tHspyhCH8VUK9Qh+ RPXuVs/l6xc7x0K2fg8BOecFybK/N+BjD764JXtTkVGbnn07k9X652lxdcUxWJa+himd 8t6Y93sJZzgd6gX9MaS/TGw2DtCLJ0C7Fb2MG6q1DgN4vhVXWLx5cRGf2/HtKDzH3t9r iFGUzpzzzY4FIPQ9Nc/FeF/r1rjDOx0k0ZL5/oaKMEtE52/v7K/8HxS4xuxhnS6TpI10 4WQHJ+EBsbpbzDaR27MOOI9UaD4SBBwqYvdN6iq2ijn1UA3qrRvIRG2pdsQLJpq2yi+i DmBg== X-Gm-Message-State: AOAM53228lA9B/T0cU5lpSyYk3G3qRQss/soKSnPHJT5lmhhcFy2sXlJ 3fniqSyH+lK8rpwZVQSQI2UwjBflSO0= X-Google-Smtp-Source: ABdhPJzAhJyj3bkDAgnAroj4PKqOa5EvHvRotQnmpLDDf+E0jeJ6oPjuf6nbjmcC83dFf2yNZYNgng== X-Received: by 2002:a17:90a:ee0d:: with SMTP id e13mr4693835pjy.227.1601394767329; Tue, 29 Sep 2020 08:52:47 -0700 (PDT) Received: from [0.0.0.0] (210-61-148-165.HINET-IP.hinet.net. [210.61.148.165]) by smtp.gmail.com with ESMTPSA id j4sm6262563pfd.101.2020.09.29.08.52.45 for <43532@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 29 Sep 2020 08:52:46 -0700 (PDT) From: Aloxaf X-Google-Original-From: Aloxaf To: 43532@debbugs.gnu.org Subject: Re: bug#43532: [feature/native-comp] *.eln file name hashing, algorithm doesn't seem to play nice with NATIVE_FULL_AOT and self-contained, Emacs.app builds for macOS Message-ID: Date: Tue, 29 Sep 2020 23:52:42 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="------------EC7F80125F36279861602BF0" Content-Language: en-US X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43532 X-Mailman-Approved-At: Tue, 29 Sep 2020 13:44:08 -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: -1.0 (-) This is a multi-part message in MIME format. --------------EC7F80125F36279861602BF0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hello, Sorry for disturbing you. In fact, this bug not only affects macOS. I am an Arch Linux user and install native-comp branch by AUR package emacs-native-comp-git (https://aur.archlinux.org/packages/emacs-native-comp-git/). It will build and install the whole package in a temporary directory and then pack the directory to a standalone package. So I also suffer from this bug. For example, in my computer, the package will be built in $srcdir ( /tmp/makepkg/emacs-native-comp-git/src ), and will be installed to $pkgdir ( /tmp/makepkg/emacs-native-comp-git/pkg/emacs-native-comp-git ). Then the whole $pkgdir will be packed into a package. You can find more information here: https://wiki.archlinux.org/index.php/Creating_packages#package() Thanks, Aloxaf --------------EC7F80125F36279861602BF0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Hello,

Sorry for disturbing you. In fact, this bug not only affects macOS. I am an Arch Linux user and install native-comp branch by AUR package emacs-native-comp-git (https://aur.archlinux.org/packages/emacs-native-comp-git/). It will build and install the whole package in a temporary directory and then pack the directory to a standalone package. So I also suffer from this bug.

For example, in my computer, the package will be built in $srcdir ( /tmp/makepkg/emacs-native-comp-git/src ), and will be installed to $pkgdir ( /tmp/makepkg/emacs-native-comp-git/pkg/emacs-native-comp-git ). Then the whole $pkgdir will be packed into a package.

You can find more information here: https://wiki.archlinux.org/index.php/Creating_packages#package()

Thanks,

Aloxaf

--------------EC7F80125F36279861602BF0-- From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 29 14:47:03 2020 Received: (at 43532) by debbugs.gnu.org; 29 Sep 2020 18:47:03 +0000 Received: from localhost ([127.0.0.1]:57205 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNKeV-0003Pp-Ac for submit@debbugs.gnu.org; Tue, 29 Sep 2020 14:47:03 -0400 Received: from mx.sdf.org ([205.166.94.24]:62724) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNKeR-0003PN-2M for 43532@debbugs.gnu.org; Tue, 29 Sep 2020 14:47:01 -0400 Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTP id 08TIkvFR010270; Tue, 29 Sep 2020 18:46:58 GMT From: Andrea Corallo To: Aloxaf Subject: Re: bug#43532: [feature/native-comp] *.eln file name hashing, algorithm doesn't seem to play nice with NATIVE_FULL_AOT and self-contained, Emacs.app builds for macOS References: Date: Tue, 29 Sep 2020 18:46:57 +0000 In-Reply-To: (Aloxaf's message of "Tue, 29 Sep 2020 23:52:42 +0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 43532 Cc: 43532@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 (-) Aloxaf writes: > Hello, > > Sorry for disturbing you. In fact, this bug not only affects macOS. I am an Arch Linux user and install native-comp > branch by AUR package emacs-native-comp-git (https://aur.archlinux.org/packages/emacs-native-comp-git/). It will build > and install the whole package in a temporary directory and then pack the directory to a standalone package. So I also > suffer from this bug. > > For example, in my computer, the package will be built in $srcdir ( /tmp/makepkg/emacs-native-comp-git/src ), and will be > installed to $pkgdir ( /tmp/makepkg/emacs-native-comp-git/pkg/emacs-native-comp-git ). Then the whole $pkgdir will be > packed into a package. > > You can find more information here: https://wiki.archlinux.org/index.php/Creating_packages#package() > > Thanks, Hi Aloxaf, no disturb I see. I think I should be able to rework it for a sulution that is not MacOS specific but generic. I'll come up with a patch. Thanks Andrea From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 29 15:48:34 2020 Received: (at 43532) by debbugs.gnu.org; 29 Sep 2020 19:48:35 +0000 Received: from localhost ([127.0.0.1]:57252 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNLc2-0004sG-Nd for submit@debbugs.gnu.org; Tue, 29 Sep 2020 15:48:34 -0400 Received: from mx.sdf.org ([205.166.94.24]:58106) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNLc0-0004s7-4m for 43532@debbugs.gnu.org; Tue, 29 Sep 2020 15:48:33 -0400 Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTP id 08TJmUI6027982; Tue, 29 Sep 2020 19:48:31 GMT From: Andrea Corallo To: Aloxaf Subject: Re: bug#43532: [feature/native-comp] *.eln file name hashing, algorithm doesn't seem to play nice with NATIVE_FULL_AOT and self-contained, Emacs.app builds for macOS References: Date: Tue, 29 Sep 2020 19:48:30 +0000 In-Reply-To: (Andrea Corallo via's message of "Tue, 29 Sep 2020 18:46:57 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 43532 Cc: 43532@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 (-) Could you share the values of your PATH_DUMPLOADSEARCH and PATH_LOADSEARCH macros? You'll find them defined in epaths.h Thanks Andrea From unknown Mon Aug 18 00:08:30 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: Did not alter fixed versions and reopened. Date: Tue, 29 Sep 2020 19:58:02 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # Did not alter fixed versions and reopened. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 29 15:57:35 2020 Received: (at control) by debbugs.gnu.org; 29 Sep 2020 19:57:35 +0000 Received: from localhost ([127.0.0.1]:57266 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNLka-00055G-8T for submit@debbugs.gnu.org; Tue, 29 Sep 2020 15:57:35 -0400 Received: from mx.sdf.org ([205.166.94.24]:57474) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNLkZ-000559-J3 for control@debbugs.gnu.org; Tue, 29 Sep 2020 15:57:24 -0400 Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTP id 08TJvMKn020507 for ; Tue, 29 Sep 2020 19:57:22 GMT From: Andrea Corallo To: control@debbugs.gnu.org Date: Tue, 29 Sep 2020 19:57:22 +0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: reopen 43532 retitle 43532 [feature/native-comp] *.eln file name hashing, algorithm doesn't seem to play nice with NATIVE_FULL_AOT with self-contained builds Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-Debbugs-Envelope-To: control 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 (+) reopen 43532 retitle 43532 [feature/native-comp] *.eln file name hashing, algorithm doesn't seem to play nice with NATIVE_FULL_AOT with self-contained builds From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 30 03:13:54 2020 Received: (at 43532) by debbugs.gnu.org; 30 Sep 2020 07:13:54 +0000 Received: from localhost ([127.0.0.1]:57970 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNWJG-00033n-4G for submit@debbugs.gnu.org; Wed, 30 Sep 2020 03:13:54 -0400 Received: from mx.sdf.org ([205.166.94.24]:49334) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNWJE-00033c-5S for 43532@debbugs.gnu.org; Wed, 30 Sep 2020 03:13:53 -0400 Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTP id 08U7Dmgg020580; Wed, 30 Sep 2020 07:13:48 GMT From: Andrea Corallo To: Aloxaf Yin Subject: Re: bug#43532: [feature/native-comp] *.eln file name hashing, algorithm doesn't seem to play nice with NATIVE_FULL_AOT and self-contained, Emacs.app builds for macOS References: Date: Wed, 30 Sep 2020 07:13:48 +0000 In-Reply-To: (Aloxaf Yin's message of "Wed, 30 Sep 2020 10:05:00 +0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 43532 Cc: 43532@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 (-) Aloxaf Yin writes: > The value of PATH_DUMPLOADSEARCH is > /tmp/makepkg/emacs-native-comp-git/src/emacs-git/lisp > and PATH_LOADSEARCH is /usr/share/emacs/28.0.50/lisp > > The build dir will not always be /tmp/makepkg. It depends on user's settings. Once the package is produced it can be in any directory with no restrinction on the name or like in MacOS the pkg directory will be called like name.app? Thanks Andrea From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 01 09:19:52 2020 Received: (at 43532) by debbugs.gnu.org; 1 Oct 2020 13:19:52 +0000 Received: from localhost ([127.0.0.1]:34786 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNyUy-00017r-0K for submit@debbugs.gnu.org; Thu, 01 Oct 2020 09:19:52 -0400 Received: from mx.sdf.org ([205.166.94.24]:64886) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNyUw-00017f-MV for 43532@debbugs.gnu.org; Thu, 01 Oct 2020 09:19:51 -0400 Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTP id 091DJm3o000358; Thu, 1 Oct 2020 13:19:48 GMT From: Andrea Corallo To: Aloxaf Subject: Re: bug#43532: [feature/native-comp] *.eln file name hashing, algorithm doesn't seem to play nice with NATIVE_FULL_AOT and self-contained, Emacs.app builds for macOS References: Date: Thu, 01 Oct 2020 13:19:47 +0000 In-Reply-To: (Aloxaf's message of "Thu, 1 Oct 2020 00:54:42 +0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 43532 Cc: 43532@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 (-) Aloxaf writes: > =E5=9C=A8 2020/9/30 =E4=B8=8B=E5=8D=883:13, Andrea Corallo =E5=86=99=E9= =81=93: > >> Once the package is produced it can be in any directory with no >> restrinction on the name or like in MacOS the pkg directory will be >> called like name.app? >> >> Thanks >> >> Andrea > > If you mean where it will be installed. It will always be installed to > / by default, but there is not some special restriction. > The $pkgdir just like a fake root and install it with AUR should have > the same directory structure as `make install DSTDIR=3D'/'` > > If you mean where the $pkgdir will be. Its value is > $BUILDDIR/$PACKAGE_NAME/pkg/$PACKAGE_NAME, $BUILDDIR can be configured > by user. Yes that's what I meant. Okay then if is correct to assume $PACKAGE_NAME is know at compile time should be possible on our side to offer a build option to specify that while compiling. > BTW, is there any special reason to consider file path when hashing? > IMHO, it may be better not to consider it? It makes simple and very cheap to keep the cache directory clean, the fact that's cheap allow us to the this clean-up often. Thanks Andrea PS you should do a replay-all when replaying to keep the bug posted From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 01 11:08:03 2020 Received: (at 43532) by debbugs.gnu.org; 1 Oct 2020 15:08:03 +0000 Received: from localhost ([127.0.0.1]:37926 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kO0Be-0004dj-KQ for submit@debbugs.gnu.org; Thu, 01 Oct 2020 11:08:03 -0400 Received: from mail-pf1-f180.google.com ([209.85.210.180]:39844) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kO05w-0004Ub-Tr for 43532@debbugs.gnu.org; Thu, 01 Oct 2020 11:02:10 -0400 Received: by mail-pf1-f180.google.com with SMTP id n14so4746998pff.6 for <43532@debbugs.gnu.org>; Thu, 01 Oct 2020 08:02:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:subject:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=215w2QBaHHQJaSAZJf5f4bcKj/KdNgkq3VCxkvMT6xM=; b=Ea3opzbGbLdkNASMRDK5Q8isVGJ6c6pGluAZ1lmaXtkyr/EbNqb4NLrN7epbmc5n4/ oiI8YEDy7yv22eADcwA82MX/T+8icvZdJ7FhTf/SxvT654tRdr+A5sLashH/tP7NJ0Zh YcamTdiuR7YRFeXKbtbJKtr1O+qeOUxpM4XO4+TPiQVxwDBNM1+R78mpZvzjjRUZuErJ oImK+XQ7K/2xemOYq/HzzJsTfByOlp4I69ms7DaRUJ/0k78bQLx0Up6BQbQkR1NsevZG ceLPzo/t45ik5sqFMivr40rNHxpn/78VAamBkJly7KDXijHqwLueFnNPoeE8DSHoP3E0 r0zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=215w2QBaHHQJaSAZJf5f4bcKj/KdNgkq3VCxkvMT6xM=; b=jBy3BuSF0jg8tbU5iiFS4CpiMBMa9ufj09kUc96svAJtW4O/cM6GzI4CV37/3xUigq k3RbD5RiS0/CWRRr5pp4mkIGmhANdpldegncSt/Gy9VJB/NoViH8ArdOzewNbDM+/rUI wfrs3e+6cgOozZuRZirFMDp7lswwq00/T29UFdwGp248L5k/grep1LAfajiPwSyAUB5A KEA/IzJrC9n2Q9sQwZBuSha4nomUwVD0guPw73L7H++hh/vO8cRn1tvc8oWpc8R45IzS /KUuWbZ9ERrvu/iaZOEkT7hO3DGxjB6JnhtO7zkGs8cmuvvhj4yw6/iUMRYAE5Ackwuk dynw== X-Gm-Message-State: AOAM531p/RDdqPsMC8dBlnEV22pLb/G38VLg85vPnubLZ2ZZDwZu13Wa EhKLesnFqfjgzoV7HJHfpkcIHoHpqe0gvQ== X-Google-Smtp-Source: ABdhPJzCbkH3XVMrSg2iRJGEmomvW6BOqpfN0Qx256TOCnFGhar+VcsW0TDZF9TwDYtEmrf0ym5Z/g== X-Received: by 2002:aa7:8ad8:0:b029:150:7d36:cddf with SMTP id b24-20020aa78ad80000b02901507d36cddfmr7406572pfd.55.1601564522108; Thu, 01 Oct 2020 08:02:02 -0700 (PDT) Received: from [0.0.0.0] (210-61-148-165.HINET-IP.hinet.net. [210.61.148.165]) by smtp.gmail.com with ESMTPSA id e8sm3661565pgj.8.2020.10.01.08.01.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 01 Oct 2020 08:02:01 -0700 (PDT) From: Aloxaf X-Google-Original-From: Aloxaf Subject: Re: bug#43532: [feature/native-comp] *.eln file name hashing, algorithm doesn't seem to play nice with NATIVE_FULL_AOT and self-contained, Emacs.app builds for macOS To: Andrea Corallo References: Message-ID: Date: Thu, 1 Oct 2020 23:01:53 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------B9CB6EB512C847B58DBB8085" Content-Language: en-US X-Spam-Score: -0.3 (/) X-Debbugs-Envelope-To: 43532 X-Mailman-Approved-At: Thu, 01 Oct 2020 11:08:01 -0400 Cc: 43532@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.3 (-) This is a multi-part message in MIME format. --------------B9CB6EB512C847B58DBB8085 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 在 2020/10/1 下午9:19, Andrea Corallo 写道: > Aloxaf writes: > >> 在 2020/9/30 下午3:13, Andrea Corallo 写道: >> >>> Once the package is produced it can be in any directory with no >>> restrinction on the name or like in MacOS the pkg directory will be >>> called like name.app? >>> >>> Thanks >>> >>> Andrea >> If you mean where it will be installed. It will always be installed to >> / by default, but there is not some special restriction. >> The $pkgdir just like a fake root and install it with AUR should have >> the same directory structure as `make install DSTDIR='/'` >> >> If you mean where the $pkgdir will be. Its value is >> $BUILDDIR/$PACKAGE_NAME/pkg/$PACKAGE_NAME, $BUILDDIR can be configured >> by user. > Yes that's what I meant. Okay then if is correct to assume > $PACKAGE_NAME is know at compile time should be possible on our side to > offer a build option to specify that while compiling. You mean something like `./configure --pkgdir=xxx`? That sounds good and flexible. > >> BTW, is there any special reason to consider file path when hashing? >> IMHO, it may be better not to consider it? > It makes simple and very cheap to keep the cache directory clean, the > fact that's cheap allow us to the this clean-up often. > > Thanks > > Andrea > > PS you should do a replay-all when replaying to keep the bug posted Oops, sorry for that. Thanks     Aloxaf --------------B9CB6EB512C847B58DBB8085 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit



在 2020/10/1 下午9:19, Andrea Corallo 写道:
Aloxaf <aloxafx@gmail.com> writes:

在 2020/9/30 下午3:13, Andrea Corallo 写道:

Once the package is produced it can be in any directory with no
restrinction on the name or like in MacOS the pkg directory will be
called like name.app?

Thanks

   Andrea
If you mean where it will be installed. It will always be installed to
/ by default, but there is not some special restriction.
The $pkgdir just like a fake root and install it with AUR should have
the same directory structure as `make install DSTDIR='/'`

If you mean where the $pkgdir will be. Its value is
$BUILDDIR/$PACKAGE_NAME/pkg/$PACKAGE_NAME, $BUILDDIR can be configured
by user.
Yes that's what I meant.  Okay then if is correct to assume
$PACKAGE_NAME is know at compile time should be possible on our side to
offer a build option to specify that while compiling.

You mean something like `./configure --pkgdir=xxx`? That sounds good and flexible.


BTW, is there any special reason to consider file path when hashing?
IMHO, it may be better not to consider it?
It makes simple and very cheap to keep the cache directory clean, the
fact that's cheap allow us to the this clean-up often.

Thanks

  Andrea

PS you should do a replay-all when replaying to keep the bug posted

Oops, sorry for that.


Thanks

    Aloxaf

--------------B9CB6EB512C847B58DBB8085-- From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 01 11:40:42 2020 Received: (at 43532) by debbugs.gnu.org; 1 Oct 2020 15:40:42 +0000 Received: from localhost ([127.0.0.1]:37976 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kO0hG-0005Tc-Di for submit@debbugs.gnu.org; Thu, 01 Oct 2020 11:40:42 -0400 Received: from mx.sdf.org ([205.166.94.24]:55878) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kO0hB-0005TK-1o for 43532@debbugs.gnu.org; Thu, 01 Oct 2020 11:40:40 -0400 Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTP id 091FeZHh029190; Thu, 1 Oct 2020 15:40:35 GMT From: Andrea Corallo To: Aloxaf Subject: Re: bug#43532: [feature/native-comp] *.eln file name hashing, algorithm doesn't seem to play nice with NATIVE_FULL_AOT and self-contained, Emacs.app builds for macOS References: Date: Thu, 01 Oct 2020 15:40:35 +0000 In-Reply-To: (Aloxaf's message of "Thu, 1 Oct 2020 23:01:53 +0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43532 Cc: 43532@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 (-) Aloxaf writes: > =E5=9C=A8 2020/10/1 =E4=B8=8B=E5=8D=889:19, Andrea Corallo =E5=86=99=E9= =81=93: > > Aloxaf writes: > > =E5=9C=A8 2020/9/30 =E4=B8=8B=E5=8D=883:13, Andrea Corallo =E5=86=99=E9= =81=93: > > Once the package is produced it can be in any directory with no > restrinction on the name or like in MacOS the pkg directory will be > called like name.app? > > Thanks > > Andrea > > > If you mean where it will be installed. It will always be installed to > / by default, but there is not some special restriction. > The $pkgdir just like a fake root and install it with AUR should have > the same directory structure as `make install DSTDIR=3D'/'` > > If you mean where the $pkgdir will be. Its value is > $BUILDDIR/$PACKAGE_NAME/pkg/$PACKAGE_NAME, $BUILDDIR can be configured > by user. > > > Yes that's what I meant. Okay then if is correct to assume > $PACKAGE_NAME is know at compile time should be possible on our side to > offer a build option to specify that while compiling. > > You mean something like `./configure --pkgdir=3Dxxx`? That sounds good an= d flexible. > Yes something like, perhaps to begin with something to pass to make as `make PKGDIR=3Dxxx`. Andrea From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 04 14:04:31 2020 Received: (at submit) by debbugs.gnu.org; 4 Oct 2020 18:04:31 +0000 Received: from localhost ([127.0.0.1]:46697 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kP8N5-0006F2-0E for submit@debbugs.gnu.org; Sun, 04 Oct 2020 14:04:31 -0400 Received: from lists.gnu.org ([209.51.188.17]:33898) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kP8N3-0006Eu-FR for submit@debbugs.gnu.org; Sun, 04 Oct 2020 14:04:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45748) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kP8N3-0001z1-B0 for bug-gnu-emacs@gnu.org; Sun, 04 Oct 2020 14:04:29 -0400 Received: from mx.sdf.org ([205.166.94.24]:51003) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kP8N1-0008Gq-HS for bug-gnu-emacs@gnu.org; Sun, 04 Oct 2020 14:04:28 -0400 Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTP id 094I4HVH009758; Sun, 4 Oct 2020 18:04:17 GMT From: Andrea Corallo To: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Subject: Re: bug#43532: [feature/native-comp] *.eln file name hashing, algorithm doesn't seem to play nice with NATIVE_FULL_AOT and self-contained, Emacs.app builds for macOS References: Date: Sun, 04 Oct 2020 18:04:17 +0000 In-Reply-To: (Andrea Corallo via's message of "Thu, 01 Oct 2020 15:40:35 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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/10/04 12:11:13 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-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: 43532@debbugs.gnu.org, Jim Myhrberg , Aloxaf 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: -2.4 (--) Hi Aloxaf, I believe the following should fix the issue: afb765ab3c * Make filename hashing compatible with self contained builds (bug#43532) No additional parameter is needed. Could you check and confirm works for you? Cc-ing Jim to kindly check does not break the same functionality on MacOS. Thanks! Andrea From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 04 15:54:30 2020 Received: (at submit) by debbugs.gnu.org; 4 Oct 2020 19:54:30 +0000 Received: from localhost ([127.0.0.1]:46839 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kPA5W-0002XF-8u for submit@debbugs.gnu.org; Sun, 04 Oct 2020 15:54:30 -0400 Received: from lists.gnu.org ([209.51.188.17]:55312) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kPA5U-0002X2-8h for submit@debbugs.gnu.org; Sun, 04 Oct 2020 15:54:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59934) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kPA5U-0001FA-0H for bug-gnu-emacs@gnu.org; Sun, 04 Oct 2020 15:54:28 -0400 Received: from mail-oi1-x244.google.com ([2607:f8b0:4864:20::244]:34704) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kPA5Q-0003a5-H3 for bug-gnu-emacs@gnu.org; Sun, 04 Oct 2020 15:54:27 -0400 Received: by mail-oi1-x244.google.com with SMTP id n2so6764899oij.1 for ; Sun, 04 Oct 2020 12:54:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jimeh-me.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=fYziEapD65ilIEWr3fLjygZq2koKDTxt/FHYLxQFPC0=; b=fOjEe5XB20tscxqtypRfUjWhlFdbma2a+oL5bEhSta9dIz25RSxoszRXF1pWGHlX5E w5OjkXWbvxKwPLVLYb+C176GRu5+5u11cKX7+VHzA3Pm+1IrjDiNOFyQctRJkHtreGlv miy/3laFtFm6uBqQfWbbgsh1vM1XU0c1vGpG+XcnakD+Sy+YZHaCGN898xUiuuZYVJYi LAqwxmiiIDxz+/kRnZgBz4Oqcvwzx26hSdVKsQDdUlYFDeSGTjF/FzY7KrUlg0QpXtgB hDcexqThb8QY8dT6rga29bRbcxWroMy4zUSicfgHhH7h+AKJA+yo60KPnF9ogch+GGfg 9M3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fYziEapD65ilIEWr3fLjygZq2koKDTxt/FHYLxQFPC0=; b=aZn+Yy2HC/jzFpIdDKvxXf842TgPXSyDiCJ7ymdyrSro7RpkEoDeLMxmzrMx8htxKI ggTc09RbjB+NLeQpJMI9+Sx4JeyF17+TNZ5pzmYsnNNWnvpNlZbAtxF12H5MKLQbxQye z0qfAwoxGg4yGISOwjEmEoX7I7/hSMkCYNizC/GKP/ekslkVX1jq7CsYaQj+mrDRVtYb O5o05NzBSi8PJqBU4cBJm4SxT1G6ZRC3tphnKr2y58dCEfiIg07mkmUQv9YsdfwVn1BY dZK4yNskrgwJacMQgxWk022GGiKZqujEEKTfx2wfcc/AO9aVcDWEphs/rVxOtDvqkEgg fw/A== X-Gm-Message-State: AOAM530nRSVtRKFqVXsFZVnwaGW4p8Sn6mrwWqGgKga6Iqup7UU0hVf2 BBwlFd2uhbIFKPyrd4geQDtQNCTGPc6RL48fPlbXhA== X-Google-Smtp-Source: ABdhPJwiSWJciVayN/3VY58fBc4iXHYAGYEvs4tvD4iBBd/a/dCdYeqyI25VvWmIz9xD0pIJ6xVNaKo8Vvcy2Olw9ME= X-Received: by 2002:a05:6808:1c8:: with SMTP id x8mr6893171oic.100.1601841262537; Sun, 04 Oct 2020 12:54:22 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jim Myhrberg Date: Sun, 4 Oct 2020 20:54:11 +0100 Message-ID: Subject: Re: bug#43532: [feature/native-comp] *.eln file name hashing, algorithm doesn't seem to play nice with NATIVE_FULL_AOT and self-contained, Emacs.app builds for macOS To: Andrea Corallo Content-Type: text/plain; charset="UTF-8" Received-SPF: none client-ip=2607:f8b0:4864:20::244; envelope-from=contact@jimeh.me; helo=mail-oi1-x244.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit Cc: "Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors" , 43532@debbugs.gnu.org, Aloxaf 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 (---) Thanks Andrea, I just created a build from commit 44ef243, and it did not work out quite as expected :) Is there anything extra I should do/pass in to make it work? Cause right now it seems to have taken the string "{lispdirrel}" literally without any replacement, as there's a folder called exactly that directly within the application bundle with most things I'd normally expect to find in "Contents/Resources". To illustrate with a screenshot to avoid any possible confusion: https://share.jimeh.me/Screen-Shot-2020-10-04-20-47-12.95-goSgK6urIRqD.png And this is what it's supposed to look like: https://share.jimeh.me/Screen-Shot-2020-10-04-20-48-18.29-gd8o91tZcuLj.png And for good measure, here's what I believe are the relevant things from src/epaths.h: #define PATH_LOADSEARCH "/Users/jimeh/Projects/build-emacs-for-macos/sources/emacs-mirror-emacs-44ef243/nextstep/Emacs.app/{lispdirrel}/lisp" #define PATH_REL_LOADSEARCH "Contents/Resources" #define PATH_DUMPLOADSEARCH "/Users/jimeh/Projects/build-emacs-for-macos/sources/emacs-mirror-emacs-44ef243/lisp" On Sun, Oct 4, 2020 at 7:04 PM Andrea Corallo wrote: > > Hi Aloxaf, > > I believe the following should fix the issue: > > afb765ab3c * Make filename hashing compatible with self contained builds (bug#43532) > > No additional parameter is needed. > > Could you check and confirm works for you? > > Cc-ing Jim to kindly check does not break the same functionality on > MacOS. > > Thanks! > > Andrea > From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 04 16:54:21 2020 Received: (at submit) by debbugs.gnu.org; 4 Oct 2020 20:54:21 +0000 Received: from localhost ([127.0.0.1]:46852 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kPB1R-00061m-BC for submit@debbugs.gnu.org; Sun, 04 Oct 2020 16:54:21 -0400 Received: from lists.gnu.org ([209.51.188.17]:51400) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kPB1Q-00061f-9T for submit@debbugs.gnu.org; Sun, 04 Oct 2020 16:54:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38830) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kPB1Q-0006Ci-0d for bug-gnu-emacs@gnu.org; Sun, 04 Oct 2020 16:54:20 -0400 Received: from mx.sdf.org ([205.166.94.24]:52296) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kPB1N-0001AE-2Q for bug-gnu-emacs@gnu.org; Sun, 04 Oct 2020 16:54:19 -0400 Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTP id 094KsCjx016238; Sun, 4 Oct 2020 20:54:13 GMT From: Andrea Corallo To: Jim Myhrberg Subject: Re: bug#43532: [feature/native-comp] *.eln file name hashing, algorithm doesn't seem to play nice with NATIVE_FULL_AOT and self-contained, Emacs.app builds for macOS References: Date: Sun, 04 Oct 2020 20:54:12 +0000 In-Reply-To: (Jim Myhrberg's message of "Sun, 4 Oct 2020 20:54:11 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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/10/04 16:54:15 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-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: "Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors" , 43532@debbugs.gnu.org, Aloxaf 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: -2.4 (--) Jim Myhrberg writes: > Thanks Andrea, > > I just created a build from commit 44ef243, and it did not work out > quite as expected :) This 43532 is becoming my nightmare :) 915214ac9a should fix. Thanks for testing. Andrea From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 04 19:18:00 2020 Received: (at 43532) by debbugs.gnu.org; 4 Oct 2020 23:18:00 +0000 Received: from localhost ([127.0.0.1]:46998 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kPDGS-0000vY-H3 for submit@debbugs.gnu.org; Sun, 04 Oct 2020 19:18:00 -0400 Received: from mail-ot1-f54.google.com ([209.85.210.54]:34126) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kPDGR-0000vK-3J for 43532@debbugs.gnu.org; Sun, 04 Oct 2020 19:17:59 -0400 Received: by mail-ot1-f54.google.com with SMTP id d28so699932ote.1 for <43532@debbugs.gnu.org>; Sun, 04 Oct 2020 16:17:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jimeh-me.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pn/R0wU/KLYf0vIOy5kZFv71mq7FKAjRjr4BZMZQKwA=; b=E7QeGBvuEIGVfKTf6RUfTrfXYLIwBAs2jtRXtTr+caK1GSo6gZ2x4AIImoWNPyg1ZX cDS/5Bt3crPkI7K15g7KCdKZtax2FGfbTR3nxwQ02geYl2f8n31udZU3ygKrGEd3OgZc lEreMNJel3F8D73wCJRl1soRrsxY9KiUalJw68n5aThNe+918nvimqjA4U+sn9IHO/GQ 3AGa8utbOKiFNkHi6N0nKW717Zup9e/6A9GVva/GgxHS3Re2IVHBN56zWcksOSE3WPfN Bg8tj25G4xiB8BiNNyTvJoBBQvTTu1HdC38RjMr7ZkQZFQk2eAEFbTM359uqswviIGny 3yEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pn/R0wU/KLYf0vIOy5kZFv71mq7FKAjRjr4BZMZQKwA=; b=dL3rHxm+l+B7ZqdSTfmbzlMFPdky2EG0hPvnK0zcQ38OKCCESK1vNMa/W3JrZ7Wtus zU7kKaSeKiG1LMB72swpD7ttVpQNaAbej1o7uP1pi9ogofBtqamKERAOI9U+hWD2m/ni Y+pucFbr5lTPUU3YLmQzflxQss5Qmn7QqrDqfYP9L48wthpXJKD2iHXxc3bVSbul0zp/ tUX281dFqmBuVGaOdcuWTOeYM4+6vLxiU9algxkGyS287BKWUE9pkR5L70E2KAToXb0a TS05VtncWRjZfHy3FzgMFIcosHm/l/m9RvgC84ZexdwrtPjYrsrV2Bs/ypqEmm2K3XX3 kWKw== X-Gm-Message-State: AOAM533oIq+1gxapXPohH+WGfn4TkrGZUL6RnziaIRClC/odXwndt2/g EuqNxPiYMjqfAbMn45ePRE7TrVD2JwG/aaRAimPunA== X-Google-Smtp-Source: ABdhPJzbAHhUnNgn0EEpiXPimcfTlgw1GOeuOUZbvYrwmx40t8BMOe49p2JF72sbwYlQRb+14X9jWSzHCwXCs7Vsf8I= X-Received: by 2002:a9d:5a8:: with SMTP id 37mr8921523otd.362.1601853473141; Sun, 04 Oct 2020 16:17:53 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jim Myhrberg Date: Mon, 5 Oct 2020 00:17:42 +0100 Message-ID: Subject: Re: bug#43532: [feature/native-comp] *.eln file name hashing, algorithm doesn't seem to play nice with NATIVE_FULL_AOT and self-contained, Emacs.app builds for macOS To: Andrea Corallo Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 43532 Cc: "Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors" , 43532@debbugs.gnu.org, Aloxaf 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 (-) Haha, apologies for the nightmare. There are few things worse than writing code you can't actually test and run yourself With 915214a the application is now structured correctly, but I'm afraid it doesn't look to be truncating the paths correctly during the initial build process. As the *.eln files bundled into the app bundle during the build process with NATIVE_FULL_AOT=1 are ignored. But *.eln files dynamically compiled into the user eln-cache directory are re-used regardless of where you place the application on disk. And relevant stuff from epaths.h just to be safe: #define PATH_LOADSEARCH "/Users/jimeh/Projects/build-emacs-for-macos/sources/emacs-mirror-emacs-915214a/nextstep/Emacs.app/Contents/Resources/lisp" #define PATH_REL_LOADSEARCH "Contents/Resources" #define PATH_DUMPLOADSEARCH "/Users/jimeh/Projects/build-emacs-for-macos/sources/emacs-mirror-emacs-915214a/lisp" And thanks again for all your work :) On Sun, Oct 4, 2020 at 9:54 PM Andrea Corallo wrote: > > Jim Myhrberg writes: > > > Thanks Andrea, > > > > I just created a build from commit 44ef243, and it did not work out > > quite as expected :) > > This 43532 is becoming my nightmare :) > > 915214ac9a should fix. > > Thanks for testing. > > Andrea From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 05 02:57:09 2020 Received: (at submit) by debbugs.gnu.org; 5 Oct 2020 06:57:09 +0000 Received: from localhost ([127.0.0.1]:47567 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kPKQn-0004HN-80 for submit@debbugs.gnu.org; Mon, 05 Oct 2020 02:57:09 -0400 Received: from lists.gnu.org ([209.51.188.17]:49488) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kPKQl-0004HG-VI for submit@debbugs.gnu.org; Mon, 05 Oct 2020 02:57:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45758) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kPKQk-0005AX-1u for bug-gnu-emacs@gnu.org; Mon, 05 Oct 2020 02:57:07 -0400 Received: from mx.sdf.org ([205.166.94.24]:59427) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kPKQh-0004fu-O6 for bug-gnu-emacs@gnu.org; Mon, 05 Oct 2020 02:57:05 -0400 Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTP id 0956uvGE020564; Mon, 5 Oct 2020 06:56:57 GMT From: Andrea Corallo To: Jim Myhrberg Subject: Re: bug#43532: [feature/native-comp] *.eln file name hashing, algorithm doesn't seem to play nice with NATIVE_FULL_AOT and self-contained, Emacs.app builds for macOS References: Date: Mon, 05 Oct 2020 06:56:57 +0000 In-Reply-To: (Jim Myhrberg's message of "Mon, 5 Oct 2020 00:17:42 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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/10/05 02:57: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-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: "Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors" , 43532@debbugs.gnu.org, Aloxaf 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: -2.4 (--) Hi Jim, 323200044f should fix. Thanks again Andrea From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 05 05:57:37 2020 Received: (at submit) by debbugs.gnu.org; 5 Oct 2020 09:57:37 +0000 Received: from localhost ([127.0.0.1]:47973 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kPNFR-0002lo-Dk for submit@debbugs.gnu.org; Mon, 05 Oct 2020 05:57:37 -0400 Received: from lists.gnu.org ([209.51.188.17]:58754) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kPNFQ-0002lh-11 for submit@debbugs.gnu.org; Mon, 05 Oct 2020 05:57:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57666) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kPNFP-0006eh-Jw for bug-gnu-emacs@gnu.org; Mon, 05 Oct 2020 05:57:35 -0400 Received: from mail-yb1-xb2a.google.com ([2607:f8b0:4864:20::b2a]:40579) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kPNFK-0003Nk-Qd for bug-gnu-emacs@gnu.org; Mon, 05 Oct 2020 05:57:35 -0400 Received: by mail-yb1-xb2a.google.com with SMTP id n142so3029081ybf.7 for ; Mon, 05 Oct 2020 02:57:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jimeh-me.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=MVGMTiHRt9DquvlN1YkyXYToWgNB+pbPXMcOf+136bs=; b=YENQStrgwXmqDM9+BNu3YX7/bSNONZH5tSi8Wyucik8qwDW7ewcO7Sp8lXbDdJfS1z E64663I1TU/2E28mZzmCwxBYqZhVnF/VW8+NXd7gNQQHxpJz5hm3RFLGiL0MMond1j7N Oes81Ekw73OMnEUGbWllxsSTA8cn9Kcif3c414EAXMw6JYX2QXw+fHEaUCwQ31kptTe7 9cdisjwgV055uUTcSFPNMKVL18CK+EaYtoN+Lo7wHOvsHSaT3gWemPklgBFladAgj++b v6FEqIfIz4wZGGZL798qNhAsxJRvcOPKH/Qqkc3Crwkc9Zv0KOE3WmRaAi6DxYvxpFJl Op6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=MVGMTiHRt9DquvlN1YkyXYToWgNB+pbPXMcOf+136bs=; b=t0jr+XciSDty9Jkv+3A1ooSSTOG011fJkCbPy98Vslaywapth97/pAVy4FupAspQwj TElkB6pIfbG7J1vhn69QUbluiCXb8RT6MyqF8ku+mbL2ByQLKiTGJmRmYLxkBgR59FVF guHfsyoauc5ZglrRFH9jCUSV7Qi8UZLjAkI4xY1wF6zsAgr5XY+c6gv0WqXBU0LJr/6w XZdu9LKHOa7QSL1zHO8dVfDnJX1KSAruix8zk+b+lhPTuqb6lVfQ4v/GydrKIZkD5bot MXxAUdfv3IBDK/m113jSJLmxZHaPAVf6j9nYIVFe2NINdDBVjPMiWWwjTwtMHM4LX49I A5eQ== X-Gm-Message-State: AOAM532Tp4tAoFvy+FvW0Xtu0vNQzNb1SGuV9tpi/iiIJsz/yHcGNA/5 BE23pUKSvYg0tLhR3yfRajTkbNBpKUU3RDP85okFdQ== X-Google-Smtp-Source: ABdhPJz+Feq59u/enNipWc41XZe36dwOliJTpPZggjRYmNMwMpbT6XHsG0maCjKBz3n4oz3U88O5GCPv/MShMMpgM80= X-Received: by 2002:a25:6dd6:: with SMTP id i205mr18495965ybc.236.1601891849296; Mon, 05 Oct 2020 02:57:29 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jim Myhrberg Date: Mon, 5 Oct 2020 10:57:18 +0100 Message-ID: Subject: Re: bug#43532: [feature/native-comp] *.eln file name hashing, algorithm doesn't seem to play nice with NATIVE_FULL_AOT and self-contained, Emacs.app builds for macOS To: Andrea Corallo Content-Type: text/plain; charset="UTF-8" Received-SPF: none client-ip=2607:f8b0:4864:20::b2a; envelope-from=contact@jimeh.me; helo=mail-yb1-xb2a.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit Cc: "Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors" , 43532@debbugs.gnu.org, Aloxaf 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 (---) That did the trick, bundled *.eln files are correctly picked up again. Thanks yet again for all your work :) On Mon, Oct 5, 2020 at 7:57 AM Andrea Corallo wrote: > > Hi Jim, > > 323200044f should fix. > > Thanks again > > Andrea > From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 05 11:10:00 2020 Received: (at 43532) by debbugs.gnu.org; 5 Oct 2020 15:10:00 +0000 Received: from localhost ([127.0.0.1]:50132 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kPS7k-0002mR-2z for submit@debbugs.gnu.org; Mon, 05 Oct 2020 11:10:00 -0400 Received: from mx.sdf.org ([205.166.94.24]:61590) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kPS7g-0002mG-4Q for 43532@debbugs.gnu.org; Mon, 05 Oct 2020 11:09:58 -0400 Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTP id 095F9sRo021589; Mon, 5 Oct 2020 15:09:54 GMT From: Andrea Corallo To: Jim Myhrberg Subject: Re: bug#43532: [feature/native-comp] *.eln file name hashing, algorithm doesn't seem to play nice with NATIVE_FULL_AOT and self-contained, Emacs.app builds for macOS References: Date: Mon, 05 Oct 2020 15:09:54 +0000 In-Reply-To: (Jim Myhrberg's message of "Mon, 5 Oct 2020 10:57:18 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 43532 Cc: "Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors" , 43532@debbugs.gnu.org, Aloxaf 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 (-) Jim Myhrberg writes: > That did the trick, bundled *.eln files are correctly picked up again. Great, lets wait for Aloxaf feedback then. Thanks Andrea From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 07 00:09:49 2020 Received: (at submit) by debbugs.gnu.org; 7 Oct 2020 04:09:49 +0000 Received: from localhost ([127.0.0.1]:54746 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQ0lw-0003ZP-Se for submit@debbugs.gnu.org; Wed, 07 Oct 2020 00:09:49 -0400 Received: from lists.gnu.org ([209.51.188.17]:58120) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQ0lu-0003ZB-5k for submit@debbugs.gnu.org; Wed, 07 Oct 2020 00:09:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59106) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kQ0lt-0002GT-AL for bug-gnu-emacs@gnu.org; Wed, 07 Oct 2020 00:09:45 -0400 Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]:38373) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kQ0lr-0007ZT-HM for bug-gnu-emacs@gnu.org; Wed, 07 Oct 2020 00:09:45 -0400 Received: by mail-ej1-x632.google.com with SMTP id ce10so962913ejc.5 for ; Tue, 06 Oct 2020 21:09:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=ZGBGykO+LLb6vpJVFTTEQo0L4zUGsoSxzjhUe5AQ2A4=; b=shFW2wFkEV91QDgT873nTxyu2pjuCR6ojr+HZbgnPVJiFKx1iDhiZTy66h3/2E5ypy h4J00a5EUXWmSFOgqNYhPT3t1DWzpDHRjytIcXJTQGVIn6aQHInIywgxFDO2cw5DH7hX b9U0giD2dT9UkdBmpyIUkAYkW5y4mgADAcEgluAPocwR8YMp+/cOKHc5uctUAp1Vx1uB 6p72zbXmn3n95jqIjJfp1so/psfBDYdgUyj0J3a90P9eZrhltaLENBn3qXxVmxLGspPu FhZvYEigaCvtQbZX3lkZQVsRlXPmsqJ0x6gYBsiVLGwOFhZcNucUEXaPy1grvD3HMwjn 0cmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=ZGBGykO+LLb6vpJVFTTEQo0L4zUGsoSxzjhUe5AQ2A4=; b=qhegtbAAxWBRn/+F7Gctyk02UYCTePbAGhJDIgYr6KcWyJ9AyVvv867H2UExqWaD+U rtLv4pP6mxo7DPuvjo4V3Ee2ZZ+eGgUF8knBrFc8eoFmpt8l212K5KbzqNYYB0kTymwd i6gEFR4mp4Cz7MIoAR+S7wASC7Eh4t+cKmqp2LQ7bh2ESeugNbUs4Ey3rNrGQh/Sh1Ay kh7pX769LlXOayPZCFQO29llnqGQRjk4EVSjhz8ePvOJqZi5znE+MZiya/t2beiI/rih NU600WiJy9AGC9eTejl+/FKKd/dkURinsX/J907Dt2olCEuUZcqTq11we4c1ZwcW8m2i KSBA== X-Gm-Message-State: AOAM533V1R6oqQplhV9CIGWfGMJS2re+leH3EzTLjKhcIkCOKf2R4Em0 yTjHvcEWjMXNHt0KUwH6vDiIMMuTf4RIQgMQSpQ= X-Google-Smtp-Source: ABdhPJxxNr5aAfoQ1j+T+0nAvvUPxsHRAq2cYBKKn+VPg89kFnmRQcRbRrWyHnVFjgFoj5jwcROmWvkhkx7Of+ZAZKY= X-Received: by 2002:a17:906:a00c:: with SMTP id p12mr1375896ejy.10.1602043779350; Tue, 06 Oct 2020 21:09:39 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Aloxaf Yin Date: Wed, 7 Oct 2020 12:09:27 +0800 Message-ID: Subject: Re: bug#43532: [feature/native-comp] *.eln file name hashing, algorithm doesn't seem to play nice with NATIVE_FULL_AOT and self-contained, Emacs.app builds for macOS To: Andrea Corallo Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::632; envelope-from=aloxafx@gmail.com; helo=mail-ej1-x632.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: "Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors" , 43532@debbugs.gnu.org, Jim Myhrberg 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: -2.3 (--) Oh, I forgot to send the draft! Sorry for the late reply. Thanks for your work! I tried 915214ac but it doesn't seem to work. Here are some relevant definitions from src/epath.h: #define PATH_LOADSEARCH "/usr/share/emacs/28.0.50/lisp" #define PATH_REL_LOADSEARCH "28.0.50/lisp" #define PATH_DUMPLOADSEARCH "/tmp/makepkg/emacs-native-comp-git/src/emacs-git/lisp" That's strange. Can I do anything to help analyze it? Andrea Corallo =E4=BA=8E2020=E5=B9=B410=E6=9C=885=E6=97=A5= =E5=91=A8=E4=B8=80 =E4=B8=8A=E5=8D=882:04=E5=86=99=E9=81=93=EF=BC=9A > > Hi Aloxaf, > > I believe the following should fix the issue: > > afb765ab3c * Make filename hashing compatible with self contained builds = (bug#43532) > > No additional parameter is needed. > > Could you check and confirm works for you? > > Cc-ing Jim to kindly check does not break the same functionality on > MacOS. > > Thanks! > > Andrea > From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 07 11:01:31 2020 Received: (at submit) by debbugs.gnu.org; 7 Oct 2020 15:01:31 +0000 Received: from localhost ([127.0.0.1]:57703 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQAwd-0005sp-4s for submit@debbugs.gnu.org; Wed, 07 Oct 2020 11:01:31 -0400 Received: from lists.gnu.org ([209.51.188.17]:48892) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQAwb-0005sh-F4 for submit@debbugs.gnu.org; Wed, 07 Oct 2020 11:01:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49180) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kQAwN-0003uv-Fz for bug-gnu-emacs@gnu.org; Wed, 07 Oct 2020 11:01:20 -0400 Received: from mab.sdf.org ([205.166.94.33]:39194 helo=ma.sdf.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kQAw9-0007pE-DN for bug-gnu-emacs@gnu.org; Wed, 07 Oct 2020 11:01:14 -0400 Received: from akrl by ma.sdf.org with local (Exim 4.92) (envelope-from ) id 1kQAw2-0007bN-Tt; Wed, 07 Oct 2020 15:00:54 +0000 From: Andrea Corallo To: Aloxaf Yin Subject: Re: bug#43532: [feature/native-comp] *.eln file name hashing, algorithm doesn't seem to play nice with NATIVE_FULL_AOT and self-contained, Emacs.app builds for macOS References: Date: Wed, 07 Oct 2020 15:00:54 +0000 In-Reply-To: (Aloxaf Yin's message of "Wed, 7 Oct 2020 12:09:27 +0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=205.166.94.33; envelope-from=akrl@sdf.org; helo=ma.sdf.org X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/07 10:47:38 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] 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_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: "Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors" , 43532@debbugs.gnu.org, Jim Myhrberg 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: -2.4 (--) Aloxaf Yin writes: > Oh, I forgot to send the draft! Sorry for the late reply. > > Thanks for your work! > > I tried 915214ac but it doesn't seem to work. > > Here are some relevant definitions from src/epath.h: > #define PATH_LOADSEARCH "/usr/share/emacs/28.0.50/lisp" > #define PATH_REL_LOADSEARCH "28.0.50/lisp" > #define PATH_DUMPLOADSEARCH > "/tmp/makepkg/emacs-native-comp-git/src/emacs-git/lisp" > > That's strange. Can I do anything to help analyze it? Hi Aloxaf, Yes that's curious the above looks correct. I just ask you to post the full path of an .el file (say comp.el) while being compiled and after the packaging. Thanks Andrea From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 07 23:40:30 2020 Received: (at submit) by debbugs.gnu.org; 8 Oct 2020 03:40:30 +0000 Received: from localhost ([127.0.0.1]:58383 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQMn5-0005KM-Lx for submit@debbugs.gnu.org; Wed, 07 Oct 2020 23:40:30 -0400 Received: from lists.gnu.org ([209.51.188.17]:39502) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQMn2-0005KC-F2 for submit@debbugs.gnu.org; Wed, 07 Oct 2020 23:40:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50304) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kQMn2-0002NL-7x for bug-gnu-emacs@gnu.org; Wed, 07 Oct 2020 23:40:24 -0400 Received: from mail-ej1-x62b.google.com ([2a00:1450:4864:20::62b]:38796) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kQMn0-0001zS-Bf for bug-gnu-emacs@gnu.org; Wed, 07 Oct 2020 23:40:23 -0400 Received: by mail-ej1-x62b.google.com with SMTP id ce10so5984501ejc.5 for ; Wed, 07 Oct 2020 20:40:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=Yk2DccdJtXN4IAQRqRMY/0TvpyIcYEsK6hk64IEr77w=; b=I6qn3jJq8c6c1hznve02tNa68JjM7GgeEzth+DIJCXSuTXpcuTqAm6f1pJpcijegAi iCgAXG7Ts0a0sceNK843a6xYptvWipyHFmuDFmA2AhN1Vl9XoDG0/SweoJ9+9386wRKo /4aT0BvzKNyKb5rENyQHTjYGvRckfLsLRGUmZqcB+hv573d/OelqGcdEb4xtZWvzli/2 4JypyogrEx/qlXaib6ZJJ+N0E5fpuxJSONi18u4XOVXaBTNAHe2yXCvL47DaEeYqxO0s ks0Zvxuj1zFluxomtyOX1fk++09B9Y8muEJPUehcEIenhUS2xW/RI3z++oQmXHYuzZrd +hfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=Yk2DccdJtXN4IAQRqRMY/0TvpyIcYEsK6hk64IEr77w=; b=BzrOB3VKlmvOMuQCl9B3FxfEhyZSO6T/FJo3etEeX1xFyK4e7W4hbPtRUBlv4X8MId B7EDx8f0IViYK/OPAfkUYFY/TuOtDjavzQcUdXEDSPEd+L35xzHmz5KjTNm8X1ITTL6O 10SzcpgkItwCanSPcEZjGGfqCKh+DsRls+OhVwLwKWu9DdUyS8ArbZlIhhuWhA6qLWaW 5kevIG8yEwrlHvPVopplsETCaHxBSmZlwdMwLumB9+LT6KhJLdoEZPp8MGLgZt7750Fb uKljw2vvQ0sNGjVvdxV4KrxhZHQaZ/J4lISln2Zayj1WWYAeWuVtHtYlnAo1uA8+GzBA ArLQ== X-Gm-Message-State: AOAM532qtBv/pQQZ6uRVivf8QDXoykD+vsRIW5c8UTdAHzk6711uexkT O0vC5Kv+Kpo4t0cdUfWV17ramvoKYE0ybwJ11ak= X-Google-Smtp-Source: ABdhPJypojuovjehUrCcRJvk32iWP+bmgpADuZDG1ILOdteReT4p+j1pk5Wo/NXKRMb6l33IkABhRBb4Ld8AEdHduRo= X-Received: by 2002:a17:907:2076:: with SMTP id qp22mr6506751ejb.358.1602128420682; Wed, 07 Oct 2020 20:40:20 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Aloxaf Yin Date: Thu, 8 Oct 2020 11:40:08 +0800 Message-ID: Subject: Re: bug#43532: [feature/native-comp] *.eln file name hashing, algorithm doesn't seem to play nice with NATIVE_FULL_AOT and self-contained, Emacs.app builds for macOS To: Andrea Corallo Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::62b; envelope-from=aloxafx@gmail.com; helo=mail-ej1-x62b.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: "Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors" , 43532@debbugs.gnu.org, Jim Myhrberg 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: -2.3 (--) Hi Andrea, Take comp.el as an example, its path is `/tmp/makepkg/emacs-native-comp-git/src/emacs-git/lisp/emacs-lisp/comp.el` while being compiled and `/usr/share/emacs/28.0.50/lisp/emacs-lisp/comp.el` after the packaging. Thanks Andrea Corallo =E4=BA=8E2020=E5=B9=B410=E6=9C=887=E6=97=A5= =E5=91=A8=E4=B8=89 =E4=B8=8B=E5=8D=8811:00=E5=86=99=E9=81=93=EF=BC=9A > > Aloxaf Yin writes: > > > Oh, I forgot to send the draft! Sorry for the late reply. > > > > Thanks for your work! > > > > I tried 915214ac but it doesn't seem to work. > > > > Here are some relevant definitions from src/epath.h: > > #define PATH_LOADSEARCH "/usr/share/emacs/28.0.50/lisp" > > #define PATH_REL_LOADSEARCH "28.0.50/lisp" > > #define PATH_DUMPLOADSEARCH > > "/tmp/makepkg/emacs-native-comp-git/src/emacs-git/lisp" > > > > That's strange. Can I do anything to help analyze it? > > Hi Aloxaf, > > Yes that's curious the above looks correct. I just ask you to post the > full path of an .el file (say comp.el) while being compiled and after > the packaging. > > Thanks > > Andrea From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 13 20:13:19 2020 Received: (at 43532) by debbugs.gnu.org; 14 Oct 2020 00:13:19 +0000 Received: from localhost ([127.0.0.1]:49217 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSUPv-0007xL-I6 for submit@debbugs.gnu.org; Tue, 13 Oct 2020 20:13:19 -0400 Received: from mail-ua1-f49.google.com ([209.85.222.49]:36891) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSUPr-0007x6-OH for 43532@debbugs.gnu.org; Tue, 13 Oct 2020 20:13:17 -0400 Received: by mail-ua1-f49.google.com with SMTP id c7so566598uaq.4 for <43532@debbugs.gnu.org>; Tue, 13 Oct 2020 17:13:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=NvjqZJeA6vgI2Vj4SryQ/DaTt5GggtJAE0fkrQ0ZjJo=; b=auxhG1tuuAqvZaZO7sYz3y+GXH78qC4pSbmjTlMippRtDZhjnWiyQsSLzXEGysfh13 gUlsGBJtePMNk3ZdF6Tj3YtF8eYC3RzaCfHf5giXcHJeFkPudmzGwOc5f/Zanoe1wYjg Fa9b2dHUSXIY+RmP2BuswUH2YEbhE8K7G145c0SCNF9H6teCjGtDXGLVnjISuyYHDzXx 2oQDgEoIU3cC35E2Mg5fcAa+aydmsACDy/Ko92sJTkGdgsXgLv6Zs0eevcpSXfIANOsj 9v94kDO3lJRqA4dfGbD5mbFDumu4EcA1UPwxe4D4tgpu/nd6G6Ns+Y+Her1w5GRsH1M1 vzCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=NvjqZJeA6vgI2Vj4SryQ/DaTt5GggtJAE0fkrQ0ZjJo=; b=dniEXhL0Pue8gESg+qrn/DSRkpVYrAPlnjhDvA2CmoPr3tPurI7sllyf8VJePGG/+0 Kk37gY2cMIhlJKF3HkvCl4wFofHOcVjho/+eAQdvgNOh/ttwUvQTW2VnE67A3QXbpQX1 8FKbeGtIpEllJFVZ0nTyNS5Y5nTSoc/V/mCFrZRA2eotQPHnaKnWuhAwBghJLleQBtFA eNTmhiRY55rqem/UivQJ0ofeEaHrKFj0myMQ5i7ntAvVhd1gVhiBLpd0tfzg5CvHdPrV v9ciPZfs9dQ7V52iHDyYo2RRQyE6MoD81WrtmSjNBxVW5bn2+TNnTq8j/xQQb8gu8Mo6 yVkQ== X-Gm-Message-State: AOAM530NIfHXIirtINIiVQi8jfE63PEHACJc9d03vvlZJNpmzDjKUqAx 4LjGYJuD77Hf1z84IuDXbKbXg4alUQ668Vo4nWo= X-Google-Smtp-Source: ABdhPJyvbGIcUszAaiZXNNUrESOF9VLtbtl7EYlQvlYCzFxl5xiNk5KHEX5fwtZuM9IzJVx7pwkSsIJ7XIIus+6j01I= X-Received: by 2002:ab0:2087:: with SMTP id r7mr1767384uak.47.1602634389887; Tue, 13 Oct 2020 17:13:09 -0700 (PDT) MIME-Version: 1.0 From: Andrew Whatson Date: Wed, 14 Oct 2020 10:12:58 +1000 Message-ID: Subject: Re: bug#43532: [feature/native-comp] *.eln file name hashing, algorithm doesn't seem to play nice with NATIVE_FULL_AOT and self-contained, Emacs.app builds for macOS To: Andrea Corallo Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43532 Cc: 43532@debbugs.gnu.org, Jim Myhrberg , Aloxaf Yin 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 (-) Hi Andrea, I see similar problems with my Guix builds of emacs-native-comp. I run with deferred compilation disabled, so the native versions of core elisp packages are simply not loaded. As a workaround, I've had success copying `/path/to/emacs/lib/emacs/28.0.50/native-lisp/.../*.eln` into `~/.emacs.d/eln-cache/.../`. The native-compiled code is then loaded correctly as expected. Perhaps this helps to narrow down the problem; seems it's not a hashing problem, but a load-path one? Cheers, Andrew From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 14 02:57:46 2020 Received: (at 43532) by debbugs.gnu.org; 14 Oct 2020 06:57:46 +0000 Received: from localhost ([127.0.0.1]:49911 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSajK-0003ei-K5 for submit@debbugs.gnu.org; Wed, 14 Oct 2020 02:57:46 -0400 Received: from mab.sdf.org ([205.166.94.33]:37720 helo=ma.sdf.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSajJ-0003eY-Mc for 43532@debbugs.gnu.org; Wed, 14 Oct 2020 02:57:46 -0400 Received: from akrl by ma.sdf.org with local (Exim 4.92) (envelope-from ) id 1kSajG-0007G8-V3; Wed, 14 Oct 2020 06:57:43 +0000 From: Andrea Corallo To: Andrew Whatson Subject: Re: bug#43532: [feature/native-comp] *.eln file name hashing, algorithm doesn't seem to play nice with NATIVE_FULL_AOT and self-contained, Emacs.app builds for macOS References: Date: Wed, 14 Oct 2020 06:57:42 +0000 In-Reply-To: (Andrew Whatson's message of "Wed, 14 Oct 2020 10:12:58 +1000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43532 Cc: 43532@debbugs.gnu.org, Jim Myhrberg , Aloxaf Yin 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 (-) Andrew Whatson writes: > Hi Andrea, > > I see similar problems with my Guix builds of emacs-native-comp. I > run with deferred compilation disabled, so the native versions of core > elisp packages are simply not loaded. > > As a workaround, I've had success copying > `/path/to/emacs/lib/emacs/28.0.50/native-lisp/.../*.eln` into > `~/.emacs.d/eln-cache/.../`. The native-compiled code is then loaded > correctly as expected. > > Perhaps this helps to narrow down the problem; seems it's not a > hashing problem, but a load-path one? Hi Andrew, from where I stand I don't see why it should not work so I'll have to recreate the problem here and have a look. I'll try to do it this week. Thanks! Andrea From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 15 02:55:06 2020 Received: (at 43532) by debbugs.gnu.org; 15 Oct 2020 06:55:06 +0000 Received: from localhost ([127.0.0.1]:53955 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSxAI-00044C-8K for submit@debbugs.gnu.org; Thu, 15 Oct 2020 02:55:06 -0400 Received: from mail-pl1-f178.google.com ([209.85.214.178]:39785) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSxAG-00043c-HR for 43532@debbugs.gnu.org; Thu, 15 Oct 2020 02:55:05 -0400 Received: by mail-pl1-f178.google.com with SMTP id y1so1089909plp.6 for <43532@debbugs.gnu.org>; Wed, 14 Oct 2020 23:55:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=jRcGwnbFa6ddpcD2SWUDcX+Cd9M6E9gLxepWohz1h9I=; b=qPXszknn5Fv9FJTrw5M+GaOXjQIvVcIHHbCzdxWidKHl7vNoCByPtQU4oaPS4R709D n7dIbEl2dD2Kohy0YxUYmqHq2K/5PfPvzFUPNd5EwgSWTsjVr+sWU6vVxteRWknG1B/y ScxzjbiU6evTRsZQ8S99y7Vo7x3digyR8iMyFZFn5YKNn837dffsQZNlPlQJMF6TuzUv nCijx4QOqn7x2a2+g/hOaxD/rc9cLCpbkbdXPnkSIYmSkE8PcPMOS02hb0vbTkUzWL9o hI0sRT+uegGSdyRmOzq8+4FMtFOh6tgImCD+4gos+WbfFn57RSaEMlgFQ7dKZsrElGk1 HpfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=jRcGwnbFa6ddpcD2SWUDcX+Cd9M6E9gLxepWohz1h9I=; b=D3G8n5IlzMefT7ufAEFw0/PUW3kxHa13O5d4nfBBKg9ELg3O/HjMLDsB26NJopdApy iYM+KqQdU09WgCTiucWXZG5qedc7J8lEb87sTwgWh0SiZYfRkovL0oIH+j7zJ7tl00b0 vCc1Wkf7bfhXeUUVxRyu2vwD3B0YToUOcBfPekeRmFs/oDEsfPBH7BaVBRKd9XdexAAR 1VuPNaxncq5wYnbRxoxEPXZlLB7LflDqeL1PTQYtrY7An1tg55jURqlhYaveMMo0XgIl ILu0U1w8lSZyM2N0TSk4tYpyZP24DK7UjhoaOD4qNsB3KPSf4p60Z/N0Dj4caCg6zhA2 u2vg== X-Gm-Message-State: AOAM531+VntZo1xvdz1Ze8HVx6iRGpvouePP/v5l6r9BgA8h+Wh6ElZH hG/ZvnTaz/qBt3C4oA7OxlPHY+oZznjgVg== X-Google-Smtp-Source: ABdhPJxL7jeTwvDDrosgqDHbiqMoWuXRDgq+PZq9K+s9hQ1BdDdFyJa8pYy/KtO0QttJfIB6RScQ6Q== X-Received: by 2002:a17:90a:7788:: with SMTP id v8mr3040763pjk.8.1602744898383; Wed, 14 Oct 2020 23:54:58 -0700 (PDT) Received: from muon.fritz.box (61-68-62-152.tpgi.com.au. [61.68.62.152]) by smtp.gmail.com with ESMTPSA id j25sm1859293pfn.212.2020.10.14.23.54.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Oct 2020 23:54:57 -0700 (PDT) From: Andrew Whatson To: 43532@debbugs.gnu.org, Andrea Corallo Subject: [PATCH] Fix timestamp check when loading from eln (bug #43532) Date: Thu, 15 Oct 2020 16:52:51 +1000 Message-Id: <20201015065250.3985138-1-whatson@gmail.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43532 Cc: Andrew Whatson 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 (-) * src/lread.c (maybe_swap_for_eln): Allow eln files to have the same timestamp as their source file. --- src/lread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lread.c b/src/lread.c index ea31131b75..ab16fdadb4 100644 --- a/src/lread.c +++ b/src/lread.c @@ -1622,7 +1622,7 @@ maybe_swap_for_eln (Lisp_Object *filename, int *fd, struct timespec mtime) else { struct timespec eln_mtime = get_stat_mtime (&eln_st); - if (timespec_cmp (eln_mtime, mtime) > 0) + if (timespec_cmp (eln_mtime, mtime) >= 0) { *filename = eln_name; emacs_close (*fd); -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 15 05:39:07 2020 Received: (at 43532) by debbugs.gnu.org; 15 Oct 2020 09:39:07 +0000 Received: from localhost ([127.0.0.1]:54366 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSzj0-0006Gl-Rt for submit@debbugs.gnu.org; Thu, 15 Oct 2020 05:39:07 -0400 Received: from mail-vk1-f181.google.com ([209.85.221.181]:39784) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSziy-0006GG-U6 for 43532@debbugs.gnu.org; Thu, 15 Oct 2020 05:39:05 -0400 Received: by mail-vk1-f181.google.com with SMTP id h74so461336vkh.6 for <43532@debbugs.gnu.org>; Thu, 15 Oct 2020 02:39:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=YwdHiQI6Hofe1l0W/OCz9yR+nPx+WL7I4Xq3PxktcSs=; b=IexgfFC4RiqsG4BuJVj8KHOHmU5XSHIC2F3X299iWBSflXeaSaC8+qiANfSm34JxOF j0iCeotgNnpOlbmPrKT1D7kbZ4xJC/6xYxR+CjFiCIhrJQzC+Vf8Bo3/t6Q012Dwc+Wm 1qb5HBLtloIpjSGTCkkrHF+8UoY9+K/UmxCAIeflYbciG81k8gpYhRKFbF19ETccnUkz 7on2QwTb2OIBpboVRAN2zfxZ1tQ+A/USuoecsNVr3Jv35m3bRC6rV0CCSbi5RP/o8sKN B8GsncjnwGO8jxiP3kJVDxLoAKLpgofWezPEfnjtYIhAMzikcxIpgiiHyy7UOC+joRDy 2Ihw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=YwdHiQI6Hofe1l0W/OCz9yR+nPx+WL7I4Xq3PxktcSs=; b=NJ6NrDu5bb1zIrEV2GJHoUhp1T4ePhwPMPuVuKrzZgBQtYfnO3GLg+2fW3mX4fgnb0 ZNzgpC7KbclNd/twYBasUk/0E8twISb2EnbV2sZ2Xdeuigat/4p+844mECgGFkz8myya B9I/EokpEBKqTPbSnSPzX810kKwc9Dp8QFKWn/El41b3mrTXJZ4htF5kWVAZ77v+p427 vVick2CuaOUxTaG6O1qExnGOJkrQAhFCU4t5ONOBpWs6VK1CZQhnr1khayyyqnubKL9t 4OmT5ujMJHZy7xT+SQOIx4Eq/KfIMI5UVcWfJyEPeM6NeItiqEDx+OWQ5zapd3pxa1ct Z3HQ== X-Gm-Message-State: AOAM531teorTCcIuyg4+oTJv5DaL3o3ZV/PqssJ2AlhRsBy1TS3wy+dq fIIPjQ98nHZlSq4dq3L/cM+BLrDoIQ/NiEb5pjc= X-Google-Smtp-Source: ABdhPJymBmVxMkYIBIi1VB1zYTPQuLASlUdvckXE3HD4foGzg4Z3zR0JESrSEX9NenazSM5I0s/GngHOFkekxEZyY6Q= X-Received: by 2002:a1f:9a4f:: with SMTP id c76mr1877400vke.13.1602754739122; Thu, 15 Oct 2020 02:38:59 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Andrew Whatson Date: Thu, 15 Oct 2020 19:38:48 +1000 Message-ID: Subject: Re: bug#43532: [feature/native-comp] *.eln file name hashing, algorithm doesn't seem to play nice with NATIVE_FULL_AOT and self-contained, Emacs.app builds for macOS To: Andrea Corallo Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43532 Cc: 43532@debbugs.gnu.org, Jim Myhrberg , Aloxaf Yin 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 (-) Hi Andrea, I added some debug messages to the loading procedure and determined that the files were ignored because the timestamp check required the eln to be newer than the source file. This makes sense when running from the build directory or when the eln's are built with deferred compilation, but doesn't work for packaging where they're usually installed with the same timestamp. Though the fix is trivial, I wonder whether a timestamp check is needed at all. If we're already hashing the contents of the source file, perhaps that's sufficient to detect when things are outdated? Cheers, Andrew From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 15 06:54:49 2020 Received: (at 43532) by debbugs.gnu.org; 15 Oct 2020 10:54:49 +0000 Received: from localhost ([127.0.0.1]:54524 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kT0uH-0008Ds-9C for submit@debbugs.gnu.org; Thu, 15 Oct 2020 06:54:49 -0400 Received: from mab.sdf.org ([205.166.94.33]:43448 helo=ma.sdf.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kT0uG-0008Dk-98 for 43532@debbugs.gnu.org; Thu, 15 Oct 2020 06:54:48 -0400 Received: from akrl by ma.sdf.org with local (Exim 4.92) (envelope-from ) id 1kT0uD-0006Qi-Tp; Thu, 15 Oct 2020 10:54:45 +0000 From: Andrea Corallo To: Andrew Whatson Subject: Re: bug#43532: [feature/native-comp] *.eln file name hashing, algorithm doesn't seem to play nice with NATIVE_FULL_AOT and self-contained, Emacs.app builds for macOS References: Date: Thu, 15 Oct 2020 10:54:45 +0000 In-Reply-To: (Andrew Whatson's message of "Thu, 15 Oct 2020 19:38:48 +1000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43532 Cc: 43532@debbugs.gnu.org, Jim Myhrberg , Aloxaf Yin 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 (-) Andrew Whatson writes: > Hi Andrea, > > I added some debug messages to the loading procedure and determined > that the files were ignored because the timestamp check required the > eln to be newer than the source file. This makes sense when running > from the build directory or when the eln's are built with deferred > compilation, but doesn't work for packaging where they're usually > installed with the same timestamp. > > Though the fix is trivial, I wonder whether a timestamp check is > needed at all. If we're already hashing the contents of the source > file, perhaps that's sufficient to detect when things are outdated? Hi Andrew, thanks for investigating! yes you are correct, the system is over-constrained and I believe too the timestamp is not anymore necessary now that we hash the file content to verify the .el -> .eln relation. I've pushed the following. 03dfa83dc3 * Do not check eln timestamp as superseded by source hashing (bug#43532) Let us know if the issue is solved. Thanks! Andrea From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 15 08:04:57 2020 Received: (at 43532) by debbugs.gnu.org; 15 Oct 2020 12:04:57 +0000 Received: from localhost ([127.0.0.1]:54661 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kT209-0003j9-IA for submit@debbugs.gnu.org; Thu, 15 Oct 2020 08:04:57 -0400 Received: from mail-vk1-f170.google.com ([209.85.221.170]:42763) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kT207-0003iu-Bj for 43532@debbugs.gnu.org; Thu, 15 Oct 2020 08:04:56 -0400 Received: by mail-vk1-f170.google.com with SMTP id n141so552972vke.9 for <43532@debbugs.gnu.org>; Thu, 15 Oct 2020 05:04:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=82kfGL0Q4YpQ/dJJzFLSMeKQAMFB7cjgJX7dLHyeUxc=; b=eeuUtSR2WgeIF8HW5czRw9CVVz/gjMgwv+dLd3LB9r5Nf0XuRfTypQkm3pEcPQlprO 0iM/V/yhMiYPkp4t86KXg5yKk9K+w9YgI4E7hxJzeBi5BKXhhOSiotSfWfb43gNfiouX COtSTpmEp5hjBEIFTVi8LNFgKf+K1JiNh1lZZ1PhjAiKT7qqmjnYqO4P7dikijxDqo1E YT/ZqXRV0G5tOubvf8T/lhZvgv8BPxahnJOixxQhaq5UrX5Y8MmhQIJens+9Xw/X8/YN xdOh5Iqvlvo9sjDD64Eiku+1S8iNSmazESA1SqrhYNb3IA/BXoYfZV+Ahr5j0ACMemVM BKYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=82kfGL0Q4YpQ/dJJzFLSMeKQAMFB7cjgJX7dLHyeUxc=; b=WEXVPPOf+LOJJu6IZ2dIymt5APZUTBoOigB0Jj/9K3cFWbSQw8JHf5GtnQUDj9nvfY uN2+ro+ejPHg8A3udFInpRPudPtD4FjWh23uGIWfJ2hR8El+Bny9eG8y6XqMrnD3R5p8 DVDMYPJ/9aGpYW11ppGmhW5PgUPpsEGTWAJIaGJ7g4C+KLrRfwUbVJuPsgksHFGF9FzV OYskDIOfJ2oQhSobndhNQIeS57AKfR0P3EJsCa2JN5ONer0b7SZSXB2/+SqB7BSiLoC5 rYAg81RiPgLmck7LcW0ttYQILmNc63JmuzKtQn6dTYZd/fGzJwVLmWBKERxXNfacAlox Gzqg== X-Gm-Message-State: AOAM532kRxG2fS1DgUi8CPKeSeKkQyHbcTr4ZfAr7WogRRsZLoDpNDyg B6KevppELahoAOwHVCfBilEEjs/D8DpOoXwoS0Q= X-Google-Smtp-Source: ABdhPJyiZK0awn3kEp5fVTYl9/FF6j7HGgEncTvDrau6aTIQCqKETiX43ssN9mQiHESToABdD/zajPTyk3XgBOZMTO4= X-Received: by 2002:a1f:9a4f:: with SMTP id c76mr2155930vke.13.1602763489709; Thu, 15 Oct 2020 05:04:49 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Andrew Whatson Date: Thu, 15 Oct 2020 22:04:38 +1000 Message-ID: Subject: Re: bug#43532: [feature/native-comp] *.eln file name hashing, algorithm doesn't seem to play nice with NATIVE_FULL_AOT and self-contained, Emacs.app builds for macOS To: Andrea Corallo Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43532 Cc: 43532@debbugs.gnu.org, Jim Myhrberg , Aloxaf Yin 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 Thu, 15 Oct 2020 at 20:54, Andrea Corallo wrote: > I've pushed the following. > > 03dfa83dc3 * Do not check eln timestamp as superseded by source hashing (bug#43532) > > Let us know if the issue is solved. Yes, this is now working properly for me, thanks! From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 15 08:57:00 2020 Received: (at 43532) by debbugs.gnu.org; 15 Oct 2020 12:57:00 +0000 Received: from localhost ([127.0.0.1]:54726 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kT2oV-00051T-W8 for submit@debbugs.gnu.org; Thu, 15 Oct 2020 08:57:00 -0400 Received: from mab.sdf.org ([205.166.94.33]:40572 helo=ma.sdf.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kT2oU-00051K-DV for 43532@debbugs.gnu.org; Thu, 15 Oct 2020 08:56:58 -0400 Received: from akrl by ma.sdf.org with local (Exim 4.92) (envelope-from ) id 1kT2oR-0007Fy-Sx; Thu, 15 Oct 2020 12:56:55 +0000 From: Andrea Corallo To: Andrew Whatson Subject: Re: bug#43532: [feature/native-comp] *.eln file name hashing, algorithm doesn't seem to play nice with NATIVE_FULL_AOT and self-contained, Emacs.app builds for macOS References: Date: Thu, 15 Oct 2020 12:56:55 +0000 In-Reply-To: (Andrew Whatson's message of "Thu, 15 Oct 2020 22:04:38 +1000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43532 Cc: 43532@debbugs.gnu.org, Jim Myhrberg , Aloxaf Yin 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 (-) Andrew Whatson writes: > On Thu, 15 Oct 2020 at 20:54, Andrea Corallo wrote: > >> I've pushed the following. >> >> 03dfa83dc3 * Do not check eln timestamp as superseded by source hashing (bug#43532) >> >> Let us know if the issue is solved. > > Yes, this is now working properly for me, thanks! Great, lets see Aloxaf feedback. Andrea From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 15 09:11:36 2020 Received: (at 43532) by debbugs.gnu.org; 15 Oct 2020 13:11:36 +0000 Received: from localhost ([127.0.0.1]:54762 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kT32e-0005Q4-F4 for submit@debbugs.gnu.org; Thu, 15 Oct 2020 09:11:36 -0400 Received: from mail-oi1-f196.google.com ([209.85.167.196]:36550) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kT32c-0005Pr-NS for 43532@debbugs.gnu.org; Thu, 15 Oct 2020 09:11:35 -0400 Received: by mail-oi1-f196.google.com with SMTP id u17so3050350oie.3 for <43532@debbugs.gnu.org>; Thu, 15 Oct 2020 06:11:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jimeh-me.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=AEfHo9V8B+bm15VEZGYvdplntFSycemoICITktj8abo=; b=RTuZjlMYIqlZuXhSOYig/R5TkGTk46peT49aDmmwsmqr10ioDOTCsazoRfS51blCz2 kWGCJBpgc8/pFmJ7FwVxnSHylLGEL+jn40R10ouKYJ8HBxP6oliMVuwLIPm6JdDb8jBW XBdQ78Lz8xHxGHi6ZfUOxPEmmLBE6fISN4LJ77OVMPIndZEuMls7Rtnm7m+ICRfzep3b drUD4aQi/pQh95cz7+br34hw3B8DGhfB3X8wAlOZ7eaFMb3Zo2J+Bql6J2kzSPuABXsA 0UG31v3gWRFj3DlDDdi86L7mXuI+6L1og/w0hLKbIrTkA/G6AtW2KD9eH01Odc2jICV8 +PCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=AEfHo9V8B+bm15VEZGYvdplntFSycemoICITktj8abo=; b=BHmAKveUNm1mtL5AtrUGe0ltuZQAf14U21jYGevQQtnKIGfGxITgi/lbtaMda05DEb RXwQurGI8PDvaSDdibnvgC54JMwR/g7uhonz+uyGYD+k/0c6w/vDVd4+pxdWk9rAl2Rq 3JFUtJdnxQ1br7U3EsvKildMB/c0xGXLtphoqnsu4FC/B26cpdWLE1OPkH1y6Q65bx7T LZKzIsH55VpOxmGR1mlAPBh1UbV6e9hdETIRCb3yuaH+7SOfoznNfjS1EmTv2My9j1ps 3CbTwVn1w6AvMWlkLUNa7YtyQion573a28tWrSRbi4fpPXR94APaex9ZCw/ab8wYopwH DTFw== X-Gm-Message-State: AOAM531mbgHutJDGhjAyuIIg12BUPx0ZDwJCXMc1xm7IFCI55QakNA2i veNT1Q4TW1s/PZK9FqZ4+gDmV1ZBYdkRsTmdgPYDnA== X-Google-Smtp-Source: ABdhPJzP6QuasweLK12YsSlqHZSHRB2Dvj0mfXXxcLiHPNkPo0SO9B8QAnlZxZf+PTkZuHpP9QzWqp1UY5IGAeaBcxA= X-Received: by 2002:aca:fc89:: with SMTP id a131mr2085884oii.163.1602767488830; Thu, 15 Oct 2020 06:11:28 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jim Myhrberg Date: Thu, 15 Oct 2020 14:11:18 +0100 Message-ID: Subject: Re: bug#43532: [feature/native-comp] *.eln file name hashing, algorithm doesn't seem to play nice with NATIVE_FULL_AOT and self-contained, Emacs.app builds for macOS To: Andrea Corallo Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43532 Cc: Andrew Whatson , 43532@debbugs.gnu.org, Aloxaf Yin 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 (-) For what it's worth, things still work just fine on macOS with commit 03dfa83 :) On Thu, Oct 15, 2020 at 1:56 PM Andrea Corallo wrote: > > Andrew Whatson writes: > > > On Thu, 15 Oct 2020 at 20:54, Andrea Corallo wrote: > > > >> I've pushed the following. > >> > >> 03dfa83dc3 * Do not check eln timestamp as superseded by source hashing (bug#43532) > >> > >> Let us know if the issue is solved. > > > > Yes, this is now working properly for me, thanks! > > Great, lets see Aloxaf feedback. > > Andrea From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 15 10:51:52 2020 Received: (at 43532) by debbugs.gnu.org; 15 Oct 2020 14:51:52 +0000 Received: from localhost ([127.0.0.1]:56187 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kT4bg-00020l-2m for submit@debbugs.gnu.org; Thu, 15 Oct 2020 10:51:52 -0400 Received: from mail-ej1-f42.google.com ([209.85.218.42]:43163) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kT4bd-00020Y-Ml for 43532@debbugs.gnu.org; Thu, 15 Oct 2020 10:51:50 -0400 Received: by mail-ej1-f42.google.com with SMTP id md26so4015532ejb.10 for <43532@debbugs.gnu.org>; Thu, 15 Oct 2020 07:51:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=D96//hAdrVzTXznSnrDU+j41vD0wYK4veTZVR2uIlL0=; b=laC6Mpp5syfgrSfPy6mAMeFt+AKTu+nEixP6EOzleVIVmQDYvo3OcUciOFHhm7BgnU HZ2W5rJyvUar6hQFw5ZhgecC8wQc9zgKcq7TwSOhP0WEoqapXxde8uGu2QuGnWh3nogl Mlr+iXt3n4p0z9nB2vA+H2sd1xRqwSOHW3xgG/37edUKVpLhu43RbtHEc9i4o0k6Sk8Q MawdL4Lzy8gSPkzTLjkgIAN9D2lH52nBuySrfXlK/guYIAVM4/T5HRU1w4Fo+Iv+NaiA XPWIIJugFIfX6L8PQsiDDhj4QuyvFaUDE3DAqbfFdZuWifwylskgPFDvR8ZczowJUjI6 nZFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=D96//hAdrVzTXznSnrDU+j41vD0wYK4veTZVR2uIlL0=; b=rQZrP461ld+9IoOwz1l2CdBkcZgLPsTOKBmEf/lIQ8SrSgfItN7lobZiuIWsxP9Gck KFNbyn6e7MDc2pTK4K0P1JDvhsRtnEJVkog5R0kMIQQRyPDL1IYQ2mEUoetXzXa3M5DQ Uh6t1bxClQJCpggcx10ebPJnjBPRyH+2zWIpH6DlUKHbyKMCiQ4le2L8pZecfopRbGn6 f9dKbL+T8w6x7n5xcqEUb4ANmdYfuvtYyN24LItK9cw5IJqzhHmIeJ985nSDkGKqX62S lQCHKqYRezFtKgECka0lhJxbKrbiHNoT+UEvsj3uDTDwmi2rtEgY6W77tL/F3RgXP4to dgAg== X-Gm-Message-State: AOAM5313La+yUu2x7IbYnUJf9gSkQIAjG90n0jETd3e0QFhtPQ0zu/Y5 8XxP7dRyl9WkHOeRdDAeWUIXCBHilNvdkVlKu4g= X-Google-Smtp-Source: ABdhPJzNpQK4p8brAUK+MaZSq4XRs2w4V7HYqXt8qeiywmDYO7ztugxOLWApwiEqxRmTtfhSP0tHP4u0NmgCNKVzu+s= X-Received: by 2002:a17:907:429f:: with SMTP id ny23mr4704293ejb.150.1602773503748; Thu, 15 Oct 2020 07:51:43 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Aloxaf Yin Date: Thu, 15 Oct 2020 22:51:30 +0800 Message-ID: Subject: Re: bug#43532: [feature/native-comp] *.eln file name hashing, algorithm doesn't seem to play nice with NATIVE_FULL_AOT and self-contained, Emacs.app builds for macOS To: Andrea Corallo Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43532 Cc: Andrew Whatson , 43532@debbugs.gnu.org, Jim Myhrberg 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 (-) It works well. Thank you all! Andrea Corallo =E4=BA=8E2020=E5=B9=B410=E6=9C=8815=E6=97=A5= =E5=91=A8=E5=9B=9B =E4=B8=8B=E5=8D=888:56=E5=86=99=E9=81=93=EF=BC=9A > > Andrew Whatson writes: > > > On Thu, 15 Oct 2020 at 20:54, Andrea Corallo wrote: > > > >> I've pushed the following. > >> > >> 03dfa83dc3 * Do not check eln timestamp as superseded by source hashin= g (bug#43532) > >> > >> Let us know if the issue is solved. > > > > Yes, this is now working properly for me, thanks! > > Great, lets see Aloxaf feedback. > > Andrea From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 15 11:02:46 2020 Received: (at 43532-done) by debbugs.gnu.org; 15 Oct 2020 15:02:46 +0000 Received: from localhost ([127.0.0.1]:56193 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kT4mE-0004OP-0c for submit@debbugs.gnu.org; Thu, 15 Oct 2020 11:02:46 -0400 Received: from mab.sdf.org ([205.166.94.33]:41908 helo=ma.sdf.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kT4mA-0004OE-NC for 43532-done@debbugs.gnu.org; Thu, 15 Oct 2020 11:02:44 -0400 Received: from akrl by ma.sdf.org with local (Exim 4.92) (envelope-from ) id 1kT4m8-00041L-HY; Thu, 15 Oct 2020 15:02:40 +0000 From: Andrea Corallo To: Aloxaf Yin Subject: Re: bug#43532: [feature/native-comp] *.eln file name hashing, algorithm doesn't seem to play nice with NATIVE_FULL_AOT and self-contained, Emacs.app builds for macOS References: Date: Thu, 15 Oct 2020 15:02:40 +0000 In-Reply-To: (Aloxaf Yin's message of "Thu, 15 Oct 2020 22:51:30 +0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43532-done Cc: Andrew Whatson , 43532-done@debbugs.gnu.org, Jim Myhrberg 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 (-) Aloxaf Yin writes: > It works well. Thank you all! Excellent! I'm closing then :) Andrea From unknown Mon Aug 18 00:08:30 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 13 Nov 2020 12:24:09 +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