[Pkg-alsa-devel] Bug#531668: alsa-source 1.0.20+dfsg-1 does not compile with kernel 2.6.29-2-686

Achille Luongo computer.enthusiastic at gmail.com
Thu Jun 4 23:46:13 UTC 2009


I confirm the problem with kernel 2.6.29-2-686 (linux-image-2.6.29-2-686
from standard debian package
http://packages.debian.org/search?suite=sid&section=all&arch=any&searchon=names&keywords=linux-image-2.6.29-2-686installed
using pinning) on:
1) a squeeze install created dist-upgrading from lenny
2) on a lenny install.

The debian package linux-headers-2.6.29-2-686 was installed, too.

I downloaded and installed the latest alsa-source (
http://packages.debian.org/search?suite=sid&searchon=names&keywords=alsa-source)
and it was installed using dpkg -i.

Then, I gave the following commands:

m-a update
m-a prepare
m-a a-i alsa-source



The first two commands successfully completed.

On the contrary, the third command:

m-a a-i alsa-source



stopped during "step four" complaining for errors that were reported in a
very long log file
(/var/cache/modass/alsa-source.buildlog.2.6.29-2-686.1244157605). This is an
example (from squeeze install):

/usr/bin/make -C /lib/modules/2.6.29-2-686/build
SUBDIRS=/usr/src/modules/alsa-driver  CPP="gcc-4.3 -E" CC="gcc-4.3" modules
make[3]: Entering directory `/usr/src/linux-headers-2.6.29-2-686'
  CC [M]  /usr/src/modules/alsa-driver/acore/hrtimer.o
In file included from
/usr/src/linux-headers-2.6.29-2-common/arch/x86/include/asm/ptrace.h:132,
                 from
/usr/src/linux-headers-2.6.29-2-common/arch/x86/include/asm/vm86.h:130,
                 from
/usr/src/linux-headers-2.6.29-2-common/arch/x86/include/asm/processor.h:10,
                 from
/usr/src/linux-headers-2.6.29-2-common/include/linux/prefetch.h:14,
                 from
/usr/src/linux-headers-2.6.29-2-common/include/linux/list.h:6,
                 from
/usr/src/linux-headers-2.6.29-2-common/include/linux/module.h:9,
                 from /usr/src/modules/alsa-driver/include/adriver.h:57,
                 from /usr/src/modules/alsa-driver/acore/hrtimer.c:1:
/usr/src/linux-headers-2.6.29-2-common/include/linux/init.h:147: error:
expected declaration specifiers or ‘...’ before ‘.’ token
/usr/src/linux-headers-2.6.29-2-common/include/linux/init.h:147: warning:
function declaration isn’t a prototype
/usr/src/linux-headers-2.6.29-2-common/include/linux/init.h: In function
‘__section’:
/usr/src/linux-headers-2.6.29-2-common/include/linux/init.h:147: error:
expected declaration specifiers before ‘boot_command_line’
/usr/src/linux-headers-2.6.29-2-common/include/linux/init.h:148: error:
storage class specified for parameter ‘saved_command_line’
/usr/src/linux-headers-2.6.29-2-common/include/linux/init.h:149: error:
storage class specified for parameter ‘reset_devices’
/usr/src/linux-headers-2.6.29-2-common/include/linux/init.h:155: error:
storage class specified for parameter ‘late_time_init’
In file included from
/usr/src/linux-headers-2.6.29-2-common/arch/x86/include/asm/vm86.h:130,
                 from
/usr/src/linux-headers-2.6.29-2-common/arch/x86/include/asm/processor.h:10,
                 from
/usr/src/linux-headers-2.6.29-2-common/include/linux/prefetch.h:14,
                 from
/usr/src/linux-headers-2.6.29-2-common/include/linux/list.h:6,
                 from
/usr/src/linux-headers-2.6.29-2-common/include/linux/module.h:9,
                 from /usr/src/modules/alsa-driver/include/adriver.h:57,
                 from /usr/src/modules/alsa-driver/acore/hrtimer.c:1:
/usr/src/linux-headers-2.6.29-2-common/arch/x86/include/asm/ptrace.h:134:
warning: empty declaration
/usr/src/linux-headers-2.6.29-2-common/arch/x86/include/asm/ptrace.h:135:
warning: empty declaration
/usr/src/linux-headers-2.6.29-2-common/arch/x86/include/asm/ptrace.h:137:
error: storage class specified for parameter ‘profile_pc’
/usr/src/linux-headers-2.6.29-2-common/arch/x86/include/asm/ptrace.h:140:
error: storage class specified for parameter ‘convert_ip_to_linear’
/usr/src/linux-headers-2.6.29-2-common/arch/x86/include/asm/ptrace.h:142:
error: storage class specified for parameter ‘send_sigtrap’
/usr/src/linux-headers-2.6.29-2-common/arch/x86/include/asm/ptrace.h:143:
error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/usr/src/linux-headers-2.6.29-2-common/arch/x86/include/asm/ptrace.h:145:
error: storage class specified for parameter ‘syscall_trace_enter’
/usr/src/linux-headers-2.6.29-2-common/arch/x86/include/asm/ptrace.h:146:
error: storage class specified for parameter ‘syscall_trace_leave’
/usr/src/linux-headers-2.6.29-2-common/arch/x86/include/asm/ptrace.h:149:
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
/usr/src/linux-headers-2.6.29-2-common/arch/x86/include/asm/ptrace.h:161:
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before

On my system gcc-4.1 and gcc-4.3 standard debian packages are currently
installed.

This is the reportbug log (from squeeze install):


   1. Subject: alsa-source 1.0.20 fails to compile with kernel 2.6.29.-2-686
   2. Package: alsa-source
   3. Version: 1.0.20+dfsg-1
   4. Severity: important
   5.
   6. *** Please type your report below this line ***
   7.
   8.
   9. -- Package-specific info:
   10. --- Begin additional package status ---
   11. Desired=Unknown/Install/Remove/Purge/Hold
   12. |
   Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
   13. |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
   uppercase=bad)
   14. ||/ Nome           Versione       Descrizione
   15.
   +++-==============-==============-============================================
   16. ii  alsa-base      1.0.20+dfsg-1  ALSA driver configuration files
   17. ii  libasound2     1.0.19-1       shared library for ALSA
   applications
   18. --- End additional package status ---
   19. --- Begin /proc/asound/version ---
   20. Advanced Linux Sound Architecture Driver Version 1.0.18a.
   21. --- End /proc/asound/version ---
   22. --- Begin /proc/asound/cards ---
   23.  0 [I82801AAICH    ]: ICH - Intel 82801AA-ICH
   24.                       Intel 82801AA-ICH with STAC9700,83,84 at irq 9
   25. --- End /proc/asound/cards ---
   26. --- Begin /dev/snd/ listing ---
   27. totale 0
   28. crw-rw----+ 1 root audio 116,  0 31 mag  2009 controlC0
   29. crw-rw----+ 1 root audio 116, 24 31 mag  2009 pcmC0D0c
   30. crw-rw----+ 1 root audio 116, 16 31 mag  2009 pcmC0D0p
   31. crw-rw----+ 1 root audio 116, 25 31 mag  2009 pcmC0D1c
   32. crw-rw----+ 1 root audio 116,  1 31 mag  2009 seq
   33. crw-rw----+ 1 root audio 116, 33 31 mag  2009 timer
   34. --- End /dev/snd/ listing ---
   35.
   36. -- System Information:
   37. Debian Release: squeeze/sid
   38.   APT prefers unstable
   39.   APT policy: (500, 'unstable'), (500, 'testing')
   40. Architecture: i386 (i686)
   41.
   42. Kernel: Linux 2.6.29-2-686 (SMP w/1 CPU core)
   43. Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
   44. Shell: /bin/sh linked to /bin/bash
   45.
   46. Versions of packages alsa-source depends on:
   47. ii  bzip2                         1.0.5-1    high-quality
   block-sorting file co
   48. ii  debconf [debconf-2.0]         1.5.26     Debian configuration
   management sy
   49. ii  debconf-utils                 1.5.26     debconf utilities
   50. ii  debhelper                     7.2.14     helper programs for
   debian/rules
   51. ii  dpkg-dev                      1.14.26    Debian package
   development tools
   52. ii  gcc [c-compiler]              4:4.3.3-5  The GNU C compiler
   53. ii  gcc-4.1 [c-compiler]          4.1.2-25   The GNU C compiler
   54. ii  gcc-4.3 [c-compiler]          4.3.3-10   The GNU C compiler
   55. ii  make                          3.81-5     The GNU version of the
   "make" util
   56.
   57. Versions of packages alsa-source recommends:
   58. ii  fakeroot                1.12.2           Gives a fake root
   environment
   59. ii  kernel-package          12.014           A utility for building
   Linux kerne
   60. ii  linux-headers-2.6-486 [ 2.6.26+17+lenny1 Header files for Linux
   2.6-486
   61. ii  linux-headers-2.6.26-2- 2.6.26-15        Header files for Linux
   2.6.26-2-48
   62. ii  linux-headers-2.6.26-2- 2.6.26-15        Header files for Linux
   2.6.26-2-68
   63. ii  linux-headers-2.6.29-2- 2.6.29-5         Header files for Linux
   2.6.29-2-68
   64. ii  module-assistant        0.11.1           tool to make module
   package creati
   65.
   66. alsa-source suggests no packages.
   67.
   68. Versions of packages alsa-base depends on:
   69. ii  linux-sound-base           1.0.20+dfsg-1 base package for ALSA
   and OSS soun
   70. ii  lsof                       4.81.dfsg.1-1 List open files
   71. ii  module-init-tools          3.7-pre9-1    tools for managing Linux
   kernel mo
   72. ii  udev                       0.141-1       /dev/ and hotplug
   management daemo
   73.
   74. Versions of packages libasound2 depends on:
   75. ii  libc6                         2.9-12     GNU C Library: Shared
   libraries
   76.
   77. -- debconf information:
   78.   alsa-source/cards_to_be_built: all
   79.   alsa-source/cards:
   80.   alsa-source/has_pnp: true
   81.   alsa-source/debug: false
   82.   alsa-source/cards_with_descriptions:


Thanks for any suggestion or advice.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-alsa-devel/attachments/20090605/f17dcc17/attachment-0001.htm>


More information about the Pkg-alsa-devel mailing list