i spent a few more minutes tracking down why doing "make rpm" fails
when you explicitly select the CONFIG_LOCALVERSION_AUTO option, which
should append the git head string to darned near everything. trying
this eventually produces:
...
Processing files: kernel-2.6.24rc3g2ffbb837-1
error: File not found:
/var/tmp/kernel-2.6.24rc3g2ffbb837-root/lib/modules/2.6.24-rc3-g2ffbb837
Checking for unpackaged file(s): /usr/lib/rpm/check-files
/var/tmp/kernel-2.6.24rc3g2ffbb837-root
error: Installed (but unpackaged) file(s) found:
/lib/modules/2.6.24-rc3/build
/lib/modules/2.6.24-rc3/kernel/drivers/scsi/scsi_wait_scan.ko
/lib/modules/2.6.24-rc3/modules.alias
/lib/modules/2.6.24-rc3/modules.ccwmap
/lib/modules/2.6.24-rc3/modules.dep
/lib/modules/2.6.24-rc3/modules.ieee1394map
/lib/modules/2.6.24-rc3/modules.inputmap
/lib/modules/2.6.24-rc3/modules.isapnpmap
/lib/modules/2.6.24-rc3/modules.ofmap
/lib/modules/2.6.24-rc3/modules.pcimap
/lib/modules/2.6.24-rc3/modules.seriomap
/lib/modules/2.6.24-rc3/modules.symbols
/lib/modules/2.6.24-rc3/modules.usbmap
/lib/modules/2.6.24-rc3/source
RPM build errors:
File not found:
/var/tmp/kernel-2.6.24rc3g2ffbb837-root/lib/modules/2.6.24-rc3-g2ffbb837
Installed (but unpackaged) file(s) found:
/lib/modules/2.6.24-rc3/build
/lib/modules/2.6.24-rc3/kernel/drivers/scsi/scsi_wait_scan.ko
/lib/modules/2.6.24-rc3/modules.alias
/lib/modules/2.6.24-rc3/modules.ccwmap
/lib/modules/2.6.24-rc3/modules.dep
/lib/modules/2.6.24-rc3/modules.ieee1394map
/lib/modules/2.6.24-rc3/modules.inputmap
/lib/modules/2.6.24-rc3/modules.isapnpmap
/lib/modules/2.6.24-rc3/modules.ofmap
/lib/modules/2.6.24-rc3/modules.pcimap
/lib/modules/2.6.24-rc3/modules.seriomap
/lib/modules/2.6.24-rc3/modules.symbols
/lib/modules/2.6.24-rc3/modules.usbmap
/lib/modules/2.6.24-rc3/source
make[1]: *** [rpm] Error 1
make: *** [rpm] Error 2
the above seems to be because, for reasons i haven't isolated, the
temporary directory for module installation turns out to be this on my
system:
/var/tmp/kernel-2.6.24rc3g2ffbb837-root/lib/modules/2.6.24-rc3
where you can see that that final component in the part *doesn't*
incorporate the git version string, and i would think it *should*.
so, somewhere, the build process is not creating that subdirectory
with the proper name, and that's why the "make rpm" fails.
not surprisingly, if you *don't* select that feature during the
config process, everything works just fine. so someone, somewhere
along the way, is dropping the git string.
rday
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA
http://crashcourse.ca
========================================================================
-
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html