[PATCH] lib, ruby: make use of -Wl,--no-undefined configurable

Tomi Ollila tomi.ollila at iki.fi
Mon Jun 15 02:20:12 PDT 2015


On Mon, Jun 15 2015, Jinwoo Lee <jinwoo68 at gmail.com> wrote:

> On Sun, Jun 14, 2015 at 11:34 AM, David Bremner <david at tethera.net> wrote:
>> Jinwoo Lee <jinwoo68 at gmail.com> writes:
>>
>>> When I apply those 2 patches from you, things seem to work.  I still get
>>> warnings like below, but they don't seem severe.  I'm not sure if the
>>> ruby binding actually works though.
>>>
>>> ld: warning: ignoring file ../../lib/libnotmuch.dylib, file was built for x86_64 which is not the architecture being linked (i386): ../../lib/libnotmuch.dylib
>>>
>>
>> That one is a bit worrying, but I don't know enough about OS X to know
>> for sure. If you have time/interest, can you try running the tests in
>>
>>     id:1433142542-2307-5-git-send-email-david at tethera.net
>>
>> Just apply the patch and make tests. That should indicate if the
>> bindings are basically working.
>
> Do you mean `make test', not `make tests'?
>
> `make test' errors saying that the bash version must be >= 4.0.  Bash on
> my mac is 3.2.57, which is the default bash installed on Yosemite.

That probably will not change; IIRC bash 3.2.57 is released under GPLv2
and bash >= 4 GPLv3. You just need to install separate bash (brew, ports,
wherever) in order to run these tests in OS X.

>
>     Error: The notmuch test suite requires a bash version >= 4.0
>     due to use of associative arrays within the test suite.
>     Please try again with a newer bash (or help us fix the
>     test suite to be more portable). Thanks.
> _______________________________________________
> notmuch mailing list
> notmuch at notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch


More information about the notmuch mailing list