unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#66851: 30.0.50; Building emacs with native compilation fails
@ 2023-10-31 18:36 Nikos Patikas
  2023-10-31 18:59 ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Nikos Patikas @ 2023-10-31 18:36 UTC (permalink / raw)
  To: 66851


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.

Best,
Nikos






^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#66851: 30.0.50; Building emacs with native compilation fails
  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
  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
  0 siblings, 2 replies; 5+ messages in thread
From: Eli Zaretskii @ 2023-10-31 18:59 UTC (permalink / raw)
  To: Nikos Patikas, Stefan Monnier; +Cc: 66851

> 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.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#66851: 30.0.50; Building emacs with native compilation fails
  2023-10-31 18:59 ` Eli Zaretskii
@ 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
  1 sibling, 0 replies; 5+ messages in thread
From: Nikos Patikas @ 2023-10-31 19:12 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Stefan Monnier, 66851

[-- Attachment #1: Type: text/plain, Size: 850 bytes --]


> 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.


Looks pretty straightforward to me since cl-find-class is on cl-extra.el

https://github.com/emacs-mirror/emacs/blob/master/lisp/emacs-lisp/cl-extra.el#L738

which was removed by that commit:

$ git diff HEAD~1
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el
index bdc59703de9..7fd9543d2ba 100644
--- a/lisp/emacs-lisp/comp.el
+++ b/lisp/emacs-lisp/comp.el
@@ -29,10 +29,7 @@
 ;;; Code:

 (require 'bytecomp)
-(require 'cl-extra)
 (require 'cl-lib)
-(require 'cl-macs)
-(require 'cl-seq)
 (require 'gv)
 (require 'rx)
 (require 'subr-x)

Anyway, attached is the build log:

$ make -j 12 > build.txt 2>&1


[-- Attachment #2: build.txt --]
[-- Type: text/plain, Size: 35309 bytes --]

make actual-all || make advice-on-failure make-target=all exit-status=$?
make[1]: Entering directory '/home/main/git/emacs'
make -C lib all
make -C doc/lispref info
make -C doc/lispintro info
make -C doc/emacs info
make[2]: Entering directory '/home/main/git/emacs/doc/lispref'
make[2]: Nothing to be done for 'info'.
make[2]: Leaving directory '/home/main/git/emacs/doc/lispref'
make[2]: Entering directory '/home/main/git/emacs/doc/lispintro'
make[2]: Nothing to be done for 'info'.
make[2]: Leaving directory '/home/main/git/emacs/doc/lispintro'
make[2]: Entering directory '/home/main/git/emacs/doc/emacs'
make[2]: Nothing to be done for 'info'.
make[2]: Leaving directory '/home/main/git/emacs/doc/emacs'
make[2]: Entering directory '/home/main/git/emacs/lib'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/main/git/emacs/lib'
make -C lib-src all
make[2]: Entering directory '/home/main/git/emacs/lib-src'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/main/git/emacs/lib-src'
make -C src BIN_DESTDIR=''/usr/local/bin/'' \
	 ELN_DESTDIR='/usr/local/lib/emacs/30.0.50/' all
make[2]: Entering directory '/home/main/git/emacs/src'
make -C ../admin/charsets all
make -C ../admin/unidata charscript.el
make -C ../admin/unidata emoji-zwj.el
make[3]: Entering directory '/home/main/git/emacs/admin/unidata'
make[3]: Entering directory '/home/main/git/emacs/admin/unidata'
make -C ../admin/charsets cp51932.el
make -C ../admin/charsets eucjp-ms.el
  CC       xdisp.o
  CC       coding.o
  CC       xfaces.o
  CC       keyboard.o
  CC       search.o
make[3]: Entering directory '/home/main/git/emacs/admin/charsets'
make[3]: Nothing to be done for 'cp51932.el'.
make[3]: Leaving directory '/home/main/git/emacs/admin/charsets'
make[3]: Entering directory '/home/main/git/emacs/admin/charsets'
make[3]: Nothing to be done for 'eucjp-ms.el'.
make[3]: Leaving directory '/home/main/git/emacs/admin/charsets'
  CC       regex-emacs.o
  CC       pdumper.o
  CC       data.o
  CC       editfns.o
  CC       eval.o
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
make[3]: Nothing to be done for 'charscript.el'.
make[3]: Leaving directory '/home/main/git/emacs/admin/unidata'
  CC       fns.o
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
make[3]: Nothing to be done for 'emoji-zwj.el'.
make[3]: Leaving directory '/home/main/git/emacs/admin/unidata'
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
  CC       sort.o
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
make[3]: Entering directory '/home/main/git/emacs/admin/charsets'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/main/git/emacs/admin/charsets'
  CC       font.o
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
  CC       print.o
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
  CC       lread.o
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
  CC       emacs-module.o
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
  CC       syntax.o
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
  CC       bytecode.o
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
  CC       comp.o
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
  CC       dynlib.o
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
  CC       process.o
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
  CC       gnutls.o
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
  CC       callproc.o
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
  CC       region-cache.o
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
  CC       sound.o
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
  CC       timefns.o
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
  CC       atimer.o
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
  CC       doprnt.o
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
  CC       intervals.o
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
  CC       textprop.o
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
  CC       composite.o
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
  CC       xml.o
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
  CC       lcms.o
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
  CC       inotify.o
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
  CC       profiler.o
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
  CC       decompress.o
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
  CC       thread.o
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
  CC       systhread.o
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
  CC       sqlite.o
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
  CC       treesit.o
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
  CC       itree.o
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
  CC       ftfont.o
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
  CC       ftcrfont.o
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
  CC       hbfont.o
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
  CC       fontset.o
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
  CC       fringe.o
  CC       image.o
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
  CC       xgselect.o
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
  CC       json.o
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
  CC       pgtkfns.o
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
  CC       pgtkterm.o
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
  CC       pgtkselect.o
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
  CC       pgtkmenu.o
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
  CC       pgtkim.o
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
image.c: In function ‘image_create_bitmap_from_file’:
image.c:766:9: warning: unused variable ‘bitmap’ [-Wunused-variable]
  766 |   void *bitmap;
      |         ^~~~~~
  CC       xsettings.o
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
  CC       terminfo.o
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
  CC       lastfile.o
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
cc1: warning: /usr/include/sysprof-4: No such file or directory [-Wmissing-include-dirs]
In file included from pgtkterm.c:56:
emacs-icon.h:323:22: warning: ‘gnu_xbm_bits’ defined but not used [-Wunused-variable]
  323 | static unsigned char gnu_xbm_bits[] = {
      |                      ^~~~~~~~~~~~
emacs-icon.h:27:21: warning: ‘gnu_xpm_bits’ defined but not used [-Wunused-variable]
   27 | static const char * gnu_xpm_bits[] = {
      |                     ^~~~~~~~~~~~
  CCLD     temacs
  GEN      ../etc/DOC
/usr/bin/mkdir -p ../etc
make -C ../lisp update-subdirs
make[3]: Entering directory '/home/main/git/emacs/lisp'
make[3]: Leaving directory '/home/main/git/emacs/lisp'
cp -f temacs bootstrap-emacs
rm -f bootstrap-emacs.pdmp
./temacs --batch  -l loadup --temacs=pbootstrap \
	--bin-dest /usr/local/bin/ --eln-dest /usr/local/lib/emacs/30.0.50/
Loading loadup.el (source)...
Dump mode: pbootstrap
Using load-path (/home/main/git/emacs/lisp /home/main/git/emacs/lisp/emacs-lisp /home/main/git/emacs/lisp/progmodes /home/main/git/emacs/lisp/language /home/main/git/emacs/lisp/international /home/main/git/emacs/lisp/textmodes /home/main/git/emacs/lisp/vc)
Loading emacs-lisp/debug-early...
Loading emacs-lisp/byte-run...
Loading emacs-lisp/backquote...
Loading subr...
Loading keymap...
Loading version...
Loading widget...
Loading custom...
Loading emacs-lisp/map-ynp...
Loading international/mule...
Loading international/mule-conf...
Loading env...
Loading format...
Loading bindings...
Loading window...
Loading files...
Loading emacs-lisp/macroexp...
Loading cus-face...
Loading faces...
Loading loaddefs...
Loading /home/main/git/emacs/lisp/theme-loaddefs.el (source)...
Loading button...
Loading emacs-lisp/cl-preloaded...
Loading emacs-lisp/oclosure...
Loading obarray...
Loading abbrev...
Loading help...
Loading jka-cmpr-hook...
Loading epa-hook...
Loading international/mule-cmds...
Loading case-table...
Loading /home/main/git/emacs/lisp/international/charprop.el (source)...
Loading international/characters...
Loading international/charscript...
Loading international/emoji-zwj...
Loading composite...
Loading language/chinese...
Loading language/cyrillic...
Loading language/indian...
Loading language/sinhala...
Loading language/english...
Loading language/ethiopic...
Loading language/european...
Loading language/czech...
Loading language/slovak...
Loading language/romanian...
Loading language/greek...
Loading language/hebrew...
Loading international/cp51932...
Loading international/eucjp-ms...
Loading language/japanese...
Loading language/korean...
Loading language/lao...
Loading language/tai-viet...
Loading language/thai...
Loading language/tibetan...
Loading language/vietnamese...
Loading language/misc-lang...
Loading language/utf-8-lang...
Loading language/georgian...
Loading language/khmer...
Loading language/burmese...
Loading language/cham...
Loading language/philippine...
Loading language/indonesian...
Loading indent...
Loading emacs-lisp/cl-generic...
Loading simple...
Loading emacs-lisp/seq...
Loading emacs-lisp/nadvice...
Loading minibuffer...
Loading frame...
Loading startup...
Loading term/tty-colors...
Loading font-core...
Loading emacs-lisp/syntax...
Loading font-lock...
Loading jit-lock...
Loading mouse...
Loading scroll-bar...
Loading select...
Loading emacs-lisp/timer...
Loading emacs-lisp/easymenu...
Loading isearch...
Loading rfn-eshadow...
Loading menu-bar...
Loading tab-bar...
Loading emacs-lisp/lisp...
Loading textmodes/page...
Loading register...
Loading textmodes/paragraphs...
Loading progmodes/prog-mode...
Loading emacs-lisp/lisp-mode...
Loading textmodes/text-mode...
Loading textmodes/fill...
Loading newcomment...
Loading replace...
Loading emacs-lisp/tabulated-list...
Loading buff-menu...
Loading fringe...
Loading emacs-lisp/regexp-opt...
Loading image...
Loading international/fontset...
Loading dnd...
Loading tool-bar...
Loading dynamic-setting...
Loading touch-screen...
Loading pgtk-dnd...
Loading term/common-win...
Loading term/pgtk-win...
Loading mwheel...
Loading progmodes/elisp-mode...
Loading emacs-lisp/float-sup...
Loading vc/vc-hooks...
Loading vc/ediff-hook...
Loading uniquify...
Loading electric...
Loading paren...
Loading emacs-lisp/shorthands...
Loading emacs-lisp/eldoc...
Loading emacs-lisp/cconv...
Loading cus-start...
Loading tooltip...
Loading international/iso-transl...
Loading /home/main/git/emacs/lisp/leim/leim-list.el (source)...
Loading emacs-lisp/rmc...
Finding pointers to doc strings...
Finding pointers to doc strings...done
Dumping under the name bootstrap-emacs.pdmp
Dumping fingerprint: 667a284fa0325fc3823799fe227027debddcfd68cfa4f100a91dd9aaec64e940
Dump complete
Byte counts: header=100 hot=8810628 discardable=201712 cold=4213136
Reloc counts: hot=491307 discardable=5516
ANCIENT=yes make -C ../lisp compile-first EMACS="../src/bootstrap-emacs"
make[3]: Entering directory '/home/main/git/emacs/lisp'
make[3]: Nothing to be done for 'compile-first'.
make[3]: Leaving directory '/home/main/git/emacs/lisp'
make -C ../lisp compile-first EMACS="../src/bootstrap-emacs"
make[3]: Entering directory '/home/main/git/emacs/lisp'
make[3]: Nothing to be done for 'compile-first'.
make[3]: Leaving directory '/home/main/git/emacs/lisp'
make -C ../admin/unidata all EMACS="../../src/bootstrap-emacs"
make[3]: Entering directory '/home/main/git/emacs/admin/unidata'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/main/git/emacs/admin/unidata'
rm -f emacs && cp -f temacs emacs
LC_ALL=C ./temacs -batch  -l loadup --temacs=pdump \
	--bin-dest /usr/local/bin/ --eln-dest /usr/local/lib/emacs/30.0.50/
Loading loadup.el (source)...
Dump mode: pdump
Using load-path (/home/main/git/emacs/lisp)
Loading emacs-lisp/debug-early...
Loading emacs-lisp/byte-run...
Loading emacs-lisp/backquote...
Loading subr...
Loading keymap...
Loading version...
Loading widget...
Loading custom...
Loading emacs-lisp/map-ynp...
Loading international/mule...
Loading international/mule-conf...
Loading env...
Loading format...
Loading bindings...
Loading window...
Loading files...
Loading emacs-lisp/macroexp...
Loading cus-face...
Loading faces...
Loading loaddefs...
Loading theme-loaddefs.el (source)...
Loading button...
Loading emacs-lisp/cl-preloaded...
Loading emacs-lisp/oclosure...
Loading obarray...
Loading abbrev...
Loading help...
Loading jka-cmpr-hook...
Loading epa-hook...
Loading international/mule-cmds...
Loading case-table...
Loading international/charprop.el (source)...
Loading international/characters...
Loading international/charscript...
Loading international/emoji-zwj...
Loading composite...
Loading language/chinese...
Loading language/cyrillic...
Loading language/indian...
Loading language/sinhala...
Loading language/english...
Loading language/ethiopic...
Loading language/european...
Loading language/czech...
Loading language/slovak...
Loading language/romanian...
Loading language/greek...
Loading language/hebrew...
Loading international/cp51932...
Loading international/eucjp-ms...
Loading language/japanese...
Loading language/korean...
Loading language/lao...
Loading language/tai-viet...
Loading language/thai...
Loading language/tibetan...
Loading language/vietnamese...
Loading language/misc-lang...
Loading language/utf-8-lang...
Loading language/georgian...
Loading language/khmer...
Loading language/burmese...
Loading language/cham...
Loading language/philippine...
Loading language/indonesian...
Loading indent...
Loading emacs-lisp/cl-generic...
Loading simple...
Loading emacs-lisp/seq...
Loading emacs-lisp/nadvice...
Loading minibuffer...
Loading frame...
Loading startup...
Loading term/tty-colors...
Loading font-core...
Loading emacs-lisp/syntax...
Loading font-lock...
Loading jit-lock...
Loading mouse...
Loading scroll-bar...
Loading select...
Loading emacs-lisp/timer...
Loading emacs-lisp/easymenu...
Loading isearch...
Loading rfn-eshadow...
Loading menu-bar...
Loading tab-bar...
Loading emacs-lisp/lisp...
Loading textmodes/page...
Loading register...
Loading textmodes/paragraphs...
Loading progmodes/prog-mode...
Loading emacs-lisp/lisp-mode...
Loading textmodes/text-mode...
Loading textmodes/fill...
Loading newcomment...
Loading replace...
Loading emacs-lisp/tabulated-list...
Loading buff-menu...
Loading fringe...
Loading emacs-lisp/regexp-opt...
Loading image...
Loading international/fontset...
Loading dnd...
Loading tool-bar...
Loading dynamic-setting...
Loading touch-screen...
Loading pgtk-dnd...
Loading term/common-win...
Loading term/pgtk-win...
Loading mwheel...
Loading progmodes/elisp-mode...
Loading emacs-lisp/float-sup...
Loading vc/vc-hooks...
Loading vc/ediff-hook...
Loading uniquify...
Loading electric...
Loading paren...
Loading emacs-lisp/shorthands...
Loading emacs-lisp/eldoc...
Loading emacs-lisp/cconv...
Loading cus-start...
Loading tooltip...
Loading international/iso-transl...
Loading leim/leim-list.el (source)...
Loading emacs-lisp/rmc...
Waiting for git...
Waiting for git...
Finding pointers to doc strings...
Finding pointers to doc strings...done
Pure-hashed: 18668 strings, 5814 vectors, 52794 conses, 5248 bytecodes, 348 others
Dumping under the name emacs.pdmp
Dumping fingerprint: 667a284fa0325fc3823799fe227027debddcfd68cfa4f100a91dd9aaec64e940
Dump complete
Byte counts: header=100 hot=8194356 discardable=201712 cold=3932112
Reloc counts: hot=466987 discardable=5516
Adding name emacs-30.0.50.2
Adding name emacs-30.0.50.2.pdmp
cp -f emacs.pdmp bootstrap-emacs.pdmp 
make -C ../admin/charsets all
make -C ../admin/unidata charscript.el
make -C ../admin/unidata emoji-zwj.el
make -C ../admin/charsets cp51932.el
make -C ../admin/charsets eucjp-ms.el
make[3]: Nothing to be done for '../lisp/loadup.el'.
make[3]: Nothing to be done for '../lisp/ldefs-boot.el'.
make[4]: Nothing to be done for 'cp51932.el'.
make[4]: Nothing to be done for 'eucjp-ms.el'.
make[4]: Nothing to be done for 'emoji-zwj.el'.
make[4]: Nothing to be done for 'charscript.el'.
make[4]: Nothing to be done for 'all'.
make -C ../admin/unidata all EMACS="../../src/bootstrap-emacs"
make[3]: '../lisp/loaddefs.el' is up to date.
make[4]: Nothing to be done for 'all'.
  ELN      ../lisp/emacs-lisp/byte-opt.eln
  ELN      ../lisp/emacs-lisp/bytecomp.eln
  ELN      ../lisp/emacs-lisp/cconv.eln
  ELN      ../lisp/international/charscript.eln
  ELN      ../lisp/emacs-lisp/comp.eln
  ELN      ../lisp/emacs-lisp/comp-cstr.eln
  ELN      ../lisp/button.eln
  ELN      ../lisp/international/emoji-zwj.eln
  ELN      ../lisp/abbrev.eln
  ELN      ../lisp/bindings.eln
  ELN      ../lisp/buff-menu.eln
  ELN      ../lisp/case-table.eln
  ELN      ../lisp/composite.eln
  ELN      ../lisp/cus-face.eln
  ELN      ../lisp/cus-start.eln
  ELN      ../lisp/custom.eln
  ELN      ../lisp/disp-table.eln
  ELN      ../lisp/dnd.eln
  ELN      ../lisp/dos-fns.eln
  ELN      ../lisp/dos-vars.eln
  ELN      ../lisp/dos-w32.eln
  ELN      ../lisp/dynamic-setting.eln
  ELN      ../lisp/electric.eln
  ELN      ../lisp/emacs-lisp/backquote.eln
  ELN      ../lisp/emacs-lisp/byte-run.eln
  ELN      ../lisp/emacs-lisp/cl-generic.eln
  ELN      ../lisp/emacs-lisp/cl-preloaded.eln
  ELN      ../lisp/emacs-lisp/debug-early.eln
  ELN      ../lisp/emacs-lisp/easymenu.eln
  ELN      ../lisp/emacs-lisp/eldoc.eln
  ELN      ../lisp/emacs-lisp/float-sup.eln
  ELN      ../lisp/emacs-lisp/lisp-mode.eln
  ELN      ../lisp/emacs-lisp/lisp.eln
  ELN      ../lisp/emacs-lisp/macroexp.eln
  ELN      ../lisp/emacs-lisp/map-ynp.eln
  ELN      ../lisp/emacs-lisp/nadvice.eln
  ELN      ../lisp/emacs-lisp/oclosure.eln
  ELN      ../lisp/emacs-lisp/regexp-opt.eln
  ELN      ../lisp/emacs-lisp/rmc.eln
  ELN      ../lisp/emacs-lisp/seq.eln
  ELN      ../lisp/emacs-lisp/shorthands.eln
  ELN      ../lisp/emacs-lisp/syntax.eln
  ELN      ../lisp/emacs-lisp/tabulated-list.eln
  ELN      ../lisp/emacs-lisp/timer.eln
  ELN      ../lisp/env.eln
  ELN      ../lisp/epa-hook.eln
  ELN      ../lisp/faces.eln
  ELN      ../lisp/files.eln
  ELN      ../lisp/font-core.eln
  ELN      ../lisp/font-lock.eln
  ELN      ../lisp/format.eln
  ELN      ../lisp/frame.eln
  ELN      ../lisp/fringe.eln
  ELN      ../lisp/help.eln
  ELN      ../lisp/image.eln
  ELN      ../lisp/indent.eln
make[3]: '../lisp/international/charprop.el' is up to date.
  ELN      ../lisp/international/characters.eln
  ELN      ../lisp/international/cp51932.eln
  ELN      ../lisp/international/eucjp-ms.eln
  ELN      ../lisp/international/fontset.eln
  ELN      ../lisp/international/iso-transl.eln
  ELN      ../lisp/international/mule-cmds.eln
  ELN      ../lisp/international/mule-conf.eln
  ELN      ../lisp/international/mule-util.eln
  ELN      ../lisp/international/mule.eln
  ELN      ../lisp/international/ucs-normalize.eln
  ELN      ../lisp/isearch.eln
  ELN      ../lisp/jit-lock.eln
  ELN      ../lisp/jka-cmpr-hook.eln
  ELN      ../lisp/keymap.eln
  ELN      ../lisp/language/burmese.eln
  ELN      ../lisp/language/cham.eln
  ELN      ../lisp/language/chinese.eln
  ELN      ../lisp/language/cyrillic.eln
  ELN      ../lisp/language/czech.eln
  ELN      ../lisp/language/english.eln
  ELN      ../lisp/language/ethiopic.eln
  ELN      ../lisp/language/european.eln
  ELN      ../lisp/language/georgian.eln
  ELN      ../lisp/language/greek.eln
  ELN      ../lisp/language/hebrew.eln
  ELN      ../lisp/language/indian.eln
  ELN      ../lisp/language/indonesian.eln
  ELN      ../lisp/language/japanese.eln
  ELN      ../lisp/language/khmer.eln
  ELN      ../lisp/language/korean.eln
  ELN      ../lisp/language/lao.eln
  ELN      ../lisp/language/misc-lang.eln
  ELN      ../lisp/language/philippine.eln
  ELN      ../lisp/language/romanian.eln
  ELN      ../lisp/language/sinhala.eln
  ELN      ../lisp/language/slovak.eln
  ELN      ../lisp/language/tai-viet.eln
  ELN      ../lisp/language/tibetan.eln
  ELN      ../lisp/language/thai.eln
  ELN      ../lisp/language/utf-8-lang.eln
  ELN      ../lisp/language/vietnamese.eln
  ELN      ../lisp/loaddefs.eln
  ELN      ../lisp/ls-lisp.eln
  ELN      ../lisp/minibuffer.eln
  ELN      ../lisp/menu-bar.eln
  ELN      ../lisp/mouse.eln
  ELN      ../lisp/mwheel.eln
  ELN      ../lisp/newcomment.eln
  ELN      ../lisp/obarray.eln
  ELN      ../lisp/paren.eln
  ELN      ../lisp/pgtk-dnd.eln
  ELN      ../lisp/progmodes/elisp-mode.eln
  ELN      ../lisp/progmodes/prog-mode.eln
  ELN      ../lisp/register.eln
  ELN      ../lisp/replace.eln
  ELN      ../lisp/rfn-eshadow.eln
  ELN      ../lisp/scroll-bar.eln
  ELN      ../lisp/select.eln
  ELN      ../lisp/simple.eln
  ELN      ../lisp/startup.eln
  ELN      ../lisp/subr.eln
  ELN      ../lisp/tab-bar.eln
  ELN      ../lisp/term/android-win.eln
  ELN      ../lisp/term/common-win.eln
  ELN      ../lisp/term/haiku-win.eln
  ELN      ../lisp/term/internal.eln
  ELN      ../lisp/term/ns-win.eln
  ELN      ../lisp/term/pc-win.eln
  ELN      ../lisp/term/pgtk-win.eln
  ELN      ../lisp/term/tty-colors.eln
  ELN      ../lisp/term/w32-win.eln
  ELN      ../lisp/term/x-win.eln
  ELN      ../lisp/textmodes/fill.eln
  ELN      ../lisp/textmodes/page.eln
  ELN      ../lisp/textmodes/paragraphs.eln
  ELN      ../lisp/textmodes/text-mode.eln
  ELN      ../lisp/tool-bar.eln
  ELN      ../lisp/tooltip.eln
  ELN      ../lisp/touch-screen.eln
  ELN      ../lisp/uniquify.eln
  ELN      ../lisp/vc/ediff-hook.eln
  ELN      ../lisp/vc/vc-hooks.eln
  ELN      ../lisp/version.eln
  ELN      ../lisp/w32-fns.eln
  ELN      ../lisp/w32-vars.eln
make[3]: '../lisp/emacs-lisp/cconv.eln' is up to date.
  ELN      ../lisp/widget.eln
  ELN      ../lisp/window.eln
  ELN      ../lisp/x-dnd.eln
Loading loadup.el (source)...
Dump mode: pdump
Using load-path (/home/main/git/emacs/lisp)
Loading emacs-lisp/debug-early (native compiled elisp)...
Loading emacs-lisp/byte-run (native compiled elisp)...
Loading emacs-lisp/backquote (native compiled elisp)...
Loading subr (native compiled elisp)...
Loading keymap (native compiled elisp)...
Loading version (native compiled elisp)...
Loading widget (native compiled elisp)...
Loading custom (native compiled elisp)...
Loading emacs-lisp/map-ynp (native compiled elisp)...
Loading international/mule (native compiled elisp)...
Loading international/mule-conf (native compiled elisp)...
Loading env (native compiled elisp)...
Loading format (native compiled elisp)...
Loading bindings (native compiled elisp)...
Loading window (native compiled elisp)...
Loading files (native compiled elisp)...
Loading emacs-lisp/macroexp (native compiled elisp)...
Loading cus-face (native compiled elisp)...
Loading faces (native compiled elisp)...
Loading loaddefs...
Loading theme-loaddefs.el (source)...
Loading button (native compiled elisp)...
Loading emacs-lisp/cl-preloaded (native compiled elisp)...
Loading emacs-lisp/oclosure (native compiled elisp)...
Loading obarray (native compiled elisp)...
Loading abbrev (native compiled elisp)...
Loading help (native compiled elisp)...
Loading jka-cmpr-hook (native compiled elisp)...
Loading epa-hook (native compiled elisp)...
Loading international/mule-cmds (native compiled elisp)...
Loading case-table (native compiled elisp)...
Loading international/charprop.el (source)...
Loading international/characters (native compiled elisp)...
Loading international/charscript (native compiled elisp)...
Loading international/emoji-zwj (native compiled elisp)...
Loading composite (native compiled elisp)...
Loading language/chinese (native compiled elisp)...
Loading language/cyrillic (native compiled elisp)...
Loading language/indian (native compiled elisp)...
Loading language/sinhala (native compiled elisp)...
Loading language/english (native compiled elisp)...
Loading language/ethiopic (native compiled elisp)...
Loading language/european (native compiled elisp)...
Loading language/czech (native compiled elisp)...
Loading language/slovak (native compiled elisp)...
Loading language/romanian (native compiled elisp)...
Loading language/greek (native compiled elisp)...
Loading language/hebrew (native compiled elisp)...
Loading international/cp51932 (native compiled elisp)...
Loading international/eucjp-ms (native compiled elisp)...
Loading language/japanese (native compiled elisp)...
Loading language/korean (native compiled elisp)...
Loading language/lao (native compiled elisp)...
Loading language/tai-viet (native compiled elisp)...
Loading language/thai (native compiled elisp)...
Loading language/tibetan (native compiled elisp)...
Loading language/vietnamese (native compiled elisp)...
Loading language/misc-lang (native compiled elisp)...
Loading language/utf-8-lang (native compiled elisp)...
Loading language/georgian (native compiled elisp)...
Loading language/khmer (native compiled elisp)...
Loading language/burmese (native compiled elisp)...
Loading language/cham (native compiled elisp)...
Loading language/philippine (native compiled elisp)...
Loading language/indonesian (native compiled elisp)...
Loading indent (native compiled elisp)...
Loading emacs-lisp/cl-generic (native compiled elisp)...
Loading simple (native compiled elisp)...
Loading emacs-lisp/seq (native compiled elisp)...
Loading emacs-lisp/nadvice (native compiled elisp)...
Loading minibuffer (native compiled elisp)...
Loading frame (native compiled elisp)...
Loading startup (native compiled elisp)...
Loading term/tty-colors (native compiled elisp)...
Loading font-core (native compiled elisp)...
Loading emacs-lisp/syntax (native compiled elisp)...
Loading font-lock (native compiled elisp)...
Loading jit-lock (native compiled elisp)...
Loading mouse (native compiled elisp)...
Loading scroll-bar (native compiled elisp)...
Loading select (native compiled elisp)...
Loading emacs-lisp/timer (native compiled elisp)...
Loading emacs-lisp/easymenu (native compiled elisp)...
Loading isearch (native compiled elisp)...
Loading rfn-eshadow (native compiled elisp)...
Loading menu-bar (native compiled elisp)...
Loading tab-bar (native compiled elisp)...
Loading emacs-lisp/lisp (native compiled elisp)...
Loading textmodes/page (native compiled elisp)...
Loading register (native compiled elisp)...
Loading textmodes/paragraphs (native compiled elisp)...
Loading progmodes/prog-mode (native compiled elisp)...
Loading emacs-lisp/lisp-mode (native compiled elisp)...
Loading textmodes/text-mode (native compiled elisp)...
Loading textmodes/fill (native compiled elisp)...
Loading newcomment (native compiled elisp)...
Loading replace (native compiled elisp)...
Loading emacs-lisp/tabulated-list (native compiled elisp)...
Loading buff-menu (native compiled elisp)...
Loading fringe (native compiled elisp)...
Loading emacs-lisp/regexp-opt (native compiled elisp)...
Loading image (native compiled elisp)...
Loading international/fontset (native compiled elisp)...
Loading dnd (native compiled elisp)...
Loading tool-bar (native compiled elisp)...
Loading dynamic-setting (native compiled elisp)...
Loading touch-screen (native compiled elisp)...
Loading pgtk-dnd (native compiled elisp)...
Loading term/common-win (native compiled elisp)...
Loading term/pgtk-win (native compiled elisp)...
Loading mwheel (native compiled elisp)...
Loading progmodes/elisp-mode (native compiled elisp)...
Loading emacs-lisp/float-sup (native compiled elisp)...
Loading vc/vc-hooks (native compiled elisp)...
Loading vc/ediff-hook (native compiled elisp)...
Loading uniquify (native compiled elisp)...
Loading electric (native compiled elisp)...
Loading paren (native compiled elisp)...
Loading emacs-lisp/shorthands (native compiled elisp)...
Loading emacs-lisp/eldoc (native compiled elisp)...
Loading emacs-lisp/cconv (native compiled elisp)...
Loading cus-start (native compiled elisp)...
Loading tooltip (native compiled elisp)...
Loading international/iso-transl (native compiled elisp)...
Loading leim/leim-list.el (source)...
Loading emacs-lisp/rmc (native compiled elisp)...
Waiting for git...
Waiting for git...
Finding pointers to doc strings...
Finding pointers to doc strings...done
Pure-hashed: 15927 strings, 1875 vectors, 49515 conses, 1163 bytecodes, 366 others
Dumping under the name emacs.pdmp
Dumping fingerprint: 667a284fa0325fc3823799fe227027debddcfd68cfa4f100a91dd9aaec64e940
Dump complete
Byte counts: header=100 hot=10006724 discardable=201712 cold=5980456
Reloc counts: hot=580789 discardable=5516
Adding name emacs-30.0.50.3
Adding name emacs-30.0.50.3.pdmp
make[2]: Leaving directory '/home/main/git/emacs/src'
make -C lisp all
make[2]: Entering directory '/home/main/git/emacs/lisp'
make -C ../leim all EMACS="../src/emacs"
make -C ../admin/grammars all EMACS="../../src/emacs"
make[3]: Entering directory '/home/main/git/emacs/admin/grammars'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/main/git/emacs/admin/grammars'
make[3]: Entering directory '/home/main/git/emacs/leim'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/main/git/emacs/leim'
  GEN      autoloads
make[3]: Entering directory '/home/main/git/emacs/lisp'
make[3]: Nothing to be done for 'compile-targets'.
make[3]: Leaving directory '/home/main/git/emacs/lisp'
make[3]: Entering directory '/home/main/git/emacs/doc/misc'
make[3]: 'org.texi' is up to date.
make[3]: 'modus-themes.texi' is up to date.
make[3]: Leaving directory '/home/main/git/emacs/doc/misc'
make[3]: Entering directory '/home/main/git/emacs/leim'
  GEN      small-ja-dic-option
make[3]: Leaving directory '/home/main/git/emacs/leim'
make[3]: Entering directory '/home/main/git/emacs/lisp'
make[3]: Nothing to be done for 'compile-targets'.
make[3]: Leaving directory '/home/main/git/emacs/lisp'
  INFO     Scraping files for loaddefs... 
  INFO     Scraping files for loaddefs...done
  INFO     Scraping files for loaddefs... 
  INFO     Scraping files for loaddefs...done
make[3]: Entering directory '/home/main/git/emacs/lisp'
make[3]: Nothing to be done for 'compile-targets'.
make[3]: Leaving directory '/home/main/git/emacs/lisp'
make[2]: Leaving directory '/home/main/git/emacs/lisp'
make -C doc/misc info
make -C src BIN_DESTDIR=''/usr/local/bin/'' ELN_DESTDIR='/usr/local/lib/emacs/30.0.50/'
make[2]: Entering directory '/home/main/git/emacs/doc/misc'
make[2]: Nothing to be done for 'info'.
make[2]: Leaving directory '/home/main/git/emacs/doc/misc'
make[2]: Entering directory '/home/main/git/emacs/src'
make -C ../admin/charsets all
make -C ../admin/unidata charscript.el
make -C ../admin/unidata emoji-zwj.el
make[3]: Entering directory '/home/main/git/emacs/admin/unidata'
make[3]: Entering directory '/home/main/git/emacs/admin/unidata'
make -C ../admin/charsets cp51932.el
make -C ../admin/charsets eucjp-ms.el
make[3]: Entering directory '/home/main/git/emacs/admin/charsets'
make[3]: Nothing to be done for 'cp51932.el'.
make[3]: Leaving directory '/home/main/git/emacs/admin/charsets'
make[3]: Entering directory '/home/main/git/emacs/admin/charsets'
make[3]: Nothing to be done for 'eucjp-ms.el'.
make[3]: Leaving directory '/home/main/git/emacs/admin/charsets'
make[3]: Nothing to be done for 'charscript.el'.
make[3]: Leaving directory '/home/main/git/emacs/admin/unidata'
make[3]: Nothing to be done for 'emoji-zwj.el'.
make[3]: Leaving directory '/home/main/git/emacs/admin/unidata'
make[3]: Entering directory '/home/main/git/emacs/admin/charsets'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/main/git/emacs/admin/charsets'
make -C ../admin/unidata all EMACS="../../src/bootstrap-emacs"
make[3]: Entering directory '/home/main/git/emacs/admin/unidata'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/main/git/emacs/admin/unidata'
make[2]: Leaving directory '/home/main/git/emacs/src'
make[1]: Leaving directory '/home/main/git/emacs'
make sanity-check make-target=all
make[1]: Entering directory '/home/main/git/emacs'
make[1]: Leaving directory '/home/main/git/emacs'

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* bug#66851: 30.0.50; Building emacs with native compilation fails
  2023-10-31 18:59 ` Eli Zaretskii
  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
  1 sibling, 1 reply; 5+ messages in thread
From: Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-10-31 21:36 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Nikos Patikas, 66851

>> During make, I get a huge lisp code truncation followed by this error
>> message:
>> 
>> Symbol’s function definition is void: cl-find-class
> 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.

Won't be necessary, I see the problem.
I'll commit a fix ASAP,


        Stefan






^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#66851: 30.0.50; Building emacs with native compilation fails
  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
  0 siblings, 0 replies; 5+ messages in thread
From: Andrea Corallo @ 2023-11-01  8:35 UTC (permalink / raw)
  To: 66851; +Cc: Eli Zaretskii, Nikos Patikas, Stefan Monnier, 66851-done

Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of
text editors" <bug-gnu-emacs@gnu.org> writes:

>>> During make, I get a huge lisp code truncation followed by this error
>>> message:
>>> 
>>> Symbol’s function definition is void: cl-find-class
>> 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.
>
> Won't be necessary, I see the problem.
> I'll commit a fix ASAP,
>
>
>         Stefan

I confirm bootstrap works here with b93f931e9e9 so closing.

Everything in the native compiler is very senstitive, please remember to
try a bootstrap always when touching it.

Thanks

  Andrea





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-11-01  8:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).