tags 666333 +patch
thanks
This rebuild was done by building only architecture:any binary packages
(binary-arch target of debian/rules), and using a recent dpkg that uses the
build-arch target if available.
Specifically the reason this fails is that a wildcard target in debian/rules matches
build-arch.

The attatched patch fixes the issue by explicity defining build-arch to be equivilent to build (the package doesn't build any arch independent packages so this seems like the most sensible thing to do). It also includes a NMU changelog entry, if I get
no maintainer response then I may look for someone to sponsor this as a NMU.
diff -ur libxslt-1.1.26/debian/changelog libxslt-1.1.26.new/debian/changelog
--- libxslt-1.1.26/debian/changelog	2012-04-25 00:24:04.000000000 +0000
+++ libxslt-1.1.26.new/debian/changelog	2012-04-25 00:37:40.000000000 +0000
@@ -1,3 +1,10 @@
+libxslt (1.1.26-8.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix building with build-arch. Closes: 666333.
+
+ -- Peter Michael Green <plugw...@p10link.net>  Tue, 24 Apr 2012 23:23:50 +0000
+
 libxslt (1.1.26-8) unstable; urgency=low
 
   * debian/rules:
diff -ur libxslt-1.1.26/debian/rules libxslt-1.1.26.new/debian/rules
--- libxslt-1.1.26/debian/rules	2012-04-25 00:24:04.000000000 +0000
+++ libxslt-1.1.26.new/debian/rules	2012-04-24 23:23:41.000000000 +0000
@@ -17,6 +17,10 @@
 configure-main: CONFIGURE_FLAGS += --without-python
 configure-python%: CONFIGURE_FLAGS += --with-python=/usr/bin/$*
 
+# We don't build any architecture independent packages so make build-arch do the same as
+# Build.
+build-arch: build
+
 override_dh_auto_build: $(TARGETS:%=build-%)
 
 build-%: BUILD_DIR=build/$*

Reply via email to