help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Error incrementally compiling Emacs


From: Alessandro Bertulli
Subject: Error incrementally compiling Emacs
Date: Mon, 14 Nov 2022 00:35:21 +0100
User-agent: mu4e 1.8.9; emacs 29.0.50

Hi all!

I'm trying to upgrade my Emacs. Being on Arch, I have a PKGBUILD script
from AUR (https://aur.archlinux.org/packages/emacs-git) to build the git
version. Issuing the compilation invokes the package build system, in
this case IIUC `make`, and all should be well. However, I have some
errors:

>From stderr:
Source file 
‘/home/alessandro/Downloads/AUR/emacs-git/src/emacs-git/lisp/emacs-lisp/cl-extra.el’
 newer than byte-compiled file; using older file
Source file 
‘/home/alessandro/Downloads/AUR/emacs-git/src/emacs-git/lisp/emacs-lisp/cl-extra.el’
 newer than byte-compiled file; using older file
Source file 
‘/home/alessandro/Downloads/AUR/emacs-git/src/emacs-git/lisp/emacs-lisp/cl-extra.el’
 newer than byte-compiled file; using older file
Source file 
‘/home/alessandro/Downloads/AUR/emacs-git/src/emacs-git/lisp/emacs-lisp/cl-extra.el’
 newer than byte-compiled file; using older file

In toplevel form:
../../lisp/emacs-lisp/cconv.el:88:2: Error: Wrong type argument: stringp, 
(#<buffer  *Compiler Output*>)
make[3]: *** [Makefile:322: ../../lisp/emacs-lisp/cconv.elc] Error 1
make[3]: *** Waiting for unfinished jobs....
Source file 
‘/home/alessandro/Downloads/AUR/emacs-git/src/emacs-git/lisp/emacs-lisp/cl-extra.el’
 newer than byte-compiled file; using older file

In toplevel form:

```

../../lisp/emacs-lisp/macroexp.el:31:2: Error: Wrong type argument: stringp, 
(#<buffer  *Compiler Output*>)
make[3]: *** [Makefile:322: ../../lisp/emacs-lisp/macroexp.elc] Error 1

In toplevel form:
../../lisp/emacs-lisp/byte-opt.el:75:2: Error: Invalid function: (#<buffer  
*Compiler Output*>)
make[3]: *** [Makefile:322: ../../lisp/emacs-lisp/byte-opt.elc] Error 1

In toplevel form:
../../lisp/emacs-lisp/comp.el:206:2: Error: Invalid function: (#<buffer  
*Compiler Output*>)
make[3]: *** [Makefile:322: ../../lisp/emacs-lisp/comp.elc] Error 1

In toplevel form:
../../lisp/emacs-lisp/bytecomp.el:161:2: Error: Invalid function: (#<buffer  
*Compiler Output*>)
make[3]: *** [Makefile:322: ../../lisp/emacs-lisp/bytecomp.elc] Error 1
make[2]: *** [Makefile:915: bootstrap-emacs.pdmp] Error 2
make[1]: *** [Makefile:542: src] Error 2
***
*** "make all" failed with exit status 2.
***
*** You could try to:
*** - run "make bootstrap", which might fix the problem
*** - run "make V=1", which displays the full commands invoked by make,
***   to further investigate the problem
***
make[1]: *** [Makefile:413: advice-on-failure] Error 2
make: *** [Makefile:370: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

```

However, if I tweaked the script correctly, this is already the build
with `V=1`. I can rebuild the entire thing with `make bootstrap`, and it
would probably fix the problem, but I'd lose the precompiled files.

Do you know what can be the issue? Is this the right place to ask? Do
you know what I can further investigate?

Thanks!

-- 
Alessandro Bertulli



reply via email to

[Prev in Thread] Current Thread [Next in Thread]