[BUG] CCextractor uses bashism in configure script #771

Open
opened 2026-01-29 16:53:14 +00:00 by claunia · 0 comments
Owner

Originally created by @utkarsh2102 on GitHub (Aug 18, 2023).

Originally reported as: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=998781

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 pkg-config m4 macros... ./configure: 4747: test: yes: unexpected operator
 no
 configure: error: 
 pkg-config is required.
 	cd linux && 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).

Originally created by @utkarsh2102 on GitHub (Aug 18, 2023). Originally reported as: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=998781 > 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 pkg-config m4 macros... ./configure: 4747: test: yes: unexpected operator > no > configure: error: > pkg-config is required. > cd linux && 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).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#771