[publican-list] publican 2.5 build problem

Jeff Fearn jfearn at redhat.com
Tue Sep 6 23:09:33 UTC 2011


On 09/07/2011 04:55 AM, Bram Vogelaar wrote:
> one of our machines has started refusing to build new documentation.
> throwing error like the one below.
>
>       [exec] Beginning work on en-US
>       [exec] Starting html
>       [exec] Using XML::LibXSLT on
> /usr/share/publican/Common_Content/platform/xsl/html.xsl
>       [exec] Writing index.html for article
>       [exec] Finished html
>       [exec] Starting html-single
>       [exec] Using XML::LibXSLT on
> /usr/share/publican/Common_Content/platform/xsl/html-single.xsl
>       [exec] Can't stat tmp/en-US/html-single: No such file or directory
>       [exec]  at /usr/share/perl5/Publican/Builder.pm line 1025
>       [exec] Can't stat tmp/en-US/html-single/Common_Content: No such
> file or directory
>       [exec]  at /usr/share/perl5/Publican/Builder.pm line 1028
>       [exec] Finished html-single
>       [exec] Starting pdf
>       [exec] Using XML::LibXSLT on
> /usr/share/publican/Common_Content/platform/xsl/pdf.xsl
>       [exec] Making portrait pages on A4 paper (210mmx297mm)
>       [exec] Finished pdf
>       [exec] Starting epub
>       [exec] Using XML::LibXSLT on /usr/share/publican/xsl/epub.xsl
>       [exec] Writing OEBPS/ar01s02.html for sect1
>       [exec] Writing OEBPS/index.html for article
>       [exec] Writing OEBPS/toc.ncx
>       [exec] Writing OEBPS/content.opf
>       [exec] Writing META-INF/container.xml
>       [exec] Can't stat tmp/en-US/epub: No such file or directory
>       [exec]  at /usr/share/perl5/Publican/Builder.pm line 965
>       [exec] Can't stat tmp/en-US/epub/OEBPS/Common_Content: No such
> file or directory
>       [exec]  at /usr/share/perl5/Publican/Builder.pm line 968
>       [exec] Can't open mimetype file:  at /usr/bin/publican line 672
>       [exec] Result: 2
>
> Our other build server has been install identically to this one but is
> still building properly does anyone now what is going on?

Hi Bram, I haven't seen this error before. At a guess I'd say it looks 
like a permissions or disk full issue. Given that HTML seems to work I'd 
lean towards the HTML build filling up disk space.

Publican should be checking that the directory creation works before it 
tries running XSLT. I've created a bug to track this 
https://bugzilla.redhat.com/show_bug.cgi?id=736189

Cheers, Jeff.




More information about the publican-list mailing list