[Pkg-alsa-devel] Can't build alsa-source with stock debian 2.6.0 kernel

Enrico Zini zinie@cs.unibo.it
Mon, 9 Feb 2004 21:26:12 +0100


On Mon, Feb 09, 2004 at 02:50:25PM -0500, David B Harris wrote:

> > to work around lockup problems in stock OSS 2.6.0 i810_audio module, I
> > was trying compiling alsa-source.  It didn't work, with the output
> > below:
> ALSA just got support to build against 2.6.x kernels in 1.0.2. We have
> that tree imported and it builds and tests fine on my machine, but if
> you want to test it yourself and let us know how it goes, that'd be
> great.
> (CVS instructions are available at
> http://alioth.debian.org/scm/?group_id=1394)

Ok.  I checked out with the usual anonymous login, then:
  cvs -z3 -d:pserver:anonymous@cvs.alioth.debian.org:/cvsroot/pkg-alsa co debian/alsa-driver
  cd debian/alsa-driver/
  dpkg-buildpackage -us -uc -rfakeroot

The output is as follows:

dpkg-buildpackage: source package is alsa-driver
dpkg-buildpackage: source version is 1.0.2c-1
dpkg-buildpackage: source maintainer is Jordi Mallach <jordi@debian.org>
dpkg-buildpackage: host architecture is i386
 fakeroot debian/rules clean
dpatch  deapply-all  
99_debian_makefile_depmod not applied to ./ .
16_core_oss_framepointer not applied to ./ .
15_es18xx_filter_fix not applied to ./ .
14_irqreturn_fix not applied to ./ .
10_disable_gcc_version_check not applied to ./ .
reverting patch 09_alpha_build_fixes from ./ ... ok.
reverting patch 04_make_minus_j_fix from ./ ... ok.
rm -rf patch-stamp patch-stampT debian/patched
dh_testdir
dh_testroot
rm -f debian/substvars debian/*.debhelper debian/*.substvars
rm -f -r debian/alsa-{base,source,headers}
rm -f debian/files debian/snddevices
find . -type f -a \( -name \#\*\# -o -name \*\~ -o -name DEADJOE \
	-o -name \*.orig -o -name \*.rej -o -name \*.bak -o -name \
	.\*.orig -o -name .\*.rej -o -name .SUMS -o -name TAGS \
	-o -name .\#\* -o -name core -o \( -path \*/.deps/\* -a -name \
	\*.P \) \) -exec rm -f {} \;
rm -f build-stamp
rm -f include/isapnp.h
rm -f debian/*substvars
rm -f -r debian/patched
dh_clean -k
 dpkg-source -b alsa-driver
dpkg-source: warning: source directory `./alsa-driver' is not <sourcepackage>-<upstreamversion> `alsa-driver-1.0.2c'
dpkg-source: building alsa-driver in alsa-driver_1.0.2c-1.tar.gz
dpkg-source: building alsa-driver in alsa-driver_1.0.2c-1.dsc
 debian/rules build
test -d debian/patched || install -d debian/patched
dpatch  apply-all  
applying patch 04_make_minus_j_fix to ./ ... ok.
applying patch 09_alpha_build_fixes to ./ ... ok.
applying patch 10_disable_gcc_version_check to ./ ... failed.
make: *** [patch-stamp] Error 1

So I tried:
  fakeroot debian/rules binary_modules KSRC=/usr/src/kernel-headers-2.6.0-1-686-smp/
But I got:
  make: *** No rule to make target `binary_modules'.  Stop.

I'm stuck here and I don't know what I could do next.  I'd be more than
happy to try it, though.

Ciao,

Enrico

--
GPG key: 1024D/797EBFAB 2000-12-05 Enrico Zini <enrico@debian.org>