Re: A systematic way of handling Xapian lock errors?
[notmuch-archives.git] / 18 / 594fa8ffcf8ee7bf2f24c0507f2a5a42097a30
1 Return-Path: <cworth@cworth.org>\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 F33AF429E25\r
6         for <notmuch@notmuchmail.org>; Thu, 23 Jun 2011 14:38:43 -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: 0.01\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.01 tagged_above=-999 required=5\r
12         tests=[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 cotK-6JhMG5H for <notmuch@notmuchmail.org>;\r
16         Thu, 23 Jun 2011 14:38:43 -0700 (PDT)\r
17 Received: from arlo.cworth.org (arlo.cworth.org [50.43.72.2])\r
18         by olra.theworths.org (Postfix) with ESMTP id 89450431FD0\r
19         for <notmuch@notmuchmail.org>; Thu, 23 Jun 2011 14:38:43 -0700 (PDT)\r
20 Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
21         by arlo.cworth.org (Postfix) with ESMTP id 9133B29A505;\r
22         Thu, 23 Jun 2011 14:38:42 -0700 (PDT)\r
23 Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
24         id 83007254157; Thu, 23 Jun 2011 14:38:42 -0700 (PDT)\r
25 From: Carl Worth <cworth@cworth.org>\r
26 To: notmuch@notmuchmail.org, David Bremner <bremner@debian.org>\r
27 Subject: Re: debian: Override RPATH_LDFLAGS\r
28 In-Reply-To: <20110623014835.13916431FD0@olra.theworths.org>\r
29 References: <20110623014835.13916431FD0@olra.theworths.org>\r
30 User-Agent: Notmuch/0.5 (http://notmuchmail.org) Emacs/23.3.1\r
31         (i486-pc-linux-gnu)\r
32 Date: Thu, 23 Jun 2011 14:38:42 -0700\r
33 Message-ID: <87k4ccdy8t.fsf@yoom.home.cworth.org>\r
34 MIME-Version: 1.0\r
35 Content-Type: multipart/signed; boundary="=-=-=";\r
36         micalg=pgp-sha1; protocol="application/pgp-signature"\r
37 X-BeenThere: notmuch@notmuchmail.org\r
38 X-Mailman-Version: 2.1.13\r
39 Precedence: list\r
40 List-Id: "Use and development of the notmuch mail system."\r
41         <notmuch.notmuchmail.org>\r
42 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
43         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
44 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
45 List-Post: <mailto:notmuch@notmuchmail.org>\r
46 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
47 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
48         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
49 X-List-Received-Date: Thu, 23 Jun 2011 21:38:44 -0000\r
50 \r
51 --=-=-=\r
52 Content-Transfer-Encoding: quoted-printable\r
53 \r
54 On Wed, 22 Jun 2011 18:48:34 -0700 (PDT), (David Bremner) wrote:\r
55 >     Probably there is a nicer way to do this; perhaps it should be a\r
56 >     configure option.\r
57 >     (cherry picked from commit 387dc520dd68cc805e390f3a1399f85b5d5bd83a)\r
58 \r
59 This nicer way involved automatic detection of when rpath is\r
60 needed. That was the intent always, but it was broken for a while,\r
61 (leading to this patch I believe).\r
62 \r
63 The automatic detection should actually be working now. See the commit\r
64 referenced below.\r
65 \r
66 So, you'll want to test it, of course, but I think you can (and should)\r
67 drop this override of RPATH_LDFLAGS from the Debian packaging now.\r
68 \r
69 =2DCarl\r
70 \r
71 commit 574f408816e636f677b14384c18cc2e388991411\r
72 Author: Carl Worth <cworth@cworth.org>\r
73 Date:   Wed Jun 1 13:02:58 2011 -0700\r
74 \r
75     configure: Fix detection of libdir in ldconfig configuration\r
76 =20=20=20=20\r
77     Ever since commit b4b5e9ce4dac62111ec11da6d22b7e618056801f the\r
78     detection of libdir in the ldconfig configuration has been broken,\r
79     resulting in RPATH being set when not needed and not wanted.\r
80 =20=20=20=20\r
81     The cause was a change from an IFS setting of:\r
82 =20=20=20=20\r
83         IFS=3D"$(printf '\n\t')"\r
84 =20=20=20=20\r
85     to a new setting of:\r
86 =20=20=20=20\r
87         IFS=3D"$(printf '\n')"\r
88 =20=20=20=20\r
89     That looks desirable since we want to split the output of ldconfig\r
90     based on newlines, (and not split on any filename that might have an\r
91     embedded tab in it). The subtle bug in the above is that the shell\r
92     trims any trailing newlines when performing command substitution so\r
93     the final statement above was equivalent to:\r
94 =20=20=20=20\r
95         IFS=3D''\r
96 =20=20=20=20\r
97     which prevented any splitting of the ldconfig output at all.\r
98 =20=20=20=20\r
99     Fix this by avoiding command substitution and just using a literal\r
100     newline in the source file for setting this variable.\r
101 \r
102 --=-=-=\r
103 Content-Type: application/pgp-signature\r
104 \r
105 -----BEGIN PGP SIGNATURE-----\r
106 Version: GnuPG v1.4.11 (GNU/Linux)\r
107 \r
108 iEYEARECAAYFAk4DsmIACgkQ6JDdNq8qSWgU1ACdHNskbxWlmB49nmeCV1jB+awh\r
109 ulkAn0jVmSFIOLrM/8gLItGcnrdYEu8f\r
110 =aaav\r
111 -----END PGP SIGNATURE-----\r
112 --=-=-=--\r