Build broken on OS X 10.9

2013-11-07 Thread Rainer M Krug
On 11/02/13, 18:26 , David Bremner wrote:
> Rainer M Krug  writes:
> 
>> Tomi Ollila  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: RMKruggmailcom



Re: Build broken on OS X 10.9

2013-11-07 Thread Rainer M Krug
On 11/02/13, 18:26 , David Bremner wrote:
 Rainer M Krug rai...@krugs.de writes:
 
 Tomi Ollila tomi.oll...@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: RMKrugatgmaildotcom

___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Build broken on OS X 10.9

2013-11-03 Thread Tomi Ollila
On Sat, Nov 02 2013, Tomi Ollila  wrote:

> 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(?) 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: RMKruggmailcom
>>
>> ___
>> notmuch mailing list
>> notmuch at notmuchmail.org
>> http://notmuchmail.org/mailman/listinfo/notmuch


Build broken on OS X 10.9

2013-11-02 Thread Tomi Ollila
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(?) 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 at notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch


Build broken on OS X 10.9

2013-11-02 Thread Rainer M Krug
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(?) 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 at notmuchmail.org
>> http://notmuchmail.org/mailman/listinfo/notmuch
<#secure method=pgpmime mode=sign>

-- 
Rainer M. Krug

email: RMKruggmailcom



Build broken on OS X 10.9

2013-11-02 Thread Rainer M Krug
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(?) 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: RMKruggmailcom



Build broken on OS X 10.9

2013-11-02 Thread David Bremner
Rainer M Krug  writes:

> Tomi Ollila  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


Re: Build broken on OS X 10.9

2013-11-02 Thread Rainer M Krug
Tomi Ollila tomi.oll...@iki.fi writes:

 On Fri, Nov 01 2013, Michael Phillips michaelalanphill...@gmail.com wrote:

 On Fri, Nov 1, 2013 at 1:44 AM, Tomi Ollila tomi.oll...@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: RMKrugatgmaildotcom

___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Re: Build broken on OS X 10.9

2013-11-02 Thread Tomi Ollila
On Sat, Nov 02 2013, Rainer M Krug rai...@krugs.de wrote:

 Tomi Ollila tomi.oll...@iki.fi writes:

 On Fri, Nov 01 2013, Michael Phillips michaelalanphill...@gmail.com wrote:

 On Fri, Nov 1, 2013 at 1:44 AM, Tomi Ollila tomi.oll...@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: RMKrugatgmaildotcom

 ___
 notmuch mailing list
 notmuch@notmuchmail.org
 http://notmuchmail.org/mailman/listinfo/notmuch
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Re: Build broken on OS X 10.9

2013-11-02 Thread Rainer M Krug
Tomi Ollila tomi.oll...@iki.fi writes:

 On Sat, Nov 02 2013, Rainer M Krug rai...@krugs.de wrote:

 Tomi Ollila tomi.oll...@iki.fi writes:

 On Fri, Nov 01 2013, Michael Phillips michaelalanphill...@gmail.com wrote:

 On Fri, Nov 1, 2013 at 1:44 AM, Tomi Ollila tomi.oll...@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: RMKrugatgmaildotcom

 ___
 notmuch mailing list
 notmuch@notmuchmail.org
 http://notmuchmail.org/mailman/listinfo/notmuch
#secure method=pgpmime mode=sign

-- 
Rainer M. Krug

email: RMKrugatgmaildotcom

___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Re: Build broken on OS X 10.9

2013-11-02 Thread David Bremner
Rainer M Krug rai...@krugs.de writes:

 Tomi Ollila tomi.oll...@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
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Re: Build broken on OS X 10.9

2013-11-02 Thread Tomi Ollila
On Sat, Nov 02 2013, Tomi Ollila tomi.oll...@iki.fi wrote:

 On Sat, Nov 02 2013, Rainer M Krug rai...@krugs.de wrote:

 Tomi Ollila tomi.oll...@iki.fi writes:

 On Fri, Nov 01 2013, Michael Phillips michaelalanphill...@gmail.com wrote:

 On Fri, Nov 1, 2013 at 1:44 AM, Tomi Ollila tomi.oll...@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: RMKrugatgmaildotcom

 ___
 notmuch mailing list
 notmuch@notmuchmail.org
 http://notmuchmail.org/mailman/listinfo/notmuch
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Build broken on OS X 10.9

2013-11-01 Thread Tomi Ollila
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(?) 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


Build broken on OS X 10.9

2013-11-01 Thread Michael Phillips
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.

Michael


Build broken on OS X 10.9

2013-11-01 Thread Tomi Ollila
On Fri, Nov 01 2013, Michael Phillips  wrote:

> Jani Nikula  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... 


Build broken on OS X 10.9

2013-11-01 Thread Michael Phillips
Jani Nikula  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






Re: Build broken on OS X 10.9

2013-11-01 Thread Tomi Ollila
On Fri, Nov 01 2013, Michael Phillips michaelalanphill...@gmail.com wrote:

 On Fri, Nov 1, 2013 at 1:44 AM, Tomi Ollila tomi.oll...@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
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Re: Build broken on OS X 10.9

2013-11-01 Thread Michael Phillips
On Fri, Nov 1, 2013 at 1:44 AM, Tomi Ollila tomi.oll...@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
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Re: Build broken on OS X 10.9

2013-10-31 Thread Michael Phillips
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




___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Build broken on OS X 10.9

2013-10-26 Thread Jani Nikula
Please post the build log.

Jani.
On Oct 25, 2013 11:54 PM, "Tad"  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 at notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch
>
-- next part --
An HTML attachment was scrubbed...
URL: 



Re: Build broken on OS X 10.9

2013-10-26 Thread Jani Nikula
Please post the build log.

Jani.
On Oct 25, 2013 11:54 PM, Tad tadfis...@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

___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Build broken on OS X 10.9

2013-10-25 Thread Tad
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.


Build broken on OS X 10.9

2013-10-25 Thread Tad
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