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.bugs Subject: bug#47161: 28.0.50; [feature/native-comp] Failure to native-compile bytecomp.el etc. Date: Tue, 16 Mar 2021 14:50:53 +0200 Message-ID: <83mtv3dzyq.fsf@gnu.org> References: <837dm8fncz.fsf@gnu.org> <834khcfhw7.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27580"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 47161@debbugs.gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 16 13:51:15 2021 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 1lM9AH-0006ze-I6 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Mar 2021 13:51:13 +0100 Original-Received: from localhost ([::1]:35014 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lM9AG-0003tK-Ij for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Mar 2021 08:51:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48270) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lM9A6-0003sT-BE for bug-gnu-emacs@gnu.org; Tue, 16 Mar 2021 08:51:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55115) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lM9A6-0005AT-1x for bug-gnu-emacs@gnu.org; Tue, 16 Mar 2021 08:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lM9A5-0005e7-W3 for bug-gnu-emacs@gnu.org; Tue, 16 Mar 2021 08:51:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Mar 2021 12:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47161 X-GNU-PR-Package: emacs Original-Received: via spool by 47161-submit@debbugs.gnu.org id=B47161.161589904621681 (code B ref 47161); Tue, 16 Mar 2021 12:51:01 +0000 Original-Received: (at 47161) by debbugs.gnu.org; 16 Mar 2021 12:50:46 +0000 Original-Received: from localhost ([127.0.0.1]:38428 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lM99q-0005dd-Gs for submit@debbugs.gnu.org; Tue, 16 Mar 2021 08:50:46 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:58580) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lM99p-0005dR-CQ for 47161@debbugs.gnu.org; Tue, 16 Mar 2021 08:50:45 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:37894) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lM99k-0004vi-19; Tue, 16 Mar 2021 08:50:40 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2287 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lM99j-0005fv-9v; Tue, 16 Mar 2021 08:50:39 -0400 In-Reply-To: (message from Andrea Corallo on Mon, 15 Mar 2021 20:05:10 +0000) 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" Xref: news.gmane.io gmane.emacs.bugs:202458 Archived-At: > From: Andrea Corallo > Cc: 47161@debbugs.gnu.org > Date: Mon, 15 Mar 2021 20:05:10 +0000 > > > ELC emacs-lisp/byte-opt.elc > > Compiler-macro error for cl--block-wrapper: (error "(setf seq-elt) is already defined as something else than a generic function") > > Eager macro-expansion failure: (error "(setf seq-elt) is already defined as something else than a generic function") > > > > What causes this? > > ATM I've no idea, but it doesn't look to me evidently related to native > compilation. How can I reproduce it? What I did was modified byte-opt.el, saved, and said "make". > Also, shouldn't byte-opt.el be native compiled as it's in COMPILE_FIRST? That bothers me as well. It happens from time to time: for example, I've just updated from Git, which brought modified bytecomp.el and comp.el, both in COMPILE_FIRST. And yet this is what I see when I say "make": make -C lisp all make[1]: Entering directory `/d/gnu/git/emacs/native-comp/lisp' make -C ../leim all EMACS="../src/emacs.exe" make -C ../admin/grammars all EMACS="../../src/emacs.exe" make[2]: Entering directory `/d/gnu/git/emacs/native-comp/admin/grammars' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/d/gnu/git/emacs/native-comp/admin/grammars' make[2]: Entering directory `/d/gnu/git/emacs/native-comp/leim' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/d/gnu/git/emacs/native-comp/leim' make[2]: Entering directory `/d/gnu/git/emacs/native-comp/lisp' ELC emacs-lisp/bytecomp.elc make[2]: Leaving directory `/d/gnu/git/emacs/native-comp/lisp' make[2]: Entering directory `/d/gnu/git/emacs/native-comp/lisp' ELC emacs-lisp/comp.elc make[2]: Leaving directory `/d/gnu/git/emacs/native-comp/lisp' make[2]: Entering directory `/d/gnu/git/emacs/native-comp/lisp' make[2]: Nothing to be done for `compile-targets'. make[2]: Leaving directory `/d/gnu/git/emacs/native-comp/lisp' Why not "ELC+ELN"? Note that this happens when we do "make -C lisp all" from the src directory.