<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:23:38 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-16058] Generation and using of the config.cache in b2_15</title>
                <link>https://jira.whamcloud.com/browse/LU-16058</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;We are maintaining a small CI/CD infrastructure based on GitlabCI to build different Lustre client packages for worker nodes. In the pipeline we are usually configuring Lustre build using checks caching via -C parameter:&#160;&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;
 ./configure --disable-tests --disable-server --enable-client --with-zfs=no --with-o2ib=yes --disable-gss --with-linux=/usr/src/kernels/${CLIENT_KERNEL_VER}.x86_64 -C&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;and using `config.cache` as build cache.&#160; This solution speeds up the build process.&#160; However, the latest branch based on the b2_15&#160; causes the following errors when invoking `make rpms`:&lt;/p&gt;

&lt;p&gt;&#160;&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;config.status: creating lustre/utils/gss/Makefile
config.status: creating lustre/osp/Makefile
config.status: creating lustre/osp/autoMakefile
config.status: creating lustre/lod/Makefile
config.status: creating lustre/lod/autoMakefile
config.status: creating snmp/Makefile
config.status: creating snmp/autoconf/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
CC: &#160; &#160; &#160; &#160; &#160; &#160;gcc
LD: &#160; &#160; &#160; &#160; &#160; &#160;/usr/bin/ld -m elf_x86_64
CPPFLAGS: &#160; &#160; &#160;-include /tmp/rpmbuild-lustre--mshmt5CL/BUILD/lustre-2.15.1_RC1/undef.h -include /tmp/rpmbuild-lustre--mshmt5CL/BUILD/lustre-2.15.1_RC1/config.h -I/tmp/rpmbuild-lustre--mshmt5CL/BUILD/lustre-2.15.1_RC1/lnet/include/uapi -I/tmp/rpmbuild-lustre--mshmt5CL/BUILD/lustre-2.15.1_RC1/lustre/include/uapi -I/tmp/rpmbuild-lustre--mshmt5CL/BUILD/lustre-2.15.1_RC1/libcfs/include -I/tmp/rpmbuild-lustre--mshmt5CL/BUILD/lustre-2.15.1_RC1/lnet/utils/ -I/tmp/rpmbuild-lustre--mshmt5CL/BUILD/lustre-2.15.1_RC1/lustre/include&#160;
CFLAGS: &#160; &#160; &#160; &#160;-g -O2 -Werror -Wall -Werror
EXTRA_KCFLAGS: -include /tmp/rpmbuild-lustre--mshmt5CL/BUILD/lustre-2.15.1_RC1/undef.h -include /tmp/rpmbuild-lustre--mshmt5CL/BUILD/lustre-2.15.1_RC1/config.h &#160;-g -I/tmp/rpmbuild-lustre--mshmt5CL/BUILD/lustre-2.15.1_RC1/libcfs/include -I/tmp/rpmbuild-lustre--mshmt5CL/BUILD/lustre-2.15.1_RC1/libcfs/include/libcfs -I/tmp/rpmbuild-lustre--mshmt5CL/BUILD/lustre-2.15.1_RC1/lnet/include/uapi -I/tmp/rpmbuild-lustre--mshmt5CL/BUILD/lustre-2.15.1_RC1/lnet/include -I/tmp/rpmbuild-lustre--mshmt5CL/BUILD/lustre-2.15.1_RC1/lustre/include/uapi -I/tmp/rpmbuild-lustre--mshmt5CL/BUILD/lustre-2.15.1_RC1/lustre/include -Wno-format-truncation -Wno-stringop-truncation -Wno-stringop-overflow
Type &apos;make&apos; to build Lustre.
+ make -j2 -s
Making all in .
In file included from /tmp/rpmbuild-lustre--mshmt5CL/BUILD/lustre-2.15.1_RC1/lustre/include/lustre_compat.h:46,
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;from /tmp/rpmbuild-lustre--mshmt5CL/BUILD/lustre-2.15.1_RC1/libcfs/libcfs/libcfs_mem.c:37:
/tmp/rpmbuild-lustre--mshmt5CL/BUILD/lustre-2.15.1_RC1/libcfs/include/libcfs/linux/linux-fs.h:66:18: error: redefinition of &apos;struct file_operations&apos;
&#160; &#160;66 | #define proc_ops file_operations
&#160; &#160; &#160; | &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;^~~~~~~~~~~~~~~
include/linux/proc_fs.h:29:8: note: in expansion of macro &apos;proc_ops&apos;
&#160; &#160;29 | struct proc_ops {
&#160; &#160; &#160; | &#160; &#160; &#160; &#160;^~~~~~~~
In file included from /tmp/rpmbuild-lustre--mshmt5CL/BUILD/lustre-2.15.1_RC1/libcfs/include/libcfs/linux/linux-misc.h:35,
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;from /tmp/rpmbuild-lustre--mshmt5CL/BUILD/lustre-2.15.1_RC1/libcfs/include/libcfs/libcfs.h:43,
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;from /tmp/rpmbuild-lustre--mshmt5CL/BUILD/lustre-2.15.1_RC1/libcfs/libcfs/libcfs_mem.c:36:
include/linux/fs.h:2060:8: note: originally defined here
&#160;2060 | struct file_operations {
&#160; &#160; &#160; | &#160; &#160; &#160; &#160;^~~~~~~~~~~~~~~
make[7]: *** [scripts/Makefile.build:271: /tmp/rpmbuild-lustre--mshmt5CL/BUILD/lustre-2.15.1_RC1/libcfs/libcfs/libcfs_mem.o] Error 1
make[6]: *** [scripts/Makefile.build:514: /tmp/rpmbuild-lustre--mshmt5CL/BUILD/lustre-2.15.1_RC1/libcfs/libcfs] Error 2
make[5]: *** [scripts/Makefile.build:514: /tmp/rpmbuild-lustre--mshmt5CL/BUILD/lustre-2.15.1_RC1/libcfs] Error 2
make[5]: *** Waiting for unfinished jobs....
make[4]: *** [Makefile:1862: /tmp/rpmbuild-lustre--mshmt5CL/BUILD/lustre-2.15.1_RC1] Error 2
make[3]: *** [autoMakefile:1093: modules] Error 2
make[2]: *** [autoMakefile:625: all-recursive] Error 1
make[1]: *** [autoMakefile:509: all] Error 2
error: Bad exit status from /tmp/rpmbuild-lustre--mshmt5CL/TMP/rpm-tmp.Cqd8xu (%build)

RPM build errors:
&#160; &#160; Bad exit status from /tmp/rpmbuild-lustre--mshmt5CL/TMP/rpm-tmp.Cqd8xu (%build)
make: *** [autoMakefile:1203: rpms] Error 1
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;The build without -C works properly.&lt;/p&gt;</description>
                <environment>Rocky Linux 9, kernel 5.14.0-70.17.1.el9_0.x86_64, sysofed, Lustre 2.15.1_RC1 (based on b2_15)</environment>
        <key id="71541">LU-16058</key>
            <summary>Generation and using of the config.cache in b2_15</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="stancheff">Shaun Tancheff</assignee>
                                    <reporter username="wanat">Dominika Wanat</reporter>
                        <labels>
                    </labels>
                <created>Fri, 29 Jul 2022 10:17:00 +0000</created>
                <updated>Sat, 10 Sep 2022 01:25:12 +0000</updated>
                            <resolved>Thu, 1 Sep 2022 14:00:27 +0000</resolved>
                                                    <fixVersion>Lustre 2.16.0</fixVersion>
                    <fixVersion>Lustre 2.15.2</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                            <comments>
                            <comment id="342115" author="adilger" created="Fri, 29 Jul 2022 23:35:12 +0000"  >&lt;p&gt;Shaun, you&apos;ve some work with configure, any suggestions here?&lt;/p&gt;</comment>
                            <comment id="342123" author="stancheff" created="Sat, 30 Jul 2022 05:02:00 +0000"  >&lt;p&gt;These commits should resolve the config-cache issue:&lt;br/&gt;
   &lt;a href=&quot;https://review.whamcloud.com/46562&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/46562&lt;/a&gt;&lt;br/&gt;
   &lt;a href=&quot;https://review.whamcloud.com/47077&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/47077&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="342168" author="JIRAUSER18015" created="Mon, 1 Aug 2022 08:20:40 +0000"  >&lt;p&gt;I&apos;ve checked this commits and its source code and they&apos;ve already been commited to this branch.&lt;/p&gt;</comment>
                            <comment id="342176" author="stancheff" created="Mon, 1 Aug 2022 11:30:39 +0000"  >&lt;p&gt;I checked master and it seems this issue currently breaks on master as well.&lt;/p&gt;

&lt;p&gt;It is fixed in this pending series:&lt;br/&gt;
   &lt;a href=&quot;https://review.whamcloud.com/#/c/48091/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/#/c/48091/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Seems the first commit is enough:&lt;br/&gt;
   &lt;a href=&quot;https://review.whamcloud.com/#/c/38349/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/#/c/38349/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="342186" author="JIRAUSER18015" created="Mon, 1 Aug 2022 13:22:07 +0000"  >&lt;p&gt;Yes, the first commit solves the problem. Thank you. &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="342193" author="stancheff" created="Mon, 1 Aug 2022 13:59:07 +0000"  >&lt;p&gt;The root cause is $SUBARCH may not be defined at the time the parallel config test is generated, causing the configure test to fail when it should have succeeded.&lt;/p&gt;</comment>
                            <comment id="342194" author="gerrit" created="Mon, 1 Aug 2022 13:59:15 +0000"  >&lt;p&gt;&quot;Shaun Tancheff &amp;lt;shaun.tancheff@hpe.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/48101&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/48101&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16058&quot; title=&quot;Generation and using of the config.cache in b2_15&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16058&quot;&gt;&lt;del&gt;LU-16058&lt;/del&gt;&lt;/a&gt; build: proc_ops check fails with SUBARCH undefined&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 282449ee0f557955299bd6fd1eee530a6b58d4b4&lt;/p&gt;</comment>
                            <comment id="345297" author="gerrit" created="Thu, 1 Sep 2022 05:53:15 +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/48101/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/48101/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16058&quot; title=&quot;Generation and using of the config.cache in b2_15&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16058&quot;&gt;&lt;del&gt;LU-16058&lt;/del&gt;&lt;/a&gt; build: proc_ops check fails with SUBARCH undefined&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 8a7aa8d5902fcffe6c8b56d0c92ee36380a26e88&lt;/p&gt;</comment>
                            <comment id="345388" author="pjones" created="Thu, 1 Sep 2022 14:00:27 +0000"  >&lt;p&gt;Landed for 2.16&lt;/p&gt;</comment>
                    </comments>
                    <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|i02vqv:</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="10020"><![CDATA[1]]></customfieldvalue>

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