pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/31828: docbook-xsl should have more entries in the catalog



>Number:         31828
>Category:       pkg
>Synopsis:       docbook-xsl should have more entries in the catalog
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 16 14:51:00 +0000 2005
>Originator:     Pavel Cahyna
>Release:        NetBSD 3.0_BETA
>Organization:
>Environment:
System: NetBSD beta 3.0_BETA NetBSD 3.0_BETA (BETA) #4: Fri Oct 7 21:20:07 CEST 
2005 root@beta:/usr/src/sys/arch/alpha/compile/BETA alpha
Architecture: alpha
Machine: alpha
>Description:
        I found that to build wip/mutt-ng, more entries are needed in
/usr/pkg/share/xsl/docbook/catalog, which originates from
/usr/pkgsrc/textproc/docbook-xsl/files/catalog (see patch).
>How-To-Repeat:
Try to build mutt-ng, there will be errors like:
xsltproc --nonet --stringparam html.stylesheet muttng.css -o manual.html 
html.xsl manual.xml
I/O error : Attempt to load network entity 
http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl
warning: failed to load external entity 
"http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl";
compilation error: file html.xsl line 3 element import
xsl:import : unable to load 
http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl
gmake[2]: [manual.html] Error 5 (ignored)
echo  manual.html || true
manual.html
test -d html || mkdir html
xsltproc --nonet --stringparam html.stylesheet muttng.css -o html/ chunk.xsl 
manual.xml
I/O error : Attempt to load network entity 
http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl
warning: failed to load external entity 
"http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl";
compilation error: file chunk.xsl line 3 element import
xsl:import : unable to load 
http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl
gmake[2]: [stamp-doc-chunked] Error 5 (ignored)
touch stamp-doc-chunked
cd html; for file in *.html ; do \
  echo  $file || true ; \
done
*.html
/usr/pkg/bin/lynx -dump -nolist -with_backspaces manual.html > manual.txt

Can't Access 
`file://localhost/usr/obj/pkgsrc/wip/mutt-ng/work/muttng-20050916/doc/manual.html'
Alert!: Unable to access document.

lynx: Can't access startfile 
gmake[2]: *** [manual.txt] Error 1
gmake[2]: Leaving directory 
`/usr/obj/pkgsrc/wip/mutt-ng/work/muttng-20050916/doc'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/obj/pkgsrc/wip/mutt-ng/work/muttng-20050916'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/wip/mutt-ng

and the manual will be empty.

>Fix:

--- /usr/pkgsrc/textproc/docbook-xsl/files/catalog      2004-12-27 
04:24:29.000000000 +0100
+++ /usr/pkg/share/xsl/docbook/catalog  2005-10-16 14:41:45.000000000 +0200
@@ -7,5 +7,7 @@
 <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
   <system 
systemId="http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl"; 
uri="html/docbook.xsl" />
   <system 
systemId="http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl"; 
uri="html/chunk.xsl" />
+  <system 
systemId="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"; 
uri="xhtml/docbook.xsl" />
+  <system 
systemId="http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl"; 
uri="xhtml/chunk.xsl" />
   <system 
systemId="http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl";
 uri="manpages/docbook.xsl" />
 </catalog>




Home | Main Index | Thread Index | Old Index