Package: fetchmail
Version: 6.3.21-3
Severity: serious

 debian/rules build-arch
set -e
dh_testdir
/usr/bin/make
make[1]: Entering directory `/build/fetchmail-6.3.21'
make[1]: *** No targets specified and no makefile found.  Stop.
make[1]: Leaving directory `/build/fetchmail-6.3.21'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2

The problem seems to be that when using build-arch the configure-stamp
target is never invoked and so the makefile is never generated.
The attatched patch makes things more sane.


diff -ur fetchmail-6.3.21/debian/changelog fetchmail-6.3.21.new/debian/changelog
--- fetchmail-6.3.21/debian/changelog	2011-12-29 18:39:27.000000000 +0000
+++ fetchmail-6.3.21.new/debian/changelog	2012-05-01 11:06:10.000000000 +0000
@@ -1,3 +1,9 @@
+fetchmail (6.3.21-3+rpi1) unstable; urgency=low
+
+  * Fix building with build-arch
+
+ -- Peter Michael Green <plugw...@p10link.net>  Tue, 01 May 2012 11:05:19 +0000
+
 fetchmail (6.3.21-3) unstable; urgency=low
 
   * Build with hardening compiler flags (Closes: #653538).
diff -ur fetchmail-6.3.21/debian/rules fetchmail-6.3.21.new/debian/rules
--- fetchmail-6.3.21/debian/rules	2011-12-29 18:32:42.000000000 +0000
+++ fetchmail-6.3.21.new/debian/rules	2012-05-01 11:02:57.000000000 +0000
@@ -128,9 +128,9 @@
 
 	touch configure-stamp
 
-build: configure-stamp build-arch build-indep
-build-arch: build-stamp
-build-indep: build-stamp
+build: configure-stamp build-stamp
+build-arch: configure-stamp build-stamp
+build-indep: configure-stamp build-stamp
 
 build-stamp:
 	set -e
Only in fetchmail-6.3.21.new/debian/: stamp-patched

Reply via email to