From: Tomi Ollila Date: Sat, 2 Nov 2013 16:00:29 +0000 (+0200) Subject: Re: Build broken on OS X 10.9 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8b2abc9c67f50b74335e47a1c0cfa11f3a7fedd6;p=notmuch-archives.git Re: Build broken on OS X 10.9 --- diff --git a/0e/080c83419deb9d63b0653598a225318be77420 b/0e/080c83419deb9d63b0653598a225318be77420 new file mode 100644 index 000000000..75bcfa047 --- /dev/null +++ b/0e/080c83419deb9d63b0653598a225318be77420 @@ -0,0 +1,123 @@ +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 15B27431FD0 + for ; Sat, 2 Nov 2013 09:00:47 -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 VfAuAWNkukdX for ; + Sat, 2 Nov 2013 09:00:37 -0700 (PDT) +Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) + by olra.theworths.org (Postfix) with ESMTP id 9B1E1431FAF + for ; Sat, 2 Nov 2013 09:00:37 -0700 (PDT) +Received: from guru.guru-group.fi (localhost [IPv6:::1]) + by guru.guru-group.fi (Postfix) with ESMTP id E890310005D; + Sat, 2 Nov 2013 18:00:29 +0200 (EET) +From: Tomi Ollila +To: Rainer M Krug , 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 +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: Sat, 02 Nov 2013 16:00:47 -0000 + +On Sat, Nov 02 2013, Rainer M Krug wrote: + +> Tomi Ollila writes: +> +>> On Fri, Nov 01 2013, Michael Phillips wrote: +>> +>>> On Fri, Nov 1, 2013 at 1:44 AM, Tomi Ollila wrote: +>>>> Hmm, it seems the rule doing that says @mkdir -p .deps/$(@D) ... +>>>> +>>>> does `mkdir -p xyzdir/.` fail in OS X 10.9 (Mavericks) ? +>>> +>>> $ mkdir -p xyzdir/. +>>> +>>> mkdir: xyzdir/.: No such file or directory +>>> +>>> Good catch! So mkdir changed between 10.8 and 10.9. +>> +>> Quick(&dirty?) solution would be to change the in quetsion recipes to format: +>> +>> @-mkdir -p .deps/$(@D) +>> +>> I.e. add dash (-) to make Make ignore failure there. +> +> Any progress on this front and instructions how I can install notmuch +> via homebrew? After the update to Maverick I am "notmuch-less"... + +This could work. I don't have Mac so I cannot test + +diff --git a/Makefile.local b/Makefile.local +index 72524eb..b59e063 100644 +--- a/Makefile.local ++++ b/Makefile.local +@@ -236,11 +236,11 @@ endif + quiet ?= $($(shell echo $1 | sed -e s'/ .*//')) + + %.o: %.cc $(global_deps) +- @mkdir -p .deps/$(@D) ++ @-mkdir -p .deps .deps/$(@D) + $(call quiet,CXX $(CPPFLAGS) $(CXXFLAGS)) -c $(FINAL_CXXFLAGS) $< -o $@ -MD -MP -MF .deps/$*.d + + %.o: %.c $(global_deps) +- @mkdir -p .deps/$(@D) ++ @-mkdir -p .deps .deps/$(@D) + $(call quiet,CC $(CPPFLAGS) $(CFLAGS)) -c $(FINAL_CFLAGS) $< -o $@ -MD -MP -MF .deps/$*.d + + .PHONY : clean + + + + +> +> Rainer +> +>> +>>> Michael +>> +>> Tomi +> +> +> -- +> Rainer M. Krug +> +> email: RMKruggmailcom +> +> _______________________________________________ +> notmuch mailing list +> notmuch@notmuchmail.org +> http://notmuchmail.org/mailman/listinfo/notmuch