[publican-list] cannot build with publican >= 1.6.1

Jeffrey Fearn jfearn at redhat.com
Tue Apr 6 23:29:36 UTC 2010


Paul Morgan wrote:
> On Tue, Apr 06, 2010 at 10:09:42AM -0400, Josh Kayse wrote:
>> On 04/06/2010 09:55 AM, Josh Kayse wrote:
>>> On 04/06/2010 08:51 AM, Paul Morgan wrote:
>>>> On Tue, Apr 06, 2010 at 07:59:07AM -0400, Josh Kayse wrote:
>>>>> After upgrading from 1.3 to 1.6.2 I can no longer build any
>>>>> documents with publican.
>>>>>
>>>>> runtime error: file
>>>>> file:///usr/share/sgml/docbook/xsl-stylesheets-1.75.2/fo/verbatim.xsl
>>>>> line 413 element param
>>>>> xsltApplyXSLTTemplate: A potential infinite template recursion was detected.
>>>>> You can adjust xsltMaxDepth (--maxdepth) in order to raise the
>>>>> maximum number of nested template calls and variables/params
>>>>> (currently set to 1000).
>>>>>
>>>>> Is the error I am receiving.
>>>>>
>>>>> I have tried with different brands with the same result.
>>>>>
>>>>> Any recommendations?
>>>>>
>>>>> Thanks,
>>>>> -josh
>>>> I'm getting the same error while attempting to rebuild a document
>>>> I haven't changed since upgrading. My doc has 335 pages, though
>>>> smaller docs build fine.
>>>>
>>>> -paul
>>>>
>>> Confirmed that shortening my document allows me to build.  Updated the
>>> subject to reflect that it started with 1.6.1, not 1.6.2
>>>
>>> -josh
>>>
>> Changing line 704 of  
>> /usr/lib/perl5/vendor_perl/5.10.0/Publican/Builder.pm from 1000 to 
>> 10000 allows me to build my 400+ page document.
>>
>> I don't know that it is the correct action, but it will work for me for now.
>>
>> -josh
> 
> Thanks, Josh. Your workaround works for me, too.
> 
> I've created BZ: https://bugzilla.redhat.com/show_bug.cgi?id=579786

This is actually caused by enabling hyphenation on the PDF build, it has 
been disabled in the SVN repo in both trunk and the 1.6 branch.

We will push 1.6.3 in the next week or so to disable this.

Cheers, Jeff.

-- 
Jeff Fearn <jfearn at redhat.com>
Software Engineer
Engineering Operations
Red Hat, Inc
Freedom ... courage ... Commitment ... ACCOUNTABILITY




More information about the publican-list mailing list