homebrew-emacs-plus: Fail to install emacs-plus --HEAD
I was on emacs-mac and wanted to try emacs-plus in 27.x version but it fails when making
Command used
brew install --fetch-HEAD emacs-plus --without-spacemacs-icon --HEAD --with-jansson
brew config
HOMEBREW_VERSION: 2.1.7
ORIGIN: https://github.com/Homebrew/brew
HEAD: 2b83463091513826127c14acae81a7c354dfce69
Last commit: 7 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: d08e455f6db75fd80cdece34fe53c640e241c1a4
Core tap last commit: 4 hours ago
HOMEBREW_PREFIX: /usr/local
CPU: octa-core 64-bit haswell
Homebrew Ruby: 2.3.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby
Clang: 10.0 build 1000
Git: 2.22.0 => /usr/local/bin/git
Curl: 7.54.0 => /usr/bin/curl
Java: 1.8.0_212
macOS: 10.13.3-x86_64
CLT: 10.1.0.0.1.1539992718
Xcode: N/A
error
if [ -f "${subdir}/subdirs.el" ]; then true; else umask 022; build-aux/install-sh -c -d "${subdir}"; (echo "(if (fboundp 'normal-top-level-add-subdirs-to-load-path)"; echo " (normal-top-level-add-subdirs-to-load-path))") > "${subdir}/subdirs.el"; fi
subdir="/usr/local/Cellar/emacs-plus/HEAD-d0e558c/share/emacs/site-lisp" ; \
if [ -f "${subdir}/subdirs.el" ]; then true; else umask 022; build-aux/install-sh -c -d "${subdir}"; (echo "(if (fboundp 'normal-top-level-add-subdirs-to-load-path)"; echo " (normal-top-level-add-subdirs-to-load-path))") > "${subdir}/subdirs.el"; fi || true
[ -z "/usr/bin/gzip" ] || { \
echo "Compressing *.el etc. ..." && \
cd "/usr/local/Cellar/emacs-plus/HEAD-d0e558c/share/emacs/27.0.50/lisp" && \
for f in `find . -name "*.elc" -print | sed 's/.elc$/.el/'`; do \
/usr/bin/gzip -9n "$f"; \
done; \
/usr/bin/gzip -9n "../etc/publicsuffix.txt"; \
}
Compressing *.el etc. ...
gzip: can't stat: ../etc/publicsuffix.txt (../etc/publicsuffix.txt): No such file or directory
make: *** [install-arch-indep] Error 1
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/d12frosted/homebrew-emacs-plus/issues
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 17 (7 by maintainers)
@Majenful I am happy to hear that you found a way to install on your setup. Hopefully in the future releases you won’t need to use all these options.
This tends to happen as broken commits can get into HEAD on Emacs. When it happens, I often need to switch back to 26.x and then try building from HEAD in a day or so.