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

Bug#337382: installation-guide: FTBFS: sed: unknown option to 's'



Package: installation-guide
Severity: serious
Version: 20051025

>From my pbuilder build log:

...
rm -rf debian/installation-guide-*.doc-base.*
set -e && cd debian && \
    for arch in i386 alpha arm hppa ia64 m68k mips mipsel powerpc s390 sparc ; do \
        for lang in en cs de es fr ja pt pt_BR ru zh_CN zh_TW ; do \
            arch_full="$(grep "^$arch[[:space:]]" archlist | cut -f 2)" ; \
            lang_full="$(grep "^$lang[[:space:]]" langlist | cut -f 2)" ; \
            sed -e "s/%ARCH%/$arch/g" -e "s/%ARCH_FULL%/$arch_full/g" \
                -e "s/%LANG%/$lang/g" -e "s/%LANG_FULL%/$lang_full/g" \
                doc-base.TEMPLATE > installation-guide-$arch.doc-base.$lang ; \
        done ; \
    done
sed: -e expression #2, char 20: unknown option to `s'
make: *** [doc-base-stamp] Error 1

Tracing this by adding a set -x to the command line, it appears this
is being caused by s390 expanding to an ARCH_FULL of "S/390".

-- 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.14-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)



Reply to: