Re: Build broken on OS X 10.9
authorTomi Ollila <tomi.ollila@iki.fi>
Sat, 2 Nov 2013 21:08:31 +0000 (23:08 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:57:57 +0000 (09:57 -0800)
82/d63bcdae021b2aa6c722312aee15658e4c882c [new file with mode: 0644]

diff --git a/82/d63bcdae021b2aa6c722312aee15658e4c882c b/82/d63bcdae021b2aa6c722312aee15658e4c882c
new file mode 100644 (file)
index 0000000..ebd971f
--- /dev/null
@@ -0,0 +1,141 @@
+Return-Path: <tomi.ollila@iki.fi>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 34852431FBF\r
+       for <notmuch@notmuchmail.org>; Sat,  2 Nov 2013 14:08:46 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+       autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id c81vtZTMegph for <notmuch@notmuchmail.org>;\r
+       Sat,  2 Nov 2013 14:08:39 -0700 (PDT)\r
+Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
+       by olra.theworths.org (Postfix) with ESMTP id 994AB431FAF\r
+       for <notmuch@notmuchmail.org>; Sat,  2 Nov 2013 14:08:39 -0700 (PDT)\r
+Received: from guru.guru-group.fi (localhost [IPv6:::1])\r
+       by guru.guru-group.fi (Postfix) with ESMTP id DE07210005D;\r
+       Sat,  2 Nov 2013 23:08:31 +0200 (EET)\r
+From: Tomi Ollila <tomi.ollila@iki.fi>\r
+To: Rainer M Krug <Rainer@krugs.de>, notmuch@notmuchmail.org\r
+Subject: Re: Build broken on OS X 10.9\r
+In-Reply-To: <m2fvrepzdu.fsf@guru.guru-group.fi>\r
+References:\r
+ <CA+BndfvPNQi0jcfjA61hFgEu5GkgPqtOtMWS8UyEpXYtj4RXGA@mail.gmail.com>\r
+       <CAB+hUn-YLtgud3mK5yZ_Cg3GddY5SVf4aQ-q8Td=q+_giH4Xhg@mail.gmail.com>\r
+       <loom.20131101T013146-252@post.gmane.org>       <m2a9hopqnf.fsf@guru.guru-group.fi>\r
+       <CAC6YrkPszkR7cSzmnuqTzsXKOAmB-g59SvEKngkggEbSZDYDkA@mail.gmail.com>\r
+       <s8v4n7wjj76.fsf@shell.nixu.fi> <m2sive94ss.fsf@krugs.de>\r
+       <m2fvrepzdu.fsf@guru.guru-group.fi>\r
+User-Agent: Notmuch/0.16+119~g219c55f (http://notmuchmail.org) Emacs/24.3.1\r
+       (x86_64-unknown-linux-gnu)\r
+X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
+       $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
+       !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
+Date: Sat, 02 Nov 2013 23:08:31 +0200\r
+Message-ID: <m2li16h5ps.fsf@guru.guru-group.fi>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sat, 02 Nov 2013 21:08:46 -0000\r
+\r
+On Sat, Nov 02 2013, Tomi Ollila <tomi.ollila@iki.fi> wrote:\r
+\r
+> On Sat, Nov 02 2013, Rainer M Krug <Rainer@krugs.de> wrote:\r
+>\r
+>> Tomi Ollila <tomi.ollila@iki.fi> writes:\r
+>>\r
+>>> On Fri, Nov 01 2013, Michael Phillips <michaelalanphillips@gmail.com> wrote:\r
+>>>\r
+>>>> On Fri, Nov 1, 2013 at 1:44 AM, Tomi Ollila <tomi.ollila@iki.fi> wrote:\r
+>>>>> Hmm, it seems the rule doing that says @mkdir -p .deps/$(@D) ...\r
+>>>>>\r
+>>>>> does `mkdir -p xyzdir/.` fail in OS X 10.9 (Mavericks) ?\r
+>>>>\r
+>>>> $ mkdir -p xyzdir/.\r
+>>>>\r
+>>>> mkdir: xyzdir/.: No such file or directory\r
+>>>>\r
+>>>> Good catch! So mkdir changed between 10.8 and 10.9.\r
+>>>\r
+>>> Quick(&dirty?) solution would be to change the in quetsion recipes to format:\r
+>>>\r
+>>> @-mkdir -p .deps/$(@D)\r
+>>>\r
+>>> I.e. add dash (-) to make Make ignore failure there.\r
+>>\r
+>> Any progress on this front and instructions how I can install notmuch\r
+>> via homebrew? After the update to Maverick I am "notmuch-less"...\r
+>\r
+> This could work. I don't have Mac so I cannot test\r
+>\r
+> diff --git a/Makefile.local b/Makefile.local\r
+> index 72524eb..b59e063 100644\r
+> --- a/Makefile.local\r
+> +++ b/Makefile.local\r
+> @@ -236,11 +236,11 @@ endif\r
+>  quiet ?= $($(shell echo $1 | sed -e s'/ .*//'))\r
+>  \r
+>  %.o: %.cc $(global_deps)\r
+> -    @mkdir -p .deps/$(@D)\r
+> +    @-mkdir -p .deps .deps/$(@D)\r
+>      $(call quiet,CXX $(CPPFLAGS) $(CXXFLAGS)) -c $(FINAL_CXXFLAGS) $< -o $@ -MD -MP -MF .deps/$*.d\r
+>  \r
+>  %.o: %.c $(global_deps)\r
+> -    @mkdir -p .deps/$(@D)\r
+> +    @-mkdir -p .deps .deps/$(@D)\r
+>      $(call quiet,CC $(CPPFLAGS) $(CFLAGS)) -c $(FINAL_CFLAGS) $< -o $@ -MD -MP -MF .deps/$*.d\r
+>  \r
+>  .PHONY : clean\r
+>\r
+\r
+Actually @-mkdir -p .deps/$(@D) should do as .deps should be done before \r
+.deps/., but what Austin suggested in IRC are much better options:\r
+\r
+@mkdir -p .deps/$(@D:/.=)\r
+\r
+or\r
+\r
+@mkdir -p .deps/$(patsubst %/.,%,$(@D))\r
+\r
+\r
+Disclaimer: I copied the substution parts directly from IRC buffer (without\r
+testing but these looks sound), I am to blame suggesting these if these did\r
+not work. I.e. what ever you paid me for getting these suggestions are\r
+refunded ;)\r
+\r
+>> Rainer\r
+\r
+Tomi\r
+\r
+>>\r
+>>>\r
+>>>> Michael\r
+>>>\r
+>>> Tomi\r
+>>\r
+>>\r
+>> -- \r
+>> Rainer M. Krug\r
+>>\r
+>> email: RMKrug<at>gmail<dot>com\r
+>>\r
+>> _______________________________________________\r
+>> notmuch mailing list\r
+>> notmuch@notmuchmail.org\r
+>> http://notmuchmail.org/mailman/listinfo/notmuch\r