[LU-1706] Building debian modules for Lustre 2.1.x fails on Ubuntu 10.04.1 LTS Created: 03/Aug/12 Updated: 09/Jan/15 Resolved: 09/Jan/15 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.1.2 |
| Fix Version/s: | Lustre 2.7.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Phill Harvey-Smith | Assignee: | Bob Glossman (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | client, patch | ||
| Environment: |
Ubuntu 10.04.1 LTS x64, running on Dell severs. |
||
| Attachments: |
|
||||||||||||
| Issue Links: |
|
||||||||||||
| Severity: | 3 | ||||||||||||
| Epic: | client | ||||||||||||
| Rank (Obsolete): | 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 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 allows the build to complete successfully Cheers. Phill. |
| Comments |
| Comment by Andreas Dilger [ 05/Nov/14 ] |
|
Is there someone in the community using Debian/Ubuntu that could submit a patch to the "make debs" build target to handle these details for the user? That would simplify the build process so that a less technical user could build packages without having to eventually work out this process via trial-and-error or eventually find it in this bug. |
| Comment by James A Simmons [ 18/Nov/14 ] |
|
This is also the case for newer 2.X versions (2.4+). Recently we had to get this working on a newer Ubuntu which we did. I will push a patch soon. |
| Comment by James A Simmons [ 21/Nov/14 ] |
|
Some of co workers managed to fix a few issues but when I go to build it myself I see the following type errors: dh_installdocs: This package will soon FTBFS; time to fix it! I see this for mount.lustre as well. Any detain experts out there that know how to fix this? |
| Comment by Gerrit Updater [ 21/Nov/14 ] |
|
James Simmons (uja.ornl@gmail.com) uploaded a new patch: http://review.whamcloud.com/12811 |
| Comment by Gerrit Updater [ 18/Dec/14 ] |
|
Blake Caldwell (blakec@ornl.gov) uploaded a new patch: http://review.whamcloud.com/13129 |
| Comment by Blake Caldwell [ 30/Dec/14 ] |
|
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 ( If building 2.6.0 instead of master, I had to apply 2 patches from 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: If you build a new kernel for Ubuntu 14.04, the configure get's more complicated but it works with patch set 7: |
| Comment by Gerrit Updater [ 07/Jan/15 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/13129/ |
| Comment by James A Simmons [ 07/Jan/15 ] |
|
Patch landed. This ticket can be closed. |