homebrew-emacs-plus: Failures during emacs-29 installation (unrelated to libgccjit discovery)

Please make sure to follow these steps (and mark the checkboxes):

  • run brew update and try to reproduce the issue again
  • run brew doctor, fix all issues and try to reproduce your issue again
  • run brew config and brew doctor and include their output

What you were trying to do

Trying to install emacs version 29

What happened (include command output)

$ brew install emacs-plus@29 --with-native-comp --with-elrumo2-icon
Command output
==> Cloning https://github.com/emacs-mirror/emacs.git
Updating /Users/nano/Library/Caches/Homebrew/emacs-plus@29--git
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at 774880c84c Get rid of `defvar-keymap' in flymake.el
==> Installing emacs-plus@29 from d12frosted/emacs-plus
==> Patching
==> Applying fix-window-role.patch
patching file src/nsterm.m
Hunk #1 succeeded at 9253 (offset 485 lines).
==> Applying system-appearance.patch
patching file src/frame.h
patching file src/nsfns.m
Hunk #1 succeeded at 1373 (offset 117 lines).
patching file src/nsterm.m
Hunk #1 succeeded at 1933 (offset 44 lines).
Hunk #2 succeeded at 5686 (offset 291 lines).
Hunk #3 succeeded at 5974 (offset 333 lines).
Hunk #4 succeeded at 6024 (offset 333 lines).
Hunk #5 succeeded at 6250 (offset 333 lines).
Hunk #6 succeeded at 9586 (offset 684 lines).
Hunk #7 succeeded at 10792 (offset 734 lines).
==> ./autogen.sh
==> ./configure --enable-locallisppath=/usr/local/share/emacs/site-lisp --infodi
==> gmake
Last 15 lines from /Users/nano/Library/Logs/Homebrew/emacs-plus@29/03.gmake:
Loading language/philippine (native compiled elisp)...
Loading language/indonesian (native compiled elisp)...
Loading indent (native compiled elisp)...
Loading emacs-lisp/cl-generic (native compiled elisp)...
Loading simple (native compiled elisp)...
Loading emacs-lisp/nadvice (native compiled elisp)...
Loading minibuffer (native compiled elisp)...
Loading frame (native compiled elisp)...
Loading startup (native compiled elisp)...
Attempt to autoload cl-prin1 while preparing to dump

Error: wrong-type-argument (stringp nil) gmake[1]: *** [Makefile:639: emacs.pdmp] Error 255 gmake[1]: Leaving directory ā€˜/private/tmp/emacs-plusA29-20220530-69588-m0lrzw/sr c’ gmake: *** [Makefile:469: src] Error 2

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core): https://github.com/d12frosted/homebrew-emacs-plus/issues

Output of brew config

$ brew config
HOMEBREW_VERSION: 3.4.11
ORIGIN: https://github.com/Homebrew/brew
HEAD: 30e3d8883cde265cbc16ff94b49a3ac14137590e
Last commit: 3 weeks ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: a119e80feb1ac2ad09d1335c4c7b590012cca927
Core tap last commit: 65 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_CORE_GIT_REMOTE: https://github.com/Homebrew/homebrew-core
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 2.6.8 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: octa-core 64-bit westmere
Clang: 13.1.6 build 1316
Git: 2.32.0 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 7.77.0 => /usr/bin/curl
macOS: 12.2.1-x86_64
CLT: 13.3.0.0.1.1645755326
Xcode: N/A
Rosetta 2: true

Output of brew doctor

$ brew doctor
Your system is ready to brew.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 1
  • Comments: 21 (7 by maintainers)

Most upvoted comments

Getting the same error.

Oh my, every time I hear that uninstalling brew helps to solve issues with it makes me cry. On the other hand, I am happy that it works for you now @mgmarlow.