#999387 cdebootstrap: bashism in configure script

#999387#5
Date:
2021-11-10 15:33:32 UTC
From:
To:
Hi,

Your package uses configure script with bash features not present in
POSIX without explicitly declaring the need to bash shell; this
currently works as configure scripts select bash, but when dash enables
LINENO support, your configure script will start failing:

     checking whether to enable maintainer-specific portions of Makefiles... no
     checking build system type... x86_64-pc-linux-gnu
     checking host system type... x86_64-pc-linux-gnu
     checking target system type... x86_64-pc-linux-gnu
     checking for gcc... gcc
     checking whether the C compiler works... yes
     checking for C compiler default output file name... a.out
     checking for suffix of executables...
     checking whether we are cross compiling... no
     checking for suffix of object files... o
     checking whether the compiler supports GNU C... yes
     checking whether gcc accepts -g... yes
     checking for gcc option to enable C11 features... none needed
     checking whether gcc understands -c and -o together... yes
     checking whether make supports the include directive... yes (GNU style)
     checking dependency style of gcc... none
     checking for ranlib... ranlib
     checking for dpkg-architecture... /usr/bin/dpkg-architecture
     checking dpkg architecture... amd64
     checking for frontend... standalone
     checking for configdir... ../configure: 4759: Bad substitution
     	cd build-static && tail -v -n \+0 config.log
     ==> config.log <==
     This file contains any messages produced by compilers while

To test this, you can install dash from experimental and re-run the
configure script.

Please replace non-POSIX features with their equivalents to make sure
the script runs with dash. Most common ones are usage of == instead of =
and for with arrays (not lists).