Attached is the diff for the NMU I intend to upload in a few minutes. It
works around the home-less build problem by setting HOME to a temporary
directory while waf is run. Upstreams suggestion of using WAF_HOME
didn't work, possibly the waf used by the package is too old.

-- 
Debian is a beast that speaks with many voices -- Richard Braakman
diff -ru kdissert-1.0.6.c.buggy/debian/changelog kdissert-1.0.6.c/debian/changelog
--- kdissert-1.0.6.c.buggy/debian/changelog	2007-01-04 23:41:28.000000000 +0200
+++ kdissert-1.0.6.c/debian/changelog	2007-01-04 23:42:08.000000000 +0200
@@ -1,3 +1,12 @@
+kdissert (1.0.6.c-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * debian/rules: Set HOME to a temporary directory for the build phase,
+    so that waf works even when the read $HOME doesn't exist. 
+    (Closes: #392940)
+
+ -- Lars Wirzenius <[EMAIL PROTECTED]>  Thu,  4 Jan 2007 23:35:09 +0200
+
 kdissert (1.0.6.c-1) unstable; urgency=low
 
   * New upstream release (really called "1.0.6c", but dpkg version ordering
diff -ru kdissert-1.0.6.c.buggy/debian/rules kdissert-1.0.6.c/debian/rules
--- kdissert-1.0.6.c.buggy/debian/rules	2007-01-04 23:41:28.000000000 +0200
+++ kdissert-1.0.6.c/debian/rules	2007-01-05 00:41:03.000000000 +0200
@@ -11,8 +11,9 @@
 
 common-build-arch:: build-stamp debian/kdissert.xpm debian/kdissert-16.xpm
 build-stamp:
-	$(WAF) configure --prefix=/usr --qtdir=/usr/share/qt3 --want-rpath=0
-	$(WAF)
+	mkdir -p debian/waftmp
+	env HOME=debian/waftmp $(WAF) configure --prefix=/usr --qtdir=/usr/share/qt3 --want-rpath=0
+	env HOME=debian/waftmp $(WAF)
 	touch $@
 
 
@@ -24,11 +25,12 @@
 
 
 common-install-arch::
-	$(WAF) install --destdir=$(DEB_DESTDIR)
+	env HOME=debian/waftmp $(WAF) install --destdir=$(DEB_DESTDIR)
 	rm -r $(DEB_DESTDIR)/usr/share/applnk
 
 
 clean::
 	rm -f build-stamp
-	-$(WAF) distclean
+	-env HOME=debian/waftmp $(WAF) distclean
 	rm -f debian/kdissert.xpm debian/kdissert-16.xpm
+	rm -rf debian/waftmp

Reply via email to