Skip to content

Instantly share code, notes, and snippets.

@johnnyutahh
Created July 12, 2015 21:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johnnyutahh/d6f6844ff36a05b01ac7 to your computer and use it in GitHub Desktop.
Save johnnyutahh/d6f6844ff36a05b01ac7 to your computer and use it in GitHub Desktop.
notmuch 0.20.2 compile failure on Mac OS 10.9.5: '/Users/haven' hard-coded path
Jul 12 16:18:35 ~/.../notmuch$ git info
## Remote URLs:
origin git://git.notmuchmail.org/git/notmuch (fetch)
origin git://git.notmuchmail.org/git/notmuch (push)
## Remote Branches:
origin/0.3.x
origin/HEAD -> origin/master
origin/getdate
origin/master
origin/pristine-tar
origin/release
origin/squeeze-backports
origin/wheezy-backports
## Local Branches:
* (HEAD detached at 8cca886)
master
## Most Recent Commit:
commit 8cca886b10c5ec44f3214701c0c1e3c896d53d5c
Merge: d9567dd c66e0d4
Author: David Bremner <david@tethera.net>
Merge tag '0.20.2'
Type 'git log' for more commits, or 'git show <commit id>' for full commit details.
## Configuration (.git/config):
user.name=johnnyutahh
user.email=gitcommit@johnnyutahh.com
color.ui=true
alias.lol=log --oneline --graph --decorate
alias.loll=log --pretty=format:%h%x09%x09%ad%x09%s --graph --date=short
alias.lolll=log --pretty=format:%h%x09%x09%ad%x09%s --date=short --show-linear-break
alias.add-commit=!git add -u && git commit
http.postbuffer=52428800
credential.helper=osxkeychain
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
core.ignorecase=true
core.precomposeunicode=true
remote.origin.url=git://git.notmuchmail.org/git/notmuch
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
branch.master.remote=origin
branch.master.merge=refs/heads/master
Jul 12 16:18:37 ~/.../notmuch$ clear
Jul 12 16:18:44 ~/.../notmuch$
Jul 12 16:18:44 ~/.../notmuch$
Jul 12 16:18:44 ~/.../notmuch$ ./configure
Welcome to Notmuch, a system for indexing, searching and tagging your email.
We hope that the process of building and installing notmuch is quick
and smooth so that you can soon be reading and processing your email
more efficiently than ever.
If anything goes wrong in the configure process, you can override any
decisions it makes by manually editing the Makefile.config file that
it creates. Also please do as much as you can to figure out what could
be different on your machine compared to those of the notmuch
developers. Then, please email those details to the Notmuch list
(notmuch@notmuchmail.org) so that we can hopefully make future
versions of notmuch easier for you to use.
We'll now investigate your system to verify that all required
dependencies are available:
Sanity checking C compilation environment... OK.
Sanity checking C++ compilation environment... OK.
Checking for Xapian development files... Yes (1.2.19).
Checking for Xapian compaction support... Yes.
Checking for GMime development files... Yes (gmime-2.6 >= 2.6.7).
Checking for Glib development files (>= 2.22)... Yes.
Checking for zlib (>= 1.2.5.2)... Yes.
Checking for talloc development files... Yes.
Checking for python... Yes (python).
Checking for valgrind development files... No (but that's fine).
Checking for bash-completion (>= 1.90)... No (will not install bash completion).
Checking if emacs is available... Yes.
Checking if doxygen is available... No (so will not install api docs)
Checking for ruby development files... Yes.
Checking if sphinx is available and supports nroff output... Yes.
Checking which platform we are on... Mac OS X.
Checking byte order... 1234
Checking for canonicalize_file_name... No (will use our own instead).
Checking for getline... Yes.
Checking for strcasestr... Yes.
Checking for strsep... Yes.
Checking for timegm... Yes.
Checking for dirent.d_type... Yes.
Checking for standard version of getpwuid_r... Yes.
Checking for standard version of asctime_r... Yes.
Checking for rpath support... No (nothing to worry about).
Checking for -Wl,--as-needed... No (nothing to worry about).
Checking for -Wl,--no-undefined... No (nothing to worry about).
Checking for available C++ compiler warning flags...
-Wall -Wextra -Wwrite-strings
Checking for available C compiler warning flags...
-Wall -Wextra -Wwrite-strings -Wmissing-declarations
All required packages were found. You may now run the following
commands to compile and install notmuch:
make
sudo make install
Jul 12 16:18:49 ~/.../notmuch$ make clean
Use "/Applications/Xcode.app/Contents/Developer/usr/bin/make V=1" to see the verbose compile lines.
EMACS emacs/.eldeps
rm -rf util/xutil.o util/error_util.o util/hex-escape.o util/string-util.o util/talloc-extra.o util/zlib-extra.o util/util.o util/libutil.a compat/canonicalize_file_name.o compat/timegm.o lib/filenames.o lib/string-list.o lib/libsha1.o lib/message-file.o lib/messages.o lib/sha1.o lib/tags.o lib/database.o lib/parse-time-vrp.o lib/directory.o lib/index.o lib/message.o lib/query.o lib/thread.o lib/libnotmuch.4.dylib lib/libnotmuch.dylib lib/libnotmuch.4.2.0.dylib lib/libnotmuch.a notmuch.sym lib/notmuch.h.gch parse-time-string/parse-time-string.o parse-time-string/libparse-time-string.a doc/_build doc/docdeps.mk doc/_build/.roff.stamp doc/_build/man/man1/notmuch.1.gz doc/_build/man/man1/notmuch-address.1.gz doc/_build/man/man1/notmuch-compact.1.gz doc/_build/man/man1/notmuch-config.1.gz doc/_build/man/man1/notmuch-count.1.gz doc/_build/man/man1/notmuch-dump.1.gz doc/_build/man/man1/notmuch-emacs-mua.1.gz doc/_build/man/man5/notmuch-hooks.5.gz doc/_build/man/man1/notmuch-insert.1.gz doc/_build/man/man1/notmuch-new.1.gz doc/_build/man/man1/notmuch-reply.1.gz doc/_build/man/man1/notmuch-restore.1.gz doc/_build/man/man1/notmuch-search.1.gz doc/_build/man/man7/notmuch-search-terms.7.gz doc/_build/man/man1/notmuch-show.1.gz doc/_build/man/man1/notmuch-tag.1.gz doc/_build/man/man1/notmuch.1 doc/_build/man/man1/notmuch-address.1 doc/_build/man/man1/notmuch-compact.1 doc/_build/man/man1/notmuch-config.1 doc/_build/man/man1/notmuch-count.1 doc/_build/man/man1/notmuch-dump.1 doc/_build/man/man1/notmuch-emacs-mua.1 doc/_build/man/man5/notmuch-hooks.5 doc/_build/man/man1/notmuch-insert.1 doc/_build/man/man1/notmuch-new.1 doc/_build/man/man1/notmuch-reply.1 doc/_build/man/man1/notmuch-restore.1 doc/_build/man/man1/notmuch-search.1 doc/_build/man/man7/notmuch-search-terms.7 doc/_build/man/man1/notmuch-show.1 doc/_build/man/man1/notmuch-tag.1 doc/conf.pyc doc/config.dox emacs/.eldeps emacs/.eldeps.tmp emacs/.eldeps.x emacs/notmuch-lib.elc emacs/notmuch-parser.elc emacs/notmuch.elc emacs/notmuch-query.elc emacs/notmuch-show.elc emacs/notmuch-tree.elc emacs/notmuch-wash.elc emacs/notmuch-hello.elc emacs/notmuch-mua.elc emacs/notmuch-address.elc emacs/notmuch-maildir-fcc.elc emacs/notmuch-message.elc emacs/notmuch-crypto.elc emacs/notmuch-tag.elc emacs/coolj.elc emacs/notmuch-print.elc emacs/notmuch-version.elc emacs/notmuch-jump.elc emacs/notmuch-version.el performance-test/tmp.* performance-test/log.* test/arg-test test/hex-xcode test/random-corpus test/parse-time test/smtp-dummy test/symbol-test test/make-db-version test/arg-test.o test/hex-xcode.o test/random-corpus.o test/parse-time.o test/smtp-dummy.o test/symbol-test.o test/make-db-version.o test/database-test.o test/corpus.mail test/test-results test/tmp.* bindings/ruby/.RUBYARCHDIR.time bindings/ruby/Makefile bindings/ruby/database.o bindings/ruby/directory.o bindings/ruby/filenames.o bindings/ruby/init.o bindings/ruby/message.o bindings/ruby/messages.o bindings/ruby/mkmf.log bindings/ruby/notmuch.so bindings/ruby/query.o bindings/ruby/status.o bindings/ruby/tags.o bindings/ruby/thread.o bindings/ruby/threads.o notmuch notmuch-shared command-line-arguments.o debugger.o gmime-filter-reply.o hooks.o notmuch.o notmuch-compact.o notmuch-config.o notmuch-count.o notmuch-dump.o notmuch-insert.o notmuch-new.o notmuch-reply.o notmuch-restore.o notmuch-search.o notmuch-setup.o notmuch-show.o notmuch-tag.o notmuch-time.o sprinter-json.o sprinter-sexp.o sprinter-text.o query-string.o mime-node.o crypto.o tag-util.o version.stamp notmuch-*.tar.gz.tmp; rm -rf .deps
Jul 12 16:18:53 ~/.../notmuch$
Jul 12 16:18:54 ~/.../notmuch$ make
Use "/Applications/Xcode.app/Contents/Developer/usr/bin/make V=1" to see the verbose compile lines.
EMACS emacs/.eldeps
python ./doc/mkdocdeps.py ./doc doc/_build doc/docdeps.mk
Use "/Applications/Xcode.app/Contents/Developer/usr/bin/make V=1" to see the verbose compile lines.
EMACS emacs/notmuch-lib.elc
Wrote /Users/mengland/gitrs/notmuch/emacs/notmuch-lib.elc
EMACS emacs/notmuch-parser.elc
Wrote /Users/mengland/gitrs/notmuch/emacs/notmuch-parser.elc
EMACS emacs/notmuch-tag.elc
Wrote /Users/mengland/gitrs/notmuch/emacs/notmuch-tag.elc
EMACS emacs/notmuch-query.elc
Wrote /Users/mengland/gitrs/notmuch/emacs/notmuch-query.elc
EMACS emacs/coolj.elc
Wrote /Users/mengland/gitrs/notmuch/emacs/coolj.elc
EMACS emacs/notmuch-wash.elc
Wrote /Users/mengland/gitrs/notmuch/emacs/notmuch-wash.elc
EMACS emacs/notmuch-address.elc
Wrote /Users/mengland/gitrs/notmuch/emacs/notmuch-address.elc
EMACS emacs/notmuch-mua.elc
Wrote /Users/mengland/gitrs/notmuch/emacs/notmuch-mua.elc
EMACS emacs/notmuch-crypto.elc
Wrote /Users/mengland/gitrs/notmuch/emacs/notmuch-crypto.elc
EMACS emacs/notmuch-print.elc
Wrote /Users/mengland/gitrs/notmuch/emacs/notmuch-print.elc
EMACS emacs/notmuch-show.elc
Wrote /Users/mengland/gitrs/notmuch/emacs/notmuch-show.elc
EMACS emacs/notmuch-tree.elc
Wrote /Users/mengland/gitrs/notmuch/emacs/notmuch-tree.elc
EMACS emacs/notmuch-hello.elc
Wrote /Users/mengland/gitrs/notmuch/emacs/notmuch-hello.elc
EMACS emacs/notmuch-maildir-fcc.elc
Wrote /Users/mengland/gitrs/notmuch/emacs/notmuch-maildir-fcc.elc
EMACS emacs/notmuch-message.elc
Wrote /Users/mengland/gitrs/notmuch/emacs/notmuch-message.elc
EMACS emacs/notmuch.elc
Wrote /Users/mengland/gitrs/notmuch/emacs/notmuch.elc
EMACS emacs/notmuch-version.elc
Wrote /Users/mengland/gitrs/notmuch/emacs/notmuch-version.elc
EMACS emacs/notmuch-jump.elc
Wrote /Users/mengland/gitrs/notmuch/emacs/notmuch-jump.elc
CC -g -O2 command-line-arguments.o
CC -g -O2 debugger.o
CC -g -O2 gmime-filter-reply.o
CC -g -O2 hooks.o
CC -g -O2 notmuch.o
CC -g -O2 notmuch-compact.o
CC -g -O2 notmuch-config.o
CC -g -O2 notmuch-count.o
CC -g -O2 notmuch-dump.o
CC -g -O2 notmuch-insert.o
CC -g -O2 notmuch-new.o
CC -g -O2 notmuch-reply.o
CC -g -O2 notmuch-restore.o
CC -g -O2 notmuch-search.o
CC -g -O2 notmuch-setup.o
CC -g -O2 notmuch-show.o
CC -g -O2 notmuch-tag.o
CC -g -O2 notmuch-time.o
CC -g -O2 sprinter-json.o
CC -g -O2 sprinter-sexp.o
CC -g -O2 sprinter-text.o
CC -g -O2 query-string.o
CC -g -O2 mime-node.o
CC -g -O2 crypto.o
CC -g -O2 tag-util.o
CC -g -O2 compat/canonicalize_file_name.o
CC -g -O2 compat/timegm.o
CC -g -O2 lib/filenames.o
CC -g -O2 lib/string-list.o
CC -g -O2 lib/libsha1.o
CC -g -O2 lib/message-file.o
CC -g -O2 lib/messages.o
CC -g -O2 lib/sha1.o
CC -g -O2 lib/tags.o
CXX -g -O2 lib/database.o
CXX -g -O2 lib/parse-time-vrp.o
CXX -g -O2 lib/directory.o
CXX -g -O2 lib/index.o
CXX -g -O2 lib/message.o
CXX -g -O2 lib/query.o
CXX -g -O2 lib/thread.o
AR lib/libnotmuch.a
CC -g -O2 util/xutil.o
CC -g -O2 util/error_util.o
CC -g -O2 util/hex-escape.o
CC -g -O2 util/string-util.o
CC -g -O2 util/talloc-extra.o
CC -g -O2 util/zlib-extra.o
CC -g -O2 util/util.o
AR util/libutil.a
CC -g -O2 parse-time-string/parse-time-string.o
AR parse-time-string/libparse-time-string.a
CXX -g -O2 notmuch
sh ./lib/gen-version-script.sh lib/notmuch.h compat/canonicalize_file_name.o compat/timegm.o lib/filenames.o lib/string-list.o lib/libsha1.o lib/message-file.o lib/messages.o lib/sha1.o lib/tags.o lib/database.o lib/parse-time-vrp.o lib/directory.o lib/index.o lib/message.o lib/query.o lib/thread.o > notmuch.sym
CXX -g -O2 lib/libnotmuch.4.2.0.dylib
ln -sf libnotmuch.4.2.0.dylib lib/libnotmuch.4.dylib
ln -sf libnotmuch.4.2.0.dylib lib/libnotmuch.dylib
CXX -g -O2 notmuch-shared
sphinx-build -b man -d doc/_build/doctrees -q ./doc doc/_build/man
/Users/mengland/gitrs/notmuch/doc/man7/notmuch-search-terms.rst:208: WARNING: Block quote ends without a blank line; unexpected unindent.
/Users/mengland/gitrs/notmuch/doc/man7/notmuch-search-terms.rst:208: WARNING: Block quote ends without a blank line; unexpected unindent.
/Users/mengland/gitrs/notmuch/doc/man1/notmuch-emacs-mua.rst:: WARNING: document isn't included in any toctree
for section in 1 5 7; do \
mkdir -p doc/_build/man/man${section}; \
mv doc/_build/man/*.${section} doc/_build/man/man${section}; \
done
touch doc/_build/man/man1/notmuch.1 doc/_build/man/man1/notmuch-address.1 doc/_build/man/man1/notmuch-compact.1 doc/_build/man/man1/notmuch-config.1 doc/_build/man/man1/notmuch-count.1 doc/_build/man/man1/notmuch-dump.1 doc/_build/man/man1/notmuch-emacs-mua.1 doc/_build/man/man5/notmuch-hooks.5 doc/_build/man/man1/notmuch-insert.1 doc/_build/man/man1/notmuch-new.1 doc/_build/man/man1/notmuch-reply.1 doc/_build/man/man1/notmuch-restore.1 doc/_build/man/man1/notmuch-search.1 doc/_build/man/man7/notmuch-search-terms.7 doc/_build/man/man1/notmuch-show.1 doc/_build/man/man1/notmuch-tag.1 doc/_build/.roff.stamp
rm -f doc/_build/man/man1/notmuch.1.gz && gzip --stdout doc/_build/man/man1/notmuch.1 > doc/_build/man/man1/notmuch.1.gz
rm -f doc/_build/man/man1/notmuch-address.1.gz && gzip --stdout doc/_build/man/man1/notmuch-address.1 > doc/_build/man/man1/notmuch-address.1.gz
rm -f doc/_build/man/man1/notmuch-compact.1.gz && gzip --stdout doc/_build/man/man1/notmuch-compact.1 > doc/_build/man/man1/notmuch-compact.1.gz
rm -f doc/_build/man/man1/notmuch-config.1.gz && gzip --stdout doc/_build/man/man1/notmuch-config.1 > doc/_build/man/man1/notmuch-config.1.gz
rm -f doc/_build/man/man1/notmuch-count.1.gz && gzip --stdout doc/_build/man/man1/notmuch-count.1 > doc/_build/man/man1/notmuch-count.1.gz
rm -f doc/_build/man/man1/notmuch-dump.1.gz && gzip --stdout doc/_build/man/man1/notmuch-dump.1 > doc/_build/man/man1/notmuch-dump.1.gz
rm -f doc/_build/man/man1/notmuch-emacs-mua.1.gz && gzip --stdout doc/_build/man/man1/notmuch-emacs-mua.1 > doc/_build/man/man1/notmuch-emacs-mua.1.gz
rm -f doc/_build/man/man5/notmuch-hooks.5.gz && gzip --stdout doc/_build/man/man5/notmuch-hooks.5 > doc/_build/man/man5/notmuch-hooks.5.gz
rm -f doc/_build/man/man1/notmuch-insert.1.gz && gzip --stdout doc/_build/man/man1/notmuch-insert.1 > doc/_build/man/man1/notmuch-insert.1.gz
rm -f doc/_build/man/man1/notmuch-new.1.gz && gzip --stdout doc/_build/man/man1/notmuch-new.1 > doc/_build/man/man1/notmuch-new.1.gz
rm -f doc/_build/man/man1/notmuch-reply.1.gz && gzip --stdout doc/_build/man/man1/notmuch-reply.1 > doc/_build/man/man1/notmuch-reply.1.gz
rm -f doc/_build/man/man1/notmuch-restore.1.gz && gzip --stdout doc/_build/man/man1/notmuch-restore.1 > doc/_build/man/man1/notmuch-restore.1.gz
rm -f doc/_build/man/man1/notmuch-search.1.gz && gzip --stdout doc/_build/man/man1/notmuch-search.1 > doc/_build/man/man1/notmuch-search.1.gz
rm -f doc/_build/man/man7/notmuch-search-terms.7.gz && gzip --stdout doc/_build/man/man7/notmuch-search-terms.7 > doc/_build/man/man7/notmuch-search-terms.7.gz
rm -f doc/_build/man/man1/notmuch-show.1.gz && gzip --stdout doc/_build/man/man1/notmuch-show.1 > doc/_build/man/man1/notmuch-show.1.gz
rm -f doc/_build/man/man1/notmuch-tag.1.gz && gzip --stdout doc/_build/man/man1/notmuch-tag.1 > doc/_build/man/man1/notmuch-tag.1.gz
cd bindings/ruby && \
EXTRA_LDFLAGS="" \
LIBNOTMUCH="../../lib/libnotmuch.dylib" \
ruby extconf.rb --vendor
creating Makefile
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C bindings/ruby
compiling database.c
compiling directory.c
compiling filenames.c
compiling init.c
compiling message.c
compiling messages.c
compiling query.c
compiling status.c
compiling tags.c
compiling thread.c
compiling threads.c
linking shared-object notmuch.bundle
ld: warning: directory not found for option '-L/Users/haven/.sm/pkg/active/lib'
Jul 12 16:19:13 ~/.../notmuch$
Jul 12 16:21:18 ~/.../notmuch$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.9.5
BuildVersion: 13F1077
Jul 12 16:21:20 ~/.../notmuch$ gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin13.4.0
Thread model: posix
Jul 12 16:21:30 ~/.../notmuch$
Jul 12 16:21:32 ~/.../notmuch$ env python
Python 2.7.8 (default, Oct 19 2014, 16:03:53)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.51)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>
Jul 12 16:21:41 ~/.../notmuch$
Jul 12 16:28:33 ~/.../notmuch$ find . -name Makefile -exec ack --with-filename '\bhaven\b' {} \;
bindings/ruby/Makefile
82:CFLAGS = $(CCDLFLAGS) -O3 -I/Users/haven/.sm/pkg/active/include -fPIC -mmacosx-version-min=10.7 -pipe $(ARCH_FLAG)
87:ldflags = -L. -L/Users/haven/.sm/pkg/active/lib -fPIC -Bstatic -lz -fstack-protector
Jul 12 16:28:39 ~/.../notmuch$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment