<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:30:12 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-3011] client build fails on ubuntu 12.04</title>
                <link>https://jira.whamcloud.com/browse/LU-3011</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Building current master (19d5b835) on ubuntu 12.04 with kernel 3.2.0-35, though the errors are actually building userspace code.  First error is:&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;gcc -DHAVE_CONFIG_H -I. -I../..  -D__arch_lib__ -D_LARGEFILE64_SOURCE=1 -include /root/lustre/config.h -I/root/lustre/libcfs/include -I/root/lustre/lnet/include -I/root/lustre/lustre/include -D_FORTIFY_SOURCE=2 -g -Wall -fPIC -D_GNU_SOURCE -Wall -g -O2 -Werror -c -o libcfs_a-fail.o `test -f &apos;fail.c&apos; || echo &apos;./&apos;`fail.c
In file included from /root/lustre/lustre/include/lprocfs_status.h:54:0,
                 from /root/lustre/lustre/include/obd_support.h:42,
                 from /root/lustre/lustre/include/liblustre.h:500,
                 from fail.c:37:
/root/lustre/lustre/include/lustre/lustre_idl.h: In function &#8216;fid_ostid_unpack&#8217;:
/root/lustre/lustre/include/lustre/lustre_idl.h:632:17: error: format &#8216;%lu&#8217; expects argument of type &#8216;long unsigned int&#8217;, but argument 3 has type &#8216;obd_seq&#8217; [-Werror=format]
/root/lustre/lustre/include/lustre/lustre_idl.h:632:17: error: format &#8216;%lu&#8217; expects argument of type &#8216;long unsigned int&#8217;, but argument 4 has type &#8216;obd_id&#8217; [-Werror=format]
/root/lustre/lustre/include/lustre/lustre_idl.h:644:26: error: format &#8216;%lu&#8217; expects argument of type &#8216;long unsigned int&#8217;, but argument 3 has type &#8216;obd_seq&#8217; [-Werror=format]
/root/lustre/lustre/include/lustre/lustre_idl.h:644:26: error: format &#8216;%lu&#8217; expects argument of type &#8216;long unsigned int&#8217;, but argument 4 has type &#8216;obd_id&#8217; [-Werror=format]
/root/lustre/lustre/include/lustre/lustre_idl.h:657:26: error: format &#8216;%lu&#8217; expects argument of type &#8216;long unsigned int&#8217;, but argument 3 has type &#8216;obd_seq&#8217; [-Werror=format]
/root/lustre/lustre/include/lustre/lustre_idl.h:657:26: error: format &#8216;%lu&#8217; expects argument of type &#8216;long unsigned int&#8217;, but argument 4 has type &#8216;obd_id&#8217; [-Werror=format]
/root/lustre/lustre/include/lustre/lustre_idl.h:666:17: error: format &#8216;%lu&#8217; expects argument of type &#8216;long unsigned int&#8217;, but argument 3 has type &#8216;obd_seq&#8217; [-Werror=format]
/root/lustre/lustre/include/lustre/lustre_idl.h:666:17: error: format &#8216;%lu&#8217; expects argument of type &#8216;long unsigned int&#8217;, but argument 4 has type &#8216;obd_id&#8217; [-Werror=format]
/root/lustre/lustre/include/lustre/lustre_idl.h: In function &#8216;fid_ostid_pack&#8217;:
/root/lustre/lustre/include/lustre/lustre_idl.h:702:3: error: format &#8216;%lx&#8217; expects argument of type &#8216;long unsigned int&#8217;, but argument 3 has type &#8216;__u64&#8217; [-Werror=format]
/root/lustre/lustre/include/lustre/lustre_idl.h: In function &#8216;ostid_seq&#8217;:
/root/lustre/lustre/include/lustre/lustre_idl.h:718:17: error: format &#8216;%lu&#8217; expects argument of type &#8216;long unsigned int&#8217;, but argument 3 has type &#8216;obd_seq&#8217; [-Werror=format]
/root/lustre/lustre/include/lustre/lustre_idl.h:718:17: error: format &#8216;%lx&#8217; expects argument of type &#8216;long unsigned int&#8217;, but argument 4 has type &#8216;obd_id&#8217; [-Werror=format]
gcc -DHAVE_CONFIG_H -I. -I../..  -D__arch_lib__ -D_LARGEFILE64_SOURCE=1 -include /root/lustre/config.h -I/root/lustre/libcfs/include -I/root/lustre/lnet/include -I/root/lustre/lustre/include -D_FORTIFY_SOURCE=2 -g -Wall -fPIC -D_GNU_SOURCE -Wall -g -O2 -Werror -c -o libcfs_a-libcfs_cpu.o `test -f &apos;libcfs_cpu.c&apos; || echo &apos;./&apos;`libcfs_cpu.c
gcc -DHAVE_CONFIG_H -I. -I../..  -D__arch_lib__ -D_LARGEFILE64_SOURCE=1 -include /root/lustre/config.h -I/root/lustre/libcfs/include -I/root/lustre/lnet/include -I/root/lustre/lustre/include -D_FORTIFY_SOURCE=2 -g -Wall -fPIC -D_GNU_SOURCE -Wall -g -O2 -Werror -c -o libcfs_a-libcfs_mem.o `test -f &apos;libcfs_mem.c&apos; || echo &apos;./&apos;`libcfs_mem.c
cc1: all warnings being treated as errors
make[6]: *** [libcfs_a-fail.o] Error 1
make[6]: *** Waiting for unfinished jobs....
make[6]: Leaving directory `/root/lustre/libcfs/libcfs&apos;
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/root/lustre/libcfs/libcfs&apos;
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/root/lustre/libcfs&apos;
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/lustre&apos;
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/lustre&apos;
make[1]: *** [build-stamp] Error 2
make[1]: Leaving directory `/root/lustre&apos;
dpkg-buildpackage: error: debian/rules build gave error exit status 2
make: *** [debs] Error 2
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The second error occurs when linking the utils; the readline symbols are not found.  The issue seems to be because $(LIBREADLINE) is referenced before the object files that use it.  Moving it to the end fixes this, but I wonder why it wsan&apos;t there to begin with...&lt;/p&gt;

&lt;p&gt;Testing a patch now...&lt;/p&gt;</description>
                <environment></environment>
        <key id="18053">LU-3011</key>
            <summary>client build fails on ubuntu 12.04</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="6" iconUrl="https://jira.whamcloud.com/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="rread">Robert Read</reporter>
                        <labels>
                    </labels>
                <created>Fri, 22 Mar 2013 00:48:59 +0000</created>
                <updated>Wed, 5 Nov 2014 16:44:40 +0000</updated>
                            <resolved>Wed, 5 Nov 2014 16:44:40 +0000</resolved>
                                    <version>Lustre 2.4.0</version>
                                    <fixVersion>Lustre 2.4.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="54627" author="rread" created="Fri, 22 Mar 2013 02:16:57 +0000"  >&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/5803&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/5803&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="54682" author="rread" created="Fri, 22 Mar 2013 18:27:55 +0000"  >&lt;p&gt;The build failures for the patch looke like  the inverse of the original failure on 12.04 - the configure check for userspace  &quot;long long&quot; size is failing because the test code silently fails to compile. Most likely because the option I added,  -Wno-error=unused-but-set-variable, isn&apos;t available on the versions of gcc in SLES 11 and Ubuntu 10.04. &lt;/p&gt;

&lt;p&gt;I don&apos;t know how to fix the autoconf file to make these options platform/compiler specific.  The big stick approach would be to just remove the -Werror from this test case. According to git blame, Brian add this parameter a couple years ago. Brian, do you feel strong about the -Werror here?&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;
# check userland __u64 type
AC_MSG_CHECKING([userspace __u64 is &lt;span class=&quot;code-object&quot;&gt;long&lt;/span&gt; &lt;span class=&quot;code-object&quot;&gt;long&lt;/span&gt; type])
tmp_flags=&lt;span class=&quot;code-quote&quot;&gt;&quot;$CFLAGS&quot;&lt;/span&gt;
CFLAGS=&lt;span class=&quot;code-quote&quot;&gt;&quot;$CFLAGS -Werror&quot;&lt;/span&gt;
AC_COMPILE_IFELSE([
        #include &amp;lt;stdio.h&amp;gt;
        #include &amp;lt;linux/types.h&amp;gt;
        #include &amp;lt;linux/stddef.h&amp;gt;
        &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; main(void) {
                unsigned &lt;span class=&quot;code-object&quot;&gt;long&lt;/span&gt; &lt;span class=&quot;code-object&quot;&gt;long&lt;/span&gt; *data1;
                __u64 *data2 = NULL;

                data1 = data2;
                &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; 0;
        }
],[
        AC_MSG_RESULT([yes])
        AC_DEFINE(HAVE_USER__U64_LONG_LONG, 1,
                  [__u64 is &lt;span class=&quot;code-object&quot;&gt;long&lt;/span&gt; &lt;span class=&quot;code-object&quot;&gt;long&lt;/span&gt; type])
],[
        AC_MSG_RESULT([no])
])
CFLAGS=&lt;span class=&quot;code-quote&quot;&gt;&quot;$tmp_flags&quot;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="54750" author="brian" created="Mon, 25 Mar 2013 11:32:51 +0000"  >&lt;p&gt;I don&apos;t feel strongly about the -Werror, just so long as removing it doesn&apos;t break the test.&lt;/p&gt;</comment>
                            <comment id="54767" author="rread" created="Mon, 25 Mar 2013 16:19:54 +0000"  >&lt;p&gt;Currently, having it there is causing the test fail silently on some platforms, so removing probably won&apos;t be worse than that. &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="56692" author="jlevi" created="Mon, 22 Apr 2013 16:04:19 +0000"  >&lt;p&gt;Patch landed; however, additional comments make it seem there is more to do? Or can this ticket be closed?&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|hzvlxj:</customfieldvalue>

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