[Pkg-alsa-devel] Bug#343555: alsa-source: fails to configure with bash 3.1 as /bin/sh

Aaron M. Ucko ucko at debian.org
Fri Dec 16 01:32:52 UTC 2005


Package: alsa-source
Version: 1.0.10-2
Severity: grave
Justification: renders package unusable

alsa-source's config script fails on my system (which has bash 3.1-1
installed as /bin/sh); AFAICT, the problem is constructs such as

	ALSA_NOPNP="$(. /etc/alsa/alsa-source.conf >/dev/null 2>&1 ; echo "$ALSA_NOPNP")"

which bomb out with status 127 because ifndef is not a command and the
subshell evidently inherits the -e flag.  Given that this worked okay
with previous versions of bash, and also works with dash, that may be
a bug in bash 3.1; however, I'd still suggest avoiding trouble by
prepending "set +e; " to the list of commands for all three variables.

-- Package-specific info:
--- Begin additional package status ---
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  alsa-base      1.0.10-2       ALSA driver configuration files
ii  libasound2     1.0.10-2       ALSA library
--- End additional package status ---
--- Begin /proc/asound/version ---
Advanced Linux Sound Architecture Driver Version 1.0.10rc1 (Mon Sep 12 08:13:09 2005 UTC).
--- End /proc/asound/version ---
--- Begin /proc/asound/cards ---
0 [Solo1          ]: ES1938 - ESS ES1938 (Solo-1)
                     ESS ES1938 (Solo-1) rev 0, irq 5
--- End /proc/asound/cards ---
--- Begin /dev/snd/ listing ---
total 0
crw-rw---- 1 root audio 116,  0 2005-12-15 14:30 controlC0
crw-rw---- 1 root audio 116,  4 2005-12-15 14:30 hwC0D0
crw-rw---- 1 root audio 116,  8 2005-12-15 14:30 midiC0D0
crw-rw---- 1 root audio 116, 24 2005-12-15 14:30 pcmC0D0c
crw-rw---- 1 root audio 116, 16 2005-12-15 14:30 pcmC0D0p
crw-rw---- 1 root audio 116, 33 2005-12-15 14:30 timer
--- End /dev/snd/ listing ---

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages alsa-source depends on:
ii  bzip2                     1.0.2-11       high-quality block-sorting file co
ii  debconf [debconf-2.0]     1.4.62         Debian configuration management sy
ii  debconf-utils             1.4.62         debconf utilities
ii  debhelper                 5.0.10         helper programs for debian/rules
ii  dpkg-dev                  1.13.11        package building tools for Debian
ii  gcc [c-compiler]          4:4.0.2-2      The GNU C compiler
ii  gcc-3.3 [c-compiler]      1:3.3.6-10     The GNU C compiler
ii  gcc-3.4 [c-compiler]      3.4.5-1        The GNU C compiler
ii  gcc-4.0 [c-compiler]      4.0.2-5        The GNU C compiler
ii  make                      3.80+3.81.b4-1 The GNU version of the "make" util

Versions of packages alsa-source recommends:
ii  fakeroot                      1.5.6      Gives a fake root environment
ii  kernel-package                10.018     A utility for building Linux kerne
ii  kernel-source-2.4.22 [kernel- 2.4.22-7   Linux kernel source for version 2.
ii  kernel-source-2.4.23 [kernel- 2.4.23-1   Linux kernel source for version 2.
ii  kernel-source-2.4.25 [kernel- 2.4.25-3   Linux kernel source for version 2.
ii  kernel-source-2.4.26 [kernel- 2.4.26-6   Linux kernel source for version 2.
ii  kernel-source-2.4.27 [kernel- 2.4.27-12  Linux kernel source for version 2.
ii  kernel-source-2.6.11 [kernel- 2.6.11-7   Linux kernel source for version 2.

Versions of packages alsa-base depends on:
ii  linux-sound-base           1.0.10-2      base package for ALSA and OSS soun
ii  lsof                       4.76.dfsg.1-1 List open files.
ii  module-init-tools          3.2.2-1       tools for managing Linux kernel mo
ii  modutils                   2.4.27.0-3    Linux module utilities

Versions of packages libasound2 depends on:
ii  libc6                         2.3.5-8.1  GNU C Library: Shared libraries an

-- debconf information:
  alsa-common/card-list:
  alsa-common/card-list:
* alsa-source/cards_to_be_built: dummy, es1938, virmidi
* alsa-source/debug: false
* alsa-base/alsactl_store_on_shutdown: always autosave
  alsa-source/cards:
* alsa-source/has_pnp: false
  alsa-source/cards_with_descriptions:




More information about the Pkg-alsa-devel mailing list