<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:09:47 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-7541] rpm build failed in 2.7.1</title>
                <link>https://jira.whamcloud.com/browse/LU-7541</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;When building lustre-2.7.1 rpms in a centos 7.1 chroot environment, the build failed:&lt;/p&gt;

&lt;p&gt;...&lt;br/&gt;
if test -d &quot;lustre-2.7.1&quot;; then find &quot;lustre-2.7.1&quot; -type d ! -perm -200 -exec chmod u+w {} &apos;;&apos; &amp;amp;&amp;amp; rm -rf &quot;lustre-2.7.1&quot; || &lt;/p&gt;
{ sleep 5 &amp;amp;&amp;amp; rm -rf &quot;lustre-2.7.1&quot;; }
&lt;p&gt;; else :; fi&lt;br/&gt;
rpmbuilddir=`mktemp &lt;del&gt;t -d rpmbuild-lustre&lt;/del&gt;$USER-XXXXXXXX`; \&lt;br/&gt;
make  \&lt;br/&gt;
        rpmbuilddir=&quot;$rpmbuilddir&quot; rpm-local || exit 1; \&lt;br/&gt;
/bin/rpmbuild \&lt;br/&gt;
        --define &quot;_tmppath $rpmbuilddir/TMP&quot; \&lt;br/&gt;
        --define &quot;_topdir $rpmbuilddir&quot; \&lt;br/&gt;
        --define &quot;build_src_rpm 1&quot; \&lt;br/&gt;
        --define &quot;dist %&lt;/p&gt;
{nil}
&lt;p&gt;&quot; \&lt;br/&gt;
        -ts lustre-2.7.1.tar.gz || exit 1; \&lt;br/&gt;
cp $rpmbuilddir/SRPMS/lustre-2.7.1-*.src.rpm . || exit 1; \&lt;br/&gt;
rm -rf $rpmbuilddir&lt;br/&gt;
make&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;: Entering directory `/tmp.chroot/nas-2.7.1-fe&apos;&lt;br/&gt;
make&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;: Leaving directory `/tmp.chroot/nas-2.7.1-fe&apos;&lt;br/&gt;
sed: can&apos;t read /lib/modules/2.6.32-358.6.2.el6.x86_64/build/include/linux/version.h: No such file or directory&lt;br/&gt;
error: line 138: Version required: Requires: kernel =&lt;br/&gt;
make: *** &lt;span class=&quot;error&quot;&gt;&amp;#91;srpm&amp;#93;&lt;/span&gt; Error 1&lt;/p&gt;

&lt;p&gt;I did specify &lt;br/&gt;
      --with-linux=/usr/src/kernels/${kversion} \&lt;br/&gt;
when running `configure`, so the path should be used instead of &quot;/lib/modules/`uname -r`&quot;&lt;/p&gt;

&lt;p&gt;Also config.log showed the version.h exists at include/generated/uapi/linux/version.h:&lt;br/&gt;
...&lt;br/&gt;
configure:13640: checking for /usr/src/kernels/3.10.0-229.20.1.el7.20151203.x86_64.lustre271/include/linux/version.h&lt;br/&gt;
configure:13654: result: no&lt;br/&gt;
configure:13661: checking for /usr/src/kernels/3.10.0-229.20.1.el7.20151203.x86_64.lustre271/include/generated/uapi/linux/version.h&lt;br/&gt;
configure:13675: result: yes&lt;/p&gt;

&lt;p&gt;I did not have this problem in 2.x.y build up to 2.5.3. Changes made in 2.7 broke my build.&lt;/p&gt;

&lt;p&gt;I will attach config.log and log-rpms files.&lt;br/&gt;
:q&lt;/p&gt;</description>
                <environment>centos 7.1.</environment>
        <key id="33565">LU-7541</key>
            <summary>rpm build failed in 2.7.1</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</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="yujian">Jian Yu</assignee>
                                    <reporter username="jaylan">Jay Lan</reporter>
                        <labels>
                    </labels>
                <created>Thu, 10 Dec 2015 23:34:14 +0000</created>
                <updated>Wed, 13 Jan 2016 23:47:27 +0000</updated>
                            <resolved>Wed, 13 Jan 2016 23:47:27 +0000</resolved>
                                    <version>Lustre 2.7.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>8</watches>
                                                                            <comments>
                            <comment id="135982" author="pjones" created="Fri, 11 Dec 2015 00:02:52 +0000"  >&lt;p&gt;Jay&lt;/p&gt;

&lt;p&gt;Am I correct in assuming that this is not an Sev1 (i.e site down) situation for NASA and you are in fact just exploring for a possible future upgrade?&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="135985" author="jaylan" created="Fri, 11 Dec 2015 00:10:35 +0000"  >&lt;p&gt;Hi Peter,&lt;/p&gt;

&lt;p&gt;You were right that this does not affect production systems. Please downgrade the priority.&lt;/p&gt;

&lt;p&gt;Mahmoud wants to move to 2.7.1 after 2.5.3. There are features in 2.7 that Mahmoud wants and he is breathing on my neck. &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/wink.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="136017" author="pjones" created="Fri, 11 Dec 2015 13:47:40 +0000"  >&lt;p&gt;Jay&lt;/p&gt;

&lt;p&gt;Mahmoud is not the only one to find 2.7.x interesting &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;

&lt;p&gt;Jian&lt;/p&gt;

&lt;p&gt;Could you please assist Jay?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="136079" author="yujian" created="Fri, 11 Dec 2015 18:51:01 +0000"  >&lt;p&gt;Hi Jay,&lt;/p&gt;

&lt;p&gt;Could you please try adding &quot;--with-linux-obj=/usr/src/kernels/3.10.0-229.20.1.el7.20151203.x86_64.lustre271&quot; to run ./configure?&lt;/p&gt;</comment>
                            <comment id="136087" author="jaylan" created="Fri, 11 Dec 2015 19:23:16 +0000"  >&lt;p&gt;  $ ./configure --enable-tests --enable-mpitests=yes --with-o2ib=/usr/src/ofa_kernel/lustre271 --with-linux=/usr/src/kernels/3.10.0-229.20.1.el7.20151203.x86_64.lustre271 --with-linux-obj=/usr/src/kernels/3.10.0-229.20.1.el7.20151203.x86_64.lustre271 --with-downstream-release=1nasS_mofed31v1 --with-release=1nasS_mofed31v1_3.10.0-229.20.1.el7.20151203.x86_64.lustre271&lt;/p&gt;

&lt;p&gt;I got the same error at building rpm.&lt;/p&gt;</comment>
                            <comment id="136092" author="yujian" created="Fri, 11 Dec 2015 19:47:44 +0000"  >&lt;p&gt;Hi Jay,&lt;/p&gt;

&lt;p&gt;Could you please list the steps and commands you used for the building process? Thank you.&lt;/p&gt;</comment>
                            <comment id="136094" author="jaylan" created="Fri, 11 Dec 2015 19:54:17 +0000"  >&lt;p&gt;Attached are two scripts: &lt;br/&gt;
    nas-config.sh.mofed31.el71.271&lt;br/&gt;
    nas-make.sh.el71.271&lt;/p&gt;

&lt;p&gt;I ran the two scripts one after another.&lt;/p&gt;</comment>
                            <comment id="136096" author="yujian" created="Fri, 11 Dec 2015 20:13:05 +0000"  >&lt;p&gt;Thank you, Jay.&lt;/p&gt;

&lt;p&gt;For /usr/src/kernels/3.10.0-229.20.1.el7.20151203.x86_64.lustre271,  did you patch the kernel with Lustre kernel patches and build it from source?&lt;/p&gt;

&lt;p&gt;FYI, &lt;a href=&quot;https://build.hpdd.intel.com/job/lustre-manual/lastSuccessfulBuild/artifact/lustre_manual.html#dbdoclet.50438210_65411&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://build.hpdd.intel.com/job/lustre-manual/lastSuccessfulBuild/artifact/lustre_manual.html#dbdoclet.50438210_65411&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="136098" author="jaylan" created="Fri, 11 Dec 2015 20:23:32 +0000"  >&lt;p&gt;Yes I did, Jian.&lt;br/&gt;
Thanks!&lt;/p&gt;</comment>
                            <comment id="136113" author="yujian" created="Fri, 11 Dec 2015 22:33:38 +0000"  >&lt;p&gt;Hi Jay,&lt;/p&gt;

&lt;p&gt;I just checked the configure logs of passed build against Lustre 2.7.1 and also found:&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;checking for /var/lib/jenkins/workspace/lustre-b2_7_fe/arch/x86_64/build_type/server/distro/el7/ib_stack/inkernel/BUILD/reused/usr/src/kernels/3.10.0-229.14.1.el7_lustre.gc77f399.x86_64/include/linux/version.h... no
checking for /var/lib/jenkins/workspace/lustre-b2_7_fe/arch/x86_64/build_type/server/distro/el7/ib_stack/inkernel/BUILD/reused/usr/src/kernels/3.10.0-229.14.1.el7_lustre.gc77f399.x86_64/include/generated/uapi/linux/version.h... yes
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;So, it&apos;s no problem that version.h is located under include/generated/uapi/linux/.&lt;/p&gt;

&lt;p&gt;And the configure command we used was:&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;./configure --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-linux=/var/lib/jenkins/workspace/lustre-b2_7_fe/arch/x86_64/build_type/server/distro/el7/ib_stack/inkernel/BUILD/reused/usr/src/kernels/3.10.0-229.14.1.el7_lustre.gc77f399.x86_64 --with-linux-obj=/var/lib/jenkins/workspace/lustre-b2_7_fe/arch/x86_64/build_type/server/distro/el7/ib_stack/inkernel/BUILD/reused/usr/src/kernels/3.10.0-229.14.1.el7_lustre.gc77f399.x86_64 --with-release=3.10.0_229.14.1.el7_lustre.gc77f399.x86_64 --enable-tests --enable-utils --enable-modules --with-kmp-moddir=extra
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="136115" author="jaylan" created="Fri, 11 Dec 2015 22:41:15 +0000"  >&lt;p&gt;Thanks, I will take a look later to get the version.h problem resolved.&lt;/p&gt;

&lt;p&gt;For now I simply copied the version.h to where the build process looks for and got it moving along.&lt;/p&gt;

&lt;p&gt;Well, the build failed to find llbackup. Unfortunately, the file, used to be in lustre/utils/llbackup in 2.5.3, does not exist in 2.7.1.&lt;/p&gt;

&lt;p&gt;If that file is pulled from 2.7.1, the build process should do so accordingly.&lt;/p&gt;</comment>
                            <comment id="136118" author="yujian" created="Fri, 11 Dec 2015 23:09:07 +0000"  >&lt;p&gt;Hi Jay,&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;Well, the build failed to find llbackup. Unfortunately, the file, used to be in lustre/utils/llbackup in 2.5.3, does not exist in 2.7.1.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Did you happen to use an old version of lustre.spec.in to build Lustre 2.7.1?&lt;/p&gt;

&lt;p&gt;In Lustre 2.7.1 source codes:&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;$ grep llbackup * -rn | grep -v tags | grep -v doc
$ 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;In Lustre 2.5.3 source codes:&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;$ grep llbackup * -rn | grep -v tags | grep -v doc
lustre/utils/Makefile.am:19:bin_scripts = llstat llobdstat plot-llstat llbackup
lustre.spec.in:353:%attr(-, root, root) %{_bindir}/llbackup
$
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;So, for Lustre 2.7.1, it would not hit the llbackup issue.&lt;/p&gt;</comment>
                            <comment id="136119" author="jaylan" created="Fri, 11 Dec 2015 23:17:52 +0000"  >&lt;p&gt;Old version of lustre.spec.in would not work for 2.7.1 at all.&lt;br/&gt;
I will look into this problem later. I need to create lustre 2.7.1 server rpms for our developers.&lt;/p&gt;

&lt;p&gt;So far, I hacked around the problems I have encountered.&lt;/p&gt;</comment>
                            <comment id="136952" author="mdiep" created="Sat, 19 Dec 2015 00:43:39 +0000"  >&lt;p&gt;Jay, please apply this &lt;a href=&quot;http://review.whamcloud.com/#/c/15181/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/15181/&lt;/a&gt; to see if it fixes&lt;/p&gt;</comment>
                            <comment id="136959" author="jaylan" created="Sat, 19 Dec 2015 02:11:45 +0000"  >&lt;p&gt;Hi Minh, can you create a patch for 2.7.1?  &lt;br/&gt;
Thanks!&lt;/p&gt;</comment>
                            <comment id="137171" author="pjones" created="Tue, 22 Dec 2015 12:26:58 +0000"  >&lt;p&gt;Jay&lt;/p&gt;

&lt;p&gt;Try these two patches that have already been ported to the 2.7 FE branch&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6001&quot; title=&quot;cleanup build scripts after reorganization&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6001&quot;&gt;&lt;del&gt;LU-6001&lt;/del&gt;&lt;/a&gt;: &lt;a href=&quot;http://review.whamcloud.com/17678&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/17678&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6697&quot; title=&quot;build SRPM target should not depend from kernel sources&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6697&quot;&gt;&lt;del&gt;LU-6697&lt;/del&gt;&lt;/a&gt;: &lt;a href=&quot;http://review.whamcloud.com/17679&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/17679&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="138245" author="jaylan" created="Thu, 7 Jan 2016 19:30:10 +0000"  >&lt;p&gt;Hi Peter,&lt;/p&gt;

&lt;p&gt;The above two ported patches did solve my problem.&lt;br/&gt;
Please land the patches and close this ticket.&lt;/p&gt;

&lt;p&gt;Thanks!&lt;br/&gt;
Jay&lt;/p&gt;</comment>
                            <comment id="138865" author="yujian" created="Wed, 13 Jan 2016 23:47:27 +0000"  >&lt;p&gt;Patches landed.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="30553">LU-6697</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="27830">LU-6001</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="19862" name="config.log" size="367973" author="jaylan" created="Thu, 10 Dec 2015 23:34:14 +0000"/>
                            <attachment id="19863" name="log-rpms" size="26699" author="jaylan" created="Thu, 10 Dec 2015 23:34:14 +0000"/>
                            <attachment id="19864" name="nas-config.sh.mofed31.el71.271" size="1111" author="jaylan" created="Fri, 11 Dec 2015 19:53:52 +0000"/>
                            <attachment id="19865" name="nas-make.sh.el71.271" size="287" author="jaylan" created="Fri, 11 Dec 2015 19:53:52 +0000"/>
                    </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|hzxvjr:</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>