GNU bug report logs - #71065
Emacs packages that override built-in features ignored when compiled

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: guix; Reported by: Jelle Licht <jlicht@HIDDEN>; dated Sun, 19 May 2024 13:02:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

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


Received: (at 71065) by debbugs.gnu.org; 11 Jan 2025 11:05:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 11 06:05:37 2025
Received: from localhost ([127.0.0.1]:41511 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tWZJA-0005c4-Py
	for submit <at> debbugs.gnu.org; Sat, 11 Jan 2025 06:05:36 -0500
Received: from 6.mo560.mail-out.ovh.net ([87.98.165.38]:49657)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <ngraves@HIDDEN>)
 id 1tWZJ8-0005bu-Tm
 for 71065 <at> debbugs.gnu.org; Sat, 11 Jan 2025 06:05:35 -0500
Received: from director4.ghost.mail-out.ovh.net (unknown [10.109.140.54])
 by mo560.mail-out.ovh.net (Postfix) with ESMTP id 4YVbKR4mJNz1cs7
 for <71065 <at> debbugs.gnu.org>; Sat, 11 Jan 2025 11:05:31 +0000 (UTC)
Received: from ghost-submission-5b5ff79f4f-4vxpn (unknown [10.110.168.221])
 by director4.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 299421FE2F;
 Sat, 11 Jan 2025 11:05:31 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.102])
 by ghost-submission-5b5ff79f4f-4vxpn with ESMTPSA
 id hfONAntQgmf1NwIA8WQcDQ
 (envelope-from <ngraves@HIDDEN>); Sat, 11 Jan 2025 11:05:31 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-102R004c422b766-769b-4b00-9baf-5d78e7de624f,
 E236401F935A7348B7AE25685ACF73CB58428F2F) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 90.92.117.144
From: Nicolas Graves <ngraves@HIDDEN>
To: Jelle Licht <jlicht@HIDDEN>, 71065 <at> debbugs.gnu.org
Subject: Re: bug#71065: Emacs packages that override built-in features
 ignored when compiled
In-Reply-To: <87ttiudkhv.fsf@HIDDEN>
References: <87ttiudkhv.fsf@HIDDEN>
Date: Sat, 11 Jan 2025 12:05:30 +0100
Message-ID: <87plktvced.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Ovh-Tracer-Id: 5799228948423893729
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: -100
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrudehtddgvdduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvvefujghffffkgggtsehttdertddttddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepveekleeujedthefgffekleekhffhffetgfdvheekleeuhfehueeljedtjefhvdfgnecukfhppeduvdejrddtrddtrddupdeltddrledvrdduudejrddugeegpdefjedrheelrddugedvrddutddvnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejuddtieehseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehiedtmgdpmhhouggvpehsmhhtphhouhht
DKIM-Signature: a=rsa-sha256; bh=+FM2RDr7vFRuzqefh+SRDb4YGnjtD16gZwppWfYIVRc=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1736593531; v=1;
 b=hJ6oDZclW2sEGhCPNg03cq7k+Xw/gcIHWDdt27tMaiRVJl5QJUATerwzN1A2BGtUgXNNPvyX
 X2X5r1CGXCn5C7umzv6LC4wt6vtY8kFjVI5WYwpEm6nkjhtWLGXg3p+aZzTmOzybcGacHX/FVlv
 VHBC0j+6x7Hmi1IbjQ87EZwbDSrb2YDtI4ulHj+/OPBekK2NjJ44+XpfMxtB7TfipxGCoPL+m0V
 rdcgu4orpl55z5kntFK7goGZiupMEc3P5nZo5PQ3A1aj057+8NbiYUZmHQ8GqcYquE3F1xqIKN7
 A/yDKMUdz57lprsn1ILsuk0h3xKcw5kMbPSKsFCO3bFxw==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 71065
Cc: liliana.prikler@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: -1.0 (-)

Hi Jelle,

I think this issue is fixed with the patches in 67292.  Can you try them
and merge or close this issue after that? Thanks!

-- 
Best regards,
Nicolas Graves




Information forwarded to bug-guix@HIDDEN:
bug#71065; Package guix. Full text available.

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


Received: (at submit) by debbugs.gnu.org; 19 May 2024 13:01:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 19 09:01:31 2024
Received: from localhost ([127.0.0.1]:36259 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s8gAN-0000Fh-9Y
	for submit <at> debbugs.gnu.org; Sun, 19 May 2024 09:01:31 -0400
Received: from lists.gnu.org ([209.51.188.17]:60970)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jlicht@HIDDEN>) id 1s8gAL-0000FV-KR
 for submit <at> debbugs.gnu.org; Sun, 19 May 2024 09:01:29 -0400
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 <jlicht@HIDDEN>) id 1s8gA2-00033Z-NA
 for bug-guix@HIDDEN; Sun, 19 May 2024 09:01:17 -0400
Received: from mail2.fsfe.org ([213.95.165.55])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <jlicht@HIDDEN>) id 1s8g9t-0008CT-2V
 for bug-guix@HIDDEN; Sun, 19 May 2024 09:01:10 -0400
From: Jelle Licht <jlicht@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fsfe.org; s=2021081301;
 t=1716123648;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type;
 bh=5S5EGn0N3GCVPJ5+oc6bDAtuypDjH+qkBIgTwhngvrI=;
 b=paMaTHT39bbqogt9qt/Em+o6+K3/7j8bB2tvLX4vs2KtHAeafnw9d4tPIXHJlubGVMmHan
 2NKy20+vYYjoAjW7LMHd/rngrK5W7NnADTRMZrM8TeWDhGJnn9z8D8eA2Sj1sMSTbPcNBg
 r0WdADNLSj/b3sEmxwgj6eVntgsgdKg=
To: bug-guix@HIDDEN
Subject: Emacs packages that override built-in features ignored when compiled
Date: Sun, 19 May 2024 15:00:44 +0200
Message-ID: <87ttiudkhv.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=213.95.165.55; envelope-from=jlicht@HIDDEN;
 helo=mail2.fsfe.org
X-Spam_score_int: -70
X-Spam_score: -7.1
X-Spam_bar: -------
X-Spam_report: (-7.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, RCVD_IN_DNSWL_HI=-5,
 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
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.4 (--)

Hi all,

What I think happens is that Emacs code that is compiled against an
(Emacs) feature that is available as both a built-in and provided
(propagated) input seems to 'compile' Emacs code against the built-in
version.

Case in point:
Built-in jsonrpc feature for Emacs 29.3 has the following slot:
	-events-buffer-scrollback-size	t	'eieio--unbound

The version of jsonrpc as packaged in emacs-jsonrpc (and also propagated by
our emacs-eglot package):
	-events-buffer-config	t	'(:size nil :format full)

Reproducer:

Run:

guix shell --container --preserve=TERM emacs emacs-eglot -- emacs -nw -Q,
`M-x describe-symbol` -> jsonrpc-connection -> notice that the help
buffer lists the details from the built-in jsonrpc class, while the link
to "jsonrpc.el" at the top of the *Help* buffer links (correctly) to the
more recent version (as propagated by emacs-eglot), which makes me think
it's not a load-path issue.

AFAICT this means that we will run into issues once a library
(e.g. emacs-eglot) starts depending on slots present in the (propagated)
emacs-jsonrpc, but not the built-in jsonrpc version.

Thanks,
 - Jelle









Acknowledgement sent to Jelle Licht <jlicht@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#71065; Package guix. 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: Sun, 12 Jan 2025 05:45:02 UTC

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