From 8b36fa466bec2819c35de7e8cbd276361bf4a8cf Mon Sep 17 00:00:00 2001 From: Suvayu Ali Date: Tue, 30 Jun 2015 10:40:18 +0200 Subject: [PATCH] Re: notmuch release 0.20.2 now available --- 16/e43e3bf0370601aaa94a6abab574f33a25664a | 133 ++++++++++++++++++++++ 1 file changed, 133 insertions(+) create mode 100644 16/e43e3bf0370601aaa94a6abab574f33a25664a diff --git a/16/e43e3bf0370601aaa94a6abab574f33a25664a b/16/e43e3bf0370601aaa94a6abab574f33a25664a new file mode 100644 index 000000000..cab290e3c --- /dev/null +++ b/16/e43e3bf0370601aaa94a6abab574f33a25664a @@ -0,0 +1,133 @@ +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 50DDF6DE132D + for ; Tue, 30 Jun 2015 01:40:25 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.719 +X-Spam-Level: +X-Spam-Status: No, score=-0.719 tagged_above=-999 required=5 tests=[AWL=0.101, + DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, + RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, + SPF_PASS=-0.001] 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 KnJPtefM2gYh for ; + Tue, 30 Jun 2015 01:40:22 -0700 (PDT) +Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com + [209.85.212.179]) + by arlo.cworth.org (Postfix) with ESMTPS id 6BAE46DE09FB + for ; Tue, 30 Jun 2015 01:40:22 -0700 (PDT) +Received: by wiar9 with SMTP id r9so28261688wia.1 + for ; Tue, 30 Jun 2015 01:40:20 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=sender:date:from:to:subject:message-id:mail-followup-to:references + :mime-version:content-type:content-disposition:in-reply-to + :user-agent; bh=G21NRWwzZ2bATre9Ikv1QArlJdeCFScg2lkixP1IhUQ=; + b=gJhq+jz9q1A12DdtoPefE6yCgZZwf/LKolvsXLJ3Al/aFr9rdlaJ0HrPDaTV+GfHSe + sWBcSeUAy1NO1kS7MiUlBE5P7OpxedRkcJOLKlPZQsSIQyfecTo+0oGy7ze8hTKt4aL3 + 7FUPen6nOlIc94bWqT+mx87Hfxbt9DijB6MReMzVKnTqv0Nvu0e86CrsSPCJE50X9VeU + 2ccbl/47NRe8VjIQ5bRsMAYsSJ3+jD74sna8It/jSqIRa+YnT9hpp5Sp5R2q0ozzmKAP + 1BF9ImVJa4Z/8xmfUP3uw9THi7pT2bJO/l66phbk4de5XD6DmNnNLrDZvNrM/G0Hp7xy + bU7w== +X-Received: by 10.180.90.11 with SMTP id bs11mr31294388wib.52.1435653620557; + Tue, 30 Jun 2015 01:40:20 -0700 (PDT) +Received: from chitra.no-ip.org (ip82-139-115-46.lijbrandt.net. + [82.139.115.46]) + by mx.google.com with ESMTPSA id ma15sm15943834wic.20.2015.06.30.01.40.19 + for + (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); + Tue, 30 Jun 2015 01:40:20 -0700 (PDT) +Sender: Suvayu Ali +Date: Tue, 30 Jun 2015 10:40:18 +0200 +From: Suvayu Ali +To: notmuch@notmuchmail.org +Subject: Re: notmuch release 0.20.2 now available +Message-ID: <20150630084018.GO24926@chitra.no-ip.org> +Mail-Followup-To: notmuch@notmuchmail.org +References: <87h9pplqer.fsf@maritornes.cs.unb.ca> + <20150630063942.GM24926@chitra.no-ip.org> + <87a8vhlkdv.fsf@maritornes.cs.unb.ca> +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +Content-Disposition: inline +In-Reply-To: <87a8vhlkdv.fsf@maritornes.cs.unb.ca> +User-Agent: Mutt/1.5.23.1 (2014-03-12) +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: Tue, 30 Jun 2015 08:40:25 -0000 + +Hi David, + +On Tue, Jun 30, 2015 at 09:34:36AM +0200, David Bremner wrote: +> Suvayu Ali writes: +> > On Tue, Jun 30, 2015 at 07:24:28AM +0200, David Bremner wrote: +> >> +> >> Where to obtain notmuch 0.20.2 +> >> =========================== +> >> http://notmuchmail.org/releases/notmuch-0.20.2.tar.gz +> > +> > I took a quick pass at building the release for Fedora. The ruby +> > bindings seem to fail to build (actually linking fails). +> > +> +> The ruby bindings are not built automatically by 0.20.2. You seem to be +> building a snapshot of master. If you want to build the release from +> git, use the signed tag. + +Yes, I was aware. I tried again with proper 0.20.2. And everything +succeeds. So I guess something with master. I usually build master in +that repo, I guess I'll stick to the release for now. + +> The question of why master won't build for you is also interesting, but +> a different question. A quick search reveals packages of notmuch 0.19 +> ruby bindings seemingly for fc22 +> +> https://apps.fedoraproject.org/packages/ruby-notmuch/contents +> +> So I guess have a look and see what existing fedora packaging does. + +Yes, I have looked at what the official packages[1] do, I do exactly the +same[2]. Essentially the spec file does the following: + + pushd bindings/ruby + ruby extconf.rb --vendor --with-cflags="%{optflags}" + make %{?_smp_mflags} + popd + +where, _smp_mflags is -jN, and optflags is options for gcc. If you need +the specific flags, I can try to look it up. + +> At the moment the only way to disable the ruby bindings (other than +> hacking the build system) is not to have the ruby development files in +> the build env. This may change by the time this is part of a release. + +Since everything is built in a chroot, I have control over the build +environment via the spec file. If need be, I can disable it. However +it would be interesting to know why master fails. + +Thanks for your comments. + +Cheers, + +Footnotes: + +[1] http://pkgs.fedoraproject.org/cgit/notmuch.git/tree/notmuch.spec#n137 +[2] https://github.com/suvayu/notmuch-spec/blob/master/notmuch.spec#L139 + +-- +Suvayu + +Open source is the future. It sets us free. -- 2.26.2