[Pkg-alsa-devel] Bug#627152: alsa-source: problem exists with i868 also (linux-headers-2.6.38-2-686)

J G Miller miller at yoyo.ORG
Thu May 26 16:29:30 UTC 2011


Package: alsa-source
Version: 1.0.23+dfsg-4
Followup-For: Bug #627152

This bug is not specific to amd64 platform but also the i686 platform
as well.

I have linux-headers-2.6.38-2-686 installed

    0 lrwxrwxrwx  1 root root        35 2011-05-26 03:26 linux -> /usr/src/linux-headers-2.6.38-2-686/
    4 drwxr-xr-x  6 root root      4096 2011-05-26 17:34 linux-headers-2.6.38-2-686/
    4 drwxr-xr-x  4 root root      4096 2011-05-26 16:50 linux-headers-2.6.38-2-common/
    0 lrwxrwxrwx  1 root root        26 2011-04-11 14:39 linux-kbuild-2.6.38 -> ../lib/linux-kbuild-2.6.38/

and when using module assistant to build alsa modules, I get the same
error message concerning the missing autoconf.h file


/usr/bin/make -C /lib/modules/2.6.38-2-686/build SUBDIRS=/usr/src/modules/alsa-driver  CPP="gcc -E" CC="gcc" modules
make[3]: Entering directory `/usr/src/linux-headers-2.6.38-2-686'
  CC [M]  /usr/src/modules/alsa-driver/acore/hwdep.o
  CC [M]  /usr/src/modules/alsa-driver/acore/memory_wrapper.o
In file included from /usr/src/modules/alsa-driver/acore/memory_wrapper.c:1:0:
/usr/src/modules/alsa-driver/include/alsa-autoconf.h:8:28: fatal error: linux/autoconf.h: No such file or directory
compilation terminated.
make[7]: *** [/usr/src/modules/alsa-driver/acore/memory_wrapper.o] Error 1
make[6]: *** [/usr/src/modules/alsa-driver/acore] Error 2
make[5]: *** [_module_/usr/src/modules/alsa-driver] Error 2
make[4]: *** [sub-make] Error 2
make[3]: *** [all] Error 2

I have tried creating a link in /usr/src/linux (symlink to linux-headers-2.6.38-2-686/)
to autconf.h in /include/generated/autoconf.h and that produced the
same error.

I them tried making directory /usr/src/linux/linux and again making a
symlink to the /include/generated/autoconf.h  and that produced the
same error.

The problem is I cannot see which linux subdirectory from which the include
is trying to pull the autconf.h file.

Now if I follow the instructions in the file distributed with alsa-source,
namely /usr/share/doc/alsa-source/README.Debian, and do

  $ cp -rpL /usr/src/linux-headers-2.6.38-2-686  /var/tmp/root/tmp

and run make-kpkg there

  $ cd /var/tmp/root/tmp/linux-headers-2.6.38-2-686
  $ make-kpkg --rootcmd=fakeroot modules-image

I get the following error message

make -f debian/rules debian/stamp/conf/kernel-conf
[: 1: -lt: unexpected operator
[: 1: -eq: unexpected operator
[: 1: -eq: unexpected operator
[: 1: -lt: unexpected operator
[: 1: -eq: unexpected operator
[: 1: -eq: unexpected operator
[: 1: -gt: unexpected operator
[: 1: -ge: unexpected operator
[: 1: -lt: unexpected operator
[: 1: -eq: unexpected operator
[: 1: -eq: unexpected operator
[: 1: -eq: unexpected operator
[: 1: -ge: unexpected operator
make[1]: Entering directory `/var/tmp/root/tmp/linux-headers-2.6.38-2-686'
====== making target debian/stamp/conf/kernel-conf [new prereqs: ]======
make    ARCH=i386 \
                    oldconfig;
make[2]: Entering directory `/var/tmp/root/tmp/linux-headers-2.6.38-2-686'
/usr/src/linux-headers-2.6.38-2-common/scripts/Makefile.build:44: /usr/src/linux-headers-2.6.38-2-common/scripts/basic/Makefile: No such file or directory
make[5]: *** No rule to make target `/usr/src/linux-headers-2.6.38-2-common/scripts/basic/Makefile'.  Stop.

So clearly a Bourne shell script is doing tests on a one or more
environmental variables which have not been set.

But which Bourne shell script is being called by the

        make -f debian/rules debian/stamp/conf/kernel-conf

command?

And if additional environmental variables need to be set,
why are these not stated in the /usr/share/doc/alsa-source/README.Debian
file?

The reason why it is necessary to compile the ALSA modules manually is
because the ALSA modules included with the Debian kernel package
do not, for some reason, include the ALSA OSS sequencer emulation module
snd-seq-oss which was previously included in older versions of the
Debian kernel package.

Please advise if any further information needs to be supplied so that
this bug can be rectified in a timely fashion.


-- Package-specific info:
--- Begin additional package status ---
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  alsa-base      1.0.23+dfsg-4  ALSA driver configuration files
ii  libasound2     1.0.23-4       shared library for ALSA applications
--- End additional package status ---
--- Begin /proc/asound/version ---
Advanced Linux Sound Architecture Driver Version 1.0.23.
--- End /proc/asound/version ---
--- Begin /proc/asound/cards ---
 0 [Live           ]: EMU10K1 - SB Live! 5.1 [SB0060]
                      SB Live! 5.1 [SB0060] (rev.7, serial:0x80611102) at 0xa000, irq 9
 1 [pcsp           ]: PC-Speaker - pcsp
                      Internal PC-Speaker at port 0x61
--- End /proc/asound/cards ---
--- Begin /dev/snd/ listing ---
total 0
drwxr-xr-x  2 root root       80 May 26 11:20 by-path
crw-rw----+ 1 root audio 116, 12 May 26 11:20 controlC0
crw-rw----+ 1 root audio 116,  3 May 26 11:20 controlC1
crw-rw----+ 1 root audio 116,  4 May 26 11:20 hwC0D0
crw-rw----  1 root audio 116, 13 May 26 15:31 hwC0D2
crw-rw----+ 1 root audio 116,  5 May 26 11:20 midiC0D0
crw-rw----  1 root audio 116, 14 May 26 15:31 midiC0D1
crw-rw----  1 root audio 116, 15 May 26 15:31 midiC0D2
crw-rw----+ 1 root audio 116, 11 May 26 11:30 pcmC0D0c
crw-rw----+ 1 root audio 116, 10 May 26 18:10 pcmC0D0p
crw-rw----+ 1 root audio 116,  9 May 26 11:20 pcmC0D1c
crw-rw----+ 1 root audio 116,  8 May 26 11:20 pcmC0D2c
crw-rw----+ 1 root audio 116,  7 May 26 11:30 pcmC0D2p
crw-rw----+ 1 root audio 116,  6 May 26 11:20 pcmC0D3p
crw-rw----+ 1 root audio 116,  2 May 26 11:30 pcmC1D0p
crw-rw----+ 1 root audio 116,  1 May 26 11:20 seq
crw-rw----+ 1 root audio 116, 33 May 26 11:20 timer
--- End /dev/snd/ listing ---

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.38-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages alsa-source depends on:
ii  bzip2                         1.0.5-6    high-quality block-sorting file co
ii  debconf [debconf-2.0]         1.5.39     Debian configuration management sy
ii  debconf-utils                 1.5.39     debconf utilities
ii  debhelper                     8.1.6      helper programs for debian/rules
ii  dpkg-dev                      1.16.0.3   Debian package development tools
ii  gcc [c-compiler]              4:4.5.2-2  The GNU C compiler
ii  gcc-4.4 [c-compiler]          4.4.6-3    The GNU C compiler
ii  gcc-4.5 [c-compiler]          4.5.3-1    The GNU C compiler
ii  make                          3.81-8.1   An utility for Directing compilati

Versions of packages alsa-source recommends:
ii  fakeroot                     1.15.1-1    tool for simulating superuser priv
ii  kernel-package               12.036+nmu1 A utility for building Linux kerne
ii  linux-headers-2.6-686 [linux 2.6.38+34   Header files for Linux 2.6-686 (me
ii  linux-headers-2.6.38-2-686 [ 2.6.38-5    Header files for Linux 2.6.38-2-68
ii  module-assistant             0.11.3      tool to make module package creati

alsa-source suggests no packages.

Versions of packages alsa-base depends on:
ii  linux-sound-base           1.0.23+dfsg-4 base package for ALSA and OSS soun
ii  module-init-tools          3.12-1        tools for managing Linux kernel mo
ii  udev                       167-3         /dev/ and hotplug management daemo

Versions of packages alsa-base recommends:
ii  alsa-utils                   1.0.23-5+b1 Utilities for configuring and usin

Versions of packages alsa-base suggests:
pn  alsa-oss                      <none>     (no description available)
pn  apmd                          <none>     (no description available)
ii  oss-compat                    0.0.4+nmu3 OSS compatibility package

Versions of packages libasound2 depends on:
ii  libc6                         2.13-4     Embedded GNU C Library: Shared lib

Versions of packages libasound2 suggests:
ii  libasound2-plugins            1.0.23-2   ALSA library additional plugins

-- debconf information:
  alsa-source/cards_to_be_built: emu10k1,pcsp,usb-audio
  alsa-source/cards:
  alsa-source/has_pnp: false
  alsa-source/debug: false
  alsa-source/cards_with_descriptions:





More information about the Pkg-alsa-devel mailing list