[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Intermitten build problems on Macos
From: |
Philipp |
Subject: |
Re: Intermitten build problems on Macos |
Date: |
Tue, 9 Nov 2021 11:37:38 +0100 |
> Am 09.11.2021 um 06:21 schrieb Lars Ingebrigtsen <larsi@gnus.org>:
>
> It seems like half the times I say "git pull; make" on Macos, it all
> ends with this:
>
> make[2]: *** [../lisp/emacs-lisp/cl-generic.elc] Error 137
> make[1]: *** [../lisp/emacs-lisp/cl-generic.elc] Error 2
> /bin/sh: line 1: 31725 Killed: 9 EMACSLOADPATH=
> '../src/bootstrap-emacs' -batch --no-site-file --no-site-lisp -l autoload
> --eval '(setq autoload-ensure-writable t)' --eval '(setq
> autoload-builtin-package-versions t)' --eval '(setq generated-autoload-file
> (expand-file-name (unmsys--file-name "loaddefs.el")))' -f
> batch-update-autoloads . ./calc ./calendar ./cedet ./cedet/ede
> ./cedet/semantic ./cedet/semantic/analyze ./cedet/semantic/bovine
> ./cedet/semantic/decorate ./cedet/semantic/symref ./cedet/semantic/wisent
> ./cedet/srecode ./emacs-lisp ./emulation ./erc ./eshell ./gnus ./image
> ./international ./language ./leim ./leim/ja-dic ./leim/quail ./mail ./mh-e
> ./net ./nxml ./org ./play ./progmodes ./textmodes ./url ./vc
> make[2]: *** [loaddefs.el] Error 137
> make[1]: *** [../lisp/loaddefs.el] Error 2
> make: *** [src] Error 2
> make: *** Waiting for unfinished jobs....
>
>
> If I say "make bootstrap", then it builds fine.
>
> Is anybody seeing the same?
Yes, this happens to me all the time. Deleting bootstrap-emacs also fixes it
temporarily. The problem is generally that bootstrap-emacs is occasionally not
properly codesigned. See e.g. this crash report:
Process: bootstrap-emacs [44123]
Path: /Users/USER/*/bootstrap-emacs
Identifier: bootstrap-emacs
Version: ???
Code Type: ARM-64 (Native)
Parent Process: Exited process [44122]
Responsible: Terminal [14989]
User ID: 501
Date/Time: 2021-11-07 16:31:28.3870 +0100
OS Version: macOS 12.0.1 (21A559)
Report Version: 12
Anonymous UUID: [...]
Sleep/Wake UUID: [...]
Time Awake Since Boot: 520000 seconds
Time Since Wake: 3082 seconds
System Integrity Protection: enabled
Crashed Thread: 0
Exception Type: EXC_BAD_ACCESS (SIGKILL (Code Signature Invalid))
Exception Codes: UNKNOWN_0x32 at 0x0000000105084008
Exception Codes: 0x0000000000000032, 0x0000000105084008
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: Namespace CODESIGNING, Code 2