Hi,

I've NMU'd the package to resolve #462001 after Sune Vuorela confirmed 
that HOME setting was causing the problem. Final NMU diff is attached. 
Note that I ended up using $(CURDIR) instead of $${PWD} to refer to 
the current directory to avoid a (possibly bogus) lintian warning.

Cheers.
-- 
Jurij Smakov                                           [EMAIL PROTECTED]
Key: http://www.wooyd.org/pgpkey/                      KeyID: C99E03CC
diff -aur kde-style-qtcurve-0.59.3-1/debian/changelog kde-style-qtcurve-0.59.3-1.1/debian/changelog
--- kde-style-qtcurve-0.59.3-1/debian/changelog	2008-08-24 09:43:24.000000000 +0100
+++ kde-style-qtcurve-0.59.3-1.1/debian/changelog	2008-08-24 09:43:59.000000000 +0100
@@ -1,3 +1,12 @@
+kde-style-qtcurve (0.59.3-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Build tries to create a $HOME/.qt directory and fails if $HOME is not
+    writable by build user. Create a temporary directory and set $HOME to
+    it to prevent this build failure (Closes: #462001)
+
+ -- Jurij Smakov <[EMAIL PROTECTED]>  Sun, 24 Aug 2008 08:54:58 +0100
+
 kde-style-qtcurve (0.59.3-1) unstable; urgency=low
 
   * Acknowledge NMU, thanks Sune and Peter (Closes: #469494)
diff -aur kde-style-qtcurve-0.59.3-1/debian/rules kde-style-qtcurve-0.59.3-1.1/debian/rules
--- kde-style-qtcurve-0.59.3-1/debian/rules	2008-08-24 09:43:24.000000000 +0100
+++ kde-style-qtcurve-0.59.3-1.1/debian/rules	2008-08-24 09:43:59.000000000 +0100
@@ -27,8 +27,8 @@
 builddir/config.h: CMakeLists.txt config.h.cmake
 	dh_testdir
 	# Add here commands to configure the package.
-	mkdir -p builddir
-	cd builddir && cmake ..
+	mkdir -p builddir tmp
+	cd builddir && HOME=$(CURDIR)/tmp cmake ..
 
 build: build-stamp
 
@@ -36,7 +36,7 @@
 	dh_testdir
 
 	# Add here commands to compile the package.
-	$(MAKE) -C builddir
+	HOME=$(CURDIR)/tmp $(MAKE) -C builddir
 
 	touch $@
 
@@ -46,7 +46,7 @@
 
 	# Add here commands to clean up after the build process.
 	rm -f build-stamp 
-	rm -rf builddir
+	rm -rf builddir tmp
 
 	dh_clean 
 

Reply via email to