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

Ken Restivo ken at restivo.org
Sun Jan 10 02:28:41 EST 2010


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 at unconfigured.in.etc.kernel-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



More information about the Linux-audio-user mailing list