Source: maildrop
Version: 2.9.3-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

maildrop fails to cross build from source, because ./configure gives up
trying to decide on a locking method. For all native builds on release
and ports architectures, the locking method is fcntl, so I think it
would make sense to just make that choice explicit. After doing so,
maildrop cross builds successfully. Please consider applying the
attached patch.

This patch bears a certain similarity to #884630. Please also look into
whether maybe there is an embedded code copy at work and register[1] it
if necessary.

Helmut

[1] https://wiki.debian.org/EmbeddedCodeCopies
diff --minimal -Nru maildrop-2.9.3/debian/changelog 
maildrop-2.9.3/debian/changelog
--- maildrop-2.9.3/debian/changelog     2017-12-23 17:43:23.000000000 +0100
+++ maildrop-2.9.3/debian/changelog     2018-06-12 06:28:56.000000000 +0200
@@ -1,3 +1,10 @@
+maildrop (2.9.3-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Explicitly choose locking method. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Tue, 12 Jun 2018 06:28:56 +0200
+
 maildrop (2.9.3-1) unstable; urgency=medium
 
   * New upstream releases. (2.8.5, 2.9.0, 2.9.1, 2.9.2, 2.9.3)
diff --minimal -Nru maildrop-2.9.3/debian/rules maildrop-2.9.3/debian/rules
--- maildrop-2.9.3/debian/rules 2016-03-17 11:28:08.000000000 +0100
+++ maildrop-2.9.3/debian/rules 2018-06-12 06:28:54.000000000 +0200
@@ -28,7 +28,8 @@
                        --enable-sendmail=/usr/sbin/sendmail \
                        --enable-maildirquota \
                        --enable-authlib-tempreject=0 \
-                       --with-db=gdbm
+                       --with-db=gdbm \
+                       --with-locking-method=fcntl
 
 override_dh_install:
        dh_install

Reply via email to