Details
-
Bug
-
Resolution: Fixed
-
Minor
-
Lustre 2.1.2
-
Ubuntu 10.04.1 LTS x64, running on Dell severs.
-
3
-
10078
Description
Attempting to clone and build debs from the git repository fails to complete the build.
The failing build script is :
#!/bin/sh
git clone -b b2_1 git://git.whamcloud.com/fs/lustre-release.git
cd lustre-release
sh autogen.sh
./configure
make debs
This seems to fail building the client modules, log of failing build attached.
Modifying the build script to :
#!/bin/sh
git clone -b b2_1 git://git.whamcloud.com/fs/lustre-release.git
cd lustre-release
sh autogen.sh
./configure --enable-dist
make dist
rm -rf BUILD
mkdir BUILD
cd BUILD
ln ../lustre-2.1.2.tar.gz lustre_2.1.2.orig.tar.gz
tar zxf ../lustre-2.1.2.tar.gz
cd lustre-2.1.2
./configure
make debs
allows the build to complete successfully
Cheers.
Phill.
Just uploaded a new patch set with some improvements. I believe the module-assist issues that I corrected for in earlier versions of the patch set by requiring 0.11.5 are fixed now that LINUX_OBJ and LINUXRELEASE are used by m-a directly with -k and -l options respectively. This means module assist 0.11.4 which comes with Ubuntu 12.04 should be adequate. In theory this patch should fix issues with 10.04 and I chose a debhelper version that is included with 10.04. Testing would be appreciated.
For building a 14.04 client, I had to disable the kernel config options relating to Lustre (
LU-5628). If there's an appropriate place, I can post the build commands I used.If building 2.6.0 instead of master, I had to apply 2 patches from
LU-5418, both of which have been merged into master.I have been using the following configure line, where disabling the server code appears a noop, and adding options if necessary for building for a kernel besides the running one:
./configure [ --disable-server --with-linux=... --with-linux-obj=... ] && make debs
If you build a new kernel for Ubuntu 14.04, the configure get's more complicated but it works with patch set 7:
./configure --with-linux=$HOME/linux-3.13.0/debian/linux-headers-3.13.0-43/usr/src/linux-headers-3.13.0-43 --with-linux-obj=$HOME/linux-3.13.0/debian/build/build-generic --disable-server && make debs