#999384 atool: bashism in configure script

Package:
src:atool
Source:
atool
Submitter:
Andrej Shadura
Date:
2021-11-10 15:36:09 UTC
Severity:
normal
Tags:
#999384#5
Date:
2021-11-10 15:32:58 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:

     dpkg-buildpackage: info: source changed by OBS Build <obs@buildd>
      dpkg-source --before-build .
     dpkg-buildpackage: info: host architecture amd64
      debian/rules clean
     dh clean
        dh_clean
      debian/rules binary
     dh binary
        dh_update_autotools_config
        dh_autoreconf
        dh_auto_configure
     	./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking
     checking for a BSD-compatible install... /usr/bin/install -c
     checking whether build environment is sane... yes
     checking for a race-free mkdir -p... /bin/mkdir -p
     checking for gawk... no
     checking for mawk... mawk
     checking whether make sets $(MAKE)... yes
     checking whether make supports nested variables... yes
     checking for perl... /usr/bin/perl
     ./configure: 2567: Bad substitution
     	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).