From bcc46e29366aa1ab856aee323853db86c7e6850b Mon Sep 17 00:00:00 2001 From: David Bremner Date: Thu, 30 Apr 2015 21:52:04 +0900 Subject: [PATCH] Re: notmuch 0.19 build fails on OS X 10.6 with gcc 4.2.1 with undefined symbols --- cb/d60150e79b75ba98b4aa8543b1e8b752004abb | 79 +++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 cb/d60150e79b75ba98b4aa8543b1e8b752004abb diff --git a/cb/d60150e79b75ba98b4aa8543b1e8b752004abb b/cb/d60150e79b75ba98b4aa8543b1e8b752004abb new file mode 100644 index 000000000..aed274afb --- /dev/null +++ b/cb/d60150e79b75ba98b4aa8543b1e8b752004abb @@ -0,0 +1,79 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 1FF376DE031B + for ; Thu, 30 Apr 2015 05:53:18 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: 0.329 +X-Spam-Level: +X-Spam-Status: No, score=0.329 tagged_above=-999 required=5 tests=[AWL=0.329] + autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id VItV3eUZ9fSw for ; + Thu, 30 Apr 2015 05:53:16 -0700 (PDT) +Received: from mx.xen14.node3324.gplhost.com (gitolite.debian.net + [87.98.215.224]) + by arlo.cworth.org (Postfix) with ESMTPS id C0B0B6DE0298 + for ; Thu, 30 Apr 2015 05:53:15 -0700 (PDT) +Received: from remotemail by mx.xen14.node3324.gplhost.com with local (Exim + 4.80) (envelope-from ) + id 1Ynnww-0000L9-Gx; Thu, 30 Apr 2015 12:52:18 +0000 +Received: (nullmailer pid 16313 invoked by uid 1000); Thu, 30 Apr 2015 + 12:52:04 -0000 +From: David Bremner +To: Ryan Schmidt , notmuch@notmuchmail.org +Subject: Re: notmuch 0.19 build fails on OS X 10.6 with gcc 4.2.1 with + undefined symbols +In-Reply-To: +References: +User-Agent: Notmuch/0.19+96~g703c8f9 (http://notmuchmail.org) Emacs/24.4.1 + (x86_64-pc-linux-gnu) +Date: Thu, 30 Apr 2015 21:52:04 +0900 +Message-ID: <87bni5g4nf.fsf@maritornes.cs.unb.ca> +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.18 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Thu, 30 Apr 2015 12:53:18 -0000 + +Ryan Schmidt writes: + +> Hello, +> +> I'm a developer with the MacPorts project and I discovered that notmuch 0.19 does not build on Mac OS X 10.6 with its gcc 4.2.1 compiler. The errors are: +> +> Undefined symbols: +> "_hex_decode_inplace", referenced from: +> _parse_tag_line in tag-util.o +> "_gz_error_string", referenced from: +> _notmuch_restore_command in notmuch-restore.o +> _notmuch_restore_command in notmuch-restore.o +> "_gz_getline", referenced from: +> _notmuch_restore_command in notmuch-restore.o +> _notmuch_restore_command in notmuch-restore.o +> "_hex_encode", referenced from: +> _notmuch_database_dump in notmuch-dump.o +> "_talloc_strndup_named_const", referenced from: +> _notmuch_restore_command in notmuch-restore.o +> _notmuch_restore_command in notmuch-restore.o + +Those are all supposed to be defined in util/libutil.a. At a glance the +command line looks plausible. It's a long shot, but you could make sure +they are there using e.g. + +% nm util/libutil.a + +Beyond that, I'm hoping some Mac user will have some ideas. -- 2.26.2