* Build broken on OS X 10.9 @ 2013-10-25 20:54 Tad 2013-10-26 9:35 ` Jani Nikula 0 siblings, 1 reply; 12+ messages in thread From: Tad @ 2013-10-25 20:54 UTC (permalink / raw) To: notmuch Looks like notmuch 0.16 won't build on OS X 10.9 due to the switch to libc++. I don't know where to start with fixing this, but thought I'd let y'all know. ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Build broken on OS X 10.9 2013-10-25 20:54 Build broken on OS X 10.9 Tad @ 2013-10-26 9:35 ` Jani Nikula 2013-11-01 1:05 ` Michael Phillips 0 siblings, 1 reply; 12+ messages in thread From: Jani Nikula @ 2013-10-26 9:35 UTC (permalink / raw) To: Tad; +Cc: Notmuch Mail [-- Attachment #1: Type: text/plain, Size: 409 bytes --] Please post the build log. Jani. On Oct 25, 2013 11:54 PM, "Tad" <tadfisher@gmail.com> wrote: > Looks like notmuch 0.16 won't build on OS X 10.9 due to the switch to > libc++. I don't know where to start with fixing this, but thought I'd > let y'all know. > _______________________________________________ > notmuch mailing list > notmuch@notmuchmail.org > http://notmuchmail.org/mailman/listinfo/notmuch > [-- Attachment #2: Type: text/html, Size: 830 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Build broken on OS X 10.9 2013-10-26 9:35 ` Jani Nikula @ 2013-11-01 1:05 ` Michael Phillips 2013-11-01 6:44 ` Tomi Ollila 0 siblings, 1 reply; 12+ messages in thread From: Michael Phillips @ 2013-11-01 1:05 UTC (permalink / raw) To: notmuch Jani Nikula <jani@...> writes: > Please post the build log. I'm building from homebrew, a popular package manager for OS X. When I run: brew install -v notmuch --emacs here's what I get in the log from configure: Checking for Xapian development files... Yes (1.2.13). Checking for GMime development files... Yes (gmime-2.6 >= 2.6.7). Checking for Glib development files (>= 2.22)... Yes. Checking for talloc development files... Yes. Checking for valgrind development files... No (but that's fine). Checking if emacs is available... Yes. Checking which platform we are on... Mac OS X. Checking for getline... Yes. Checking for strcasestr... Yes. Checking for rpath support... No (nothing to worry about). Checking for -Wl,--as-needed... No (nothing to worry about). Checking for available C++ compiler warning flags... -Wall -Wextra -Wwrite-strings Checking for available C compiler warning flags... -Wall -Wextra -Wwrite-strings -Wmissing-declarations ...and from make: emacs --quick --directory emacs -batch -l make-deps.el \ -f batch-make-deps emacs/notmuch-lib.el emacs/notmuch-parser.el emacs/notmuch.el emacs/notmuch-query.el \ emacs/notmuch-show.el emacs/notmuch-wash.el emacs/notmuch-hello.el emacs/notmuch-mua.el \ emacs/notmuch-address.el emacs/notmuch- maildir-fcc.el emacs/notmuch-message.el \ emacs/notmuch-crypto.el emacs/notmuch-tag.el emacs/coolj.el emacs/notmuch-print.el > emacs/.eldeps.tmp && \ (cmp -s emacs/.eldeps.tmp emacs/.eldeps || mv emacs/.eldeps.tmp emacs/.eldeps) mkdir: .deps/.: No such file or directory make: *** [command-line-arguments.o] Error 1 HOMEBREW_VERSION: 0.9.5 HEAD: 916efbe93f0e9fd43e462d9dacf2836d26294d1b CPU: quad-core 64-bit sandybridge OS X: 10.9-x86_64 Xcode: 5.0.1 CLT: 5.0.1.0.1.1382131676 X11: N/A ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Build broken on OS X 10.9 2013-11-01 1:05 ` Michael Phillips @ 2013-11-01 6:44 ` Tomi Ollila 2013-11-01 14:02 ` Michael Phillips 0 siblings, 1 reply; 12+ messages in thread From: Tomi Ollila @ 2013-11-01 6:44 UTC (permalink / raw) To: Michael Phillips, notmuch On Fri, Nov 01 2013, Michael Phillips <michaelalanphillips@gmail.com> wrote: > Jani Nikula <jani@...> writes: >> Please post the build log. > > I'm building from homebrew, a popular package manager for OS X. > > When I run: > > brew install -v notmuch --emacs > > here's what I get in the log from configure: > > Checking for Xapian development files... Yes (1.2.13). > Checking for GMime development files... Yes (gmime-2.6 >= 2.6.7). > Checking for Glib development files (>= 2.22)... Yes. > Checking for talloc development files... Yes. > Checking for valgrind development files... No (but that's fine). > Checking if emacs is available... Yes. > Checking which platform we are on... Mac OS X. > Checking for getline... Yes. > Checking for strcasestr... Yes. > Checking for rpath support... No (nothing to worry about). > Checking for -Wl,--as-needed... No (nothing to worry about). > Checking for available C++ compiler warning flags... > -Wall -Wextra -Wwrite-strings > Checking for available C compiler warning flags... > -Wall -Wextra -Wwrite-strings -Wmissing-declarations > > ...and from make: > > emacs --quick --directory emacs -batch -l make-deps.el \ > -f batch-make-deps emacs/notmuch-lib.el emacs/notmuch-parser.el > emacs/notmuch.el emacs/notmuch-query.el \ > emacs/notmuch-show.el emacs/notmuch-wash.el > emacs/notmuch-hello.el emacs/notmuch-mua.el \ > emacs/notmuch-address.el emacs/notmuch- > maildir-fcc.el emacs/notmuch-message.el \ > emacs/notmuch-crypto.el emacs/notmuch-tag.el > emacs/coolj.el emacs/notmuch-print.el > emacs/.eldeps.tmp && \ > (cmp -s emacs/.eldeps.tmp emacs/.eldeps || mv emacs/.eldeps.tmp emacs/.eldeps) > mkdir: .deps/.: No such file or directory Hmm, it seems the rule doing that says @mkdir -p .deps/$(@D) ... does `mkdir -p xyzdir/.` fail in OS X 10.9 (Mavericks) ? (note trailing `.' in command line). That line works fine in Linux. > make: *** [command-line-arguments.o] Error 1 Tomi PS: A far-fetched attempt to make 'mkdir -p ...' fail the same way in Linux is: 'mkdir zzz; cd zzz; rm -rf ../zzz; mkdir -p yyy/.' which gives: mkdir: cannot create directory ‘yyy’: No such file or directory -- I'd say the probability this is the case is rather small... ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Build broken on OS X 10.9 2013-11-01 6:44 ` Tomi Ollila @ 2013-11-01 14:02 ` Michael Phillips 2013-11-01 14:22 ` Tomi Ollila 0 siblings, 1 reply; 12+ messages in thread From: Michael Phillips @ 2013-11-01 14:02 UTC (permalink / raw) To: Tomi Ollila; +Cc: notmuch On Fri, Nov 1, 2013 at 1:44 AM, Tomi Ollila <tomi.ollila@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. Michael ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Build broken on OS X 10.9 2013-11-01 14:02 ` Michael Phillips @ 2013-11-01 14:22 ` Tomi Ollila 2013-11-02 15:55 ` Rainer M Krug 0 siblings, 1 reply; 12+ messages in thread From: Tomi Ollila @ 2013-11-01 14:22 UTC (permalink / raw) To: Michael Phillips; +Cc: notmuch On Fri, Nov 01 2013, Michael Phillips <michaelalanphillips@gmail.com> wrote: > On Fri, Nov 1, 2013 at 1:44 AM, Tomi Ollila <tomi.ollila@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. > Michael Tomi ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Build broken on OS X 10.9 2013-11-01 14:22 ` Tomi Ollila @ 2013-11-02 15:55 ` Rainer M Krug 2013-11-02 16:00 ` Tomi Ollila 0 siblings, 1 reply; 12+ messages in thread From: Rainer M Krug @ 2013-11-02 15:55 UTC (permalink / raw) To: notmuch Tomi Ollila <tomi.ollila@iki.fi> writes: > On Fri, Nov 01 2013, Michael Phillips <michaelalanphillips@gmail.com> wrote: > >> On Fri, Nov 1, 2013 at 1:44 AM, Tomi Ollila <tomi.ollila@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"... Rainer > >> Michael > > Tomi -- Rainer M. Krug email: RMKrug<at>gmail<dot>com ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Build broken on OS X 10.9 2013-11-02 15:55 ` Rainer M Krug @ 2013-11-02 16:00 ` Tomi Ollila 2013-11-02 16:07 ` Rainer M Krug 2013-11-02 21:08 ` Tomi Ollila 0 siblings, 2 replies; 12+ messages in thread From: Tomi Ollila @ 2013-11-02 16:00 UTC (permalink / raw) To: Rainer M Krug, notmuch On Sat, Nov 02 2013, Rainer M Krug <Rainer@krugs.de> wrote: > Tomi Ollila <tomi.ollila@iki.fi> writes: > >> On Fri, Nov 01 2013, Michael Phillips <michaelalanphillips@gmail.com> wrote: >> >>> On Fri, Nov 1, 2013 at 1:44 AM, Tomi Ollila <tomi.ollila@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 > > Rainer > >> >>> Michael >> >> Tomi > > > -- > Rainer M. Krug > > email: RMKrug<at>gmail<dot>com > > _______________________________________________ > notmuch mailing list > notmuch@notmuchmail.org > http://notmuchmail.org/mailman/listinfo/notmuch ^ permalink raw reply related [flat|nested] 12+ messages in thread
* Re: Build broken on OS X 10.9 2013-11-02 16:00 ` Tomi Ollila @ 2013-11-02 16:07 ` Rainer M Krug 2013-11-02 17:26 ` David Bremner 2013-11-02 21:08 ` Tomi Ollila 1 sibling, 1 reply; 12+ messages in thread From: Rainer M Krug @ 2013-11-02 16:07 UTC (permalink / raw) To: notmuch Tomi Ollila <tomi.ollila@iki.fi> writes: > On Sat, Nov 02 2013, Rainer M Krug <Rainer@krugs.de> wrote: > >> Tomi Ollila <tomi.ollila@iki.fi> writes: >> >>> On Fri, Nov 01 2013, Michael Phillips <michaelalanphillips@gmail.com> wrote: >>> >>>> On Fri, Nov 1, 2013 at 1:44 AM, Tomi Ollila <tomi.ollila@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@notmuchmail.org >> http://notmuchmail.org/mailman/listinfo/notmuch <#secure method=pgpmime mode=sign> -- Rainer M. Krug email: RMKrug<at>gmail<dot>com ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Build broken on OS X 10.9 2013-11-02 16:07 ` Rainer M Krug @ 2013-11-02 17:26 ` David Bremner 2013-11-07 14:07 ` Rainer M Krug 0 siblings, 1 reply; 12+ messages in thread From: David Bremner @ 2013-11-02 17:26 UTC (permalink / raw) To: Rainer M Krug, notmuch Rainer M Krug <Rainer@krugs.de> writes: > Tomi Ollila <tomi.ollila@iki.fi> writes: > > Hi Tomi > > thanks for the immediate reply, but I am effectively clueless how I can > apply this patch under homebrew. > > Any tips appreciated, > > Rainer I guess you should talk to the person that packages notmuch for homebrew? d ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Build broken on OS X 10.9 2013-11-02 17:26 ` David Bremner @ 2013-11-07 14:07 ` Rainer M Krug 0 siblings, 0 replies; 12+ messages in thread From: Rainer M Krug @ 2013-11-07 14:07 UTC (permalink / raw) To: notmuch On 11/02/13, 18:26 , David Bremner wrote: > Rainer M Krug <Rainer@krugs.de> writes: > >> Tomi Ollila <tomi.ollila@iki.fi> writes: >> >> Hi Tomi >> >> thanks for the immediate reply, but I am effectively clueless how I can >> apply this patch under homebrew. >> >> Any tips appreciated, >> >> Rainer > > I guess you should talk to the person that packages notmuch for > homebrew? Just to update here: it is working now out of the box. Cheers, Rainer > > d > -- Rainer M. Krug email: RMKrug<at>gmail<dot>com ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Build broken on OS X 10.9 2013-11-02 16:00 ` Tomi Ollila 2013-11-02 16:07 ` Rainer M Krug @ 2013-11-02 21:08 ` Tomi Ollila 1 sibling, 0 replies; 12+ messages in thread From: Tomi Ollila @ 2013-11-02 21:08 UTC (permalink / raw) To: Rainer M Krug, notmuch On Sat, Nov 02 2013, Tomi Ollila <tomi.ollila@iki.fi> wrote: > On Sat, Nov 02 2013, Rainer M Krug <Rainer@krugs.de> wrote: > >> Tomi Ollila <tomi.ollila@iki.fi> writes: >> >>> On Fri, Nov 01 2013, Michael Phillips <michaelalanphillips@gmail.com> wrote: >>> >>>> On Fri, Nov 1, 2013 at 1:44 AM, Tomi Ollila <tomi.ollila@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 > Actually @-mkdir -p .deps/$(@D) should do as .deps should be done before .deps/., but what Austin suggested in IRC are much better options: @mkdir -p .deps/$(@D:/.=) or @mkdir -p .deps/$(patsubst %/.,%,$(@D)) Disclaimer: I copied the substution parts directly from IRC buffer (without testing but these looks sound), I am to blame suggesting these if these did not work. I.e. what ever you paid me for getting these suggestions are refunded ;) >> Rainer Tomi >> >>> >>>> Michael >>> >>> Tomi >> >> >> -- >> Rainer M. Krug >> >> email: RMKrug<at>gmail<dot>com >> >> _______________________________________________ >> notmuch mailing list >> notmuch@notmuchmail.org >> http://notmuchmail.org/mailman/listinfo/notmuch ^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2013-11-07 14:07 UTC | newest] Thread overview: 12+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2013-10-25 20:54 Build broken on OS X 10.9 Tad 2013-10-26 9:35 ` Jani Nikula 2013-11-01 1:05 ` Michael Phillips 2013-11-01 6:44 ` Tomi Ollila 2013-11-01 14:02 ` Michael Phillips 2013-11-01 14:22 ` Tomi Ollila 2013-11-02 15:55 ` Rainer M Krug 2013-11-02 16:00 ` Tomi Ollila 2013-11-02 16:07 ` Rainer M Krug 2013-11-02 17:26 ` David Bremner 2013-11-07 14:07 ` Rainer M Krug 2013-11-02 21:08 ` Tomi Ollila
Code repositories for project(s) associated with this public inbox https://yhetil.org/notmuch.git/ This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).