From f57862741e6deafadea00ef426d8a900487bd20b Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Fri, 1 Nov 2013 08:44:36 +0200 Subject: [PATCH] Re: Build broken on OS X 10.9 --- f9/82afb0611b89b1ce845e37c1cc778cf4e07313 | 114 ++++++++++++++++++++++ 1 file changed, 114 insertions(+) create mode 100644 f9/82afb0611b89b1ce845e37c1cc778cf4e07313 diff --git a/f9/82afb0611b89b1ce845e37c1cc778cf4e07313 b/f9/82afb0611b89b1ce845e37c1cc778cf4e07313 new file mode 100644 index 000000000..079070000 --- /dev/null +++ b/f9/82afb0611b89b1ce845e37c1cc778cf4e07313 @@ -0,0 +1,114 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 87C54431FCF + for ; Thu, 31 Oct 2013 23:45:09 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id Q7C3mC6Gofg3 for ; + Thu, 31 Oct 2013 23:44:47 -0700 (PDT) +Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) + by olra.theworths.org (Postfix) with ESMTP id C1380431FBD + for ; Thu, 31 Oct 2013 23:44:47 -0700 (PDT) +Received: from guru.guru-group.fi (localhost [IPv6:::1]) + by guru.guru-group.fi (Postfix) with ESMTP id 5DE2B10005D; + Fri, 1 Nov 2013 08:44:37 +0200 (EET) +From: Tomi Ollila +To: Michael Phillips , notmuch@notmuchmail.org +Subject: Re: Build broken on OS X 10.9 +In-Reply-To: +References: + + + +User-Agent: Notmuch/0.16+119~g219c55f (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-unknown-linux-gnu) +X-Face: HhBM'cA~ +MIME-Version: 1.0 +Content-Type: text/plain; charset=utf-8 +Content-Transfer-Encoding: quoted-printable +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Fri, 01 Nov 2013 06:45:09 -0000 + +On Fri, Nov 01 2013, Michael Phillips wrote: + +> Jani Nikula writes: +>> Please post the build log. +> +> I'm building from homebrew, a popular package manager for OS X.=20=20 +> +> 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 >=3D 2.6.7). +> Checking for Glib development files (>=3D 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...=20 +> -Wall -Wextra -Wwrite-strings +> Checking for available C compiler warning flags...=20 +> -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=20 +> emacs/notmuch.el emacs/notmuch-query.el \=20 +> emacs/notmuch-show.el emacs/notmuch-wash.el=20 +> emacs/notmuch-hello.el emacs/notmuch-mua.el \=20 +> emacs/notmuch-address.el emacs/notmuch- +> maildir-fcc.el emacs/notmuch-message.el \=20 +> emacs/notmuch-crypto.el emacs/notmuch-tag.el=20 +> emacs/coolj.el emacs/notmuch-print.el > emacs/.eldeps.tmp && \ +> (cmp -s emacs/.eldeps.tmp emacs/.eldeps || mv emacs/.eldeps.tmp emacs/.e= +ldeps) +> 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 =E2=80=98yyy=E2=80=99: No such file or direc= +tory +-- I'd say the probability this is the case is rather small...=20 -- 2.26.2