Skip to content

Instantly share code, notes, and snippets.

@pronebird
Created March 16, 2013 14:06
Show Gist options
  • Save pronebird/5176532 to your computer and use it in GitHub Desktop.
Save pronebird/5176532 to your computer and use it in GitHub Desktop.
➜ homejs brew install mercurial -v > log.log
brew: superenv removed: -g -Os -Wall -Wstrict-prototypes -Wshorten-64-to-32 -g -Os -Wall -Wstrict-prototypes
brew: superenv removed: -g -Os -Wall -Wstrict-prototypes -Wshorten-64-to-32 -g -Os -Wall -Wstrict-prototypes
brew: superenv removed: -g -Os -Wall -Wstrict-prototypes -Wshorten-64-to-32 -g -Os -Wall -Wstrict-prototypes
brew: superenv removed: -g -Os -Wall -Wstrict-prototypes -Wshorten-64-to-32 -g -Os -Wall -Wstrict-prototypes
brew: superenv removed: -g -Os -Wall -Wstrict-prototypes -Wshorten-64-to-32 -g -Os -Wall -Wstrict-prototypes
brew: superenv removed: -g -Os -Wall -Wstrict-prototypes -Wshorten-64-to-32 -g -Os -Wall -Wstrict-prototypes
brew: superenv removed: -g -Os -Wall -Wstrict-prototypes -Wshorten-64-to-32 -g -Os -Wall -Wstrict-prototypes
warning: hgbuildmo: could not find msgfmt executable, no translations will be built
Traceback (most recent call last):
File "hg", line 36, in <module>
mercurial.util.setbinary(fp)
File "/private/tmp/mercurial-admH/mercurial-2.5.2/mercurial/demandimport.py", line 86, in __getattribute__
self._load()
File "/private/tmp/mercurial-admH/mercurial-2.5.2/mercurial/demandimport.py", line 58, in _load
mod = _origimport(head, globals, locals)
File "/private/tmp/mercurial-admH/mercurial-2.5.2/mercurial/util.py", line 67, in <module>
statfiles = getattr(osutil, 'statfiles', platform.statfiles)
File "/private/tmp/mercurial-admH/mercurial-2.5.2/mercurial/demandimport.py", line 86, in __getattribute__
self._load()
File "/private/tmp/mercurial-admH/mercurial-2.5.2/mercurial/demandimport.py", line 58, in _load
mod = _origimport(head, globals, locals)
ImportError: dlopen(/private/tmp/mercurial-admH/mercurial-2.5.2/mercurial/osutil.so, 2): no suitable image found. Did find:
/private/tmp/mercurial-admH/mercurial-2.5.2/mercurial/osutil.so: mach-o, but wrong architecture
make: *** [local] Error 1
==> Downloading http://mercurial.selenic.com/release/mercurial-2.5.2.tar.gz
Already downloaded: /Library/Caches/Homebrew/mercurial-2.5.2.tar.gz
tar xf /Library/Caches/Homebrew/mercurial-2.5.2.tar.gz
==> make local
make local
python setup.py \
build_py -c -d . \
build_ext -i \
build_hgexe -i \
build_mo
running build_py
byte-compiling ./mercurial/ancestor.py to ancestor.pyc
byte-compiling ./mercurial/archival.py to archival.pyc
byte-compiling ./mercurial/bookmarks.py to bookmarks.pyc
byte-compiling ./mercurial/branchmap.py to branchmap.pyc
byte-compiling ./mercurial/bundlerepo.py to bundlerepo.pyc
byte-compiling ./mercurial/byterange.py to byterange.pyc
byte-compiling ./mercurial/changegroup.py to changegroup.pyc
byte-compiling ./mercurial/changelog.py to changelog.pyc
byte-compiling ./mercurial/cmdutil.py to cmdutil.pyc
byte-compiling ./mercurial/commands.py to commands.pyc
byte-compiling ./mercurial/commandserver.py to commandserver.pyc
byte-compiling ./mercurial/config.py to config.pyc
byte-compiling ./mercurial/context.py to context.pyc
byte-compiling ./mercurial/copies.py to copies.pyc
byte-compiling ./mercurial/dagparser.py to dagparser.pyc
byte-compiling ./mercurial/dagutil.py to dagutil.pyc
byte-compiling ./mercurial/demandimport.py to demandimport.pyc
byte-compiling ./mercurial/dirstate.py to dirstate.pyc
byte-compiling ./mercurial/discovery.py to discovery.pyc
byte-compiling ./mercurial/dispatch.py to dispatch.pyc
byte-compiling ./mercurial/encoding.py to encoding.pyc
byte-compiling ./mercurial/error.py to error.pyc
byte-compiling ./mercurial/extensions.py to extensions.pyc
byte-compiling ./mercurial/fancyopts.py to fancyopts.pyc
byte-compiling ./mercurial/filelog.py to filelog.pyc
byte-compiling ./mercurial/filemerge.py to filemerge.pyc
byte-compiling ./mercurial/fileset.py to fileset.pyc
byte-compiling ./mercurial/formatter.py to formatter.pyc
byte-compiling ./mercurial/graphmod.py to graphmod.pyc
byte-compiling ./mercurial/hbisect.py to hbisect.pyc
byte-compiling ./mercurial/help.py to help.pyc
byte-compiling ./mercurial/hg.py to hg.pyc
byte-compiling ./mercurial/hook.py to hook.pyc
byte-compiling ./mercurial/httpconnection.py to httpconnection.pyc
byte-compiling ./mercurial/httppeer.py to httppeer.pyc
byte-compiling ./mercurial/i18n.py to i18n.pyc
byte-compiling ./mercurial/ignore.py to ignore.pyc
byte-compiling ./mercurial/keepalive.py to keepalive.pyc
byte-compiling ./mercurial/localrepo.py to localrepo.pyc
byte-compiling ./mercurial/lock.py to lock.pyc
byte-compiling ./mercurial/lsprof.py to lsprof.pyc
byte-compiling ./mercurial/lsprofcalltree.py to lsprofcalltree.pyc
byte-compiling ./mercurial/mail.py to mail.pyc
byte-compiling ./mercurial/manifest.py to manifest.pyc
byte-compiling ./mercurial/match.py to match.pyc
byte-compiling ./mercurial/mdiff.py to mdiff.pyc
byte-compiling ./mercurial/merge.py to merge.pyc
byte-compiling ./mercurial/minirst.py to minirst.pyc
byte-compiling ./mercurial/node.py to node.pyc
byte-compiling ./mercurial/obsolete.py to obsolete.pyc
byte-compiling ./mercurial/parser.py to parser.pyc
byte-compiling ./mercurial/patch.py to patch.pyc
byte-compiling ./mercurial/peer.py to peer.pyc
byte-compiling ./mercurial/phases.py to phases.pyc
byte-compiling ./mercurial/posix.py to posix.pyc
byte-compiling ./mercurial/pushkey.py to pushkey.pyc
byte-compiling ./mercurial/pvec.py to pvec.pyc
byte-compiling ./mercurial/py3kcompat.py to py3kcompat.pyc
byte-compiling ./mercurial/repair.py to repair.pyc
byte-compiling ./mercurial/repoview.py to repoview.pyc
byte-compiling ./mercurial/revlog.py to revlog.pyc
byte-compiling ./mercurial/revset.py to revset.pyc
byte-compiling ./mercurial/scmutil.py to scmutil.pyc
byte-compiling ./mercurial/setdiscovery.py to setdiscovery.pyc
byte-compiling ./mercurial/similar.py to similar.pyc
byte-compiling ./mercurial/simplemerge.py to simplemerge.pyc
byte-compiling ./mercurial/sshpeer.py to sshpeer.pyc
byte-compiling ./mercurial/sshserver.py to sshserver.pyc
byte-compiling ./mercurial/sslutil.py to sslutil.pyc
byte-compiling ./mercurial/statichttprepo.py to statichttprepo.pyc
byte-compiling ./mercurial/store.py to store.pyc
byte-compiling ./mercurial/strutil.py to strutil.pyc
byte-compiling ./mercurial/subrepo.py to subrepo.pyc
byte-compiling ./mercurial/tags.py to tags.pyc
byte-compiling ./mercurial/templatefilters.py to templatefilters.pyc
byte-compiling ./mercurial/templatekw.py to templatekw.pyc
byte-compiling ./mercurial/templater.py to templater.pyc
byte-compiling ./mercurial/transaction.py to transaction.pyc
byte-compiling ./mercurial/treediscovery.py to treediscovery.pyc
byte-compiling ./mercurial/ui.py to ui.pyc
byte-compiling ./mercurial/url.py to url.pyc
byte-compiling ./mercurial/util.py to util.pyc
byte-compiling ./mercurial/verify.py to verify.pyc
byte-compiling ./mercurial/win32.py to win32.pyc
byte-compiling ./mercurial/windows.py to windows.pyc
byte-compiling ./mercurial/wireproto.py to wireproto.pyc
byte-compiling ./mercurial/hgweb/__init__.py to __init__.pyc
byte-compiling ./mercurial/hgweb/common.py to common.pyc
byte-compiling ./mercurial/hgweb/hgweb_mod.py to hgweb_mod.pyc
byte-compiling ./mercurial/hgweb/hgwebdir_mod.py to hgwebdir_mod.pyc
byte-compiling ./mercurial/hgweb/protocol.py to protocol.pyc
byte-compiling ./mercurial/hgweb/request.py to request.pyc
byte-compiling ./mercurial/hgweb/server.py to server.pyc
byte-compiling ./mercurial/hgweb/webcommands.py to webcommands.pyc
byte-compiling ./mercurial/hgweb/webutil.py to webutil.pyc
byte-compiling ./mercurial/hgweb/wsgicgi.py to wsgicgi.pyc
byte-compiling ./mercurial/httpclient/__init__.py to __init__.pyc
byte-compiling ./mercurial/httpclient/_readers.py to _readers.pyc
byte-compiling ./mercurial/httpclient/socketutil.py to socketutil.pyc
byte-compiling ./hgext/__init__.py to __init__.pyc
byte-compiling ./hgext/acl.py to acl.pyc
byte-compiling ./hgext/bugzilla.py to bugzilla.pyc
byte-compiling ./hgext/children.py to children.pyc
byte-compiling ./hgext/churn.py to churn.pyc
byte-compiling ./hgext/color.py to color.pyc
byte-compiling ./hgext/eol.py to eol.pyc
byte-compiling ./hgext/extdiff.py to extdiff.pyc
byte-compiling ./hgext/factotum.py to factotum.pyc
byte-compiling ./hgext/fetch.py to fetch.pyc
byte-compiling ./hgext/gpg.py to gpg.pyc
byte-compiling ./hgext/graphlog.py to graphlog.pyc
byte-compiling ./hgext/hgcia.py to hgcia.pyc
byte-compiling ./hgext/hgk.py to hgk.pyc
byte-compiling ./hgext/histedit.py to histedit.pyc
byte-compiling ./hgext/interhg.py to interhg.pyc
byte-compiling ./hgext/keyword.py to keyword.pyc
byte-compiling ./hgext/mq.py to mq.pyc
byte-compiling ./hgext/notify.py to notify.pyc
byte-compiling ./hgext/pager.py to pager.pyc
byte-compiling ./hgext/patchbomb.py to patchbomb.pyc
byte-compiling ./hgext/progress.py to progress.pyc
byte-compiling ./hgext/purge.py to purge.pyc
byte-compiling ./hgext/rebase.py to rebase.pyc
byte-compiling ./hgext/record.py to record.pyc
byte-compiling ./hgext/relink.py to relink.pyc
byte-compiling ./hgext/schemes.py to schemes.pyc
byte-compiling ./hgext/share.py to share.pyc
byte-compiling ./hgext/transplant.py to transplant.pyc
byte-compiling ./hgext/win32mbcs.py to win32mbcs.pyc
byte-compiling ./hgext/win32text.py to win32text.pyc
byte-compiling ./hgext/convert/__init__.py to __init__.pyc
byte-compiling ./hgext/convert/bzr.py to bzr.pyc
byte-compiling ./hgext/convert/common.py to common.pyc
byte-compiling ./hgext/convert/convcmd.py to convcmd.pyc
byte-compiling ./hgext/convert/cvs.py to cvs.pyc
byte-compiling ./hgext/convert/cvsps.py to cvsps.pyc
byte-compiling ./hgext/convert/darcs.py to darcs.pyc
byte-compiling ./hgext/convert/filemap.py to filemap.pyc
byte-compiling ./hgext/convert/git.py to git.pyc
byte-compiling ./hgext/convert/gnuarch.py to gnuarch.pyc
byte-compiling ./hgext/convert/hg.py to hg.pyc
byte-compiling ./hgext/convert/monotone.py to monotone.pyc
byte-compiling ./hgext/convert/p4.py to p4.pyc
byte-compiling ./hgext/convert/subversion.py to subversion.pyc
byte-compiling ./hgext/convert/transport.py to transport.pyc
byte-compiling ./hgext/highlight/__init__.py to __init__.pyc
byte-compiling ./hgext/highlight/highlight.py to highlight.pyc
byte-compiling ./hgext/zeroconf/__init__.py to __init__.pyc
byte-compiling ./hgext/zeroconf/Zeroconf.py to Zeroconf.pyc
byte-compiling ./hgext/largefiles/__init__.py to __init__.pyc
byte-compiling ./hgext/largefiles/basestore.py to basestore.pyc
byte-compiling ./hgext/largefiles/lfcommands.py to lfcommands.pyc
byte-compiling ./hgext/largefiles/lfutil.py to lfutil.pyc
byte-compiling ./hgext/largefiles/localstore.py to localstore.pyc
byte-compiling ./hgext/largefiles/overrides.py to overrides.pyc
byte-compiling ./hgext/largefiles/proto.py to proto.pyc
byte-compiling ./hgext/largefiles/remotestore.py to remotestore.pyc
byte-compiling ./hgext/largefiles/reposetup.py to reposetup.pyc
byte-compiling ./hgext/largefiles/uisetup.py to uisetup.pyc
byte-compiling ./hgext/largefiles/wirestore.py to wirestore.pyc
running build_ext
building 'mercurial.base85' extension
creating build
creating build/temp.macosx-10.8-intel-2.7
creating build/temp.macosx-10.8-intel-2.7/mercurial
cc -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c mercurial/base85.c -o build/temp.macosx-10.8-intel-2.7/mercurial/base85.o
clang -bundle -undefined dynamic_lookup -Wl,-F. build/temp.macosx-10.8-intel-2.7/mercurial/base85.o -o /private/tmp/mercurial-admH/mercurial-2.5.2/mercurial/base85.so
building 'mercurial.bdiff' extension
cc -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c mercurial/bdiff.c -o build/temp.macosx-10.8-intel-2.7/mercurial/bdiff.o
clang -bundle -undefined dynamic_lookup -Wl,-F. build/temp.macosx-10.8-intel-2.7/mercurial/bdiff.o -o /private/tmp/mercurial-admH/mercurial-2.5.2/mercurial/bdiff.so
building 'mercurial.diffhelpers' extension
cc -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c mercurial/diffhelpers.c -o build/temp.macosx-10.8-intel-2.7/mercurial/diffhelpers.o
clang -bundle -undefined dynamic_lookup -Wl,-F. build/temp.macosx-10.8-intel-2.7/mercurial/diffhelpers.o -o /private/tmp/mercurial-admH/mercurial-2.5.2/mercurial/diffhelpers.so
building 'mercurial.mpatch' extension
cc -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c mercurial/mpatch.c -o build/temp.macosx-10.8-intel-2.7/mercurial/mpatch.o
clang -bundle -undefined dynamic_lookup -Wl,-F. build/temp.macosx-10.8-intel-2.7/mercurial/mpatch.o -o /private/tmp/mercurial-admH/mercurial-2.5.2/mercurial/mpatch.so
building 'mercurial.parsers' extension
cc -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c mercurial/parsers.c -o build/temp.macosx-10.8-intel-2.7/mercurial/parsers.o
cc -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c mercurial/pathencode.c -o build/temp.macosx-10.8-intel-2.7/mercurial/pathencode.o
clang -bundle -undefined dynamic_lookup -Wl,-F. build/temp.macosx-10.8-intel-2.7/mercurial/parsers.o build/temp.macosx-10.8-intel-2.7/mercurial/pathencode.o -o /private/tmp/mercurial-admH/mercurial-2.5.2/mercurial/parsers.so
building 'mercurial.osutil' extension
cc -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c mercurial/osutil.c -o build/temp.macosx-10.8-intel-2.7/mercurial/osutil.o
clang -bundle -undefined dynamic_lookup -Wl,-F. build/temp.macosx-10.8-intel-2.7/mercurial/osutil.o -o /private/tmp/mercurial-admH/mercurial-2.5.2/mercurial/osutil.so -framework ApplicationServices
running build_hgexe
running build_mo
env HGRCPATH= python hg version
==> Configuration
HOMEBREW_VERSION: 0.9.4
HEAD: 729563ab8a8b5c707ee9868da932e31ebb3f740f
CPU: quad-core 64-bit arrandale
OS X: 10.8.3-x86_64
Xcode: 4.6.1
CLT: 4.6.0.0.1.1358221012
X11: 2.7.4 => /opt/X11
==> ENV
CC: cc
CXX: c++
MAKEFLAGS: -j4
CMAKE_PREFIX_PATH: /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
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.8
ACLOCAL_PATH: /usr/local/share/aclocal
OBJC: cc
PATH: /usr/local/Library/ENV/4.3:/usr/bin:/bin:/usr/sbin:/sbin
Error: mercurial did not build
These open issues may also help:
https://github.com/mxcl/homebrew/pull/16644
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment