Package: cdbs
Version: 0.4.48

When a warning about not confirming to new Python policy is raised, the build will break. This is due to the fact that hashes (#) are present in the warning string.

Changing these to other characters, such as equal signs (=), fixes the issue.

A patch is included.

Here is a transcript of the problem:

$ fakeroot debian/rules clean
/usr/share/cdbs/1/class/python-distutils.mk:104: *** unterminated call to function `warning': missing `)'. Stop.
--- /tmp/python-distutils.mk.in	2007-08-28 14:09:41.000000000 +0300
+++ 1/class/python-distutils.mk.in	2007-08-28 14:10:09.000000000 +0300
@@ -99,12 +99,12 @@
 ifndef DEB_PYTHON_SYSTEM
 ########################### old policy method ###########################
 
-$(warning ########################################################)
+$(warning ========================================================)
 $(warning Your package does not conform to the new Python policy.)
 $(warning Please consider updating.  Here is some documentation:)
 $(warning   http://wiki.debian.org/DebianPython/NewPolicy)
 $(warning   http://wiki.debian.org/DebianPythonFAQ)
-$(warning ########################################################)
+$(warning ========================================================)
 
 # make: *** No rule to make target `voodoo'.  Stop.
 DEB_PYTHON_REAL_LIB_PACKAGES = $(strip $(filter $(patsubst %,python%%,$(DEB_PYTHON_VERSIONS)),$(filter-out $(DEB_PYTHON_PACKAGES_EXCLUDE),$(DEB_ALL_PACKAGES))))

Reply via email to