[LAU] ALSA-driver package frustration/hate, on Debian Lenny

From: Ken Restivo <ken@email-addr-hidden>
Date: Sun Jan 10 2010 - 09:28:41 EET

I'm trying to build the alsa-source package on Debian Lenny.

It hates me.

I've built the kernel_image and kernel_headers, no problem.

But as for alsa-source? Forget it.

# make-kpkg --rootcmd fakeroot --append-to-version=-kr4 --added-modules alsa-driver kernel_image kernel_headers modules_image 2>&1 |less

exec debian/rules DEBIAN_REVISION=2.6.26.8-rt12-kr4-10.00.Custom APPEND_TO_VERSION=-kr4 KPKG_SELECTED_MODULES="alsa-driver" kernel_image kernel_headers modules_image
/usr/bin/make -f ./debian/rules debian/stamp/binary/pre-linux-image-2.6.26.8-rt12-kr4
make[1]: Entering directory `/usr/src/linux-2.6.26.8'
make[1]: `debian/stamp/binary/pre-linux-image-2.6.26.8-rt12-kr4' is up to date.
make[1]: Leaving directory `/usr/src/linux-2.6.26.8'
/usr/bin/make -f ./debian/rules debian/stamp/binary/pre-linux-headers-2.6.26.8-rt12-kr4
make[1]: Entering directory `/usr/src/linux-2.6.26.8'
make[1]: `debian/stamp/binary/pre-linux-headers-2.6.26.8-rt12-kr4' is up to date.
make[1]: Leaving directory `/usr/src/linux-2.6.26.8'
for module in /usr/src/modules/alsa-driver ; do \
          if test -d $module; then \
            (cd $module; \
              if ./debian/rules KVERS="2.6.26.8-rt12-kr4" KSRC="/usr/src/linux-2.6.26.8" \
                             KMAINT="Unknown Kernel Package Maintainer" KEMAIL="unknown@email-addr-hidden-pkg.conf" \
                             KPKG_DEST_DIR="/usr/src/linux-2.6.26.8/.." \
                             KPKG_MAINTAINER="Unknown Kernel Package Maintainer" \
                             KPKG_EXTRAV_ARG="EXTRAVERSION=.8-rt12-kr4" \
                             ARCH="x86_64" \
                             KDREV="2.6.26.8-rt12-kr4-10.00.Custom" kdist_image; then \
                  echo "Module $module processed fine";
\ else \
                   echo "Module $module failed."; \
                   if [ "X" != "X" ]; then \
                      echo "Perhaps $module does not understand --rootcmd?"; \
                      echo "If you see messages that indicate that it is not"; \
                      echo "in fact being built as root, please file a bug "; \
                      echo "against $module."; \
                   fi; \
                   echo "Hit return to Continue"; \
                 read ans; \
              fi; \
             ); \
          else \
               echo "Module $module does not exist"; \
               echo "Hit return to Continue?"; \
          fi; \
        done
/bin/sh: line 0: [: -lt: unary operator expected
/bin/sh: line 0: [: -eq: unary operator expected
/bin/sh: line 0: [: -eq: unary operator expected
/bin/sh: line 0: [: -lt: unary operator expected
/bin/sh: line 0: [: -eq: unary operator expected
/bin/sh: line 0: [: -eq: unary operator expected
/bin/sh: line 0: [: -gt: unary operator expected
/bin/sh: line 0: [: -ge: unary operator expected
/bin/sh: line 0: [: -lt: unary operator expected
/bin/sh: line 0: [: -ge: unary operator expected
make[1]: Entering directory `/usr/src/modules/alsa-driver'
make[1]: *** No rule to make target `kdist_image'. Stop.
make[1]: Leaving directory `/usr/src/modules/alsa-driver'
Module /usr/src/modules/alsa-driver failed.
Hit return to Continue

Why oh why? Unary operator, what the hell? kdist_image, what is that?

Seriously, yuck.

All I'm trying to do is get a more recent ALSA driver than the 1.0.16 that is included in this kernel. And I want it to be in a separate Debian package so I can swap it out at will. Whiskey Tango Foxtrot?

-ken
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Sun Jan 10 12:15:02 2010

This archive was generated by hypermail 2.1.8 : Sun Jan 10 2010 - 12:15:02 EET