all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Nikos Patikas <nik.patik@gmail.com>,
	Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 66851@debbugs.gnu.org
Subject: bug#66851: 30.0.50; Building emacs with native compilation fails
Date: Tue, 31 Oct 2023 20:59:06 +0200	[thread overview]
Message-ID: <83jzr2aa9x.fsf@gnu.org> (raw)
In-Reply-To: <874ji63ahl.fsf@gmail.com> (message from Nikos Patikas on Tue, 31 Oct 2023 14:36:22 -0400)

> From: Nikos Patikas <nik.patik@gmail.com>
> 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 <monnier@iro.umontreal.ca>
> 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.





  reply	other threads:[~2023-10-31 18:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-31 18:36 bug#66851: 30.0.50; Building emacs with native compilation fails Nikos Patikas
2023-10-31 18:59 ` Eli Zaretskii [this message]
2023-10-31 19:12   ` Nikos Patikas
2023-10-31 21:36   ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-11-01  8:35     ` Andrea Corallo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83jzr2aa9x.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=66851@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=nik.patik@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.