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

Gerrit Pape pape at smarden.org
Tue May 18 12:33:06 UTC 2010


On Tue, May 18, 2010 at 01:39:45PM +0300, Niko Tyni wrote:
> Thie mapserver package fails to build on current sid/amd64:
> 
> checking for xml2-config... /usr/bin/xml2-config
>         found libxml2 version 2.7.7
> checking if FriBidi support requested... yes
> checking for fribidi-config... no
> checking for fribidi pkg-config path... yes
> ./configure: 12177: Bad substitution
> make: *** [configure-stamp] Error 2
> 
> It breaks here when dash is upgraded from 0.5.5.1-3 to 0.5.5.1-5.
> Cc'ing the dash maintainers in case they want want to look into it.

Hi, there's a non-portable Parameter Expansion used in line 12162 of
./configure that's not defined in posix

  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.

Regards, Gerrit.





More information about the Pkg-grass-devel mailing list