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#66851: 30.0.50; Building emacs with native compilation fails Date: Tue, 31 Oct 2023 20:59:06 +0200 Message-ID: <83jzr2aa9x.fsf@gnu.org> References: <874ji63ahl.fsf@gmail.com> 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="18747"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 66851@debbugs.gnu.org To: Nikos Patikas , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 31 20:06:14 2023 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 1qxu45-0004eM-Ti for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 31 Oct 2023 20:06:14 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qxtyn-0004kz-Ps; Tue, 31 Oct 2023 15:00:45 -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 1qxtyY-0004QM-Sg for bug-gnu-emacs@gnu.org; Tue, 31 Oct 2023 15:00:32 -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 1qxtyX-0006YT-J1 for bug-gnu-emacs@gnu.org; Tue, 31 Oct 2023 15:00:29 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qxtz3-0004mc-Ql for bug-gnu-emacs@gnu.org; Tue, 31 Oct 2023 15:01: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, 31 Oct 2023 19:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66851 X-GNU-PR-Package: emacs Original-Received: via spool by 66851-submit@debbugs.gnu.org id=B66851.169877880418222 (code B ref 66851); Tue, 31 Oct 2023 19:01:01 +0000 Original-Received: (at 66851) by debbugs.gnu.org; 31 Oct 2023 19:00:04 +0000 Original-Received: from localhost ([127.0.0.1]:49177 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qxty7-0004jp-QZ for submit@debbugs.gnu.org; Tue, 31 Oct 2023 15:00:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58228) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qxty2-0004ih-QV for 66851@debbugs.gnu.org; Tue, 31 Oct 2023 15:00:02 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qxtxO-00065B-Ab; Tue, 31 Oct 2023 14:59:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=Ra8XRHC9EYMxmk/IeAQ9+pZD7VvEHIsPPwj15kM9k1I=; b=eNGvUajCkBoGZ7h7VlP4 m9dUXpGfNWH6JkKxWV9p3HY90qGqc+TOdyzC6u7FSIrPl6P4wNH6uqaB4V/44LLr2Y4eCes9oWIAj kxrVoxHo4EjuUhVcSrye3cl0Tqg33Bh4t5TgUkxzmgvGplFtB8iUG9Kj9hyss+XAyQZkn0EHsBcqI 7f9PQtXsUbLud11K9p+B1prQCec/zEACTjBcE6UE4fgwQxHITzwL3dndiJBYCkja+N0WgH6hwc8Ll GVoVwsCWVDyXj7yCaOcUM+FO4id1LmMNfMvH2+yF2+b8+D3RswWWDaUChhN2Jokq5ld4rWDp+XZCd NJrqH6yzZZG/Mg==; In-Reply-To: <874ji63ahl.fsf@gmail.com> (message from Nikos Patikas on Tue, 31 Oct 2023 14:36:22 -0400) 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:273571 Archived-At: > From: Nikos Patikas > Date: Tue, 31 Oct 2023 14:36:22 -0400 > > > Hi, > > I am having trouble to build emacs with the native-compilation flag. > > I am using the following build options on the current master: > > commit 5f371ca07be891cc41e8e80b8a1bc9ffcc909363 (HEAD -> master, origin/master, origin/HEAD) > Author: Stefan Monnier > Date: Tue Oct 31 12:24:51 2023 -0400 > > * lisp/emacs-lisp/comp.el: Remove redundant requires > > > I build with the following options: > > ./configure --with-json \ > --with-imagemagick\ > --with-pgtk\ > --with-tree-sitter\ > --with-native-compilation > > > During make, I get a huge lisp code truncation followed by this error > message: > > Symbol’s function definition is void: cl-find-class > make[3]: *** [Makefile:323: emacs-lisp/loaddefs-gen.elc] Error 255 > Symbol’s function definition is void: cl-find-class > make[3]: *** [Makefile:323: emacs-lisp/radix-tree.elc] Error 255 > make[3]: Leaving directory '/home/main/git/emacs/lisp' > make[2]: *** [Makefile:1015: bootstrap-emacs.pdmp] Error 2 > make[2]: Leaving directory '/home/main/git/emacs/src' > make[1]: *** [Makefile:554: src] Error 2 > make[1]: Leaving directory '/home/main/git/emacs' > make[1]: Entering directory '/home/main/git/emacs' > *** > *** "make all" failed with exit status 2. > > If remove the native comp flag then it builds fine. > > > Wondering if this affects only my system. Thanks, but please capture and post here the complete build log, from its start till the last error message. We need to see all of that to understand what could cause the problem. Adding Stefan who made that commit.