Package: stunnel4
Version: 4.42-1
Severity: important
Tags: patch

This package fails to build from source twice in a row, because the
new dpkg rejects changes in the source not in a patch:

....
 dpkg-source -i -I -b stunnel4-4.42
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building stunnel4 using existing ./stunnel4_4.42.orig.tar.gz
dpkg-source: warning: executable mode 0755 of 'config.guess' will not be 
represented in diff
dpkg-source: warning: executable mode 0755 of 'config.sub' will not be 
represented in diff
dpkg-source: info: local changes detected, the modified files are:
 stunnel4-4.42/config.guess
 stunnel4-4.42/config.sub
dpkg-source: error: aborting due to unexpected upstream changes, see 
/tmp/stunnel4_4.42-1.diff.Fw5p_B
dpkg-source: info: you can integrate the local changes with dpkg-source --commit
dpkg-buildpackage: error: dpkg-source -i -I -b stunnel4-4.42 gave error exit 
status 2

Attached is a patch to fix this.
diff -Nru stunnel4-4.42/debian/changelog stunnel4-4.42/debian/changelog
--- stunnel4-4.42/debian/changelog	2011-08-27 18:34:43.000000000 +0300
+++ stunnel4-4.42/debian/changelog	2011-10-31 14:49:40.000000000 +0200
@@ -1,3 +1,10 @@
+stunnel4 (3:4.42-1.1) UNRELEASED; urgency=low
+
+  * Remove config.guess and config.sub in clean target, otherwise build
+    fails because of changes in source outside of a patch.
+
+ -- Peter Eisentraut <pet...@debian.org>  Mon, 31 Oct 2011 14:39:51 +0200
+
 stunnel4 (3:4.42-1) unstable; urgency=low
 
   * New Upstream Release.
diff -Nru stunnel4-4.42/debian/rules stunnel4-4.42/debian/rules
--- stunnel4-4.42/debian/rules	2011-08-27 17:43:25.000000000 +0300
+++ stunnel4-4.42/debian/rules	2011-10-31 14:40:22.000000000 +0200
@@ -48,6 +48,7 @@
 	dh_clean build-stamp debian/stunnel4.init doc/stunnel4.8 doc/stunnel4.fr.8 doc/stunnel4.pl.8
 
 	[ ! -f Makefile ] || $(MAKE) distclean
+	rm -f config.guess config.sub
 
 install: build-stamp
 	dh_testdir

Reply via email to