<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:23:27 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-2229] Lustre configure requires zfs/spl on the host node rather than as part of the build environment.</title>
                <link>https://jira.whamcloud.com/browse/LU-2229</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;When configure for lustre runs it decides the availability of spl/zfs by looking at the host node rather than looking at the build environment.&lt;/p&gt;

&lt;p&gt;This means that the build node has to have spl/zfs installed even though the actually building of lustre-zfs uses the build environment which has a spl/zfs development environment available.&lt;/p&gt;

&lt;p&gt;I don&apos;t think this make sense, it should not be a requirement for the build host to have every feature installed that the target build is going to contain.&lt;/p&gt;

&lt;p&gt;This has caused problems here; TT-391; when our build nodes where upgraded.&lt;/p&gt;</description>
                <environment></environment>
        <key id="13185">LU-2229</key>
            <summary>Lustre configure requires zfs/spl on the host node rather than as part of the build environment.</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</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="10100">Low Priority</resolution>
                                        <assignee username="behlendorf">Brian Behlendorf</assignee>
                                    <reporter username="chris">Chris Gearing</reporter>
                        <labels>
                    </labels>
                <created>Wed, 15 Feb 2012 08:55:26 +0000</created>
                <updated>Thu, 9 Jan 2020 07:09:27 +0000</updated>
                            <resolved>Thu, 9 Jan 2020 07:09:27 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="28799" author="brian" created="Wed, 15 Feb 2012 17:46:24 +0000"  >&lt;p&gt;The proper way to achieve this is to have lbuild build zfs/spl and then use rpm2cpio to unpack the -devel packages and then point configure at them such as is done for the kernel and ofed, as two examples.  This is how the original code I wrote for lbuild to do zfs/spl building did it.&lt;/p&gt;

&lt;p&gt;I recall there is a patch around for doing this zfs/spl build.  Is it still undergoing review or has it landed somewhere?&lt;/p&gt;</comment>
                            <comment id="61498" author="behlendorf" created="Fri, 28 Jun 2013 17:53:13 +0000"  >&lt;p&gt;The following two patches were merged in to the spl/zfs code.  They should allow for installation of the devel packages in to arbitrary buildroots.  Although I&apos;d argue this could have been handled using a standard build tool such as mock.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/zfsonlinux/spl/commit/485b471eb29cfa3a6dbac7de8fda5e020068044a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/zfsonlinux/spl/commit/485b471eb29cfa3a6dbac7de8fda5e020068044a&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://github.com/zfsonlinux/zfs/commit/389cf730cedd42dd1ef653e9358635c114e458d5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/zfsonlinux/zfs/commit/389cf730cedd42dd1ef653e9358635c114e458d5&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="65981" author="morrone" created="Fri, 6 Sep 2013 21:30:14 +0000"  >&lt;blockquote&gt;&lt;p&gt;use rpm2cpio to unpack the -devel packages&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;I could not really disagree more with this approach.  This is a dirty hack to avoid proper rpm building procedures, and should not be encouraged.&lt;/p&gt;</comment>
                            <comment id="66002" author="brian" created="Sat, 7 Sep 2013 13:28:31 +0000"  >&lt;blockquote&gt;
&lt;p&gt;I could not really disagree more with this approach. This is a dirty hack to avoid proper rpm building procedures, and should not be encouraged.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;I suppose this is another jab at the lack of the use of something like mock in the Intel build farm.  In an ideal world, yes, we would (at least investigate) completely overhaul(ing) the build farm to use something like mock (TEI-532) for rpm building.  But that&apos;s a project which, AFAIK, has not been scoped and prioritized.&lt;/p&gt;

&lt;p&gt;So given that, we have to work within the boundaries of what is possible to fix this problem today.  That is the context in which my suggestion of unpacking the -devel rpm should be taken.  This is no different than how any of the other -devel rpms are utilized by configure so this is not a new &quot;dirty hack&quot; but just another instance of a series of existing hacks to be able to build lustre in a &quot;mock-less&quot; build environment without having to be root to install and remove rpms during the build.&lt;/p&gt;</comment>
                            <comment id="66054" author="simmonsja" created="Mon, 9 Sep 2013 12:52:27 +0000"  >&lt;p&gt;Does &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-3497&quot; title=&quot;Lustre build system hardcoded to using ZFS development headers in /usr/include only. &quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-3497&quot;&gt;&lt;del&gt;LU-3497&lt;/del&gt;&lt;/a&gt; address your problems Murrell?&lt;/p&gt;</comment>
                            <comment id="260854" author="adilger" created="Thu, 9 Jan 2020 07:09:27 +0000"  >&lt;p&gt;Close old bug&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="13181">LU-1103</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </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_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzuwan:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2893</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>