From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.bugs Subject: bug#70141: 30.0.50; cl--class-allparents throws error for ebdb-field-pgp Date: Tue, 02 Apr 2024 20:22:28 -0700 Message-ID: <87frw33zbf.fsf@ericabrahamsen.net> References: <87r0fnuags.fsf@gmail.com> <87il0zu80w.fsf@gmail.com> <87a5mbu407.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32737"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Andrea Corallo , 70141@debbugs.gnu.org To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 03 05:23:25 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rrrDh-0008JC-I2 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 03 Apr 2024 05:23:25 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rrrDI-0002ES-Om; Tue, 02 Apr 2024 23:23:00 -0400 Original-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 1rrrDG-0002E3-HU for bug-gnu-emacs@gnu.org; Tue, 02 Apr 2024 23:22:58 -0400 Original-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 1rrrDG-0002Zi-99 for bug-gnu-emacs@gnu.org; Tue, 02 Apr 2024 23:22:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rrrDK-0005sA-5b for bug-gnu-emacs@gnu.org; Tue, 02 Apr 2024 23:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 03 Apr 2024 03:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70141 X-GNU-PR-Package: emacs Original-Received: via spool by 70141-submit@debbugs.gnu.org id=B70141.171211456422536 (code B ref 70141); Wed, 03 Apr 2024 03:23:02 +0000 Original-Received: (at 70141) by debbugs.gnu.org; 3 Apr 2024 03:22:44 +0000 Original-Received: from localhost ([127.0.0.1]:56731 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rrrD1-0005rG-Ao for submit@debbugs.gnu.org; Tue, 02 Apr 2024 23:22:44 -0400 Original-Received: from mail.ericabrahamsen.net ([52.70.2.18]:50294) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rrrCy-0005qk-Ct for 70141@debbugs.gnu.org; Tue, 02 Apr 2024 23:22:41 -0400 Original-Received: from localhost (71-212-21-65.tukw.qwest.net [71.212.21.65]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 4415FFA059; Wed, 3 Apr 2024 03:22:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1712114550; bh=SI1CO1S0H3p4dkePY+I2jAWMrhJoQJOwyV5mqRW5beg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=vyWftfsp2ZXp9iqI6HOcnHeUpJeO7BKt8DFDmlGqlayg8xiazGmEbJp7hnGRHJs6W cU/pF+d8DXJy+IscjcPt3H5HtNsJZXYuW/CI/yLeHtOqXd2ekm7kAcdL17rSmqln+C xWj6DmOZwrDRaWb30RbzECqMhyJwESZ0Y0d8h4Bc= In-Reply-To: <87a5mbu407.fsf@gmail.com> (Robert Pluim's message of "Tue, 02 Apr 2024 18:24:24 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:282558 Archived-At: Robert Pluim writes: >>>>>> On Tue, 02 Apr 2024 16:57:35 +0200, Robert Pluim = said: > >>>>>> On Tue, 02 Apr 2024 10:14:09 -0400, Andrea Corallo said: > Andrea> Robert Pluim writes: > >>> Just for fun I tried enabling the native compiler, and keep runni= ng > >>> into the following error with my config (-Q is fine). > >>>=20 > >>> I=CA=BCve tried reinstalling key-chord and ebdb, but that=CA=BCs = made no difference. > >>>=20 > >>> I know nothing about eieio, but the defclass for ebdb-field-pgp h= as a > >>> superclass: > >>>=20 > >>> (defclass ebdb-field-pgp (ebdb-field-user) > > Andrea> Hi Robert, > > Andrea> could you provide a reproducer we can use to look into it? > > Robert> I=CA=BCve tried to cut my .emacs down, but having just key-ch= ord and ebdb > Robert> is not enough. More work required. > > It=CA=BCs very frustrating: I can make the error go away, but then it > doesn=CA=BCt come back :-( > > (I can still get it with my original .emacs and emacs home directory thou= gh) Weird! ebdb-pgp.el, ebdb-org.el and ebdb-gnus.el all have autoload cookies on `defclass' forms. You've already got Gnus required (naturally), but the other autoloads are causing the evaluation of the forms without requiring the library that provides the parent classes. At least, that's what my crystal ball says! Both ebdb-pgp.el and ebdb-org.el require ebdb-com, which in turn requires ebdb.el, which is where ebdb-field-user is defined. But that somehow isn't getting pulled in for the native compilation (?). It's also very likely that we're not supposed to be using autoload cookies on defclass forms at all...