<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:51:19 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-5418] compile fix for code using readline</title>
                <link>https://jira.whamcloud.com/browse/LU-5418</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Newer versions of readline have removed (or hidden) CPPFunction, leading to the following compilation issue:&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;
util/parser.c: In function &apos;init_input&apos;:
util/parser.c:308:45: error: &apos;CPPFunction&apos; undeclared (first use in this function)
         rl_attempted_completion_function = (CPPFunction *)command_completion; 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The affects Ubuntu 14.04.&lt;/p&gt;</description>
                <environment></environment>
        <key id="25756">LU-5418</key>
            <summary>compile fix for code using readline</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="cliffw">Cliff White</assignee>
                                    <reporter username="fzago">Frank Zago</reporter>
                        <labels>
                            <label>patch</label>
                    </labels>
                <created>Fri, 25 Jul 2014 18:30:32 +0000</created>
                <updated>Tue, 30 Dec 2014 23:41:57 +0000</updated>
                            <resolved>Tue, 26 Aug 2014 13:05:48 +0000</resolved>
                                    <version>Lustre 2.6.0</version>
                                    <fixVersion>Lustre 2.7.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="90081" author="fzago" created="Fri, 25 Jul 2014 18:42:16 +0000"  >&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/11231&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/11231&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="90154" author="pjones" created="Mon, 28 Jul 2014 13:16:57 +0000"  >&lt;p&gt;Landed for 2.7&lt;/p&gt;</comment>
                            <comment id="90202" author="bogl" created="Mon, 28 Jul 2014 16:48:10 +0000"  >&lt;p&gt;The fix recently landed to master, &lt;a href=&quot;http://review.whamcloud.com/#/c/11231&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/11231&lt;/a&gt;, breaks the build in some newer kernels.  In particular there are now some new functions declared unconditionally:&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;static void noop_int_fn(int unused) { }
static void noop_void_fn(void) { }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;These functions are only used in code that is #ifdef HAVE_LIBREADLINE.  When building where HAVE_LIBREADLINE is #undef&apos;ed, for example on fc20, this causes build errors and build failure even in client only builds.&lt;/p&gt;</comment>
                            <comment id="90205" author="fzago" created="Mon, 28 Jul 2014 16:53:50 +0000"  >&lt;p&gt;Sorry about that  I&apos;ll send a fix shortly.&lt;/p&gt;</comment>
                            <comment id="90206" author="bogl" created="Mon, 28 Jul 2014 17:00:49 +0000"  >&lt;p&gt;The build failure due to lack of libreadline.so may be caused by rpm changes.  In earlier el6 and el7 there wasn&apos;t any readline-devel rpm, the required lib was in the readline rpm.  If the additional readline-devel rpm is installed on fc20 then libreadline.so is present, HAVE_LIBREADLINE is #define&apos;d, and the build is OK.  That said the new libcfs code does fail to build when HAVE_LIBREADLINE is #undef&apos;ed.&lt;/p&gt;</comment>
                            <comment id="90207" author="fzago" created="Mon, 28 Jul 2014 17:06:31 +0000"  >&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/11252&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/11252&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="90699" author="paf" created="Mon, 4 Aug 2014 15:51:38 +0000"  >&lt;p&gt;Putting the actual error messages from the build in here so others can find this more easily (as I failed to):&lt;/p&gt;

&lt;p&gt;cc1: warnings being treated as errors&lt;br/&gt;
util/parser.c:286: error: &apos;noop_int_fn&apos; defined but not used&lt;br/&gt;
util/parser.c:287: error: &apos;noop_void_fn&apos; defined but not used&lt;br/&gt;
make&lt;span class=&quot;error&quot;&gt;&amp;#91;5&amp;#93;&lt;/span&gt;: *** &lt;span class=&quot;error&quot;&gt;&amp;#91;libcfsutil_a-parser.o&amp;#93;&lt;/span&gt; Error 1&lt;br/&gt;
make&lt;span class=&quot;error&quot;&gt;&amp;#91;5&amp;#93;&lt;/span&gt;: *** Waiting for unfinished jobs....&lt;br/&gt;
make&lt;span class=&quot;error&quot;&gt;&amp;#91;4&amp;#93;&lt;/span&gt;: *** &lt;span class=&quot;error&quot;&gt;&amp;#91;all-recursive&amp;#93;&lt;/span&gt; Error 1&lt;br/&gt;
make&lt;span class=&quot;error&quot;&gt;&amp;#91;3&amp;#93;&lt;/span&gt;: *** &lt;span class=&quot;error&quot;&gt;&amp;#91;all-recursive&amp;#93;&lt;/span&gt; Error 1&lt;br/&gt;
make&lt;span class=&quot;error&quot;&gt;&amp;#91;2&amp;#93;&lt;/span&gt;: *** &lt;span class=&quot;error&quot;&gt;&amp;#91;all-recursive&amp;#93;&lt;/span&gt; Error 1&lt;br/&gt;
make&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;: *** &lt;span class=&quot;error&quot;&gt;&amp;#91;all&amp;#93;&lt;/span&gt; Error 2&lt;br/&gt;
error: Bad exit status from /var/tmp/rpm-tmp.nePJql (%build)&lt;/p&gt;</comment>
                            <comment id="90700" author="bogl" created="Mon, 4 Aug 2014 15:57:31 +0000"  >&lt;p&gt;to correct my earlier comment the readline-devel rpm does exist in el6 &amp;amp; el7 too.  just never saw a problem there as all our builder nodes have both readline and readline-devel rpms installed.  until the mod lands a simple workaround is to just install the readline-devel rpm.  as far as I know that works everywhere.&lt;/p&gt;</comment>
                            <comment id="92407" author="pjones" created="Tue, 26 Aug 2014 13:05:48 +0000"  >&lt;p&gt;It looks like the follow on patch has landed to master now&lt;/p&gt;</comment>
                            <comment id="99763" author="gerrit" created="Fri, 21 Nov 2014 16:04:39 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/12447/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/12447/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5418&quot; title=&quot;compile fix for code using readline&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5418&quot;&gt;&lt;del&gt;LU-5418&lt;/del&gt;&lt;/a&gt; echo: replace lov_stripe_md with lov_oinfo&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: eecdcf3004952f5d3a7126e0d6790c0be82f0a56&lt;/p&gt;</comment>
                            <comment id="102437" author="blakecaldwell" created="Tue, 30 Dec 2014 23:41:57 +0000"  >&lt;p&gt;Could this be merged into b2_6 as well? Ran into this issue building on an Ubuntu 14.04 system with libreadline-dev-6.3-4.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="25852">LU-5445</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="25856">LU-5448</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <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|hzwscv:</customfieldvalue>

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