<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:18:59 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-1706] Building debian modules for Lustre 2.1.x fails on Ubuntu 10.04.1 LTS</title>
                <link>https://jira.whamcloud.com/browse/LU-1706</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Attempting to clone and build debs from the git repository fails to complete the build.&lt;/p&gt;

&lt;p&gt;The failing build script is :&lt;/p&gt;

&lt;p&gt;#!/bin/sh&lt;/p&gt;

&lt;p&gt;git clone -b b2_1 git://git.whamcloud.com/fs/lustre-release.git&lt;br/&gt;
cd lustre-release&lt;br/&gt;
sh autogen.sh&lt;br/&gt;
./configure &lt;br/&gt;
make debs&lt;/p&gt;

&lt;p&gt;This seems to fail building the client modules, log of failing build attached.&lt;/p&gt;

&lt;p&gt;Modifying the build script to :&lt;/p&gt;

&lt;p&gt;#!/bin/sh&lt;/p&gt;

&lt;p&gt;git clone -b b2_1 git://git.whamcloud.com/fs/lustre-release.git&lt;br/&gt;
cd lustre-release&lt;br/&gt;
sh autogen.sh&lt;br/&gt;
./configure --enable-dist&lt;br/&gt;
make dist&lt;br/&gt;
rm -rf BUILD&lt;br/&gt;
mkdir BUILD&lt;br/&gt;
cd BUILD&lt;br/&gt;
ln ../lustre-2.1.2.tar.gz lustre_2.1.2.orig.tar.gz&lt;br/&gt;
tar zxf ../lustre-2.1.2.tar.gz&lt;br/&gt;
cd lustre-2.1.2&lt;br/&gt;
./configure&lt;br/&gt;
make debs&lt;/p&gt;

&lt;p&gt;allows the build to complete successfully &lt;/p&gt;

&lt;p&gt;Cheers.&lt;/p&gt;

&lt;p&gt;Phill.&lt;/p&gt;</description>
                <environment>Ubuntu 10.04.1 LTS x64, running on Dell severs.</environment>
        <key id="15407">LU-1706</key>
            <summary>Building debian modules for Lustre 2.1.x fails on Ubuntu 10.04.1 LTS</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="5" iconUrl="https://jira.whamcloud.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="bogl">Bob Glossman</assignee>
                                    <reporter username="phillhs">Phill Harvey-Smith</reporter>
                        <labels>
                            <label>client</label>
                            <label>patch</label>
                    </labels>
                <created>Fri, 3 Aug 2012 08:41:52 +0000</created>
                <updated>Fri, 9 Jan 2015 02:45:15 +0000</updated>
                            <resolved>Fri, 9 Jan 2015 02:45:15 +0000</resolved>
                                    <version>Lustre 2.1.2</version>
                                    <fixVersion>Lustre 2.7.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="98430" author="adilger" created="Wed, 5 Nov 2014 16:38:49 +0000"  >&lt;p&gt;Is there someone in the community using Debian/Ubuntu that could submit a patch to the &quot;make debs&quot; 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. &lt;/p&gt;</comment>
                            <comment id="99509" author="simmonsja" created="Tue, 18 Nov 2014 20:16:54 +0000"  >&lt;p&gt;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.&lt;/p&gt;</comment>
                            <comment id="99768" author="simmonsja" created="Fri, 21 Nov 2014 16:34:35 +0000"  >&lt;p&gt;Some of co workers managed to fix a few issues but when I go to build it myself I see the following type errors:&lt;/p&gt;

&lt;p&gt;dh_installdocs: This package will soon FTBFS; time to fix it!&lt;br/&gt;
cp: preserving permissions for `debian/lustre-utils/usr/share/doc/lustre-utils/BUGS&apos;: Operation not supported&lt;br/&gt;
dh_installdocs: cp -a lustre/BUGS debian/lustre-utils/usr/share/doc/lustre-utils returned exit code 1&lt;/p&gt;

&lt;p&gt;I see this for mount.lustre as well. Any detain experts out there that know how to fix this?&lt;/p&gt;</comment>
                            <comment id="99786" author="gerrit" created="Fri, 21 Nov 2014 19:10:47 +0000"  >&lt;p&gt;James Simmons (uja.ornl@gmail.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/12811&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/12811&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1706&quot; title=&quot;Building debian modules for Lustre 2.1.x fails on Ubuntu 10.04.1 LTS&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1706&quot;&gt;&lt;del&gt;LU-1706&lt;/del&gt;&lt;/a&gt; build: Fixes to make debs to locate kernels&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 4cd12be66425ffc77856dec28fd03c9271c42db7&lt;/p&gt;</comment>
                            <comment id="101973" author="gerrit" created="Thu, 18 Dec 2014 18:32:39 +0000"  >&lt;p&gt;Blake Caldwell (blakec@ornl.gov) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/13129&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/13129&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1706&quot; title=&quot;Building debian modules for Lustre 2.1.x fails on Ubuntu 10.04.1 LTS&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1706&quot;&gt;&lt;del&gt;LU-1706&lt;/del&gt;&lt;/a&gt; build: fixes to locate kernel in make debs&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 0d6009997ce6bcc793c466d393c50419fd4c78f3&lt;/p&gt;</comment>
                            <comment id="102434" author="blakecaldwell" created="Tue, 30 Dec 2014 23:34:42 +0000"  >&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;For building a 14.04 client, I had to disable the kernel config options relating to Lustre (&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5628&quot; title=&quot;Dealing with kernels that have lustre enabled already&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5628&quot;&gt;&lt;del&gt;LU-5628&lt;/del&gt;&lt;/a&gt;). If there&apos;s an appropriate place, I can post the build commands I used.&lt;/p&gt;

&lt;p&gt;If building 2.6.0 instead of master, I had to apply 2 patches from &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5418&quot; title=&quot;compile fix for code using readline&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5418&quot;&gt;&lt;del&gt;LU-5418&lt;/del&gt;&lt;/a&gt;, both of which have been merged into master.&lt;/p&gt;

&lt;p&gt;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:&lt;br/&gt;
./configure [ --disable-server --with-linux=... --with-linux-obj=... ] &amp;amp;&amp;amp; make debs&lt;/p&gt;

&lt;p&gt;If you build a new kernel for Ubuntu 14.04, the configure get&apos;s more complicated but it works with patch set 7:&lt;br/&gt;
./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 &amp;amp;&amp;amp; make debs&lt;/p&gt;</comment>
                            <comment id="102764" author="gerrit" created="Wed, 7 Jan 2015 17:33:17 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/13129/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/13129/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1706&quot; title=&quot;Building debian modules for Lustre 2.1.x fails on Ubuntu 10.04.1 LTS&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1706&quot;&gt;&lt;del&gt;LU-1706&lt;/del&gt;&lt;/a&gt; build: Fixes for debian build system with Ubuntu 12.04+&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: f8babafc6ac2cae22e6005103aaa5ac4aa0a63ea&lt;/p&gt;</comment>
                            <comment id="102769" author="simmonsja" created="Wed, 7 Jan 2015 17:39:58 +0000"  >&lt;p&gt;Patch landed. This ticket can be closed.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="27877">LU-6019</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="28055">LU-6083</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="11754" name="mk.out" size="593013" author="phillhs" created="Fri, 3 Aug 2012 08:41:52 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10040" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Epic</customfieldname>
                        <customfieldvalues>
                                        <label>client</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzvzzz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>10078</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10060" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Severity</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[3]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>