<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:22:44 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-15956] lustre-client dkms build error with redefinition of &#8216;init_sk_module&#8217;</title>
                <link>https://jira.whamcloud.com/browse/LU-15956</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Hello!&lt;br/&gt;
We wanted to try to deploy a few Lustre 2.15.0 clients on a CentOS 7.9 cluster. While we were able to build the standard lustre/kmod RPMs without issue, we hit the following problem when installing the DKMS RPM.&lt;/p&gt;

&lt;p&gt;Overview of the dkms rpm build process (from the &lt;a href=&quot;https://wiki.lustre.org/Compiling_Lustre#Lustre_Client_.28DKMS_Packages_only.29&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Compiling Lustre Wiki page&lt;/a&gt;)&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;make distclean
sh ./autogen.sh
&#160;./configure --enable-dist --disable-server --enable-client
make dist
rpmbuild -bs --without servers lustre-dkms.spec
rpmbuild --rebuild --without servers /path/to/lustre-client-dkms(...).el7.src.rpm
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;The installation of the lustre-client-dkms RPM fails on CentOS 7.9 with the following errors:&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;/var/lib/dkms/lustre-client/2.15.0_1_g0a101e6/build/lustre/ptlrpc/gss/gss_sk_mech.c:946:12: error: redefinition of &#8216;init_sk_module&#8217;
 int __init init_sk_module(void)
            ^
In file included from /var/lib/dkms/lustre-client/2.15.0_1_g0a101e6/build/lustre/ptlrpc/gss/gss_crypto.h:6:0,
                 from /var/lib/dkms/lustre-client/2.15.0_1_g0a101e6/build/lustre/ptlrpc/gss/gss_sk_mech.c:44:
/var/lib/dkms/lustre-client/2.15.0_1_g0a101e6/build/lustre/ptlrpc/gss/gss_internal.h:544:19: note: previous definition of &#8216;init_sk_module&#8217; was here
 static inline int init_sk_module(void) { return 0; }
                   ^
/var/lib/dkms/lustre-client/2.15.0_1_g0a101e6/build/lustre/ptlrpc/gss/gss_sk_mech.c:957:6: error: redefinition of &#8216;cleanup_sk_module&#8217;
 void cleanup_sk_module(void)
      ^
In file included from /var/lib/dkms/lustre-client/2.15.0_1_g0a101e6/build/lustre/ptlrpc/gss/gss_crypto.h:6:0,
                 from /var/lib/dkms/lustre-client/2.15.0_1_g0a101e6/build/lustre/ptlrpc/gss/gss_sk_mech.c:44:
/var/lib/dkms/lustre-client/2.15.0_1_g0a101e6/build/lustre/ptlrpc/gss/gss_internal.h:545:20: note: previous definition of &#8216;cleanup_sk_module&#8217; was here
 static inline void cleanup_sk_module(void) { return; }
                    ^
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;br/&gt;
Attaching dkms&apos; build/ &lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/attachment/44079/44079_make.log&quot; title=&quot;make.log attached to LU-15956&quot;&gt;make.log&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.whamcloud.com/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt; where you can find the full log of the build error and build/ &lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/attachment/44078/44078_config.log&quot; title=&quot;config.log attached to LU-15956&quot;&gt;config.log&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.whamcloud.com/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt; (from /var/lib/dkms/lustre-client on the target client where the build fails).&lt;/p&gt;

&lt;p&gt;GCC version: gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC)&#160;&lt;/p&gt;</description>
                <environment>CentOS 7.9</environment>
        <key id="70800">LU-15956</key>
            <summary>lustre-client dkms build error with redefinition of &#8216;init_sk_module&#8217;</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="1">Fixed</resolution>
                                        <assignee username="sebastien">Sebastien Buisson</assignee>
                                    <reporter username="sthiell">Stephane Thiell</reporter>
                        <labels>
                    </labels>
                <created>Fri, 17 Jun 2022 18:23:37 +0000</created>
                <updated>Tue, 12 Jul 2022 23:11:54 +0000</updated>
                            <resolved>Tue, 12 Jul 2022 23:11:54 +0000</resolved>
                                    <version>Lustre 2.15.0</version>
                                    <fixVersion>Lustre 2.16.0</fixVersion>
                    <fixVersion>Lustre 2.15.1</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="338055" author="sthiell" created="Fri, 17 Jun 2022 18:37:26 +0000"  >&lt;p&gt;FYI we found a workaround for this: disable gss and thus avoid the compilation error by removing the &lt;tt&gt;krb5-devel&lt;/tt&gt; package from the node:&lt;/p&gt;

&lt;p&gt;Indeed, there is a check in &lt;tt&gt;lustre-dkms_pre-build.sh&lt;/tt&gt;:&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;rpm -qa | grep krb5-devel &amp;gt;/dev/null
if [ $? == 0 ] ; then
&#160; &#160; &#160; &#160; GSS=&quot;--enable-gss&quot;
else
&#160; &#160; &#160; &#160; GSS=&quot;--disable-gss&quot;
fi
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;It&apos;s one way we found to disable gss support for DKMS build. Then, the lustre client dkms rpm does work.&lt;/p&gt;</comment>
                            <comment id="338056" author="pjones" created="Fri, 17 Jun 2022 18:52:19 +0000"  >&lt;p&gt;Stephane&lt;/p&gt;

&lt;p&gt;Hats off to you for again being among the first to try a new major release. I think that this might be as simple as Centos7.9 is not a supported distro for clients because of the encryption feature&lt;/p&gt;

&lt;p&gt;Sebastien&lt;/p&gt;

&lt;p&gt;Could you please confirm/deny?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="338125" author="gerrit" created="Mon, 20 Jun 2022 12:59:18 +0000"  >&lt;p&gt;&quot;Sebastien Buisson &amp;lt;sbuisson@ddn.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/47681&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/47681&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15956&quot; title=&quot;lustre-client dkms build error with redefinition of &#8216;init_sk_module&#8217;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15956&quot;&gt;&lt;del&gt;LU-15956&lt;/del&gt;&lt;/a&gt; gss: allow build without ssk&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 06bd93125087d55aca9fe63bbca5553dd9e85748&lt;/p&gt;</comment>
                            <comment id="338126" author="sebastien" created="Mon, 20 Jun 2022 13:01:06 +0000"  >&lt;p&gt;This looks like an issue with the GSS build system.&lt;/p&gt;

&lt;p&gt;Stephane, could you please give a try to &lt;a href=&quot;https://review.whamcloud.com/47681&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/47681&lt;/a&gt;, and mark review +1 if this works for you?&lt;/p&gt;

&lt;p&gt;Thanks!&lt;/p&gt;</comment>
                            <comment id="338291" author="sthiell" created="Tue, 21 Jun 2022 23:05:39 +0000"  >&lt;p&gt;Hi Sebastien,&lt;/p&gt;

&lt;p&gt;With your patch, I cannot reproduce the issue anymore, even with krb5-devel installed. Thanks!&lt;/p&gt;</comment>
                            <comment id="338766" author="gerrit" created="Sat, 25 Jun 2022 00:42:56 +0000"  >&lt;p&gt;&quot;Jian Yu &amp;lt;yujian@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/47781&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/47781&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15956&quot; title=&quot;lustre-client dkms build error with redefinition of &#8216;init_sk_module&#8217;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15956&quot;&gt;&lt;del&gt;LU-15956&lt;/del&gt;&lt;/a&gt; gss: allow build without ssk&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_15&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 121b9aef3026f42d6093c9ae50981df84d47a2f9&lt;/p&gt;</comment>
                            <comment id="339879" author="gerrit" created="Fri, 8 Jul 2022 05:26:47 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/47681/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/47681/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15956&quot; title=&quot;lustre-client dkms build error with redefinition of &#8216;init_sk_module&#8217;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15956&quot;&gt;&lt;del&gt;LU-15956&lt;/del&gt;&lt;/a&gt; gss: allow build without ssk&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 2e061e88a44db70e4446be567243a38a76ed5370&lt;/p&gt;</comment>
                            <comment id="339880" author="gerrit" created="Fri, 8 Jul 2022 05:27:35 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/47781/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/47781/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15956&quot; title=&quot;lustre-client dkms build error with redefinition of &#8216;init_sk_module&#8217;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15956&quot;&gt;&lt;del&gt;LU-15956&lt;/del&gt;&lt;/a&gt; gss: allow build without ssk&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_15&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: e1906ae3dbb6b3291272fd8ba0ecbb9fd2425fbb&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="44078" name="config.log" size="1116001" author="sthiell" created="Fri, 17 Jun 2022 18:21:48 +0000"/>
                            <attachment id="44079" name="make.log" size="26168" author="sthiell" created="Fri, 17 Jun 2022 18:21:42 +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_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i02sgv:</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>