<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:41:06 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>[LUDOC-208] Error on &quot;make pdf&quot;</title>
                <link>https://jira.whamcloud.com/browse/LUDOC-208</link>
                <project id="10070" key="LUDOC">Lustre Documentation</project>
                    <description>&lt;p&gt;Error experienced:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;ashehata@localhost dlc_manual&amp;#93;&lt;/span&gt;$ make pdf&lt;br/&gt;
sed -e &apos;s;PRIMARYXSL;/usr/share/sgml/docbook/xsl-ns-stylesheets-1.75.2/fo/docbook.xsl;&apos; ./style/customstyle_fo.xsl | \&lt;br/&gt;
        xsltproc --xinclude -o lustre_manual.fo - ./index.xml&lt;br/&gt;
Making portrait pages on USletter paper (8.5inx11in)&lt;br/&gt;
runtime error: file - line 128 element call-template&lt;br/&gt;
The called template &apos;make.component.tocs&apos; was not found.&lt;br/&gt;
error: file ./index.xml&lt;br/&gt;
xsltRunStylesheet : run failed&lt;/p&gt;

&lt;p&gt;When commenting out &apos;make.component.tocs&apos;, everything works ok.&lt;/p&gt;</description>
                <environment>RHEL 6.3&lt;br/&gt;
[&lt;a href=&apos;mailto:ashehata@localhost&apos;&gt;ashehata@localhost&lt;/a&gt; dlc_manual]$ rpm -qa | grep -i docbook&lt;br/&gt;
docbook-dtds-1.0-51.el6.noarch&lt;br/&gt;
docbook5-schemas-5.0-4.1.el6.noarch&lt;br/&gt;
docbook-style-xsl-1.75.2-6.el6.noarch&lt;br/&gt;
docbook5-style-xsl-1.75.2-4.el6.noarch</environment>
        <key id="22037">LUDOC-208</key>
            <summary>Error on &quot;make pdf&quot;</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="rhenwood">Richard Henwood</assignee>
                                    <reporter username="ashehata">Amir Shehata</reporter>
                        <labels>
                    </labels>
                <created>Thu, 14 Nov 2013 23:12:08 +0000</created>
                <updated>Thu, 13 Feb 2014 21:05:31 +0000</updated>
                            <resolved>Thu, 13 Feb 2014 18:04:01 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="72932" author="haasken" created="Thu, 5 Dec 2013 22:09:39 +0000"  >&lt;p&gt;I got the same error when attempting to build the pdf.&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;haasken@lnx-haasken lustre-manual $ make pdf
sed -e &apos;s;PRIMARYXSL;/usr/share/xml/docbook/stylesheet/nwalsh5/1.74.0/fo/docbook.xsl;&apos; ./style/customstyle_fo.xsl | \
	xsltproc --xinclude -o lustre_manual.fo - ./index.xml
Making portrait pages on USletter paper (8.5inx11in)
runtime error: file - line 128 element call-template
The called template &apos;make.component.tocs&apos; was not found.
error: file ./index.xml
xsltRunStylesheet : run failed
make: *** [lustre_manual.fo] Error 11
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I am building on SUSE Linux Enterprise Desktop 11 SP2.  I had to make a change to the makefile for the builds to work for SLED 11 SP2, but I still run into the above error.&lt;/p&gt;

&lt;p&gt;Here are my installed docbook packages (not sure why there is more than one version):&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;haasken@lnx-haasken lustre-manual $ rpm -qa | grep docbook
docbook_5-5.0-1.14
docbook-xsl-stylesheets-1.74.0-1.14
docbook_3-3.1-643.6
docbook-dsssl-stylesheets-1.79-19.6
docbook5-xsl-stylesheets-1.74.0-1.14
docbook_4-4.5-111.14
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;As pointed out above by Amir, when I comment out the line&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;                  &amp;lt;xsl:call-template name=&lt;span class=&quot;code-quote&quot;&gt;&quot;make.component.tocs&quot;&lt;/span&gt;/&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;in style/customstyle_fo.xsl, make pdf works.  Does anybody have a permanent solution to this issue?  Should that line be removed?&lt;/p&gt;</comment>
                            <comment id="76661" author="jessica" created="Mon, 10 Feb 2014 22:08:43 +0000"  >&lt;p&gt;Richard, is this a ticket you could look at?&lt;/p&gt;</comment>
                            <comment id="76673" author="rhenwood" created="Mon, 10 Feb 2014 22:44:57 +0000"  >&lt;p&gt;&lt;tt&gt;make.component.tocs&lt;/tt&gt; was apparently introduced in version 1.77.1:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;  &#8226; Robert Stayton: autotoc.xsl; component.xsl; titlepage.templates.xml&lt;/p&gt;

&lt;p&gt;    Add make.component.tocs to support lists of tables, etc. for&lt;br/&gt;
    article and other components.  Added component.list.of.tables to&lt;br/&gt;
    titlepage.templates.xml to format the title.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;I&apos;ll have a quick look and see what the affect of removing the call-template gubbins is to the resulting document.&lt;/p&gt;</comment>
                            <comment id="76692" author="rhenwood" created="Tue, 11 Feb 2014 03:01:20 +0000"  >&lt;p&gt;Seems like we can remove this command to increase compatibility without any noticeable changes to the current build and style:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#/c/9216&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/9216&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="76990" author="rhenwood" created="Thu, 13 Feb 2014 17:01:19 +0000"  >&lt;p&gt;Ryan, Amir: can you verify this patch works for you and I&apos;ll merge it.&lt;/p&gt;</comment>
                            <comment id="76999" author="rhenwood" created="Thu, 13 Feb 2014 18:04:01 +0000"  >&lt;p&gt;Patch verified and landed.&lt;/p&gt;</comment>
                            <comment id="77022" author="haasken" created="Thu, 13 Feb 2014 21:05:31 +0000"  >&lt;p&gt;Richard, sorry it took me a while to respond.  I have an IT-managed workstation, so installing fop by myself was a pain.&lt;/p&gt;

&lt;p&gt;Anyway, the patch works for me.  I was able to build the pdf.  Thanks!&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|hzw8yn:</customfieldvalue>

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