d12frosted / homebrew-emacs-plus

Emacs Plus formulae for the Homebrew package manager
MIT License
2.38k stars 187 forks source link

[Build Failure]: emacs-plus@29 & emacs-plus@30 #752

Closed angelporo closed 1 week ago

angelporo commented 1 week ago

Version

emacs-plus@30

Make sure to follow these steps before submitting the issue

What happened?

$ brew install emacs-plus@30 --with-elrumo2-icon --with-ctags --with-native-comp
brew install emacs-plus@30 --with-elrumo2-icon --with-ctags --with-native-comp --with-ctags --with-no-frame-refocus ==> Downloading https://formulae.brew.sh/api/formula.jws.json ######################################################################################################################### 100.0% Warning: The option --with-no-frame-refocus is not required anymore in emacs-plus@30. ==> Downloading https://formulae.brew.sh/api/cask.jws.json ######################################################################################################################### 100.0% ==> Fetching d12frosted/emacs-plus/emacs-plus@30 ==> Downloading https://alpha.gnu.org/gnu/emacs/pretest/emacs-30.0.92.tar.xz Already downloaded: /Users/liyuan/Library/Caches/Homebrew/downloads/f0ddc00eee021697abf7ae1d058a551e59681d3ea7773f733b0644984de68ca3--emacs-30.0.92.tar.xz ==> Installing emacs-plus@30 from d12frosted/emacs-plus Warning: The option --with-no-frame-refocus is not required anymore in emacs-plus@30. ==> Patching ==> Applying fix-window-role.patch ==> Applying system-appearance.patch ==> Applying round-undecorated-frame.patch ==> ./autogen.sh ==> ./configure --disable-silent-rules --enable-locallisppath=/usr/local/share/emacs/site-lisp --infodir=/usr/local/Cellar/emacs ==> gmake Last 15 lines from /Users/liyuan/Library/Logs/Homebrew/emacs-plus@30/03.gmake: gmake[1]: *** Waiting for unfinished jobs.... gmake[2]: Leaving directory '/private/tmp/emacs-plusA30-20241114-8162-3mrecq/emacs-30.0.92/doc/lispref' gmake[1]: Leaving directory '/private/tmp/emacs-plusA30-20241114-8162-3mrecq/emacs-30.0.92' gmake[1]: Entering directory '/private/tmp/emacs-plusA30-20241114-8162-3mrecq/emacs-30.0.92' *** *** "make all" failed with exit status 2. *** *** You could try to: *** - run "make bootstrap", which might fix the problem *** - run "make V=1", which displays the full commands invoked by make, *** to further investigate the problem *** gmake[1]: *** [Makefile:418: advice-on-failure] Error 2 gmake[1]: Leaving directory '/private/tmp/emacs-plusA30-20241114-8162-3mrecq/emacs-30.0.92' gmake: *** [Makefile:374: all] Error 2 If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core): https://github.com/d12frosted/homebrew-emacs-plus/issues These open issues may also help: [Build Failure]: emacs-plus@29 & emacs-plus@30 https://github.com/d12frosted/homebrew-emacs-plus/issues/752 [General]: exec-paths not being set in Sequoia for emacs-plus@30 https://github.com/d12frosted/homebrew-emacs-plus/issues/720

brew doctor output

Warning: Suspicious https://github.com/Homebrew/brew git origin remote found. The current git origin is: git@github.com:Homebrew/brew.git

With a non-standard origin, Homebrew won't update properly. You can solve this by setting the origin remote: git -C "/usr/local/Homebrew" remote set-url origin https://github.com/Homebrew/brew

Warning: Some installed casks are deprecated or disabled. You should find replacements for the following casks: not-pacman spectacle

Warning: Some installed kegs have no formulae! This means they were either deleted or installed manually. You should find replacements for the following formulae: volar

Warning: Some installed formulae are deprecated or disabled. You should find replacements for the following formulae: openssl@1.1

Warning: You have the following deprecated, official taps tapped: Homebrew/homebrew-cask-versions Untap them with brew untap.

Warning: Unbrewed header files were found in /usr/local/include. If you didn't put them there on purpose they could cause problems when building Homebrew formulae and may need to be deleted.

brew config output

brew config HOMEBREW_VERSION: 4.4.5 ORIGIN: git@github.com:Homebrew/brew.git HEAD: 254bf3fe9d8fa2e1b2fb55dbcf535b2d870180c4 Last commit: 2 days ago Core tap JSON: 13 Nov 09:13 UTC Core cask tap JSON: 13 Nov 09:13 UTC HOMEBREW_PREFIX: /usr/local HOMEBREW_CASK_OPTS: [] HOMEBREW_MAKE_JOBS: 12 http_proxy: http://127.0.0.1:1087 https_proxy: http://127.0.0.1:1087 Homebrew Ruby: 3.3.6 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/3.3.6/bin/ruby CPU: dodeca-core 64-bit kabylake Clang: 16.0.0 build 1600 Git: 2.39.1 => /usr/local/bin/git Curl: 8.7.1 => /usr/bin/curl macOS: 15.1-x86_64 CLT: 16.1.0.0.1.1729049160 Xcode: 16.1

Any extra information

No response

d12frosted commented 1 week ago

Can you give it another try? But make sure to run brew update beforehand.

angelporo commented 1 week ago

Using brew install emacs-plus@30 alone, as well as brew install emacs-plus@30 --with-elrumo2-icon --with-ctags --with-no-frame-refocus, successfully built emacs-plus@30

thankYou