<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:23:58 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-16095] lbuild: sles build should not require kernel-default-devel installed</title>
                <link>https://jira.whamcloud.com/browse/LU-16095</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;/lib/modules/&amp;lt;version&amp;gt;/build is symlinked to /usr/src/&amp;lt;version&amp;gt;, and since lbuild extracts the rpm to put in &apos;reused&apos; directory, it has to take care of the symlink too to prevent requiring the rpm to be installed. Otherwise we see some errors like this&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;error: cannot determine ksym provides of /tmp/rpmbuild-lustre-jenkins-LkKoPYLF/BUILDROOT/lustre-2.15.51_9_g8ab411e-1.x86_64/lib/modules/4.12.14-122.116-default/updates/lustre-client-tests/fs/llog_test.ko - missing ksym-povides tool.

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="71868">LU-16095</key>
            <summary>lbuild: sles build should not require kernel-default-devel installed</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="1" iconUrl="https://jira.whamcloud.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="mdiep">Minh Diep</assignee>
                                    <reporter username="mdiep">Minh Diep</reporter>
                        <labels>
                    </labels>
                <created>Mon, 15 Aug 2022 19:39:45 +0000</created>
                <updated>Wed, 9 Nov 2022 07:42:19 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="343629" author="gerrit" created="Mon, 15 Aug 2022 20:36:17 +0000"  >&lt;p&gt;&quot;Minh Diep &amp;lt;mdiep@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/48221&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/48221&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16095&quot; title=&quot;lbuild: sles build should not require kernel-default-devel installed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16095&quot;&gt;LU-16095&lt;/a&gt; build: fix lbuild not depending on installed kernel-devel&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 2e4ba32467358af5a5498e49e64b66126d74b6c9&lt;/p&gt;</comment>
                            <comment id="343651" author="mdiep" created="Mon, 15 Aug 2022 22:28:48 +0000"  >&lt;p&gt;self note:&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;++ readlink /lib/modules/4.12.14-122.116-default/build
+ objdir=
++ readlink /tmp/rpmbuild-lustre-jenkins-vfmwHzbm/BUILDROOT/lustre-2.15.51_1_g2e4ba32-1.x86_64/lib/modules/4.12.14-122.116-default/build
+ objdir_build=/tmp/rpmbuild-lustre-jenkins-vfmwHzbm/BUILDROOT/lustre-2.15.51_1_g2e4ba32-1.x86_64
+ for i in &apos;$objdir_build&apos; &apos;$objdir&apos;
+ ksym_provides=/tmp/rpmbuild-lustre-jenkins-vfmwHzbm/BUILDROOT/lustre-2.15.51_1_g2e4ba32-1.x86_64/scripts/mod/ksym-provides
+ &apos;[&apos; -x /tmp/rpmbuild-lustre-jenkins-vfmwHzbm/BUILDROOT/lustre-2.15.51_1_g2e4ba32-1.x86_64/scripts/mod/ksym-provides &apos;]&apos;
+ &apos;[&apos; -x /tmp/rpmbuild-lustre-jenkins-vfmwHzbm/BUILDROOT/lustre-2.15.51_1_g2e4ba32-1.x86_64/scripts/mod/ksym-provides &apos;]&apos;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;/usr/lib/rpm/find-provides.ksyms actually looks for installed /lib/modules/4.12.14-122.116-default/build first then BUILDROOT/lustre.../scripts/mod to find ksym-provides. but we don&apos;t have that in lustre!?&lt;/p&gt;

&lt;p&gt;here is the snippet&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;
    objdir=$(readlink /lib/modules/$version/build)
    objdir_build=$RPM_BUILD_ROOT$(readlink $RPM_BUILD_ROOT/lib/modules/$version/build)
    &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; i in $objdir_build $objdir ; &lt;span class=&quot;code-keyword&quot;&gt;do&lt;/span&gt;
            ksym_provides=$i/scripts/mod/ksym-provides
            [ -x $ksym_provides ] &amp;amp;&amp;amp; &lt;span class=&quot;code-keyword&quot;&gt;break&lt;/span&gt;
    done
    &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; [ -x $ksym_provides ] ; then
            $ksym_provides $flavor $f
    &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt;
            major=${version%%.*}
            sub=${version#*.}
            sub=${sub%%.*}
            &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; [ &lt;span class=&quot;code-quote&quot;&gt;&quot;$major&quot;&lt;/span&gt; -ge 4 -a &lt;span class=&quot;code-quote&quot;&gt;&quot;$sub&quot;&lt;/span&gt; -ge 10 ] ; then
                    echo &lt;span class=&quot;code-quote&quot;&gt;&quot;error: cannot determine ksym provides of $f - missing ksym-povides tool.&quot;&lt;/span&gt; &amp;gt;&amp;amp;2
            &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt;
                    nm &lt;span class=&quot;code-quote&quot;&gt;&quot;$f&quot;&lt;/span&gt; \
                            | sed -r -ne &lt;span class=&quot;code-quote&quot;&gt;&quot;s/^0*([0-9a-f]+) A __crc_(.+)/ksym($flavor:\\2) = \\1/p&quot;&lt;/span&gt;
            fi
    fi
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="352271" author="yujian" created="Wed, 9 Nov 2022 07:42:19 +0000"  >&lt;p&gt;In &lt;a href=&quot;https://review.whamcloud.com/48974&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/48974&lt;/a&gt;, SLES15 SP3 client build failed:&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;lbuild: Could not find the Linux tree in /data/lbuild-data/kernelrpm/5.3/sles15/x86_64/kernel-default-devel-5.3.18-150300.59.98.1.x86_64.rpm
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="71841">LU-16093</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|i02x67:</customfieldvalue>

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