Hi Andrej,
Thanks for reporting the problem with the configure script.
I am uploading the bugfix and will get my package sponsor to review it.

Cheers,
Jan

On Sun, 7 Nov 2021, Andrej Shadura wrote:

Source: anymeal
Version: 1.15-1
Severity: normal
Tags: ftbfs
User: d...@packages.debian.org
Usertags: lineno-bashism

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:

    ./configure: 17099: test: xno: unexpected operator
    ./configure: 17108: test: x: unexpected operator
    configure: error: Could not find /src/gtest-all.cc
        tail -v -n \+0 config.log

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).

--
Cheers,
 Andrej


-- System Information:
Debian Release: bookworm/sid
 APT prefers unstable-debug
 APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'testing'), 
(10, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64

Kernel: Linux 5.14.0-2-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply via email to