[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bootstrap-emacs.pdmp] Killed: 9
From: |
Jeffrey Walton |
Subject: |
Re: [bootstrap-emacs.pdmp] Killed: 9 |
Date: |
Sat, 27 Mar 2021 12:54:37 -0400 |
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