[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#444990: FTBFS due to nonexecutable tests



Package: dmake
Version: 1:4.9-1
Tags: patch

As reported at http://launchpad.net/bugs/135564, dmake seems to fail
to build in some circumstances because some of the tests/target-*
files are not executable.

I'm not sure what differs in my tests from the situation prevailing on
the maintainer's system and on the buildds, but I have reproduced the
problem with both the 1:4.9-1 and 1:4.7-4 source packages, with as
build environment both recent Ubuntu gutsy and a moderately recent
Debian lenny.

Really I think it would be best for automake to deal with this and
I'll be submitting a separate bug about that but in the meantime
dmake's debian/rules fixed.  The patch below seems to do the job.

Thanks,
Ian.

diff -ru orig/dmake-4.7/debian/changelog dmake-4.7/debian/changelog
--- orig/dmake-4.7/debian/changelog	2007-10-02 14:54:31.000000000 +0100
+++ dmake-4.7/debian/changelog	2007-10-02 14:56:03.000000000 +0100
@@ -1,3 +1,12 @@
+dmake (1:4.7-4ubuntu1) gutsy; urgency=low
+
+  * chmod +x tests/targets-* so that bash is willing to execute them.
+    Fixes FTBFS found by autopkgtest (LP: #135564; LP: #127196).
+    This is a workaround - it would be better if automake arranged for the
+    generated Makefile.in to do this.
+
+ -- Ian Jackson <iwj@ubuntu.com>  Tue, 02 Oct 2007 14:54:11 +0100
+
 dmake (1:4.7-4) unstable; urgency=low
 
   * upload to unstable 
diff -ru orig/dmake-4.7/debian/rules dmake-4.7/debian/rules
--- orig/dmake-4.7/debian/rules	2007-10-02 14:54:31.000000000 +0100
+++ dmake-4.7/debian/rules	2007-10-02 14:52:32.000000000 +0100
@@ -23,6 +23,9 @@
 	rm -f dmakeroot.h
 	chmod u+x tests/targets-*
 
+configure/dmake::
+	chmod +x tests/targets-*[!~]
+
 binary-post-install/dmake::
 	# startup config file
 	install -p -o root -g root -m 644 unix/linux/gnu/template.mk \
Only in dmake-4.7/debian: rules~





Reply to: