1 Return-Path: <nate4d@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 36F396DE1A7C
\r
6 for <notmuch@notmuchmail.org>; Tue, 2 Jun 2015 13:37:34 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org
\r
11 X-Spam-Status: No, score=-0.129 tagged_above=-999 required=5
\r
12 tests=[AWL=-0.551, DATE_IN_PAST_06_12=1.103, DKIM_SIGNED=0.1,
\r
13 DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7,
\r
14 RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001,
\r
15 T_FREEMAIL_FORGED_FROMDOMAIN=0.01,
\r
16 T_HEADER_FROM_DIFFERENT_DOMAINS=0.01] autolearn=disabled
\r
17 Received: from arlo.cworth.org ([127.0.0.1])
\r
18 by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)
\r
19 with ESMTP id uEybvFnonyo9 for <notmuch@notmuchmail.org>;
\r
20 Tue, 2 Jun 2015 13:37:31 -0700 (PDT)
\r
21 Received: from mail-qg0-f46.google.com (mail-qg0-f46.google.com
\r
23 by arlo.cworth.org (Postfix) with ESMTPS id 714626DE138F
\r
24 for <notmuch@notmuchmail.org>; Tue, 2 Jun 2015 13:37:31 -0700 (PDT)
\r
25 Received: by qgfa63 with SMTP id a63so64067695qgf.0
\r
26 for <notmuch@notmuchmail.org>; Tue, 02 Jun 2015 13:37:30 -0700 (PDT)
\r
27 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
\r
28 h=sender:from:content-type:content-transfer-encoding:subject:date
\r
29 :message-id:to:mime-version;
\r
30 bh=ZtpAbHRiZ89cQ0Qzh0dCMNw8K5lg+JksPouXbT/TmYc=;
\r
31 b=F6CTARUInyfROIwIB6u7whdCpMAPpZNW0q3Gmu/yuhjSJDf/2zX5+L43vTOrw0Z4L2
\r
32 ciLCD+PjokkwGoQABQtPcKTp+ZHormGFCtY9PzLR1jekDuoldxXrCMhaqFxILfwEvJb8
\r
33 GP2YJo0wesZRAg2URUvnsUWhtFICP/aZA+NlboygMhHr4sylJKRPkA5pgXDwUvewYT/3
\r
34 /CEe45o9XA1joiY8LSoJcdHlN/PAT6kNqRay53YhiAC8NuOXF3pWd2NJnXK8hPiayfy+
\r
35 9Hf8G9+lHX9jL/eVonABa1vjq5EfM4jE3JZlpFYIqAjaKdhT1rfLCOcaWR504X/TnWit
\r
37 X-Received: by 10.140.231.85 with SMTP id b82mr33220873qhc.2.1433277450261;
\r
38 Tue, 02 Jun 2015 13:37:30 -0700 (PDT)
\r
39 Received: from [10.46.105.6] ([70.42.157.61])
\r
40 by mx.google.com with ESMTPSA id 9sm7873282qhy.1.2015.06.02.13.37.25
\r
41 for <notmuch@notmuchmail.org>
\r
42 (version=TLSv1 cipher=RC4-SHA bits=128/128);
\r
43 Tue, 02 Jun 2015 13:37:29 -0700 (PDT)
\r
44 Sender: Nathan Eagleson <nate4d@gmail.com>
\r
45 From: Nate Eagleson <nate@nateeag.com>
\r
46 Content-Type: text/plain; charset=us-ascii
\r
47 Content-Transfer-Encoding: quoted-printable
\r
48 Subject: build failure on Mac OS X 10.6.8 - diagnosis
\r
49 Date: Tue, 2 Jun 2015 08:46:53 -0400
\r
50 Message-Id: <BF399CD7-300D-413C-8CC0-62B541A871B2@nateeag.com>
\r
51 To: notmuch@notmuchmail.org
\r
52 Mime-Version: 1.0 (Apple Message framework v1085)
\r
53 X-Mailer: Apple Mail (2.1085)
\r
54 X-BeenThere: notmuch@notmuchmail.org
\r
55 X-Mailman-Version: 2.1.18
\r
57 List-Id: "Use and development of the notmuch mail system."
\r
58 <notmuch.notmuchmail.org>
\r
59 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
60 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
61 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>
\r
62 List-Post: <mailto:notmuch@notmuchmail.org>
\r
63 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
64 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
65 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
66 X-List-Received-Date: Tue, 02 Jun 2015 20:37:34 -0000
\r
70 I'm trying to move from Apple's Mail.app in favor of =
\r
71 offlineimap/notmuch, but
\r
72 I've run into a notmuch build failure on Mac OS X 10.6.8.
\r
74 The failure was reported on this list a few months ago, but no =
\r
78 http://notmuchmail.org/pipermail/notmuch/2015/020531.html
\r
80 By appending `-Wl,-t` to `FINAL_NOTMUCH_LDFLAGS` in Makefile.local, I
\r
81 got 10.6.8's ld to dump the list of archives and dylibs that are being
\r
82 linked in the failed compile.
\r
84 That list includes `/usr/lib/libutil.dylib`, but not notmuch's built-in
\r
87 I have not found a sane way to tell 10.6.8's ld to prefer libutil.a over
\r
90 My first thought was that there should be an option to prefer archives =
\r
92 dylibs, but that does not seem to exist in 10.6.8's (or earlier) version =
\r
94 Instead, people are recommending absolute paths when you need to link an
\r
95 archive file in preference to existing dylibs:
\r
98 http://lists.apple.com/archives/darwin-development/2003/Sep/msg00008.html
\r
99 http://stackoverflow.com/questions/844819/how-to-static-link-on-os-x
\r
101 As a simple test, I added a hardcoded absolute path to libutil to
\r
102 FINAL_NOTMUCH_LDFLAGS, and the compile succeeded.
\r
104 Thus, it seems like getting the path to the Makefile's parent directory =
\r
106 using it to specify an absolute path to libutil.a in the Makefile would =
\r
108 this issue without introducing new ones.
\r
110 Does this sound like a sane solution? Would a patch to do this be =
\r
113 If not, what would be a better way to solve this?
\r