Build broken on OS X 10.9
Rainer M Krug
Rainer at krugs.de
Sat Nov 2 09:07:10 PDT 2013
Tomi Ollila <tomi.ollila at iki.fi> writes:
> On Sat, Nov 02 2013, Rainer M Krug <Rainer at krugs.de> wrote:
>
>> Tomi Ollila <tomi.ollila at iki.fi> writes:
>>
>>> On Fri, Nov 01 2013, Michael Phillips <michaelalanphillips at gmail.com> wrote:
>>>
>>>> On Fri, Nov 1, 2013 at 1:44 AM, Tomi Ollila <tomi.ollila at iki.fi> 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: RMKrug<at>gmail<dot>com
>>
>> _______________________________________________
>> notmuch mailing list
>> notmuch at notmuchmail.org
>> http://notmuchmail.org/mailman/listinfo/notmuch
<#secure method=pgpmime mode=sign>
--
Rainer M. Krug
email: RMKrug<at>gmail<dot>com
More information about the notmuch
mailing list