[PATCH 4/4] Update NEWS for user.other_name
[notmuch-archives.git] / c6 / 8335d36d77e7c9cac33b4ebe0c44205ab0d268
1 Return-Path: <bremner@unb.ca>\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 28252431FD0\r
6         for <notmuch@notmuchmail.org>; Mon, 11 Jul 2011 12:29:37 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -2.29\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] autolearn=disabled\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 IEXA49tcOtNi for <notmuch@notmuchmail.org>;\r
16         Mon, 11 Jul 2011 12:29:35 -0700 (PDT)\r
17 Received: from tempo.its.unb.ca (tempo.its.unb.ca [131.202.1.21])\r
18         (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 4B612431FB6\r
21         for <notmuch@notmuchmail.org>; Mon, 11 Jul 2011 12:29:35 -0700 (PDT)\r
22 Received: from zancas.localnet\r
23         (fctnnbsc30w-142167177149.pppoe-dynamic.High-Speed.nb.bellaliant.net\r
24         [142.167.177.149]) (authenticated bits=0)\r
25         by tempo.its.unb.ca (8.13.8/8.13.8) with ESMTP id p6BJTXsX022906\r
26         (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO);\r
27         Mon, 11 Jul 2011 16:29:34 -0300\r
28 Received: from bremner by zancas.localnet with local (Exim 4.76)\r
29         (envelope-from <bremner@unb.ca>)\r
30         id 1QgMAe-0005jl-NW; Mon, 11 Jul 2011 16:29:32 -0300\r
31 From: David Bremner <david@tethera.net>\r
32 To: notmuch <notmuch@notmuchmail.org>\r
33 Subject: problems with symbol hiding on Debian Squeeze i386\r
34 Date: Mon, 11 Jul 2011 16:25:18 -0300\r
35 Message-ID: <87liw4ei1t.fsf@zancas.localnet>\r
36 User-Agent: Notmuch/0.6.1 (http://notmuchmail.org) Emacs/23.3.1\r
37         (x86_64-pc-linux-gnu)\r
38 MIME-Version: 1.0\r
39 Content-Type: multipart/signed; boundary="=-=-=";\r
40         micalg=pgp-sha1; protocol="application/pgp-signature"\r
41 X-BeenThere: notmuch@notmuchmail.org\r
42 X-Mailman-Version: 2.1.13\r
43 Precedence: list\r
44 List-Id: "Use and development of the notmuch mail system."\r
45         <notmuch.notmuchmail.org>\r
46 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
47         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
48 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
49 List-Post: <mailto:notmuch@notmuchmail.org>\r
50 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
51 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
52         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
53 X-List-Received-Date: Mon, 11 Jul 2011 19:29:37 -0000\r
54 \r
55 --=-=-=\r
56 Content-Transfer-Encoding: quoted-printable\r
57 \r
58 \r
59 Julien Valroth reported on IRC that he had problems with the initial\r
60 call of 'notmuch new' crashing with\r
61 \r
62 terminate called after throwing an instance of 'Xapian::InvalidArgumentErro=\r
63 r'\r
64 \r
65 I confirmed that the following quick and dirty patch seems to fix the probl=\r
66 em.\r
67 \r
68 =2D-- a/lib/Makefile.local\r
69 +++ b/lib/Makefile.local\r
70 @@ -36,7 +36,7 @@ LIBRARY_SUFFIX =3D so\r
71  LINKER_NAME =3D libnotmuch.$(LIBRARY_SUFFIX)\r
72  SONAME =3D $(LINKER_NAME).$(LIBNOTMUCH_VERSION_MAJOR)\r
73  LIBNAME =3D $(SONAME).$(LIBNOTMUCH_VERSION_MINOR).$(LIBNOTMUCH_VERSION_REL=\r
74 EASE)\r
75 =2DLIBRARY_LINK_FLAG =3D -shared -Wl,--version-script=3Dnotmuch.sym,-soname=\r
76 =3D$(SONAME)\r
77 +LIBRARY_LINK_FLAG =3D -shared -Wl,-soname=3D$(SONAME)\r
78  ifeq ($(LIBDIR_IN_LDCONFIG),1)\r
79  ifeq ($(DESTDIR),)\r
80  LIBRARY_INSTALL_POST_COMMAND=3Dldconfig\r
81 \r
82 I haven't quite decided what to do about this yet, but I thought I'd get\r
83 this on the record, because it seems to me a few people have been having\r
84 problems with this.\r
85 \r
86 FWIW, I tested with various versions of xapian and libgmime, but the\r
87 problem still exists for  gmime 2.4.25-1, and xapian 1.2.5-1, both\r
88 recompiled for squeeze.\r
89 \r
90 If you install the libxapian22 from sid, then gcc and libc6 are both\r
91 upgraded, and the problem goes away (but you are not really running\r
92 squeeze anymore).=20=20\r
93 \r
94 About the only good news is that the symbol hiding test does indeed fail\r
95 on squeeze i386.\r
96 \r
97 I have appended part of the backtrace, in case anyone finds it\r
98 illuminating.  As far as I can tell without line numbers, the catch in\r
99 _notmuch_message_remove_term is failing. I suppose this could be the\r
100 kind of "exceptions start mysteriously malfunctioning" that\r
101 http://gcc.gnu.org/wiki/Visibility warns about.\r
102 \r
103 Xapian _seems_ to do the right thing with visisibility\r
104 declarations for these exception classes.\r
105 \r
106 I don't know what, if anything to conclude from the fact that everything\r
107 seems to work fine in gcc 4.6.\r
108 \r
109 backtrace:\r
110 \r
111 #4  0xf7ac2442 in std::terminate() () from /usr/lib/libstdc++.so.6\r
112 #5  0xf7ac2581 in __cxa_throw () from /usr/lib/libstdc++.so.6\r
113 #6  0xf7b3fb83 in Xapian::Document::Internal::remove_term(std::string const=\r
114 &) ()\r
115    from /usr/lib/sse2/libxapian.so.22\r
116 #7  0xf7b3fc76 in Xapian::Document::remove_term(std::string const&) ()\r
117    from /usr/lib/sse2/libxapian.so.22\r
118 #8  0xf7fd5233 in _notmuch_message_remove_term ()\r
119    from /home/bremner/software/upstream/notmuch/lib/libnotmuch.so.1\r
120 #9  0xf7fd5389 in notmuch_message_remove_tag ()\r
121    from /home/bremner/software/upstream/notmuch/lib/libnotmuch.so.1\r
122 #10 0xf7fd63ea in notmuch_message_maildir_flags_to_tags ()\r
123    from /home/bremner/software/upstream/notmuch/lib/libnotmuch.so.1\r
124 #11 0x08050483 in add_files_recursive ()\r
125 \r
126 --=-=-=\r
127 Content-Type: application/pgp-signature\r
128 \r
129 -----BEGIN PGP SIGNATURE-----\r
130 Version: GnuPG v1.4.11 (GNU/Linux)\r
131 \r
132 iJwEAQECAAYFAk4bTxQACgkQTiiN/0Um85kwbgP/edw6SKMotqOctEQnTpm5Shbq\r
133 ld+lm3DnX7dT3Eiek2sD1Nf1kMgBHoLGcZ5OdRwVGkmJHFOSsJOFHVHaetASJ4ma\r
134 2D721JaA6+vXtKJzjPCofWyXu81z0ZdxXmp4yNk+hl3WxjNWOCf5ZkAG52VU0OVY\r
135 WXQ3Mua6f1oI+WaiD88=\r
136 =Q1Db\r
137 -----END PGP SIGNATURE-----\r
138 --=-=-=--\r