--- /dev/null
+Return-Path: <david@tethera.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id D29D66DE1601\r
+ for <notmuch@notmuchmail.org>; Thu, 10 Dec 2015 04:09:38 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.316\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.316 tagged_above=-999 required=5 tests=[AWL=0.235,\r
+ RP_MATCHES_RCVD=-0.55, SPF_PASS=-0.001] autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id xuq0Zosb4-Wu for <notmuch@notmuchmail.org>;\r
+ Thu, 10 Dec 2015 04:09:35 -0800 (PST)\r
+Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 552836DE0FF1\r
+ for <notmuch@notmuchmail.org>; Thu, 10 Dec 2015 04:09:35 -0800 (PST)\r
+Received: from remotemail by fethera.tethera.net with local (Exim 4.84)\r
+ (envelope-from <david@tethera.net>)\r
+ id 1a702L-0007GN-CS; Thu, 10 Dec 2015 07:09:29 -0500\r
+Received: (nullmailer pid 22446 invoked by uid 1000);\r
+ Thu, 10 Dec 2015 12:09:29 -0000\r
+From: David Bremner <david@tethera.net>\r
+To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>,\r
+ notmuch mailing list <notmuch@notmuchmail.org>\r
+Subject: Re: debian build-dependencies for testing should be marked <!nocheck>\r
+In-Reply-To: <87io47ny9b.fsf@alice.fifthhorseman.net>\r
+References: <87io47ny9b.fsf@alice.fifthhorseman.net>\r
+User-Agent: Notmuch/0.21+7~g55fb7da (http://notmuchmail.org) Emacs/24.5.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Thu, 10 Dec 2015 08:09:29 -0400\r
+Message-ID: <87zixiwlmu.fsf@zancas.localnet>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Thu, 10 Dec 2015 12:09:39 -0000\r
+\r
+Daniel Kahn Gillmor <dkg@fifthhorseman.net> writes:\r
+\r
+> hi notmuch people--\r
+>\r
+> debian/control's build-dependencies list a bunch of things that i think\r
+> are only relevant for running the tests (e.g. dtach -- and maybe emacs\r
+> and bash-completion and other packages).\r
+>\r
+> These should be marked <!nocheck> so that dpkg-buildpackage can know to\r
+> ignore them when trying to build with BUILD_DEB_OPTIONS=nocheck.\r
+>\r
+> This is called a "build profile", if you want to look up more about it:\r
+>\r
+> https://wiki.debian.org/BuildProfileSpec\r
+> https://bugs.debian.org/757760\r
+>\r
+> I'd send a patch, but i'm not entirely sure which packages are strictly\r
+> for the build-time tests, so i hope someone with more experience with\r
+> the debian package can mark them appropriately. Thanks!\r
+\r
+Daniel and I chatted a bit on IRC, but for the record, other than lack\r
+of time, my current concern about this is how well supported\r
+build-profiles are supported on Debian stable. I haven't researched\r
+this, but feedback is welcome.\r
+\r
+BTW, bash completion is not there for the tests, nor is emacs (only) for\r
+the tests. Emacs might be avoidable as a Debian build-dep (since Debian\r
+does byte compilation at install time), but would come back if we switch\r
+to "dh_elpa".\r