<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:09:45 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-14439] EXT2_FLAG_IGNORE_SB_ERRORS undeclared</title>
                <link>https://jira.whamcloud.com/browse/LU-14439</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Server Build with ldiskfs of 2.14 RC 3 on RHEL 7.9 system fails due to 3 undefined symbols:&lt;br/&gt;
 EXT2_FLAG_IGNORE_SB_ERRORS&lt;br/&gt;
 ext2fs_has_feature_quota()&lt;br/&gt;
 ext2fs_has_feature_mmp()&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;libtool: compile:&#160; gcc -DHAVE_CONFIG_H -I. -I../.. -include /g/g0/faaland1/rpmbuild/BUILD/lustre-2.14.0_rc3_1atest/undef.h -include /g/g0/faaland1/rpmbuild/BUILD/lustre-2.14.0_rc3_1atest/config.h -I/g/g0/faaland1/rpmbuild/BUILD/lustre-2.14.0_rc3_1atest/lnet/include/uapi -I/g/g0/faaland1/rpmbuild/BUILD/lustre-2.14.0_rc3_1atest/lustre/include/uapi -I/g/g0/faaland1/rpmbuild/BUILD/lustre-2.14.0_rc3_1atest/libcfs/include -I/g/g0/faaland1/rpmbuild/BUILD/lustre-2.14.0_rc3_1atest/lnet/utils -I/g/g0/faaland1/rpmbuild/BUILD/lustre-2.14.0_rc3_1atest/lustre/include -fPIC -D_GNU_SOURCE -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DLUSTRE_UTILS=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -g -O2 -Werror -Wall -Werror -c liblustreapi_fid.c&#160; -fPIC -DPIC -o .libs/liblustreapi_fid.o
libmount_utils_ldiskfs.c:92:4: error: &apos;EXT2_FLAG_IGNORE_SB_ERRORS&apos; undeclared here (not in a function)
&#160; &#160; EXT2_FLAG_IGNORE_SB_ERRORS | EXT2_FLAG_SUPER_ONLY;
&#160; &#160; ^
libmount_utils_ldiskfs.c: In function &apos;ldiskfs_write_ldd&apos;:
libmount_utils_ldiskfs.c:167:3: error: implicit declaration of function &apos;ext2fs_has_feature_mmp&apos; [-Werror=implicit-function-declaration]
&#160;&#160; if (!backfs || !ext2fs_has_feature_mmp(backfs-&amp;gt;super)) {
&#160;&#160; ^
libtool: compile:&#160; gcc -DHAVE_CONFIG_H -I. -I../.. -include /g/g0/faaland1/rpmbuild/BUILD/lustre-2.14.0_rc3_1atest/undef.h -include /g/g0/faaland1/rpmbuild/BUILD/lustre-2.14.0_rc3_1atest/config.h -I/g/g0/faaland1/rpmbuild/BUILD/lustre-2.14.0_rc3_1atest/lnet/include/uapi -I/g/g0/faaland1/rpmbuild/BUILD/lustre-2.14.0_rc3_1atest/lustre/include/uapi -I/g/g0/faaland1/rpmbuild/BUILD/lustre-2.14.0_rc3_1atest/libcfs/include -I/g/g0/faaland1/rpmbuild/BUILD/lustre-2.14.0_rc3_1atest/lnet/utils -I/g/g0/faaland1/rpmbuild/BUILD/lustre-2.14.0_rc3_1atest/lustre/include -fPIC -D_GNU_SOURCE -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DLUSTRE_UTILS=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -g -O2 -Werror -Wall -Werror -c liblustreapi_nodemap.c -o liblustreapi_nodemap.o &amp;gt;/dev/null 2&amp;gt;&amp;amp;1
libmount_utils_ldiskfs.c: In function &apos;ldiskfs_enable_quota&apos;:
libmount_utils_ldiskfs.c:1394:2: error: implicit declaration of function &apos;ext2fs_has_feature_quota&apos; [-Werror=implicit-function-declaration]
&#160; if (backfs &amp;amp;&amp;amp; ext2fs_has_feature_quota(backfs-&amp;gt;super)) {
&#160; ^
cc1: all warnings being treated as errors
make[4]: *** [libmount_utils_ldiskfs_a-libmount_utils_ldiskfs.o] Error 1 &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;We have e2fsprogs-devel-1.42.9-19.el7.x86_64 which doesn&apos;t define that macro:&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;[root@opal185:~]# grep &apos;define EXT2_FLAG&apos; /usr/include/ext2fs/ext2fs.h | tail
#define EXT2_FLAG_JOURNAL_DEV_OK        0x1000
#define EXT2_FLAG_IMAGE_FILE            0x2000
#define EXT2_FLAG_EXCLUSIVE             0x4000
#define EXT2_FLAG_SOFTSUPP_FEATURES     0x8000
#define EXT2_FLAG_NOFREE_ON_ERROR       0x10000
#define EXT2_FLAG_64BITS                0x20000
#define EXT2_FLAG_PRINT_PROGRESS        0x40000
#define EXT2_FLAG_DIRECT_IO             0x80000
#define EXT2_FLAG_SKIP_MMP              0x100000
#define EXT2_FLAG_FLUSH_NO_SYNC          1
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Do we need to update the specfile BuildRequires to require a newer version of e2fsprogs-devel?  Or can we work around this to allow builds on RH 7.9?&lt;/p&gt;</description>
                <environment>RH 7.9</environment>
        <key id="62918">LU-14439</key>
            <summary>EXT2_FLAG_IGNORE_SB_ERRORS undeclared</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="3">Duplicate</resolution>
                                        <assignee username="adilger">Andreas Dilger</assignee>
                                    <reporter username="ofaaland">Olaf Faaland</reporter>
                        <labels>
                            <label>llnl</label>
                    </labels>
                <created>Tue, 16 Feb 2021 21:02:00 +0000</created>
                <updated>Sat, 19 Mar 2022 17:48:07 +0000</updated>
                            <resolved>Sat, 19 Mar 2022 17:48:07 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="292125" author="adilger" created="Wed, 17 Feb 2021 01:01:01 +0000"  >&lt;p&gt;Olaf, is this build problem being seen on the client or server?&lt;/p&gt;

&lt;p&gt;On a client-only (&lt;tt&gt;./configure --disable-server&lt;/tt&gt;) build, the &lt;tt&gt;libmount_utils-ldiskfs&lt;/tt&gt; file probably shouldn&apos;t be built at all.  On a server, the latest e2fsprogs should be used (at least 1.45.6-wc1, but prefer the very latest 1.45.6-wc5 as described in &lt;tt&gt;lustre/ChangeLog&lt;/tt&gt;).  The &lt;tt&gt;EXT2_FLAG_IGNORE_SB_ERRORS&lt;/tt&gt; was added in e2fsprogs-1.44.3 in 2018-06, but e2fsprogs-1.42.9 was released back in 2013-12.&lt;/p&gt;</comment>
                            <comment id="292126" author="ofaaland" created="Wed, 17 Feb 2021 01:20:25 +0000"  >&lt;p&gt;Hi Andreas,&lt;/p&gt;

&lt;p&gt;On a server.&lt;/p&gt;

&lt;p&gt;Shouldn&apos;t 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;BuildRequires: e2fsprogs-devel
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;be 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;BuildRequires: e2fsprogs-devel &amp;gt;= 1.45.6-wc1
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;That BuildRequires is indeed in the section for the osd-ldiskfs-mount subpackage, so it&apos;s only enforced when building the server.&lt;/p&gt;</comment>
                            <comment id="292130" author="ofaaland" created="Wed, 17 Feb 2021 06:45:15 +0000"  >&lt;p&gt;I think this caught me by surprise partly because we&apos;ve been building Lustre 2.12 ldiskfs packages under RHEL 7 with the RH supplied e2fsprogs for long enough I don&apos;t remember doing it any other way.  I didn&apos;t hear from other sites that the ldiskfs we built wasn&apos;t working, but I don&apos;t know whether that&apos;s because they didn&apos;t use our packages or because everything worked fine.  I am sure that they install the whamcloud e2fsprogs along with lustre on their servers.&lt;/p&gt;

&lt;p&gt;thanks&lt;/p&gt;

&lt;p&gt;(by the way, the e2fsprogs-devel-1.45.6-1.el8 shipped with RHEL 8.3 has&lt;br/&gt;
EXT2_FLAG_IGNORE_SB_ERRORS, ext2fs_has_feature_mmp, and ext2fs_has_feature_mmp; there are about 40 patches on top of that to get to 1.45.6-wc1)&lt;/p&gt;</comment>
                            <comment id="292248" author="gerrit" created="Thu, 18 Feb 2021 00:12:12 +0000"  >&lt;p&gt;Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/41682&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/41682&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14439&quot; title=&quot;EXT2_FLAG_IGNORE_SB_ERRORS undeclared&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14439&quot;&gt;&lt;del&gt;LU-14439&lt;/del&gt;&lt;/a&gt; build: require a newer version of e2fsprogs&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 6df18bdec88491ed4746d17e45d3d6c43a24192c&lt;/p&gt;</comment>
                            <comment id="292249" author="gerrit" created="Thu, 18 Feb 2021 00:12:13 +0000"  >&lt;p&gt;Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/41683&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/41683&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14439&quot; title=&quot;EXT2_FLAG_IGNORE_SB_ERRORS undeclared&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14439&quot;&gt;&lt;del&gt;LU-14439&lt;/del&gt;&lt;/a&gt; utils: skip server mount libs on client&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: e59bc39a93f81258d8b08b22c8d53809d2343aca&lt;/p&gt;</comment>
                            <comment id="292701" author="ofaaland" created="Mon, 22 Feb 2021 23:02:39 +0000"  >&lt;p&gt;No need for topllnl now that we have these patches.&lt;/p&gt;</comment>
                            <comment id="293160" author="gerrit" created="Fri, 26 Feb 2021 08:25:22 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/41682/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/41682/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14439&quot; title=&quot;EXT2_FLAG_IGNORE_SB_ERRORS undeclared&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14439&quot;&gt;&lt;del&gt;LU-14439&lt;/del&gt;&lt;/a&gt; build: require a newer version of e2fsprogs&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 6873482608ed61dc15a309a1384eec86124ca995&lt;/p&gt;</comment>
                            <comment id="294379" author="diff" created="Tue, 9 Mar 2021 15:06:57 +0000"  >&lt;p&gt;Alphabetic suffixes in BuildRequires cause weird version comparison: e2fsprogs build with &quot;1.45.6.zx&quot; version will meet this requirement,&#160; &quot;1.45.6.ab&quot; will not. Cray/HPE&apos;s &quot;cr1&quot; suffix has bad luck.&lt;/p&gt;

&lt;p&gt;Andreas, is it agreeable to keep just &quot;e2fsprogs-devel &amp;gt;= 1.45.6&quot;?&lt;/p&gt;


&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="294431" author="adilger" created="Tue, 9 Mar 2021 19:53:42 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=diff&quot; class=&quot;user-hover&quot; rel=&quot;diff&quot;&gt;diff&lt;/a&gt; could you please clarify, maybe in the form of a patch?  The current .spec looks like:&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;BuildRequires: e2fsprogs-devel &amp;gt;= 1.44.3
Requires: ldiskfsprogs &amp;gt;= 1.45.6.wc1
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;so there is no alphabetical suffix for &lt;tt&gt;BuildRequires&lt;/tt&gt;.  It would probably be fine to remove the .wc1 suffix from the &lt;tt&gt;Requires:&lt;/tt&gt; line, because only Lustre-patches e2fsprogs will provide &lt;tt&gt;ldiskfsprogs&lt;/tt&gt;, so any version is OK&lt;/p&gt;</comment>
                            <comment id="294454" author="diff" created="Wed, 10 Mar 2021 04:07:24 +0000"  >&lt;p&gt;My bad, I meant &lt;tt&gt;Requires&lt;/tt&gt; and asking about removing .wc1 suffix from here.&lt;/p&gt;</comment>
                            <comment id="329673" author="adilger" created="Sat, 19 Mar 2022 17:47:53 +0000"  >&lt;p&gt;Shaun&apos;s patch &lt;a href=&quot;https://review.whamcloud.com/46340&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/46340&lt;/a&gt; &quot;&lt;tt&gt;U-13906 build: Enable using ldiskfsprogs without wc tag&lt;/tt&gt;&quot; addresses this issue. &lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="60396">LU-13906</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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|i01muv:</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>