GNU bug report logs - #43475
feature/native-comp; add a site-lisp path to comp-eln-load-path

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Tom Gillespie <tgbugs@HIDDEN>; dated Thu, 17 Sep 2020 17:38:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 17 Sep 2020 17:37:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 17 13:37:24 2020
Received: from localhost ([127.0.0.1]:38898 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kIxqW-0007de-I5
	for submit <at> debbugs.gnu.org; Thu, 17 Sep 2020 13:37:24 -0400
Received: from lists.gnu.org ([209.51.188.17]:52700)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tgbugs@HIDDEN>) id 1kIxqU-0007dW-SM
 for submit <at> debbugs.gnu.org; Thu, 17 Sep 2020 13:37:23 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:41896)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <tgbugs@HIDDEN>) id 1kIxqU-0006Ly-L0
 for bug-gnu-emacs@HIDDEN; Thu, 17 Sep 2020 13:37:22 -0400
Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]:36927)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <tgbugs@HIDDEN>) id 1kIxqR-0001j6-8k
 for bug-gnu-emacs@HIDDEN; Thu, 17 Sep 2020 13:37:22 -0400
Received: by mail-wr1-x42f.google.com with SMTP id z4so2958653wrr.4
 for <bug-gnu-emacs@HIDDEN>; Thu, 17 Sep 2020 10:37:17 -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=LfFshlGXd+KpOcw8MfR3jMZ8vsYYZwWeNiQp/E/Dv6I=;
 b=vaVy7wg5DG3LLFE5pkyAoE5SWfiheKZEJ9mM9HFgH93TR06j2msf/mAwJZAadeaz6J
 JDa7jvVHSJQPBOeqyccaUXuPx0ivhqTLSeMU+f5GXekEXAqNv/M61UY2eRcCQdRhBpEh
 lP2Bpl4KyRaA/Phw7EaXJDzwXa3tKVb204mliIU91YKyjJsX805VnHuRWjsQIKanxl/n
 Dg9IyXjcEjaEVVPsuBG6d7YLhZi2ed7PSeqcVW22uPrz5LkSU804jdUjng1vEzJbu1Or
 4rF80ulXPLoHi1FqskBh8rktpnVwUTzkcEs7nO1ydQeGsRCuyE0oeDkVZLQeTv0MDF4P
 Wrpw==
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=LfFshlGXd+KpOcw8MfR3jMZ8vsYYZwWeNiQp/E/Dv6I=;
 b=qvcgolnlom2T7DVUaxlw1RDthPWQuDzqx5e5ZhJ+53IrDd6/JFlpRDT2ZYzTMAWoN+
 BWzC2DqmQ4njQKMPB0IhP9XKhiEhtjQwCdeI3Eb4kDHM2K0N+26iiGHnEoCKfVNNNQnf
 ptsQqHDQNoGDa/S33rxw6WDd2Ja9L2XNgDZKG5MunTCFcQCXRCGZpTlHGbcnpI8MVh9w
 n0cgWGQ2fr70yvzktDw59Nor4JOPbDpy5UIt8SHJhSb8wixEbZ2JNXftDuhjPklj1JhJ
 7NLdWNWZ8DHp/Sd2gCimSRS10gqhEFsJeOXSU0KAQ+3XQr8TlQB1ORVqNbc3ZgK/FLIn
 hKLw==
X-Gm-Message-State: AOAM533iP3Ea6Zj4ru26/NnMi2+6IxbFqGtZCdgtta5onLr/AICQOfXi
 pifOFe30+40xs5opSJu7Ykweuhuxa8eNYrrCIhkCOIaNmfKG4g==
X-Google-Smtp-Source: ABdhPJyRGY1P/iyhMHHueB7WkTTQ4ix+0/uUZ1aEmeSyU0ve4D73brDhzK+jHyXYZB0UF6eXnCpMCviiVnU5LlUW26w=
X-Received: by 2002:adf:f492:: with SMTP id l18mr35003186wro.280.1600364236118; 
 Thu, 17 Sep 2020 10:37:16 -0700 (PDT)
MIME-Version: 1.0
From: Tom Gillespie <tgbugs@HIDDEN>
Date: Thu, 17 Sep 2020 13:37:04 -0400
Message-ID: <CA+G3_PPwWP0Y-S-5jJHFoHMb2QbFAaoTopK8_NbfrdLC_cChAQ@HIDDEN>
Subject: feature/native-comp; add a site-lisp path to comp-eln-load-path
To: Emacs Bug Report <bug-gnu-emacs@HIDDEN>, Andrea Corallo <akrl@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=2a00:1450:4864:20::42f;
 envelope-from=tgbugs@HIDDEN; helo=mail-wr1-x42f.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: 0.7 (/)
X-Debbugs-Envelope-To: submit
Cc: ulm@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Hi Andrea,
    Sorry for the delay getting this submitted. Here is a summary of the
discussion about how to handle the site-lisp equivalent for eln files. Best!
Tom

Use case. We need a default convention for where eln files compile from
files in /usr/share/emacs/site-lisp can be installed by a package manager.
For the record, https://github.com/gentoo/gentoo/pull/16962 was the start
of these discussions and the following devel thread is also relevant
https://lists.gnu.org/archive/html/emacs-devel/2020-08/msg01036.html.

My suggestion to use /usr/share was incorrect as Ulrich points out since
/usr/share should never contain arch specific files. Thus, ${libdir}
is the right base.

Suggestions from the previous discussion are /usr/lib{,64}/emacs/site-eln and
/usr/lib{,64}/emacs/site-lisp/eln.

If we want to mirror the way native-lisp is used for the system files
then ${libdir}/emacs/site-lisp and ${libdir}/emacs/site-lisp/native-lisp
are two other options.

I'm not sure the intervening native-lisp folder is necessary,
especially given that
there is the additional folder that is present for each version, and
since the fact
that we are in ${libdir}/emacs automatically suggests that we are dealing with
native arch specific files. However, I suppose that there might be some future
case where something other than the native-lisp files would be included in
${libdir}/emacs, so separating the eln files in their own folder would
help. I have
no idea how likely that happening in the future is though.




Acknowledgement sent to Tom Gillespie <tgbugs@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#43475; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 17 Sep 2020 17:45:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.