Bug#495117: galleta FTBFS since the clean rule creates files

Thiemo Seufer ths at networkno.de
Thu Aug 14 17:00:37 UTC 2008


Package: galleta
Version: 1.0+20040505-2
Severity: important
Tags: patch

galleta fails to build on the build daemons for alpha and mipsel, which
use sudo instead of fakeroot. This shappens because the clean rule
creates a bin directory with root permissions. The appended patch fixes
it.


Thiemo


--- galleta-1.0+20040505.orig/debian/rules	2008-08-14 18:55:53.000000000 +0200
+++ galleta-1.0+20040505/debian/rules	2008-08-14 18:54:32.000000000 +0200
@@ -7,7 +7,6 @@ clean:
 
 	$(MAKE) -C src clean
 	rm -rf bin
-	mkdir bin
 
 	dh_clean
 
@@ -15,6 +14,7 @@ build: build-stamp
 build-stamp:
 	dh_testdir
 
+	mkdir -p bin
 	$(MAKE) -C src
 
 	touch build-stamp





More information about the forensics-devel mailing list