homebrew-emacs-plus: Build failing with --HEAD (due to imagemagick)

Strangely, I was able to build yesterday, but not today. Here’s where it crashes:

Loading /private/var/tmp/emacs-plus-20191223-29475-3w4xqb/lisp/replace.el (source)...
Loading /private/var/tmp/emacs-plus-20191223-29475-3w4xqb/lisp/emacs-lisp/tabulated-list.el (source)...
Loading /private/var/tmp/emacs-plus-20191223-29475-3w4xqb/lisp/buff-menu.el (source)...
Loading /private/var/tmp/emacs-plus-20191223-29475-3w4xqb/lisp/fringe.el (source)...
Loading /private/var/tmp/emacs-plus-20191223-29475-3w4xqb/lisp/emacs-lisp/regexp-opt.el (source)...
Loading /private/var/tmp/emacs-plus-20191223-29475-3w4xqb/lisp/image.el (source)...
make[1]: *** [bootstrap-emacs.pdmp] Segmentation fault: 11
make: *** [src] Error 2

I’m not able to build the revision I had built yesterday either, so it doesn’t seem like it’s an upstream issue. Maybe it’s just my machine somehow?

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 3
  • Comments: 16 (11 by maintainers)

Most upvoted comments

Confirmed as well, this worked for me:

brew install --fetch-HEAD emacs-plus --HEAD --with-no-titlebar --with-modern-icon --with-jansson --without-spacemacs-icon --without-imagemagick@7

@d12frosted FYI, I ended up compiling it myself, but checked out the emacs-27 branch instead of master. Maybe you could try adding an option for emacs-27 in addition to staying on master? I only used the --fetch-head option to get the 27 features of json support to help with lsp-mode.

Thank you for maintaining this formula, it really helped introduce me to Emacs without getting locked into a very specific distribution like Spacemacs.

@webframp just curious, what is --fetch-HEAD?

Yep, it builds if I comment out all the imagemagick stuff. So just add --without-imagemagick@7 option along with --HEAD and you’ll be fine.

Not sure what exactly is wrong with imagemagick.

I just noticed that master is now version 28 and there is a release branch for 27.

Cut the emacs-27 release branch