From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 8MXxLyUjtWUvHAEAe85BDQ:P1 (envelope-from ) for ; Sat, 27 Jan 2024 16:37:10 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 8MXxLyUjtWUvHAEAe85BDQ (envelope-from ) for ; Sat, 27 Jan 2024 16:37:09 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=bayesians.ca header.s=protonmail2 header.b=tTHW4cOP; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1706369829; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=YTXjbXJPemcGz6dah4hBjuigQL8nXxp393nn/D+PHyk=; b=ieAYhnBrSdfF+cKEEeTIH5IRKRkKubI2mj/91/F5AdtbPKtO/cx5OIP45Q+ZLpo+HhahAh Opsu/9kVDfVO9xEb1FAX9mhx4sYvt1oIZ/8glDpFL1m/hiYVHsuYaajjJavyVU+nVYDFUA B9G8Ob9Go97Ds8mDE4oNCRJw9nx/9s9o8qahnzCInZhbMZ1x0fIYk82Tml1LB9qzXXXqhQ doqmC+ZNokOwX7jgYX44Q1PNymCibFSgPAG0klgXU4AVefwdMIRG9jZbb3/s4cLMzhl2ta O1aGlCAhtu4tsK2nUbh2zhKuJyWxYYgI9eOMgITJID804DmkwOjQPkDyHalaLg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=bayesians.ca header.s=protonmail2 header.b=tTHW4cOP; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1706369829; a=rsa-sha256; cv=none; b=DFB/fpJfxAk0oZY5KMUEXt1d7t8xhl9r4krKyuxjy8S1qlJLDbnvJ8w8okJX1Zw3lKNZUq sOc0QH3glN16/Pgie9mbpJQ1SuoQ2rAI9HSsF167OCtsZ0tqU3R6G9nAAxuL7ZDhVlikM+ FIDldieY0W+BmMzf725993L5PEBp5Zt0UCL4Olw5/aEBxuPG/o9GqQ0psztVjwBpYS86qE T86LGcXNThcmY4ENExrUkuAb7wM/UGle+N9Pey1FI8hTqvLUOVDL7Ffmcnn8QxbTgTny3I Dqpkq3ChhNS3Qeh9k0ItJwlHZunw3S9I+8YhWl7RIDgF6HUdGwj8zHPhjQhVjQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8A054400C4 for ; Sat, 27 Jan 2024 16:37:09 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rTkjs-0007DD-Ip; Sat, 27 Jan 2024 10:37:00 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rTkjo-0007Cb-Qe for guix-patches@gnu.org; Sat, 27 Jan 2024 10:36:57 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rTkjn-0003ko-98 for guix-patches@gnu.org; Sat, 27 Jan 2024 10:36:56 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rTkju-0003x7-1l for guix-patches@gnu.org; Sat, 27 Jan 2024 10:37:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67260] [PATCH v6 1/7] gnu: emacs: Wrap EMACSNATIVELOADPATH. References: In-Reply-To: Resent-From: Suhail Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 27 Jan 2024 15:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67260 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Liliana Marie Prikler Cc: cox.katherine.e+guix@gmail.com, 67260@debbugs.gnu.org, Suhail , andrew@trop.in Received: via spool by 67260-submit@debbugs.gnu.org id=B67260.170636979215150 (code B ref 67260); Sat, 27 Jan 2024 15:37:02 +0000 Received: (at 67260) by debbugs.gnu.org; 27 Jan 2024 15:36:32 +0000 Received: from localhost ([127.0.0.1]:55728 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rTkjP-0003wI-Ky for submit@debbugs.gnu.org; Sat, 27 Jan 2024 10:36:32 -0500 Received: from mail-4323.proton.ch ([185.70.43.23]:55553) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rTkjM-0003w0-7m for 67260@debbugs.gnu.org; Sat, 27 Jan 2024 10:36:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bayesians.ca; s=protonmail2; t=1706369773; x=1706628973; bh=YTXjbXJPemcGz6dah4hBjuigQL8nXxp393nn/D+PHyk=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=tTHW4cOPi+/xpSrrCpWHLPdUAFGxRt5g9qzVlF+oCjAlcnDkPbyP/h55YazDkx7qT O6rHFMFKQudCJ1jz4bcnE/Lxy+gi+pSCIsyVnHs5I7rZERN/e/vol67/UZNWXh69Hv qnsn9gjT9KJIUull1Zjt696vU3OjVvYjpy0JBLhPzzSHjb/it20dfSnnkLev4N0tTv vBx3fO3V6sziwDUDkp08VsIW2yPjHU9fN/xKHYFJa7xwN2Cp4XAvE2MtIyHj5Ag+H7 0Lssj0KGvu/+JGUlu8EF/LCrUi/aCmJT9uXmSEfqGAWjoREWua7KHMjU3HH3/bGPpQ wb+csIdj9CXYA== Date: Sat, 27 Jan 2024 15:36:05 +0000 Message-ID: <871qa2aivy.fsf@> Feedback-ID: 38691229:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Suhail X-ACL-Warn: , Suhail via Guix-patches From: Suhail via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -3.45 X-Migadu-Queue-Id: 8A054400C4 X-Spam-Score: -3.45 X-Migadu-Scanner: mx11.migadu.com X-TUID: unZxI7S4kqEE Liliana Marie Prikler writes: > If you compile with emacs-minimal, that's the expected results.=20 It was compiled with emacs-minimal=3Demacs. For reference, I have inlined the manifest file that was used (with the --no-grafts CLI option to guix-package) towards the end of this email. I'm sharing the one that was actually used, but it could be minimized. I believe there are two issues (not including the spurious entry in native-comp-eln-load-path which may already have been resolved in v7 of the series). All my observations below are based on v6 patch series. For emacs-htmlize, I believe the issue may stem from the fact that some .eln files are available from entries in native-comp-eln-load-path only via symlinks and the .eln loader may not be able to load symlinks. Packages such as ox-html are available from two locations in the native-comp-eln-load-path. In one location they are symlinked, but (presumably because org is a builtin package) it is also available from another location in the native-comp-eln-load-path and in the latter location it's not symlinked in. I believe this difference is why for some packages natively-compiled versions are loaded (e.g. org, ox-html etc) whereas for others it's not the case. In addition, I believe there's another issue. Some packages' names are getting truncated. For instance, instead of uniquify.eln, I observe niquify.eln. In this case, the .eln isn't symlinked (presumably because it's a builtin), but due to the name being messed up (perhaps too aggressive a truncation of hashes?) the natively compiled version is not available: > uniquify-item-p is a byte-compiled Lisp function in `uniquify.el'. The manifest file that was used is below. #+begin_src scheme (use-modules (guix transformations) (gnu packages)) (define transform1 (options->transformation '((with-input . "emacs-minimal=3Demacs") (without-tests . "emacs-clojure-mode")))) (packages->manifest (list (transform1 (specification->package "bash")) (transform1 (specification->package "coreutils")) (transform1 (specification->package "git")) (transform1 (specification->package "make")) (transform1 (specification->package "emacs")) (transform1 (specification->package "emacs-org")) (transform1 (specification->package "emacs-org-contrib")) (transform1 (specification->package "emacs-citeproc-el")) (transform1 (specification->package "emacs-engrave-faces")) (transform1 (specification->package "emacs-haskell-mode")) (transform1 (specification->package "emacs-htmlize")) (transform1 (specification->package "emacs-markdown-mode")) (transform1 (specification->package "emacs-org-pandoc-import")) (transform1 (specification->package "pandoc")) )) #+end_src Thank you for your continued work on this! --=20 Suhail This email is not an offer capable of acceptance, does not evidence an intention to enter into an agreement, has no operative effect until a definitive agreement is signed in writing by both parties, and that no party should act in reliance on the email or any representations of the sender until a definitive agreement is signed in writing by both parties.