Package: openjade1.3
Version: 1.3.2-8
Severity: serious

The multi-line sed expression in openjade1.3's debian/rules fails with
make >= 3.80+3.81.b3-1, because of the backward-incompatible change in
backslash-newline processing made in that version for POSIX
compatibility:

  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

The attached patch fixes this by using multiple sed -e arguments.

(It's also worth noting that you have %{sgmldir} in the sed expression,
but debian/README.Debian.in uses %{sgml-dir}.)

Cheers,

-- 
Colin Watson                                       [EMAIL PROTECTED]
diff -u openjade1.3-1.3.2/debian/rules openjade1.3-1.3.2/debian/rules
--- openjade1.3-1.3.2/debian/rules
+++ openjade1.3-1.3.2/debian/rules
@@ -108,9 +108,9 @@
        cat COPYING debian/copyright.Debian > debian/copyright
 
 #       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)|;'            \
+           -e 's|%{default-sgml-path}|$(default-sgml-path)|;'          \
+           -e 's|%{sgmldir}|$(sgmldir)|;'                              \
                debian/README.Debian.in > debian/README.Debian
 
 ##

Reply via email to