Hi, I'm getting some strange failures running "tools/buildall.sh" on a clean git clone from the latest (2011-02-22) master repository.
Specifically: - Building the Packages for "kernel" and "kmodules" - Building the Source and Package for "iscsi" - Building the Packages for "initrd" All are related to the same problem. For some reason the kernel build is writing the results into directories called e.g. "2.6.35.10-geode-g8373740" rather than simply "2.6.35.10-geode" and attempts to copy files from the "expected" locations do not work. The same -g8373740 suffix is applied to the i486, i686 and geode variants. I notice that UTS_RELEASE and kernel.release are being defined with the suffix. For example: $ cd leaf/bering-uclibc4/buildtool/source/linux/ $ cat linux-geode/include/generated/utsrelease.h #define UTS_RELEASE "2.6.35.10-geode-g8373740" $ cat include/config/kernel.release 2.6.35.10-geode-g8373740 Surely that's not right... Typical. While composing this email I solve the problem myself. Oh well, let me finish this so we have a record in the email archive. File kernel.release is generated from Makefile by running script linux-2.6.35.10/scripts/scripts/setlocalversion which has comments: # This scripts adds local version information from the version # control systems git, mercurial (hg) and subversion (svn). That script runs this git command: $ git rev-parse --verify --short HEAD which sure enough says: 8373740 The "-g" is added by the script to show that it is a Git version number. This behaviour can be suppressed by a change to the kernel .config. Right now we have: CONFIG_LOCALVERSION_AUTO=y and changing this to # CONFIG_LOCALVERSION_AUTO is not set seems to fix it for me. I propose to do another clean build to check for any side-effects and if all is successful commit the change to the kernel .config. davidMbrooke ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel