I'm seeing the same symptoms here.  My guess is that it is the same
problem as bug #243896.  The offending comparison is on line 83 of the
modules.mk file.  The attached patch fixed it for me.

-- 
Cheers,      |      [EMAIL PROTECTED]     |    [EMAIL PROTECTED]
Kevin        |   http://kevinlocke.name  |   kevinoid on freenode
--- /usr/share/kernel-package/ruleset/modules.mk.orig   2006-03-08 
20:10:41.000000000 -0500
+++ /usr/share/kernel-package/ruleset/modules.mk        2006-03-08 
21:00:10.000000000 -0500
@@ -80,14 +80,13 @@
 ifneq ($(strip $(HAVE_VERSION_MISMATCH)),)
        @(echo "The changelog says we are creating $(saved_version), but I 
thought the version is $(version)"; exit 1)
 endif
-  ifneq ($(strip $(UTS_RELEASE_VERSION)),$(strip $(version)))
-       @echo "The UTS Release version in include/linux/version.h"
-       @echo "     \"$(strip $(UTS_RELEASE_VERSION))\" "
-       @echo "does not match current version:"
-       @echo "     \"$(strip $(version))\" "
-       @echo "Please correct this."
-       exit 2
-  endif
+       $(if $(subst $(strip $(UTS_RELEASE_VERSION)),,$(strip $(version))), \
+               @echo "The UTS Release version in include/linux/version.h"; \
+               @echo "     \"$(strip $(UTS_RELEASE_VERSION))\" "; \
+               @echo "does not match current version:"; \
+               @echo "     \"$(strip $(version))\" "; \
+               @echo "Please correct this."; \
+               exit 2,)
        -for module in $(valid_modules) ; do                       \
           if test -d  $$module; then                                \
            (cd $$module;                                          \

Reply via email to