[DebianGIS-dev] Bug#582098: mapserver: FTBFS: ./configure: 12177: Bad substitution

Raphael Geissert geissert at debian.org
Tue May 25 15:38:20 UTC 2010


On 18 May 2010 07:33, Gerrit Pape <pape at smarden.org> wrote:
>  if test "$FRIBIDI_PKG_CONFIG" = "yes" -o ${FRIBIDI_CONFIG: -3} = ".pc" ; then
>                                                           ^^^^^
>
> I don't think dash 0.5.5.1-3 handles that either, maybe bash was used in
> that case.

Actually, it must and it does. It is required by policy.

Section 10.4:
>         * `test', if implemented as a shell built-in, must support `-a' and
>           `-o' as binary logical operators.

After checking the configure script with checkbashisms (improved
version, not yet in devscript's git even) reveals the following
bashism:

possible bashism in ./configure line 9189 (should be 'b = a'):
    if test "$FT_BIN" == "no" ; then

Cheers,
-- 
Raphael Geissert - Debian Developer
www.debian.org - get.debian.net





More information about the Pkg-grass-devel mailing list