From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: native-comp and cl-lib startup issue Date: Tue, 15 Jun 2021 14:51:53 +0300 Message-ID: <83v96f4a7a.fsf@gnu.org> References: <874kdz9x89.fsf@wavexx.thregr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40177"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Yuri D'Elia Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jun 15 13:53:07 2021 Return-path: Envelope-to: ged-emacs-devel@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 1lt7cx-000AJs-OV for ged-emacs-devel@m.gmane-mx.org; Tue, 15 Jun 2021 13:53:07 +0200 Original-Received: from localhost ([::1]:49998 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lt7cw-0003BR-Ny for ged-emacs-devel@m.gmane-mx.org; Tue, 15 Jun 2021 07:53:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:32966) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lt7bl-0001nW-Pg for emacs-devel@gnu.org; Tue, 15 Jun 2021 07:51:53 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:50524) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lt7bk-0002gn-Sq; Tue, 15 Jun 2021 07:51:52 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2046 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lt7bk-0004KK-Gd; Tue, 15 Jun 2021 07:51:52 -0400 In-Reply-To: <874kdz9x89.fsf@wavexx.thregr.org> (message from Yuri D'Elia on Tue, 15 Jun 2021 13:35:34 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:270823 Archived-At: > From: Yuri D'Elia > Date: Tue, 15 Jun 2021 13:35:34 +0200 > > The first run of emacs with a clean eln-cache works fine. I'm generally > using the daemon, so I quit rarely. But if I do, generally on the second > run I get this startup error message: > > > Warning (initialization): An error occurred while loading ‘~/.config/emacs/init.el’: > > > > error: (setf seq-elt) is already defined as something else than a generic function > > As a wild guess, it's because seq-elt is now native-compiled? > > I removed the cl-lib native compiled file from eln-cache (in my case > cl-lib-8b938900-fbcee53d.eln) and lo-and-behold the error is fixed. But > it will reappear eventually. > > I'm surprised I didn't see any reference to this error in the archives, > and I didn't get any hit when searching in debbugs. See bug#47454.