Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save BenjaminHCCarr/4780ae3b6e68236eb3b6d4c4718f90be to your computer and use it in GitHub Desktop.
Save BenjaminHCCarr/4780ae3b6e68236eb3b6d4c4718f90be to your computer and use it in GitHub Desktop.
mycroft-core.rb build error
tyr:~/Code/git/Mine/homebrew-tap/Formula (master) benc$ brew install -v ./mycroft-core.rb
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (benjaminhccarr/tap).
==> New Formulae
benjaminhccarr/tap/mycroft-core
==> Downloading https://github.com/MycroftAI/mycroft-core/archive/release/v0.8.8.tar.gz
Already downloaded: /Users/benc/Library/Caches/Homebrew/mycroft-core-0.8.8.tar.gz
==> Verifying mycroft-core-0.8.8.tar.gz checksum
tar xzf /Users/benc/Library/Caches/Homebrew/mycroft-core-0.8.8.tar.gz
==> cp mycroft-base-setup.py setup.py
==> Downloading https://files.pythonhosted.org/packages/5c/79/5dae7494b9f5ed061cff9a8ab8d6e1f02db352f3facf907d9eb614fb80e9/virtualenv-15.0.2.tar.gz
Already downloaded: /Users/benc/Library/Caches/Homebrew/mycroft-core--homebrew-virtualenv-15.0.2.tar.gz
==> Verifying mycroft-core--homebrew-virtualenv-15.0.2.tar.gz checksum
tar xzf /Users/benc/Library/Caches/Homebrew/mycroft-core--homebrew-virtualenv-15.0.2.tar.gz
==> python -c import setuptools... --no-user-cfg install --prefix=/tmp/mycroft-core--homebrew-virtualenv-20170420-2082-vjr2id/target --single-version-externally-managed --record=installed.txt
running install
running build
running build_py
creating build
creating build/lib
copying virtualenv.py -> build/lib
creating build/lib/virtualenv_support
copying virtualenv_support/__init__.py -> build/lib/virtualenv_support
copying virtualenv_support/argparse-1.4.0-py2.py3-none-any.whl -> build/lib/virtualenv_support
copying virtualenv_support/pip-8.1.2-py2.py3-none-any.whl -> build/lib/virtualenv_support
copying virtualenv_support/setuptools-21.2.1-py2.py3-none-any.whl -> build/lib/virtualenv_support
copying virtualenv_support/wheel-0.29.0-py2.py3-none-any.whl -> build/lib/virtualenv_support
running install_lib
copying build/lib/virtualenv.py -> /tmp/mycroft-core--homebrew-virtualenv-20170420-2082-vjr2id/target/lib/python2.7/site-packages
creating /tmp/mycroft-core--homebrew-virtualenv-20170420-2082-vjr2id/target/lib/python2.7/site-packages/virtualenv_support
copying build/lib/virtualenv_support/__init__.py -> /tmp/mycroft-core--homebrew-virtualenv-20170420-2082-vjr2id/target/lib/python2.7/site-packages/virtualenv_support
copying build/lib/virtualenv_support/argparse-1.4.0-py2.py3-none-any.whl -> /tmp/mycroft-core--homebrew-virtualenv-20170420-2082-vjr2id/target/lib/python2.7/site-packages/virtualenv_support
copying build/lib/virtualenv_support/pip-8.1.2-py2.py3-none-any.whl -> /tmp/mycroft-core--homebrew-virtualenv-20170420-2082-vjr2id/target/lib/python2.7/site-packages/virtualenv_support
copying build/lib/virtualenv_support/setuptools-21.2.1-py2.py3-none-any.whl -> /tmp/mycroft-core--homebrew-virtualenv-20170420-2082-vjr2id/target/lib/python2.7/site-packages/virtualenv_support
copying build/lib/virtualenv_support/wheel-0.29.0-py2.py3-none-any.whl -> /tmp/mycroft-core--homebrew-virtualenv-20170420-2082-vjr2id/target/lib/python2.7/site-packages/virtualenv_support
byte-compiling /tmp/mycroft-core--homebrew-virtualenv-20170420-2082-vjr2id/target/lib/python2.7/site-packages/virtualenv.py to virtualenv.pyc
byte-compiling /tmp/mycroft-core--homebrew-virtualenv-20170420-2082-vjr2id/target/lib/python2.7/site-packages/virtualenv_support/__init__.py to __init__.pyc
running install_egg_info
running egg_info
writing virtualenv.egg-info/PKG-INFO
writing top-level names to virtualenv.egg-info/top_level.txt
writing dependency_links to virtualenv.egg-info/dependency_links.txt
writing entry points to virtualenv.egg-info/entry_points.txt
reading manifest file 'virtualenv.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*' found under directory 'docs/_templates'
warning: no previously-included files matching '*' found under directory 'docs/_build'
writing manifest file 'virtualenv.egg-info/SOURCES.txt'
Copying virtualenv.egg-info to /tmp/mycroft-core--homebrew-virtualenv-20170420-2082-vjr2id/target/lib/python2.7/site-packages/virtualenv-15.0.2-py2.7.egg-info
running install_scripts
Installing virtualenv script to /tmp/mycroft-core--homebrew-virtualenv-20170420-2082-vjr2id/target/bin
writing list of installed files to 'installed.txt'
==> python -s /tmp/mycroft-core--homebrew-virtualenv-20170420-2082-vjr2id/target/bin/virtualenv -p python /usr/local/Cellar/mycroft-core/0.8.8/libexec
New python executable in /usr/local/Cellar/mycroft-core/0.8.8/libexec/bin/python2.7
Also creating executable in /usr/local/Cellar/mycroft-core/0.8.8/libexec/bin/python
Installing setuptools, pip, wheel...done.
Running virtualenv with interpreter /usr/local/opt/python/bin/python
==> /usr/local/Cellar/mycroft-core/0.8.8/libexec/bin/pip install -v --no-deps --no-binary :all: --ignore-installed /private/tmp/mycroft-core-20170420-2082-17wlod4/mycroft-core-release-v0.8.8
Processing /private/tmp/mycroft-core-20170420-2082-17wlod4/mycroft-core-release-v0.8.8
Running setup.py (path:/private/tmp/pip-zT93vT-build/setup.py) egg_info for package from file:///private/tmp/mycroft-core-20170420-2082-17wlod4/mycroft-core-release-v0.8.8
Running command python setup.py egg_info
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/tmp/pip-zT93vT-build/setup.py", line 3, in <module>
from mycroft.util.setup_base import (
File "mycroft/util/__init__.py", line 28, in <module>
import psutil
ImportError: No module named psutil
Cleaning up...
Command "python setup.py egg_info" failed with error code 1 in /private/tmp/pip-zT93vT-build/
Exception information:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/usr/local/lib/python2.7/site-packages/pip/commands/install.py", line 335, in run
wb.build(autobuilding=True)
File "/usr/local/lib/python2.7/site-packages/pip/wheel.py", line 749, in build
self.requirement_set.prepare_files(self.finder)
File "/usr/local/lib/python2.7/site-packages/pip/req/req_set.py", line 380, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File "/usr/local/lib/python2.7/site-packages/pip/req/req_set.py", line 634, in _prepare_file
abstract_dist.prep_for_dist()
File "/usr/local/lib/python2.7/site-packages/pip/req/req_set.py", line 129, in prep_for_dist
self.req_to_install.run_egg_info()
File "/usr/local/lib/python2.7/site-packages/pip/req/req_install.py", line 439, in run_egg_info
command_desc='python setup.py egg_info')
File "/usr/local/lib/python2.7/site-packages/pip/utils/__init__.py", line 707, in call_subprocess
% (command_desc, proc.returncode, cwd))
InstallationError: Command "python setup.py egg_info" failed with error code 1 in /private/tmp/pip-zT93vT-build/
==> Formula
Path: /Users/benc/Code/git/Mine/homebrew-tap/Formula/mycroft-core.rb
==> Configuration
HOMEBREW_VERSION: 1.1.13-36-g2be799987
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: 2be7999878702554f1e1b5f4118978e670e6156c
Last commit: 4 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: f0d687803b159f2080f574fed611d9283b8904ef
Core tap last commit: 45 minutes 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.12.2 => /usr/local/bin/git
Perl: /usr/local/bin/perl => /usr/local/Cellar/perl/5.24.1/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /usr/local/bin/ruby => /usr/local/Cellar/ruby/2.4.1_1/bin/ruby
Java: 1.8.0_102
macOS: 10.11.6-x86_64
Xcode: N/A
CLT: 8.2.0.0.1.1480973914
X11: 2.7.11 => /opt/X11
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j4
CMAKE_PREFIX_PATH: /usr/local/opt/readline:/usr/local/opt/sqlite:/usr/local/opt/openssl:/usr/local/opt/gettext:/usr/local/opt/libffi:/usr/local/opt/bison:/usr/local/opt/curl:/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
CMAKE_FRAMEWORK_PATH: /usr/local/opt/python/Frameworks
PKG_CONFIG_PATH: /usr/local/opt/sqlite/lib/pkgconfig:/usr/local/opt/openssl/lib/pkgconfig:/usr/local/opt/python/lib/pkgconfig:/usr/local/opt/libffi/lib/pkgconfig:/usr/local/opt/pcre/lib/pkgconfig:/usr/local/opt/glib/lib/pkgconfig:/usr/local/opt/pygobject/lib/pkgconfig:/usr/local/opt/curl/lib/pkgconfig:/usr/local/opt/flac/lib/pkgconfig:/usr/local/opt/mpg123/lib/pkgconfig:/usr/local/opt/portaudio/lib/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/opt/bison/share/aclocal:/usr/local/opt/curl/share/aclocal:/usr/local/share/aclocal
PATH: /usr/local/opt/python/bin:/usr/local/Homebrew/Library/Homebrew/shims/super:/usr/local/opt/autoconf/bin:/usr/local/opt/libtool/bin:/usr/local/opt/swig/bin:/usr/local/opt/sqlite/bin:/usr/local/opt/gdbm/bin:/usr/local/opt/openssl/bin:/usr/local/opt/python/bin:/usr/local/opt/pkg-config/bin:/usr/local/opt/pyenv/bin:/usr/local/opt/gettext/bin:/usr/local/opt/pcre/bin:/usr/local/opt/glib/bin:/usr/local/opt/pygobject/bin:/usr/local/opt/pyenv-virtualenvwrapper/bin:/usr/local/opt/bison/bin:/usr/local/opt/curl/bin:/usr/local/opt/flac/bin:/usr/local/opt/mpg123/bin:/usr/local/opt/s3cmd/bin:/usr/bin:/bin:/usr/sbin:/sbin
Error: mycroft-core 0.8.8 did not build
Logs:
/Users/benc/Library/Logs/Homebrew/mycroft-core/00.options.out
/Users/benc/Library/Logs/Homebrew/mycroft-core/01.cp
/Users/benc/Library/Logs/Homebrew/mycroft-core/02.python
/Users/benc/Library/Logs/Homebrew/mycroft-core/03.python
/Users/benc/Library/Logs/Homebrew/mycroft-core/04.pip
Do not report this issue to Homebrew/brew or Homebrew/core!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment