From fc4b9bdbdb0f7eab509e422233bea81fad214413 Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Sat, 2 Jun 2012 00:49:09 +0200 Subject: [PATCH] Re: Can't compile notmuch-delivery --- 7a/fc34365e0c635d6300c52e5bf1aeed912a9063 | 109 ++++++++++++++++++++++ 1 file changed, 109 insertions(+) create mode 100644 7a/fc34365e0c635d6300c52e5bf1aeed912a9063 diff --git a/7a/fc34365e0c635d6300c52e5bf1aeed912a9063 b/7a/fc34365e0c635d6300c52e5bf1aeed912a9063 new file mode 100644 index 000000000..e6f646d3a --- /dev/null +++ b/7a/fc34365e0c635d6300c52e5bf1aeed912a9063 @@ -0,0 +1,109 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id C8DC9431FB6 + for ; Fri, 1 Jun 2012 15:50:25 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id FGTYl8eZSUsz for ; + Fri, 1 Jun 2012 15:50:23 -0700 (PDT) +Received: from mail.cryptobitch.de (cryptobitch.de [88.198.7.68]) + (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 8E59B431FAF + for ; Fri, 1 Jun 2012 15:50:23 -0700 (PDT) +Received: from mail.jade-hamburg.de (mail.jade-hamburg.de [85.183.11.228]) + (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) + (No client certificate requested) + by mail.cryptobitch.de (Postfix) with ESMTPSA id 9DEED58339D + for ; Sat, 2 Jun 2012 00:50:21 +0200 (CEST) +Received: by mail.jade-hamburg.de (Postfix, from userid 401) + id 0DDABDF2A4; Sat, 2 Jun 2012 00:50:21 +0200 (CEST) +Received: from thinkbox.jade-hamburg.de (thinkbox.jadE-Hamburg.de + [10.1.1.109]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client + certificate requested) (Authenticated sender: teythoon) by + mail.jade-hamburg.de (Postfix) with ESMTPSA id 33A3FDF2A0; Sat, 2 Jun 2012 + 00:50:13 +0200 (CEST) +Received: from teythoon by thinkbox.jade-hamburg.de with local (Exim 4.77) + (envelope-from ) + id 1Saaeb-00021T-I2; Sat, 02 Jun 2012 00:49:09 +0200 +Content-Type: text/plain; charset="utf-8" +MIME-Version: 1.0 +Content-Transfer-Encoding: quoted-printable +To: David Bremner , + Jameson Graef Rollins , + Felipe Contreras +From: Justus Winter <4winter@informatik.uni-hamburg.de> +In-Reply-To: <87sjeezx7g.fsf@zancas.localnet> +References: <20120531214259.GA18272@desktop> + + + <87lik7171d.fsf@zancas.localnet> + <87sjefufub.fsf@servo.finestructure.net> + <874nqu28y1.fsf@zancas.localnet> + <87mx4mvqch.fsf@servo.finestructure.net> + <87sjeezx7g.fsf@zancas.localnet> +Message-ID: <20120601224909.24629.70500@thinkbox.jade-hamburg.de> +User-Agent: alot/0.3.1+ +Subject: Re: Can't compile notmuch-delivery +Date: Sat, 02 Jun 2012 00:49:09 +0200 +Cc: Ali Polatel , notmuch@notmuchmail.org +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +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: Fri, 01 Jun 2012 22:50:25 -0000 + +Quoting David Bremner (2012-06-01 20:46:59) +> Jameson Graef Rollins writes: +> = + +> > I think the zeroth-order thing we have to do then is to have the build +> > include the bindings as well. Then everyone will be able to see +> > immediately if the bindings are broken. I wouldn't even make it an +> > option, or make it an option to exclude building the bindings rather +> > than to include. +> = + +> OK, I can agree with this. Can we get some help from the bindings +> maintainers (or other interested people) in getting this working? +> Probably configure should detect/decide what bindings to build. + +I like the idea. The thing with the python bindings is that building +them wont detect any errors, one has to import the module. Quick and +dirty python oneliner that doesn't even require installing the +bindings: + +teythoon@thinkbox ~/repos/notmuch (git)-[master] % ( export LD_LIBRARY_PATH= +=3D"$(pwd)/lib" ; cd bindings/python && python -c "import notmuch" ) +Traceback (most recent call last): + File "", line 1, in + File "notmuch/__init__.py", line 54, in + from .database import Database + File "notmuch/database.py", line 46, in + class Database(object): + File "notmuch/database.py", line 76, in Database + _get_directory =3D nmlib.notmuch_database_get_directory_b0rked + File "/usr/lib/python2.7/ctypes/__init__.py", line 378, in __getattr__ + func =3D self.__getitem__(name) + File "/usr/lib/python2.7/ctypes/__init__.py", line 383, in __getitem__ + func =3D self._FuncPtr((name_or_ordinal, self)) +AttributeError: /home/teythoon/repos/notmuch/lib/libnotmuch.so.3: undefined= + symbol: notmuch_database_get_directory_b0rked + +Justus -- 2.26.2