Homebrew-emacs-plus: Can't install due to some makeinfo problems

Created on 2 Jan 2017  路  10Comments  路  Source: d12frosted/homebrew-emacs-plus

Sorry for dumping entire log of the command, I thought verbose log would be helpful.
note the lines:

configure: error: You do not seem to have makeinfo >= 4.13, and your
source tree does not seem to have pre-built manuals in the 'info' directory.
Either install a suitable version of makeinfo, or re-run configure
with the '--without-makeinfo' option to build without the manuals. 

I've tried brew install texinfo and then brew ln texinfo --force and now makeinfo --version shows texi2any (GNU texinfo) 6.3, but installing emacs-plus still fails

@d12frosted Can you give me and insight of what's missing on my machine (OS X El Capitan)? Until recently everything worked fine. Thanks!

brew reinstall emacs-plus --HEAD --verbose

rm /usr/local/bin/ebrowse
rm /usr/local/bin/emacs
rm /usr/local/bin/emacs-26.0.50
rm /usr/local/bin/emacsclient
rm /usr/local/bin/etags
rm /usr/local/lib/systemd
rm /usr/local/share/appdata
rm /usr/local/share/applications/emacs.desktop
rm /usr/local/share/emacs/26.0.50
rm /usr/local/share/emacs/site-lisp/subdirs.el
rm /usr/local/share/icons/hicolor/128x128/apps/emacs.png
rm /usr/local/share/icons/hicolor/16x16/apps/emacs.png
rm /usr/local/share/icons/hicolor/24x24/apps/emacs.png
rm /usr/local/share/icons/hicolor/32x32/apps/emacs.png
rm /usr/local/share/icons/hicolor/48x48/apps/emacs.png
rm /usr/local/share/icons/hicolor/scalable/apps/emacs.svg
rm /usr/local/share/icons/hicolor/scalable/mimetypes/emacs-document.svg
rm /usr/local/share/icons/hicolor/scalable/mimetypes/emacs-document23.svg
rm /usr/local/share/info/emacs
rm /usr/local/share/man/man1/ebrowse.1.gz
rm /usr/local/share/man/man1/emacs.1.gz
rm /usr/local/share/man/man1/emacsclient.1.gz
rm /usr/local/share/man/man1/etags.1.gz
rmdir /usr/local/share/icons/hicolor/scalable/mimetypes
rmdir /usr/local/share/icons/hicolor/scalable/apps
rmdir /usr/local/share/icons/hicolor/scalable
rmdir /usr/local/share/icons/hicolor/48x48/apps
rmdir /usr/local/share/icons/hicolor/48x48
rmdir /usr/local/share/icons/hicolor/32x32/apps
rmdir /usr/local/share/icons/hicolor/32x32
rmdir /usr/local/share/icons/hicolor/24x24/apps
rmdir /usr/local/share/icons/hicolor/24x24
rmdir /usr/local/share/icons/hicolor/16x16/apps
rmdir /usr/local/share/icons/hicolor/16x16
rmdir /usr/local/share/icons/hicolor/128x128/apps
rmdir /usr/local/share/icons/hicolor/128x128
rmdir /usr/local/share/icons/hicolor
rmdir /usr/local/share/icons
rmdir /usr/local/share/applications
==> Reinstalling d12frosted/emacs-plus/emacs-plus 
==> Cloning https://github.com/emacs-mirror/emacs.git
Updating /Users/ag.ibragimov/Library/Caches/Homebrew/emacs-plus--git
git config remote.origin.url https://github.com/emacs-mirror/emacs.git
git config remote.origin.fetch +refs/heads/master:refs/remotes/origin/master
git fetch origin
==> Checking out branch master
git checkout -f master --
Your branch is up-to-date with 'origin/master'.
git reset --hard origin/master
HEAD is now at eb3416016b * nt/gnulib.mk (stdint.h): Update to match lib/gnulib.mk here.
==> ./autogen.sh
Checking whether you have the necessary tools...
(Read INSTALL.REPO for more details on building Emacs)
Checking for autoconf (need at least version 2.65)...
ok
Checking for automake (need at least version 1.11)...
ok
Your system has the required tools.
Running 'autoreconf -fi -I m4' ...
configure.ac:802: installing 'build-aux/ar-lib'
configure.ac:139: installing 'build-aux/config.guess'
configure.ac:139: installing 'build-aux/config.sub'
configure.ac:136: installing 'build-aux/install-sh'
configure.ac:136: installing 'build-aux/missing'
lib/Makefile.am: installing 'build-aux/depcomp'
You can now run './autogen.sh git'.
==> ./configure --disable-dependency-tracking --disable-silent-rules --enable-locallisppath=/usr/local/share/emacs/site-lisp --infodir=/usr/local/Cellar/emacs-plus/HEAD-eb34160/share/info/emacs --prefix=/usr/local/Cellar/emacs-plus/HEAD-eb34160 --with-xml2 --without-dbus --with-gnutls --with-imagemagick --with-modules --with-rsvg --with-ns --disable-ns-self-contained
checking for xcrun... xcrun
checking for make... yes
checking for GNU Make... make
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-apple-darwin15.6.0
checking host system type... x86_64-apple-darwin15.6.0
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to enable C11 features... none needed
checking for style of include used by make... GNU
checking dependency style of clang... none
checking for ar... ar
checking for putenv... yes
checking for sbrk... yes
checking for tzset... yes
checking for fchmod... yes
checking for readlinkat... yes
checking for faccessat... yes
checking for fcntl... yes
checking for fdopendir... yes
checking for fstatat... yes
checking for fsync... yes
checking for gettimeofday... yes
checking for nanotime... no
checking for lstat... yes
checking for mkostemp... (cached) no
checking for pipe2... no
checking for pselect... yes
checking for readlink... yes
checking for strtoimax... yes
checking for strtoumax... yes
checking for symlink... yes
checking for localtime_r... yes
checking for timegm... yes
checking for futimes... yes
checking for futimesat... no
checking for futimens... no
checking for utimensat... no
checking for lutimes... yes
checking for getdtablesize... yes
checking for secure_getenv... no
checking for getuid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getegid... yes
checking how to run the C preprocessor... clang -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for Minix Amsterdam compiler... no
checking the archiver (ar) interface... ar
checking for ranlib... ranlib
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether clang accepts -g3 -O2... yes
checking whether the compiler is clang... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... yes
checking whether C compiler handles -Wno-switch... yes
checking whether C compiler handles -Wno-tautological-constant-out-of-range-compare... yes
checking whether C compiler handles -Wno-pointer-sign... yes
checking whether C compiler handles -Wno-string-plus-int... yes
checking whether C compiler handles -Wno-unknown-attributes... yes
checking whether make supports nested variables... (cached) yes
checking whether ln -s works for files in the same directory... yes
checking for install-info... :
checking for gzip... /usr/bin/gzip
configure: error: You do not seem to have makeinfo >= 4.13, and your
source tree does not seem to have pre-built manuals in the 'info' directory.
Either install a suitable version of makeinfo, or re-run configure
with the '--without-makeinfo' option to build without the manuals. 
ln -s ../Cellar/emacs-plus/HEAD-112460d/bin/ebrowse ebrowse
ln -s ../Cellar/emacs-plus/HEAD-112460d/bin/emacs emacs
ln -s ../Cellar/emacs-plus/HEAD-112460d/bin/emacs-26.0.50 emacs-26.0.50
ln -s ../Cellar/emacs-plus/HEAD-112460d/bin/emacsclient emacsclient
ln -s ../Cellar/emacs-plus/HEAD-112460d/bin/etags etags
ln -s ../Cellar/emacs-plus/HEAD-112460d/share/appdata appdata
mkdir -p /usr/local/share/applications
ln -s ../../Cellar/emacs-plus/HEAD-112460d/share/applications/emacs.desktop emacs.desktop
ln -s ../../Cellar/emacs-plus/HEAD-112460d/share/emacs/26.0.50 26.0.50
ln -s ../../../Cellar/emacs-plus/HEAD-112460d/share/emacs/site-lisp/subdirs.el subdirs.el
mkdir -p /usr/local/share/icons
mkdir -p /usr/local/share/icons/hicolor
mkdir -p /usr/local/share/icons/hicolor/128x128
mkdir -p /usr/local/share/icons/hicolor/128x128/apps
ln -s ../../../../../Cellar/emacs-plus/HEAD-112460d/share/icons/hicolor/128x128/apps/emacs.png emacs.png
mkdir -p /usr/local/share/icons/hicolor/16x16
mkdir -p /usr/local/share/icons/hicolor/16x16/apps
ln -s ../../../../../Cellar/emacs-plus/HEAD-112460d/share/icons/hicolor/16x16/apps/emacs.png emacs.png
mkdir -p /usr/local/share/icons/hicolor/24x24
mkdir -p /usr/local/share/icons/hicolor/24x24/apps
ln -s ../../../../../Cellar/emacs-plus/HEAD-112460d/share/icons/hicolor/24x24/apps/emacs.png emacs.png
mkdir -p /usr/local/share/icons/hicolor/32x32
mkdir -p /usr/local/share/icons/hicolor/32x32/apps
ln -s ../../../../../Cellar/emacs-plus/HEAD-112460d/share/icons/hicolor/32x32/apps/emacs.png emacs.png
mkdir -p /usr/local/share/icons/hicolor/48x48
mkdir -p /usr/local/share/icons/hicolor/48x48/apps
ln -s ../../../../../Cellar/emacs-plus/HEAD-112460d/share/icons/hicolor/48x48/apps/emacs.png emacs.png
mkdir -p /usr/local/share/icons/hicolor/scalable
mkdir -p /usr/local/share/icons/hicolor/scalable/apps
ln -s ../../../../../Cellar/emacs-plus/HEAD-112460d/share/icons/hicolor/scalable/apps/emacs.svg emacs.svg
mkdir -p /usr/local/share/icons/hicolor/scalable/mimetypes
ln -s ../../../../../Cellar/emacs-plus/HEAD-112460d/share/icons/hicolor/scalable/mimetypes/emacs-document.svg emacs-document.svg
ln -s ../../../../../Cellar/emacs-plus/HEAD-112460d/share/icons/hicolor/scalable/mimetypes/emacs-document23.svg emacs-document23.svg
ln -s ../../Cellar/emacs-plus/HEAD-112460d/share/info/emacs emacs
ln -s ../../../Cellar/emacs-plus/HEAD-112460d/share/man/man1/ebrowse.1.gz ebrowse.1.gz
ln -s ../../../Cellar/emacs-plus/HEAD-112460d/share/man/man1/emacs.1.gz emacs.1.gz
ln -s ../../../Cellar/emacs-plus/HEAD-112460d/share/man/man1/emacsclient.1.gz emacsclient.1.gz
ln -s ../../../Cellar/emacs-plus/HEAD-112460d/share/man/man1/etags.1.gz etags.1.gz
ln -s ../Cellar/emacs-plus/HEAD-112460d/lib/systemd systemd

==> Formula
Tap: d12frosted/emacs-plus
Path: /usr/local/Homebrew/Library/Taps/d12frosted/homebrew-emacs-plus/Formula/emacs-plus.rb
==> Configuration
HOMEBREW_VERSION: 1.1.5
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: 9cd5a21b473f0271b162bbe7f77f7d1468c0cfa1
Last commit: 3 weeks ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 89d4961d7f3d64874512094ee108733ddf87ccdb
Core tap last commit: 3 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local/Homebrew
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: quad-core 64-bit haswell
Homebrew Ruby: 2.0.0-p648
Clang: 8.0 build 800
Git: 2.11.0 => /usr/local/bin/git
Perl: /usr/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /Users/ag.ibragimov/.rvm/rubies/ruby-2.2.1/bin/ruby
Java: 1.8.0_74
macOS: 10.11.6-x86_64
Xcode: 8.2.1
CLT: 8.2.0.0.1.1480973914
X11: N/A
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
SDKROOT: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
MAKEFLAGS: -j4
CMAKE_PREFIX_PATH: /usr/local/opt/libffi:/usr/local/opt/gettext:/usr/local/opt/icu4c:/usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
MACOSX_DEPLOYMENT_TARGET: 10.11
PKG_CONFIG_PATH: /usr/local/opt/libtasn1/lib/pkgconfig:/usr/local/opt/nettle/lib/pkgconfig:/usr/local/opt/libffi/lib/pkgconfig:/usr/local/opt/p11-kit/lib/pkgconfig:/usr/local/opt/gnutls/lib/pkgconfig:/usr/local/opt/libpng/lib/pkgconfig:/usr/local/opt/freetype/lib/pkgconfig:/usr/local/opt/fontconfig/lib/pkgconfig:/usr/local/opt/pixman/lib/pkgconfig:/usr/local/opt/pcre/lib/pkgconfig:/usr/local/opt/glib/lib/pkgconfig:/usr/local/opt/cairo/lib/pkgconfig:/usr/local/opt/libtiff/lib/pkgconfig:/usr/local/opt/gobject-introspection/lib/pkgconfig:/usr/local/opt/gdk-pixbuf/lib/pkgconfig:/usr/local/opt/libcroco/lib/pkgconfig:/usr/local/opt/icu4c/lib/pkgconfig:/usr/local/opt/harfbuzz/lib/pkgconfig:/usr/local/opt/pango/lib/pkgconfig:/usr/local/opt/librsvg/lib/pkgconfig:/usr/local/opt/xz/lib/pkgconfig:/usr/local/opt/imagemagick/lib/pkgconfig:/usr/local/opt/shared-mime-info/share/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.11
ACLOCAL_PATH: /usr/local/opt/gettext/share/aclocal:/usr/local/share/aclocal
PATH: /usr/local/Homebrew/Library/Homebrew/shims/super:/usr/local/opt/autoconf/bin:/usr/local/opt/automake/bin:/usr/local/opt/pkg-config/bin:/usr/local/opt/libtasn1/bin:/usr/local/opt/nettle/bin:/usr/local/opt/p11-kit/bin:/usr/local/opt/gnutls/bin:/usr/local/opt/libpng/bin:/usr/local/opt/freetype/bin:/usr/local/opt/fontconfig/bin:/usr/local/opt/gettext/bin:/usr/local/opt/pcre/bin:/usr/local/opt/glib/bin:/usr/local/opt/cairo/bin:/usr/local/opt/jpeg/bin:/usr/local/opt/libtiff/bin:/usr/local/opt/gobject-introspection/bin:/usr/local/opt/shared-mime-info/bin:/usr/local/opt/gdk-pixbuf/bin:/usr/local/opt/libcroco/bin:/usr/local/opt/icu4c/bin:/usr/local/opt/harfbuzz/bin:/usr/local/opt/pango/bin:/usr/local/opt/librsvg/bin:/usr/local/opt/libtool/bin:/usr/local/opt/xz/bin:/usr/local/opt/imagemagick/bin:/usr/local/opt/git/bin:/usr/bin:/bin:/usr/sbin:/sbin

Logs:
     /Users/ag.ibragimov/Library/Logs/Homebrew/emacs-plus/00.options.out
     /Users/ag.ibragimov/Library/Logs/Homebrew/emacs-plus/01.autogen.sh
     /Users/ag.ibragimov/Library/Logs/Homebrew/emacs-plus/02.configure
     /Users/ag.ibragimov/Library/Logs/Homebrew/emacs-plus/02.configure.cc
     /Users/ag.ibragimov/Library/Logs/Homebrew/emacs-plus/config.log
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/d12frosted/homebrew-emacs-plus/issues


Most helpful comment

Cool, they've fixed it!

All 10 comments

interestingly cloning source manually and building it works.

Ok, I cant reproduce it. Gonna check what's wrong with it.

yeah, they seem to have changed something and now I can't build. Tried removing Xcode and xcode dev tools, reinstalling, etc. Still doesn't build ;(

It fails even with emacs formula. So that might be something wrong with emacs formula that needs to be updated (so I can cherry-pick that fix) or something wrong with brew.

Update fix some silly typos

so here's the thing, I've tried cloning git://git.savannah.gnu.org/emacs.git and building manually from master - it works. Whadda hell is brew doing - no clue.

@agzam thanks!

Cool, they've fixed it!

Oh, wait... I still can't build emacs-plus with --HEAD :( formula needs updating, or something?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rudedogg picture rudedogg  路  7Comments

d12frosted picture d12frosted  路  6Comments

MuhmdRaouf picture MuhmdRaouf  路  5Comments

d12frosted picture d12frosted  路  5Comments

nwolfe picture nwolfe  路  6Comments