From: David Bremner Date: Thu, 16 May 2013 13:51:39 +0000 (+2100) Subject: Re: [PATCH v2] debian: package ruby bindings X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=423f1b16af116b8fe7cd4206432edf4c9b123e36;p=notmuch-archives.git Re: [PATCH v2] debian: package ruby bindings --- diff --git a/76/c13481dbfd50b2abf2353ed7721752d6d5ac24 b/76/c13481dbfd50b2abf2353ed7721752d6d5ac24 new file mode 100644 index 000000000..4a28f1fb6 --- /dev/null +++ b/76/c13481dbfd50b2abf2353ed7721752d6d5ac24 @@ -0,0 +1,98 @@ +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 990C9431FC2 + for ; Thu, 16 May 2013 06:51:52 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -2.3 +X-Spam-Level: +X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_MED=-2.3] 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 xBjsh5dbaESy for ; + Thu, 16 May 2013 06:51:46 -0700 (PDT) +Received: from tempo.its.unb.ca (tempo.its.unb.ca [131.202.1.21]) + (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id A7A6B431FC3 + for ; Thu, 16 May 2013 06:51:46 -0700 (PDT) +Received: from tesseract.cs.unb.ca (tesseract.cs.unb.ca [131.202.240.238]) + by tempo.its.unb.ca (8.13.8/8.13.8) with ESMTP id r4GDpiAO032160; + Thu, 16 May 2013 10:51:45 -0300 +Received: from convex-new.cs.unb.ca ([131.202.245.35]) + by tesseract.cs.unb.ca with esmtpsa + (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) + (envelope-from ) + id 1Ucyau-0005rZ-HS; Thu, 16 May 2013 10:51:44 -0300 +Received: from bremner by convex-new.cs.unb.ca with local (Exim 4.80) + (envelope-from ) + id 1Ucyap-00023Z-3D; Thu, 16 May 2013 10:51:39 -0300 +From: David Bremner +To: Felipe Contreras , notmuch@notmuchmail.org +Subject: Re: [PATCH v2] debian: package ruby bindings +In-Reply-To: <1366139319-6985-1-git-send-email-felipe.contreras@gmail.com> +References: <1366139319-6985-1-git-send-email-felipe.contreras@gmail.com> +User-Agent: Notmuch/0.14+257~ge43e0af (http://notmuchmail.org) Emacs/24.2.1 + (x86_64-pc-linux-gnu) +Date: Thu, 16 May 2013 10:51:39 -0300 +Message-ID: <87ehd7c9sk.fsf@convex-new.cs.unb.ca> +MIME-Version: 1.0 +Content-Type: text/plain; charset=utf-8 +Content-Transfer-Encoding: quoted-printable +X-Spam_bar: - +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: Thu, 16 May 2013 13:51:52 -0000 + +Felipe Contreras writes: + +> Signed-off-by: Felipe Contreras +> --- +> debian/control | 14 ++++++++++++++ +> debian/notmuch-ruby.install | 1 + +> debian/rules | 3 +++ +> 3 files changed, 18 insertions(+) +> create mode 100644 debian/notmuch-ruby.install +> + +I get a build failure here; I installed ruby-dev and ran the usual=20 +"make debian-snapshot". + +Does it work for you in a clean with only the declared build-depends +installed? + + +cd bindings/ruby && ruby extconf.rb --vendor && make +checking for notmuch.h in ../../lib... yes +checking for notmuch_database_create() in -lnotmuch... yes +creating Makefile +make[2]: Entering directory `/home/bremner/software/upstream/notmuch/bindin= +gs/ruby' +compiling status.c +status.c: In function =E2=80=98notmuch_rb_status_raise=E2=80=99: +status.c:46:10: error: =E2=80=98NOTMUCH_STATUS_UNBALANCED_ATOMIC=E2=80=99 u= +ndeclared (first use in this function) +status.c:46:10: note: each undeclared identifier is reported only once for = +each function it appears in +make[2]: *** [status.o] Error 1 +make[2]: Leaving directory `/home/bremner/software/upstream/notmuch/binding= +s/ruby' +make[1]: *** [override_dh_auto_build] Error 2 +make[1]: Leaving directory `/home/bremner/software/upstream/notmuch' +make: *** [build] Error 2 +dpkg-buildpackage: error: debian/rules build gave error exit status 2 +debuild: fatal error at line 1357: +dpkg-buildpackage -rfakeroot -D -us -uc -i failed