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