<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:34:23 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-3492] Lustre 2.4 SRPM Re-Build Fails</title>
                <link>https://jira.whamcloud.com/browse/LU-3492</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;When attempting to build Lustre Client RPM packages for Lustre 2.4, the build fails with the following error:&lt;/p&gt;

&lt;p&gt;...&lt;/p&gt;

&lt;p&gt;Making all in utils&lt;br/&gt;
mount_lustre-mount_utils.o: In function `osd_is_lustre&apos;:&lt;br/&gt;
/root/rpmbuild/BUILD/lustre-2.4.0/lustre/utils/mount_utils.c:461: undefined reference to `ldiskfs_is_lustre&apos;&lt;br/&gt;
mount_lustre-mount_utils.o: In function `osd_fini&apos;:&lt;br/&gt;
/root/rpmbuild/BUILD/lustre-2.4.0/lustre/utils/mount_utils.c:650: undefined reference to `ldiskfs_fini&apos;&lt;br/&gt;
mount_lustre-mount_utils.o: In function `osd_init&apos;:&lt;br/&gt;
/root/rpmbuild/BUILD/lustre-2.4.0/lustre/utils/mount_utils.c:632: undefined reference to `ldiskfs_init&apos;&lt;br/&gt;
mount_lustre-mount_utils.o: In function `osd_enable_quota&apos;:&lt;br/&gt;
/root/rpmbuild/BUILD/lustre-2.4.0/lustre/utils/mount_utils.c:607: undefined reference to `ldiskfs_enable_quota&apos;&lt;br/&gt;
mount_lustre-mount_utils.o: In function `osd_label_lustre&apos;:&lt;br/&gt;
/root/rpmbuild/BUILD/lustre-2.4.0/lustre/utils/mount_utils.c:577: undefined reference to `ldiskfs_label_lustre&apos;&lt;br/&gt;
mount_lustre-mount_utils.o: In function `osd_tune_lustre&apos;:&lt;br/&gt;
/root/rpmbuild/BUILD/lustre-2.4.0/lustre/utils/mount_utils.c:549: undefined reference to `ldiskfs_tune_lustre&apos;&lt;br/&gt;
mount_lustre-mount_utils.o: In function `osd_prepare_lustre&apos;:&lt;br/&gt;
/root/rpmbuild/BUILD/lustre-2.4.0/lustre/utils/mount_utils.c:517: undefined reference to `ldiskfs_prepare_lustre&apos;&lt;br/&gt;
mount_lustre-mount_utils.o: In function `osd_make_lustre&apos;:&lt;br/&gt;
/root/rpmbuild/BUILD/lustre-2.4.0/lustre/utils/mount_utils.c:487: undefined reference to `ldiskfs_make_lustre&apos;&lt;br/&gt;
mount_lustre-mount_utils.o: In function `osd_read_ldd&apos;:&lt;br/&gt;
/root/rpmbuild/BUILD/lustre-2.4.0/lustre/utils/mount_utils.c:436: undefined reference to `ldiskfs_read_ldd&apos;&lt;br/&gt;
mount_lustre-mount_utils.o: In function `osd_write_ldd&apos;:&lt;br/&gt;
/root/rpmbuild/BUILD/lustre-2.4.0/lustre/utils/mount_utils.c:408: undefined reference to `ldiskfs_write_ldd&apos;&lt;br/&gt;
collect2: ld returned 1 exit status&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;mount.lustre&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-recursive&amp;#93;&lt;/span&gt; Error 1&lt;br/&gt;
make: *** &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.YDhlxd (%build)&lt;/p&gt;


&lt;p&gt;RPM build errors:&lt;br/&gt;
    user jenkins does not exist - using root&lt;br/&gt;
    group jenkins does not exist - using root&lt;br/&gt;
    user jenkins does not exist - using root&lt;br/&gt;
    group jenkins does not exist - using root&lt;br/&gt;
    Bad exit status from /var/tmp/rpm-tmp.YDhlxd (%build)&lt;/p&gt;


&lt;p&gt;The commands used are as follows:&lt;/p&gt;

&lt;p&gt;wget -r -np --level=0 &lt;a href=&quot;http://downloads.whamcloud.com/public/lustre/lustre-2.4.0/el6/client/SRPMS/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://downloads.whamcloud.com/public/lustre/lustre-2.4.0/el6/client/SRPMS/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;cd downloads.whamcloud.com/public/lustre/lustre-2.4.0/el6/client/SRPMS/&lt;/p&gt;

&lt;p&gt;rpmbuild --rebuild --define &apos;lustre_name lustre-client&apos; \&lt;br/&gt;
lustre-client-2.4.0-2.6.32_358.6.2.el6.x86_64_gd3f91c4.src.rpm&lt;/p&gt;


&lt;p&gt;System is CentOS 6.4, running update kernel 2.6.32-358.6.2.el6.x86_64.&lt;/p&gt;

&lt;p&gt;Any ideas? I&apos;ve used an identically similar process for previous releases of Lustre without issue. I get a similar error when building from the v2_4_0 tag in Git, using ./configure ... &amp;amp;&amp;amp; make.&lt;/p&gt;</description>
                <environment></environment>
        <key id="19510">LU-3492</key>
            <summary>Lustre 2.4 SRPM Re-Build Fails</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="10100">Low Priority</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="malkolm">Malcolm Cowe</reporter>
                        <labels>
                            <label>llnl</label>
                    </labels>
                <created>Fri, 21 Jun 2013 08:23:18 +0000</created>
                <updated>Sat, 9 Oct 2021 06:24:42 +0000</updated>
                            <resolved>Sat, 9 Oct 2021 06:24:42 +0000</resolved>
                                    <version>Lustre 2.4.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="61074" author="malkolm" created="Mon, 24 Jun 2013 05:27:18 +0000"  >&lt;p&gt;It appears that by explicitly requesting the server build to be disabled, that the SRPM rebuild can be completed. Similarly for running a build on master or the v2_4_0 tag on the Git source. The command line I used to verify is:&lt;/p&gt;

&lt;p&gt;rpmbuild --rebuild --define &apos;lustre_name lustre-client&apos; &lt;font color=&quot;red&quot;&gt;--define &apos;configure_args --disable-server&apos;&lt;/font&gt; lustre-client-2.4.0-2.6.32_358.6.2.el6.x86_64_gd3f91c4.src.rpm &lt;/p&gt;

&lt;p&gt;and also:&lt;/p&gt;

&lt;p&gt;./configure --enable-client &lt;font color=&quot;red&quot;&gt;--disable-server&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;for a build of the Git source.&lt;/p&gt;

&lt;p&gt;This is a change in behaviour compared with previous releases of Lustre.&lt;/p&gt;</comment>
                            <comment id="61096" author="jlevi" created="Mon, 24 Jun 2013 15:28:39 +0000"  >&lt;p&gt;Brian,&lt;br/&gt;
Could you comment on this one?&lt;br/&gt;
Thank you!&lt;/p&gt;</comment>
                            <comment id="61103" author="brian" created="Mon, 24 Jun 2013 16:15:14 +0000"  >&lt;p&gt;Not much to say without being able to dig into it, but it looks like trying to build the client is for some reason trying to build ldiskfs, which it shouldn&apos;t be.&lt;/p&gt;

&lt;p&gt;There have been other reports of needing to explicitly set &lt;tt&gt;--disable-server&lt;/tt&gt; which never used to be the case.  At one time, configure figured out if the build was for server or client by itself, so some regression with that autodetection has been introduced.&lt;/p&gt;</comment>
                            <comment id="61334" author="morrone" created="Tue, 25 Jun 2013 23:01:54 +0000"  >&lt;p&gt;The problem is that Intel is building a src rpm named lustre-client-&amp;lt;verion&amp;gt;.src.rpm, which is in reality almost exactly the same thing as lustre-&amp;lt;version&amp;gt;.src.rpm.  But obviously, users of the rpms are going to think that the one with the name &quot;lustre-client&quot; is only the lustre client.  This is bad by design, and needs to go away.  There should be just one src rpm for each spec file, that can be rebuilt reasonably using good, clean options to rpmbuild -&amp;#45;rebuild.&lt;/p&gt;

&lt;p&gt;In other words, the &quot;lustre-client&quot; source rpm is not an rpm of the lustre client code.  It is an rpm of &lt;em&gt;all&lt;/em&gt; of lustre.  So Malcolm, what you are doing right now is exactly correct, and expected.&lt;/p&gt;

&lt;p&gt;But I too agree that this is bad, and I believe that this problem would be addressed by &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1199&quot; title=&quot;lustre build system overhaul&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1199&quot;&gt;&lt;del&gt;LU-1199&lt;/del&gt;&lt;/a&gt; sub-task &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-3464&quot; title=&quot;Create lustre-client and lustre-server binary rpms&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-3464&quot;&gt;&lt;del&gt;LU-3464&lt;/del&gt;&lt;/a&gt;.  I have advocated that it be done in time for Lustre 2.5.0, but Intel has not yet agreed with me.  With my suggested changes, the rpmbuild command line becomes much easier to use, and there are no duplicates of the src.rpm, with misleading names.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="19393">LU-3464</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|hzvtrb:</customfieldvalue>

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