<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:05:01 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-6987] python-docutils required despite --disable-manpages</title>
                <link>https://jira.whamcloud.com/browse/LU-6987</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&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;rpmbuilddir=`mktemp -t -d rpmbuild-lustre-$USER-XXXXXXXX`; \
        make  \
                rpmbuilddir=&quot;$rpmbuilddir&quot; rpm-local || exit 1; \
        /usr/bin/rpmbuild \
                --define &quot;_tmppath $rpmbuilddir/TMP&quot; \
                --define &quot;_topdir $rpmbuilddir&quot; \
                --define &quot;build_src_rpm 1&quot; \
                --define &quot;dist %{nil}&quot; \
                -ts lustre-2.7.57.tar.gz || exit 1; \
        cp $rpmbuilddir/SRPMS/lustre-2.7.57-*.src.rpm . || exit 1; \
        rm -rf $rpmbuilddir
make[1]: Entering directory `/root/schamp/build/sles11sp3-client-build&apos;
make[1]: Leaving directory `/root/schamp/build/sles11sp3-client-build&apos;
error: Failed build dependencies:
        python-docutils is needed by lustre-2.7.57-1_gc45c8ad.x86_64
make: *** [srpm] Error 1
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;My configure line 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;./configure     --with-o2ib --disable-server --without-ldiskfs          \
                --disable-doc --disable-manpages                        \
                --enable-tests                                          \
                --enable-mpitests=yes --enable-liblustre-tests          \
                --with-linux=${BOBJ}/linux-${KVER}              \
                --with-linux-obj=${BOBJ}/linux-${KVER}-obj/x86_64/default       \
                --with-linux-config=${BOBJ}/linux-${KVER}-obj/x86_64/default/.config    || exit 1
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Which makes this surprising given that lustre.spec says:&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;%if %\{with manpages\}
BuildRequires: python-docutils
%endif
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment>lustre-master&lt;br/&gt;
sles11sp3&lt;br/&gt;
</environment>
        <key id="31442">LU-6987</key>
            <summary>python-docutils required despite --disable-manpages</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="4">Incomplete</resolution>
                                        <assignee username="dmiter">Dmitry Eremin</assignee>
                                    <reporter username="schamp">Stephen Champion</reporter>
                        <labels>
                    </labels>
                <created>Wed, 12 Aug 2015 05:31:38 +0000</created>
                <updated>Sat, 27 Feb 2016 01:25:57 +0000</updated>
                            <resolved>Sat, 27 Feb 2016 01:25:57 +0000</resolved>
                                    <version>Lustre 2.8.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="123924" author="schamp" created="Wed, 12 Aug 2015 05:44:42 +0000"  >&lt;p&gt;Fixing this exposes another bug:&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;make[1]: Entering directory `/root/schamp/build/sles11sp3-client-build&apos;
make[1]: Leaving directory `/root/schamp/build/sles11sp3-client-build&apos;
Wrote: /tmp/rpmbuild-lustre-schamp-T8yyLDoh/SRPMS/lustre-client-2.7.57-1_gc45c8ad.src.rpm
cp: cannot stat `/tmp/rpmbuild-lustre-schamp-T8yyLDoh/SRPMS/lustre-2.7.57-*.src.rpm&apos;: No such file or directory
make: *** [srpm] Error 1
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Once configure flags are passed to the srpm build to fix the dependency problem, the srpm name is subject to be changed to lustre-client.  This is also easy to fix, leading to:&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;diff --git a/autoMakefile.am b/autoMakefile.am
index 3bad8c2..c38774d 100644
--- a/autoMakefile.am
+++ b/autoMakefile.am
@@ -133,7 +133,9 @@ srpm: @PACKAGE_TARNAME@.spec dist Makefile
        $(RPMBUILD) \
                --define &quot;_tmppath $$rpmbuilddir/TMP&quot; \
                --define &quot;_topdir $$rpmbuilddir&quot; \
+               @RPMBUILD_BINARY_ARGS@ \
                --define &quot;build_src_rpm 1&quot; \
+               --define &quot;lustre_name lustre&quot; \
                --define &quot;dist %{nil}&quot; \
                -ts $(distdir).tar.gz || exit 1; \
        cp $$rpmbuilddir/SRPMS/$(distdir)-*.src.rpm $(top_srcdir) || exit 1; \
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Which I stashed in a branch and would be happy to submit as a single or series of patches.&lt;/p&gt;

&lt;p&gt;But I&apos;m curious why there is a separate srpm build stage, and if I just nuke that instead.&lt;/p&gt;</comment>
                            <comment id="123981" author="pjones" created="Wed, 12 Aug 2015 18:34:40 +0000"  >&lt;p&gt;Dmitry&lt;/p&gt;

&lt;p&gt;Could you please advise?&lt;/p&gt;

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

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="124300" author="dmiter" created="Mon, 17 Aug 2015 16:10:54 +0000"  >&lt;p&gt;Could you provide the complete commands sequence to reproduce this issue? I cannot reproduce this on my machine but this is RHEL 6.7. Probably this is an issue with RPM on SuSe. I need more details to understand.&lt;/p&gt;

&lt;p&gt;When RPM produce .srpm package the &quot;BuildRequires&quot; from .spec file are not used. So, this line should not be an issue during srpm make target.&lt;/p&gt;</comment>
                            <comment id="124364" author="schamp" created="Mon, 17 Aug 2015 22:41:48 +0000"  >&lt;p&gt;My configure line is in the description.  $BOBJ is just a directory with a copy of the directories the kernel packages install in /usr/src/.  After configure is &apos;make&apos;, which leads to this error.&lt;/p&gt;

&lt;p&gt;There is clearly a difference in behavior between the sles11 and rhel6 rpm commands:  I made a simple spec:&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;Name: foo
Version: 0.1
Release: 1
License: GPLv2
Group: Development/Tools/Other
Source: http://oss.sgi.com/projects/foo/foo-0.1.tar.gz
URL: http://oss.sgi.com/projects/foo
Summary: Universal foo machine
BuildRequires: bar-devel &amp;gt;= 9000

%description
None of this foo ever works like it&apos;s suppose do.

%prep
%setup

%build
touch foo

%install
mkdir -p $RPM_BUILD_ROOT/usr/lib/%{NAME}-%{VERSION}
cp foo $RPM_BUILD_ROOT/usr/lib/%{NAME}-%{VERSION}/foo

%files
%defattr(-,root,root)
/usr/lib/%{NAME}-%{VERSION}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;RHEL6.6:&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;$ rpmbuild -ts foo-0.1.tar.gz
Wrote: /home/schamp/rpmbuild/SRPMS/foo-0.1-1.src.rpm
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;SLES11SP3:&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;$ rpmbuild -ts foo-0.1.tar.gz
error: Failed build dependencies:
        bar-devel &amp;gt;= 9000 is needed by foo-0.1-1.x86_64
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;SLES11 : rpm-4.4.2.3-37.63.64.1&lt;br/&gt;
RHEL6 : rpm-4.8.0-47.el6.x86_64&lt;/p&gt;

&lt;p&gt;Fedora, with rpm-4.12.0.1-12.fc22.x86_64 has the same behavior as RHEL.  I don&apos;t have an OpenSuSE or SLES 12 box handy to test - but I suspect that this is a bug fixed between 4.4 and 4.8&lt;/p&gt;

&lt;p&gt;Do we want to work around this behavior?  SLES 11 will be around for another year or two, and 11SP4 still has rpm-4.4.&lt;/p&gt;
</comment>
                            <comment id="143077" author="jfc" created="Fri, 19 Feb 2016 23:29:57 +0000"  >&lt;p&gt;Can I just check with Dmitry and Stephen if this ticket is still being worked on?&lt;/p&gt;

&lt;p&gt;If not, I&apos;d like to mark it as resolved.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
~ jfc.&lt;/p&gt;</comment>
                            <comment id="144054" author="jfc" created="Sat, 27 Feb 2016 01:25:57 +0000"  >&lt;p&gt;Marking this as resolved incomplete.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
~ jfc.&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|hzxka7:</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>