Package: jade
Severity: serious
Version: 1.2.1-45
Tags: patch

Because of changes in recent versions of make for Posix compliance,
the jade package now fails to build with:

...
echo "libsp1c2:Version=libsp1c2 (= 1.3.4-1.2.1-45)" \
            >> debian/libsp1-dev.substvars
sed -e 's|%{default-catalogs}|/etc/sgml/catalog|;               \
                s|%{default-sgml-path}|/usr/local/share/sgml:/usr/share/sgml|; \
                s|%{sgmldir}|/usr/share/sgml|;'                         \
                debian/README.Debian.in > debian/README.Debian
sed: -e expression #1, char 143: unterminated address regex
make: *** [binary-arch] Error 1

I've attached a patch which fixes this failure for me.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
diff -urN jade-1.2.1.old/debian/rules jade-1.2.1/debian/rules
--- jade-1.2.1.old/debian/rules	2006-01-06 09:26:34.000000000 +0100
+++ jade-1.2.1/debian/rules	2006-01-06 09:32:06.000000000 +0100
@@ -174,9 +174,9 @@
 	    >> debian/${pkg-libsp1-dev}.substvars
 
 #	 substitution in README.Debian
-	sed -e 's|%{default-catalogs}|$(default-catalogs)|;		\
-		s|%{default-sgml-path}|$(default-sgml-path)|;		\
-		s|%{sgmldir}|$(sgmldir)|;'				\
+	sed -e 's|%{default-catalogs}|$(default-catalogs)|;		'\
+'		s|%{default-sgml-path}|$(default-sgml-path)|;		'\
+'		s|%{sgmldir}|$(sgmldir)|;'				\
 		debian/README.Debian.in > debian/README.Debian
 
 ##

Reply via email to