[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[repost] kernel-package problem?



Hello.

Some days ago I've posted a message about kernel-packagee not cleaning
the modules tree properly. Since then, I've also found a bug filed
against alsa-source complaining about the same behavior.

The problem is: should make-kpkg run "debian/rules clean" in those
dirs or should it run "make kdist_clean"? The former works, and
it'swhat the documentation claims that it does, but it semes taht in
practice, make-kpkg will try a make kdist_clean...

Now... I suppose this is a make-kpkg bug, and that there's nothing
wrong with the modules packages?

J.



$ fakeroot make-kpkg modules_clean
test -f stamp-debian || /usr/bin/make -f /usr/share/kernel-package/rules debian
test -f .config      || /usr/bin/make -f /usr/share/kernel-package/rules .config
test ! -f stamp-configure \
  && /usr/bin/make  CROSS_COMPILE= \
                                 ARCH=i386 oldconfig \
          && /usr/bin/make  CROSS_COMPILE= \
                                 ARCH=i386 dep \
          && /usr/bin/make  CROSS_COMPILE= \
                                 ARCH=i386 clean && \
              touch stamp-configure
make: [stamp-configure] Error 1 (ignored)
for module in /home/jeronimo/Linux/kernel/modules/* ; do \
          if test -d  $module; then \
    (cd $module; \
              if ./debian/rules KVERS="2.4.0-prerelease-ac3" KSRC="/home/jeronimo/Linux/kernel/linux-2.4.0-pre-ac3-reiser" \
                             KMAINT="Jeronimo Pellegrini" KEMAIL="pellegrini@iname.com"      \
                             KDREV="Custom.1.00" kdist_clean; then    \
                  echo "Module $module cleaned";                   \
              else                                                  \
                   echo "Module $module failed to clean up";       \
                   echo "Hit return to Continue?";                  \
	   read ans;                                        \
              fi;                                                   \
     );                                                     \
  fi;                                                       \
        done
make[1]: Entering directory `/home/jeronimo/Linux/kernel/modules/i2c-2.5.4'
make[1]: *** No rule to make target `kdist_clean'.  Stop.
make[1]: Leaving directory `/home/jeronimo/Linux/kernel/modules/i2c-2.5.4'
Module /home/jeronimo/Linux/kernel/modules/i2c-2.5.4 failed to clean up
Hit return to Continue?
make: *** [modules_clean] Interrupt


-- 
Jeronimo Pellegrini
Institute of Computing - Unicamp - Brazil
http://www.ic.unicamp.br/~jeronimo
mailto:jeronimo@ic.unicamp.br    mailto:pellegrini@iname.com


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
-- 
Jeronimo Pellegrini
Institute of Computing - Unicamp - Brazil
http://www.ic.unicamp.br/~jeronimo
mailto:jeronimo@ic.unicamp.br    mailto:pellegrini@iname.com

Reply to: