Re: [PATCH v4 16/16] add "notmuch reindex" subcommand
[notmuch-archives.git] / 3e / c5bb25005c9292feaabc8b07c6fc9ad6ef437c
1 Return-Path: <jinwoo68@gmail.com>\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 arlo.cworth.org (Postfix) with ESMTP id BEB1B6DE1639\r
6  for <notmuch@notmuchmail.org>; Sun, 14 Jun 2015 08:16:17 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.562\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.562 tagged_above=-999 required=5\r
12  tests=[AWL=-0.011, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,\r
13  DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25,\r
14  FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001,\r
15  SPF_PASS=-0.001] autolearn=disabled\r
16 Received: from arlo.cworth.org ([127.0.0.1])\r
17  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
18  with ESMTP id z4dmp2mEIrFb for <notmuch@notmuchmail.org>;\r
19  Sun, 14 Jun 2015 08:16:15 -0700 (PDT)\r
20 Received: from mail-pd0-f182.google.com (mail-pd0-f182.google.com\r
21  [209.85.192.182])\r
22  by arlo.cworth.org (Postfix) with ESMTPS id 8696C6DE15E3\r
23  for <notmuch@notmuchmail.org>; Sun, 14 Jun 2015 08:16:15 -0700 (PDT)\r
24 Received: by pdbki1 with SMTP id ki1so54941121pdb.1\r
25  for <notmuch@notmuchmail.org>; Sun, 14 Jun 2015 08:16:15 -0700 (PDT)\r
26 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
27  h=from:to:subject:in-reply-to:references:user-agent:date:message-id\r
28  :mime-version:content-type;\r
29  bh=j8MZd99Gd9ZyvMc3B6vIPpVZpMFTlF6hm6aeHviCgYQ=;\r
30  b=AZRb3x2xlyLMkIqaKHNdKbBffUr5G6Zz6QUMX19H1aC0AQkRB1jnuS5i1ghk8BTNPF\r
31  vrAHPNMGFKfNFgvTHCVeLrMoFgRR4/VLR7aBz71ZcO6YoR6940QV8V0d//L5oJRfN+/f\r
32  jF7nCVka+XDV9r1AIus/CADx/YFEAnyP+Ra5HD9Y1o+rVmJkGfy57NEjk+6Nz24FZNdQ\r
33  uCTdR90l8glNZluTFGmtdXVkFzn+JPqBMeVcz04aJGo2eth10Z2QhYKPlFfq8/m/eJP0\r
34  EewGNUwyNZeWIjynKWtcGiRRBQfAC+Rt86MCTKLhD5+h68am8UXe2TXPSKz14yKsRB5v\r
35  5jjg==\r
36 X-Received: by 10.68.223.34 with SMTP id qr2mr39746394pbc.140.1434294975093;\r
37  Sun, 14 Jun 2015 08:16:15 -0700 (PDT)\r
38 Received: from localhost ([2601:647:4b02:71ea:aceb:ce29:cbf6:ded6])\r
39  by mx.google.com with ESMTPSA id gp1sm9441088pbd.64.2015.06.14.08.16.12\r
40  (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
41  Sun, 14 Jun 2015 08:16:13 -0700 (PDT)\r
42 From: Jinwoo Lee <jinwoo68@gmail.com>\r
43 To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org\r
44 Subject: Re: [PATCH] lib, ruby: make use of -Wl,--no-undefined configurable\r
45 In-Reply-To: <87r3peye4q.fsf@maritornes.cs.unb.ca>\r
46 References: <1433142542-2307-3-git-send-email-david@tethera.net>\r
47  <1434261524-14139-1-git-send-email-david@tethera.net>\r
48  <yq65a8w2u7yv.fsf@jinwoo-macbookair.roam.corp.google.com>\r
49  <87r3peye4q.fsf@maritornes.cs.unb.ca>\r
50 User-Agent: Notmuch/0.20.1+21~g4e79903 (http://notmuchmail.org) Emacs/24.5.1\r
51  (x86_64-apple-darwin14.3.0)\r
52 Date: Sun, 14 Jun 2015 08:16:03 -0700\r
53 Message-ID: <yq657fr6tj64.fsf@jinwoo-macbookair.roam.corp.google.com>\r
54 MIME-Version: 1.0\r
55 Content-Type: text/plain\r
56 X-BeenThere: notmuch@notmuchmail.org\r
57 X-Mailman-Version: 2.1.18\r
58 Precedence: list\r
59 List-Id: "Use and development of the notmuch mail system."\r
60  <notmuch.notmuchmail.org>\r
61 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
62  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
63 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
64 List-Post: <mailto:notmuch@notmuchmail.org>\r
65 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
66 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
67  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
68 X-List-Received-Date: Sun, 14 Jun 2015 15:16:17 -0000\r
69 \r
70 On Sat, Jun 13, 2015 at 11:53 PM, David Bremner <david@tethera.net> wrote:\r
71 > Jinwoo Lee <jinwoo68@gmail.com> writes:\r
72 >\r
73 >> There are 2 problems.\r
74 >>\r
75 >> 1. The file, bindings/Makefile.local still has lib/libnotmuch.so as the\r
76 >>    dependency of ruby-bindings.\r
77 >\r
78 > this is fixed in\r
79 >\r
80 >      id:1434263191-14171-1-git-send-email-david@tethera.net\r
81 >\r
82 > an updated patch sent a few minutes ago.\r
83 >\r
84 >>\r
85 >>> cd bindings/ruby && \\r
86 >>>             EXTRA_LDFLAGS="" \\r
87 >>>             ruby extconf.rb --vendor\r
88 >>> checking for notmuch_database_create in libnotmuch.so... no\r
89 >>> *** extconf.rb failed ***\r
90 >\r
91 > This should also be fixed by the same patch, since that test is\r
92 > eliminated.\r
93 >\r
94 >> ld: warning: ignoring file ../../lib/libnotmuch.dylib, file was built for x86_64 which is not the architecture being linked (i386): ../../lib/libnotmuch.dylib\r
95 >\r
96 > On the other hand, this suggests there is still something broken with\r
97 > building the ruby extensions on mac. I think if noone has a better idea,\r
98 > and the updated versions of the two patches I sent to the list this\r
99 > morning don't help, I'll just add a "--without-ruby" option to the\r
100 > config script. In the long run, we probably want such an option anyway.  \r
101 \r
102 When I apply those 2 patches from you, things seem to work.  I still get\r
103 warnings like below, but they don't seem severe.  I'm not sure if the\r
104 ruby binding actually works though.\r
105 \r
106 ld: warning: directory not found for option '-L/usr/local/lib'\r
107 ld: warning: directory not found for option '-L/usr/local/lib'\r
108 ld: warning: ignoring file ../../lib/libnotmuch.dylib, file was built for x86_64 which is not the architecture being linked (i386): ../../lib/libnotmuch.dylib\r
109 \r
110 Thanks, David, for the quick fix!\r
111 \r
112 -jinwoo\r