[Pkg-alsa-devel] Bug#244257: alsa-driver fails compile with Debianized kernel 2.6.5 and kernel-package (make-kpkg)

Bruce Miller Bruce Miller <bruce@brmiller.ca>, 244257@bugs.debian.org
Sat, 17 Apr 2004 12:18:16 -0400


Package: alsa-driver
Severity: serious
Tags: sid
Justification: no longer builds from source



-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.4
Locale: LANG=C, LC_CTYPE=C

attempted to build 2.6.5 kernel from source (make-kpkg --rootcmd fakeroot kernel-image modules-image) as an unprivileged user in a
scratch directory changed the ownership of /usr/src/modules/alsa-source to that of the unprivileged user

following is relevant screen output:
make[4]: Leaving directory `/usr/src/modules/alsa-driver'
/usr/bin/make -C /home/downloads/kernel-source-2.6.5 SUBDIRS=/usr/src/modules/alsa
-driver/kbuild modules
make[4]: Entering directory `/home/downloads/kernel-source-2.6.5'
  CHK     include/linux/version.h
*** Warning: Overriding SUBDIRS on the command line can cause
***          inconsistencies
  CC      scripts/empty.o
  MKELF   scripts/elfconfig.h
  HOSTCC  scripts/file2alias.o
  HOSTCC  scripts/modpost.o
  HOSTCC  scripts/sumversion.o
  HOSTLD  scripts/modpost
  CC      arch/i386/kernel/asm-offsets.s
  CHK     include/asm-i386/asm_offsets.h
  CC [M]  /usr/src/modules/alsa-driver/kbuild/../acore/hwdep.o
  CC [M]  /usr/src/modules/alsa-driver/kbuild/../acore/memalloc.o
/usr/src/modules/alsa-driver/acore/memalloc.c: In function `snd_pci_hack_alloc_con                                     sistent':
/usr/src/modules/alsa-driver/acore/memalloc.c:105: error: structure has no member                                      named `consistent_dma_mask'
/usr/src/modules/alsa-driver/acore/memalloc.c:110: error: structure has no member                                      named `consistent_dma_mask'
/usr/src/modules/alsa-driver/acore/memalloc.c:115: error: structure has no member                                      named `consistent_dma_mask'
/usr/src/modules/alsa-driver/acore/memalloc.c: In function `snd_malloc_pci_page':
/usr/src/modules/alsa-driver/acore/memalloc.c:658: error: structure has no member                                      named `consistent_dma_mask'
make[6]: *** [/usr/src/modules/alsa-driver/kbuild/../acore/memalloc.o] Error 1
make[5]: *** [/usr/src/modules/alsa-driver/kbuild/../acore] Error 2
make[4]: *** [/usr/src/modules/alsa-driver/kbuild] Error 2
make[4]: Leaving directory `/home/downloads/kernel-source-2.6.5'
make[3]: *** [compile] Error 2
make[3]: Leaving directory `/usr/src/modules/alsa-driver'
make[2]: *** [build-stamp] Error 2
make[2]: Leaving directory `/usr/src/modules/alsa-driver'
make[1]: *** [kdist_image] Error 2
make[1]: Leaving directory `/usr/src/modules/alsa-driver'
Module /usr/src/modules/alsa-driver failed.
Perhaps /usr/src/modules/alsa-driver does not understand --rootcmd?
If you see messages that indicate that it is not
in fact being built as root, please file a bug
against /usr/src/modules/alsa-driver.
Hit return to Continue

bruce@bruce_P4:/home/downloads/linux$