<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:48:25 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-5086] Incorrect dependencies for Xeon Phi RPMs</title>
                <link>https://jira.whamcloud.com/browse/LU-5086</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;During RPM creation on host incorrect dependencies from Phi kernel is included in host RPMs.&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;kernel = 2.6.38.8+mpss3.2.1
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This prevents install those RPMs on host without disabling dependency checking.&lt;/p&gt;</description>
                <environment>Xeon Phi</environment>
        <key id="24760">LU-5086</key>
            <summary>Incorrect dependencies for Xeon Phi RPMs</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="6" iconUrl="https://jira.whamcloud.com/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="2">Won&apos;t Fix</resolution>
                                        <assignee username="dmiter">Dmitry Eremin</assignee>
                                    <reporter username="dmiter">Dmitry Eremin</reporter>
                        <labels>
                    </labels>
                <created>Mon, 19 May 2014 14:45:27 +0000</created>
                <updated>Thu, 23 Jul 2015 16:53:18 +0000</updated>
                            <resolved>Thu, 23 Jul 2015 16:53:18 +0000</resolved>
                                    <version>Lustre 2.6.0</version>
                    <version>Lustre 2.5.1</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="84373" author="dmiter" created="Mon, 19 May 2014 14:55:00 +0000"  >&lt;p&gt;The patch is &lt;a href=&quot;http://review.whamcloud.com/10364/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/10364/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="84605" author="brian" created="Wed, 21 May 2014 16:26:57 +0000"  >&lt;p&gt;Can you explain a bit why this happens as I don&apos;t see how/why the patch you propose fixes it.&lt;/p&gt;</comment>
                            <comment id="84606" author="morrone" created="Wed, 21 May 2014 16:35:01 +0000"  >&lt;p&gt;Agreed, more description needed in the patch.&lt;/p&gt;</comment>
                            <comment id="84611" author="dmiter" created="Wed, 21 May 2014 16:58:19 +0000"  >&lt;p&gt;During RPM build the dependencies are automatically searched by rpmbuild according host configuration.&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;%&lt;span class=&quot;code-keyword&quot;&gt;package&lt;/span&gt; modules
Summary: Kernel Lustre modules &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; Linux %{kversion}
%&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; %{defined cross_requires}
Requires: %{cross_requires}
AutoReqProv: no
%&lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt;
# &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; SLES11, we need nothing here
%&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; %{_vendor}==&lt;span class=&quot;code-quote&quot;&gt;&quot;redhat&quot;&lt;/span&gt; || %{_vendor}==&lt;span class=&quot;code-quote&quot;&gt;&quot;fedora&quot;&lt;/span&gt;
# &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; RHEL we need to require the specific kernel still since weak-modules
# support on RH is, well, weak, to be punny about it
Requires: kernel = %{krequires}
%endif
%endif
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;As you can see the kernel version from host will be found. I just disable this auto search for cross build because it&apos;s not able to find them correctly.&lt;/p&gt;</comment>
                            <comment id="84616" author="brian" created="Wed, 21 May 2014 17:14:51 +0000"  >&lt;blockquote&gt;
&lt;p&gt;As you can see the kernel version from host will be found.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Not exactly.  Yes, a &lt;tt&gt;kernel = $version&lt;/tt&gt; requirement is added but that is not &quot;auto search&quot;ed.  Rather &lt;tt&gt;$version&lt;/tt&gt; comes from &lt;tt&gt;%krequires&lt;/tt&gt; which is defined previously as:&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;%define krequires %(bash -c &quot;echo %{kversion} | sed -e &apos;s/\.x86_64$//&apos; -e &apos;s/\.i[3456]86$//&apos; -e &apos;s/-smp$//&apos; -e &apos;s/-bigsmp$//&apos; -e &apos;s/-ppc64$//&apos; -e &apos;s/-default$//&apos;&quot;)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;which is based on &lt;tt&gt;%kversion&lt;/tt&gt; which itself is previously defined as:&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;%{!?kversion: %global kversion %(if test -s %kobjdir/include/generated/utsrelease.h ; then LINUXRELEASEHEADER=%kobjdir/include/generated/utsrelease.h ; elif test -s %kobjdir/include/linux/utsrelease.h ; then LINUXRELEASEHEADER=%kobjdir/include/linux/utsrelease.h ; else LINUXRELEASEHEADER=%kobjdir/include/linux/version.h; fi; sed -ne &apos;/^#define UTS_RELEASE/s/.*&quot;\\(.*\\)&quot;$/\\1/p&apos; $LINUXRELEASEHEADER)}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Which is just a long/complicated way of saying that &lt;tt&gt;%kversion&lt;/tt&gt; is derived from the Linux kernel tree that was used to build Lustre.  I don&apos;t know much about this Xeon Phi stuff, but it seems that there is a kernel for it that we are building Lustre against, right?  Shouldn&apos;t it be that kernel tree that &lt;tt&gt;%kversion&lt;/tt&gt; comes out of instead of all of this &lt;tt&gt;%if %{defined cross_requires&lt;/tt&gt;} hackery?&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;I just disable this auto search for cross build because it&apos;s not able to find them correctly.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;But the question is why not?  I&apos;m certainly willing to have it explained to me but it doesn&apos;t seem obvious at this point.&lt;/p&gt;</comment>
                            <comment id="84621" author="dmiter" created="Wed, 21 May 2014 17:41:49 +0000"  >&lt;p&gt;Sorry, the dependency of Phi RPM is the following:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;kernel = 2.6.38.8+mpss3.2.1
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;and when I install this RPM on &lt;b&gt;host&lt;/b&gt; I got the error that kernel version is wrong because this version from Phi.&lt;/p&gt;</comment>
                            <comment id="84623" author="dmiter" created="Wed, 21 May 2014 17:44:09 +0000"  >&lt;p&gt;The issue is we install the RPM in one place but a code work in other place. So, we cannot check runtime requirements during install because we don&apos;t know them.&lt;/p&gt;</comment>
                            <comment id="84625" author="morrone" created="Wed, 21 May 2014 17:55:59 +0000"  >&lt;p&gt;I don&apos;t follow that last comment.  We don&apos;t check runtime requirements during install time, neither &lt;em&gt;should&lt;/em&gt; we check runtime requirements at install time.&lt;/p&gt;

&lt;p&gt;All of this sounds like Intel is packaging the Intel Phi environment rather brokenly.  I wonder if perhaps Intel should then have to maintain out-of-Lustre-tree patches for its broken environment rather than dirtying up the build and packaging system of the Lustre community tree.&lt;/p&gt;</comment>
                            <comment id="84629" author="dmiter" created="Wed, 21 May 2014 18:23:34 +0000"  >&lt;p&gt;I agree that this is strange way to install packages on Phi. But it was only way originally before MPSS 3.0. In a new MPSS 3.x release they change build system completely. In this new build system RPMs for Phi produced for new architecture and should be installed directly on Phi card rather on host. Current solution is deprecated and for compatibility only. I&apos;d like this way work until new build system will be supported and for compatibility with old releases.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </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|hzwmr3:</customfieldvalue>

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