Build broken on OS X 10.9

Tomi Ollila tomi.ollila at iki.fi
Thu Oct 31 23:44:36 PDT 2013


On Fri, Nov 01 2013, Michael Phillips <michaelalanphillips at gmail.com> wrote:

> Jani Nikula <jani at ...> writes:
>> Please post the build log.
>
> I'm building from homebrew, a popular package manager for OS X.  
>
> When I run:
>
> brew install -v notmuch --emacs
>
> here's what I get in the log from configure:
>
> Checking for Xapian development files... Yes (1.2.13).
> Checking for GMime development files... Yes (gmime-2.6 >= 2.6.7).
> Checking for Glib development files (>= 2.22)... Yes.
> Checking for talloc development files... Yes.
> Checking for valgrind development files... No (but that's fine).
> Checking if emacs is available... Yes.
> Checking which platform we are on... Mac OS X.
> Checking for getline... Yes.
> Checking for strcasestr... Yes.
> Checking for rpath support... No (nothing to worry about).
> Checking for -Wl,--as-needed... 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
>
> ...and from make:
>
> emacs --quick --directory emacs -batch -l make-deps.el \
> 		-f batch-make-deps emacs/notmuch-lib.el emacs/notmuch-parser.el 
> emacs/notmuch.el emacs/notmuch-query.el \ 
> emacs/notmuch-show.el emacs/notmuch-wash.el 
> emacs/notmuch-hello.el emacs/notmuch-mua.el \ 
> emacs/notmuch-address.el emacs/notmuch-
> maildir-fcc.el emacs/notmuch-message.el \ 
> emacs/notmuch-crypto.el emacs/notmuch-tag.el 
> emacs/coolj.el emacs/notmuch-print.el > emacs/.eldeps.tmp && \
> 	(cmp -s emacs/.eldeps.tmp emacs/.eldeps || mv emacs/.eldeps.tmp emacs/.eldeps)
> mkdir: .deps/.: No such file or directory

Hmm, it seems the rule doing that says @mkdir -p .deps/$(@D) ...

does `mkdir -p xyzdir/.` fail in OS X 10.9 (Mavericks) ?

(note trailing `.' in command line). That line works fine in Linux.

> make: *** [command-line-arguments.o] Error 1

Tomi


PS: A far-fetched attempt to make 'mkdir -p ...' fail the same way in Linux
is: 'mkdir zzz; cd zzz; rm -rf ../zzz; mkdir -p yyy/.' which gives:
mkdir: cannot create directory ‘yyy’: No such file or directory
-- I'd say the probability this is the case is rather small... 


More information about the notmuch mailing list