From: Rainer M Krug Date: Sat, 2 Nov 2013 16:07:10 +0000 (+0100) Subject: Re: Build broken on OS X 10.9 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f23b5118058fd9c39d068173668dcc26cd87dfbd;p=notmuch-archives.git Re: Build broken on OS X 10.9 --- diff --git a/29/69bd8bde428aab68ad7fd5fa9634fbf88542e7 b/29/69bd8bde428aab68ad7fd5fa9634fbf88542e7 new file mode 100644 index 000000000..5207c0afb --- /dev/null +++ b/29/69bd8bde428aab68ad7fd5fa9634fbf88542e7 @@ -0,0 +1,153 @@ +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 1985B431FD0 + for ; Sat, 2 Nov 2013 09:07:29 -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=[RCVD_IN_DNSWL_NONE=-0.0001] 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 FlF5+wdsew1V for ; + Sat, 2 Nov 2013 09:07:21 -0700 (PDT) +Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) + (using TLSv1 with cipher AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 2FF3F431FAF + for ; Sat, 2 Nov 2013 09:07:21 -0700 (PDT) +Received: from list by plane.gmane.org with local (Exim 4.69) + (envelope-from ) id 1VcdjL-0007Wr-V8 + for notmuch@notmuchmail.org; Sat, 02 Nov 2013 17:07:19 +0100 +Received: from arn78-1-88-186-171-7.fbx.proxad.net ([88.186.171.7]) + by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) + id 1AlnuQ-0007hv-00 + for ; Sat, 02 Nov 2013 17:07:19 +0100 +Received: from Rainer by arn78-1-88-186-171-7.fbx.proxad.net with local + (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 + for ; Sat, 02 Nov 2013 17:07:19 +0100 +X-Injected-Via-Gmane: http://gmane.org/ +To: notmuch@notmuchmail.org +From: Rainer M Krug +Subject: Re: Build broken on OS X 10.9 +Date: Sat, 02 Nov 2013 17:07:10 +0100 +Lines: 87 +Message-ID: +References: + + + + + + +Mime-Version: 1.0 +Content-Type: text/plain +X-Complaints-To: usenet@ger.gmane.org +X-Gmane-NNTP-Posting-Host: arn78-1-88-186-171-7.fbx.proxad.net +User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin) +Cancel-Lock: sha1:3T/HToSjci0op1Mx7seMaTPOR8Q= +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:07:29 -0000 + +Tomi Ollila writes: + +> 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 +> + +Hi Tomi + +thanks for the immediate reply, but I am effectively clueless how I can +apply this patch under homebrew. + +Any tips appreciated, + +Rainer + + +> +> +> +>> +>> Rainer +>> +>>> +>>>> Michael +>>> +>>> Tomi +>> +>> +>> -- +>> Rainer M. Krug +>> +>> email: RMKruggmailcom +>> +>> _______________________________________________ +>> notmuch mailing list +>> notmuch@notmuchmail.org +>> http://notmuchmail.org/mailman/listinfo/notmuch +<#secure method=pgpmime mode=sign> + +-- +Rainer M. Krug + +email: RMKruggmailcom +