* [bootstrap-emacs.pdmp] Killed: 9
@ 2021-03-27 16:28 Jeffrey Walton
2021-03-27 16:54 ` Philipp
2021-03-27 16:54 ` Jeffrey Walton
0 siblings, 2 replies; 5+ messages in thread
From: Jeffrey Walton @ 2021-03-27 16:28 UTC (permalink / raw)
To: Emacs developers
Hi Everyone,
I'm building Emacs 27.2 on the Apple M1 machine. (Thanks for
--without-ns). 'make' is failing with the following. I am not at the
'make check' step (yet). It looks like this issue:
https://github.com/d12frosted/homebrew-emacs-plus/issues/292#issuecomment-751451010.
gmake -C ../lisp update-subdirs
gmake[2]: Entering directory `/Users/jwalton/Build-Scripts/emacs-27.2/lisp'
for file in . ./calc ./calendar ./emacs-lisp ./emulation ./erc
./eshell ./gnus ./image ./international ./language ./mail ./mh-e ./net
./nxml ./obsolete ./org ./play ./progmodes ./term ./textmodes ./url
./vc; do \
./../build-aux/update-subdirs $file; \
done;
gmake[2]: Leaving directory `/Users/jwalton/Build-Scripts/emacs-27.2/lisp'
cp -f temacs bootstrap-emacs
rm -f bootstrap-emacs.pdmp
./temacs --batch -l loadup --temacs=pbootstrap
gmake[1]: *** [bootstrap-emacs.pdmp] Killed: 9
Jeff
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [bootstrap-emacs.pdmp] Killed: 9
2021-03-27 16:28 [bootstrap-emacs.pdmp] Killed: 9 Jeffrey Walton
@ 2021-03-27 16:54 ` Philipp
2021-03-27 16:54 ` Jeffrey Walton
1 sibling, 0 replies; 5+ messages in thread
From: Philipp @ 2021-03-27 16:54 UTC (permalink / raw)
To: noloader; +Cc: Emacs developers
> Am 27.03.2021 um 17:28 schrieb Jeffrey Walton <noloader@gmail.com>:
>
> Hi Everyone,
>
> I'm building Emacs 27.2 on the Apple M1 machine. (Thanks for
> --without-ns). 'make' is failing with the following. I am not at the
> 'make check' step (yet). It looks like this issue:
> https://github.com/d12frosted/homebrew-emacs-plus/issues/292#issuecomment-751451010.
>
> gmake -C ../lisp update-subdirs
> gmake[2]: Entering directory `/Users/jwalton/Build-Scripts/emacs-27.2/lisp'
> for file in . ./calc ./calendar ./emacs-lisp ./emulation ./erc
> ./eshell ./gnus ./image ./international ./language ./mail ./mh-e ./net
> ./nxml ./obsolete ./org ./play ./progmodes ./term ./textmodes ./url
> ./vc; do \
> ./../build-aux/update-subdirs $file; \
> done;
> gmake[2]: Leaving directory `/Users/jwalton/Build-Scripts/emacs-27.2/lisp'
> cp -f temacs bootstrap-emacs
> rm -f bootstrap-emacs.pdmp
> ./temacs --batch -l loadup --temacs=pbootstrap
> gmake[1]: *** [bootstrap-emacs.pdmp] Killed: 9
>
>
This is typically caused by temacs or bootstrap-emacs not being correctly codesigned. For me, removing these binaries fixes the issue temporarily (as the files will be regenerated and codesigned), but I don't know how to fix the problem permanently.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [bootstrap-emacs.pdmp] Killed: 9
2021-03-27 16:28 [bootstrap-emacs.pdmp] Killed: 9 Jeffrey Walton
2021-03-27 16:54 ` Philipp
@ 2021-03-27 16:54 ` Jeffrey Walton
1 sibling, 0 replies; 5+ messages in thread
From: Jeffrey Walton @ 2021-03-27 16:54 UTC (permalink / raw)
To: Emacs developers
On Sat, Mar 27, 2021 at 12:28 PM Jeffrey Walton <noloader@gmail.com> wrote:
>
> Hi Everyone,
>
> I'm building Emacs 27.2 on the Apple M1 machine. (Thanks for
> --without-ns). 'make' is failing with the following. I am not at the
> 'make check' step (yet). It looks like this issue:
> https://github.com/d12frosted/homebrew-emacs-plus/issues/292#issuecomment-751451010.
>
> gmake -C ../lisp update-subdirs
> gmake[2]: Entering directory `/Users/jwalton/Build-Scripts/emacs-27.2/lisp'
> for file in . ./calc ./calendar ./emacs-lisp ./emulation ./erc
> ./eshell ./gnus ./image ./international ./language ./mail ./mh-e ./net
> ./nxml ./obsolete ./org ./play ./progmodes ./term ./textmodes ./url
> ./vc; do \
> ./../build-aux/update-subdirs $file; \
> done;
> gmake[2]: Leaving directory `/Users/jwalton/Build-Scripts/emacs-27.2/lisp'
> cp -f temacs bootstrap-emacs
> rm -f bootstrap-emacs.pdmp
> ./temacs --batch -l loadup --temacs=pbootstrap
> gmake[1]: *** [bootstrap-emacs.pdmp] Killed: 9
So I had to set CODESIGN=yes unconditionally on the M1:
if [[ "${IS_DARWIN}" -eq 1 ]]; then
file=src/Makefile
cp -p "${file}" "${file}.fixed"
sed 's/DO_CODESIGN=.*/DO_CODESIGN=yes/g' "${file}" > "${file}.fixed"
mv "${file}.fixed" "${file}"
fi
DO_CODESIGN=no produced the same error.
The odd thing (to me) is, I don't have Xcode installed or a developer
account. I have Command Line Tools (CLT) installed, which is a basic
toolchain, but that is it. There is no way to sign anything on my M1.
Jeff
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [bootstrap-emacs.pdmp] Killed: 9
@ 2021-03-31 12:19 Boris
2021-03-31 12:30 ` Eli Zaretskii
0 siblings, 1 reply; 5+ messages in thread
From: Boris @ 2021-03-31 12:19 UTC (permalink / raw)
To: emacs-devel@gnu.org
Hi,
I noticed this error as well and reverting fda9b3e83a434706c31ab1bee5c15511c0181d5a fixed the issue.
e.g.
---
src/Makefile.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Makefile.in b/src/Makefile.in
index 39fd708564..c66e67447a 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -339,7 +339,7 @@ HAVE_PDUMPER = @HAVE_PDUMPER@
## ARM Macs require that all code have a valid signature. Since pump
## invalidates the signature, we must re-sign to fix it.
-DO_CODESIGN=$(patsubst arm-apple-darwin%,yes,@configuration@)
+DO_CODESIGN=$(patsubst aarch64-apple-darwin%,yes,@configuration@)
# 'make' verbosity.
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
--
Cheers,
boris@d12frosted.io
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [bootstrap-emacs.pdmp] Killed: 9
2021-03-31 12:19 Boris
@ 2021-03-31 12:30 ` Eli Zaretskii
0 siblings, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2021-03-31 12:30 UTC (permalink / raw)
To: Boris; +Cc: emacs-devel
> Date: Wed, 31 Mar 2021 12:19:07 +0000
> From: Boris <boris@d12frosted.io>
>
> I noticed this error as well and reverting fda9b3e83a434706c31ab1bee5c15511c0181d5a fixed the issue.
This is already fixed on master, are you using the latest Git repo?
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-03-31 12:30 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-27 16:28 [bootstrap-emacs.pdmp] Killed: 9 Jeffrey Walton
2021-03-27 16:54 ` Philipp
2021-03-27 16:54 ` Jeffrey Walton
-- strict thread matches above, loose matches on Subject: below --
2021-03-31 12:19 Boris
2021-03-31 12:30 ` Eli Zaretskii
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.