Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5401 - xml docbook not installed properly
Summary: xml docbook not installed properly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High critical (vote)
Assignee: Matthew Turk (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-22 13:40 UTC by Olivier Crete (RETIRED)
Modified: 2002-09-05 21:24 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
error.log (error.log,4.77 KB, text/plain)
2002-08-23 00:57 UTC, Nicholas Wourms
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Crete (RETIRED) gentoo-dev 2002-07-22 13:40:58 UTC
XML docbook doesnt work at all.. There are two problems:

A. there is a bug in /usr/share/sgml/docbook/utils-0.6.11/frontends/docbook from
package docbook-sgml-utils-0.6.11
this line:
        if [ -z "SGML_CATALOG" ]
should be:
        if [ -z "$SGML_CATALOG" ]

and also
the docbook-xml catalog file must be installed in the main sgml catalog too (not
just the wierd pure xml version) for jade to find it
with the command:  install-catalog  -a xml-docbook.cat
/usr/share/xml/docbook/xml-dtd-4.1.2/docbook.cat


This is a different bug from bug 1688 which is purely about file location.
Comment 1 Olivier Crete (RETIRED) gentoo-dev 2002-07-22 13:49:46 UTC
This line is needed too...
install-catalog  -a xml-docbook.cat /etc/sgml/sgml-docbook.cat
Comment 2 Matthew Turk (RETIRED) gentoo-dev 2002-08-18 00:42:09 UTC
Waiting on an upstream patch.  Will include local patch in two days.
Comment 3 Nicholas Wourms 2002-08-22 23:49:13 UTC
Unlike before, now HTML documentation is not being installed properly.  It
appears that move cannot find it and returns an error.
Comment 4 Matthew Turk (RETIRED) gentoo-dev 2002-08-23 00:06:00 UTC
HTML documentation from docbook-sgml-utils?  With which packages does this 
happen? 
Comment 5 Nicholas Wourms 2002-08-23 00:14:09 UTC
The new docbook-sgml-utils you just uploaded.  During the install phase, an
attempt to move:
/var/tmp/portage/docbook-sgml-utils-0.6.11-r1/image//usr/doc/html/docbook-sgml-utils-0.6.11


to

/var/tmp/portage/docbook-sgml-utils-0.6.11-r1/image//usr/share/doc/docbook-sgml-utils-0.6.11/html
                                                                  
^^^^^^^^^^^^^^^^        
fails.  This is probably due to the fact that the last part of the destination
lacks the "r1", thus it fails.
Comment 6 Nicholas Wourms 2002-08-23 00:57:49 UTC
Created attachment 3341 [details]
error.log

The abriged logfile of the ebuild showing where the error occurs.
Comment 7 Rigo 2002-08-28 03:17:00 UTC
I'm new to this bug-report, but is it related to this:

test -d ./html || mkdir ./html
cd ./html && gtkdoc-mkhtml osipua ../osipua-docs.sgml
jade:/etc/sgml/sgml-docbook-3.1.cat:1:8:E: cannot open
"/usr/share/sgml/docbook/sgml-dtd-3.1/catalog" (No such file or directory)
jade:../osipua-docs.sgml:1:59:W: cannot generate system identifier for public
text "-//Davenport//DTD DocBook V3.0//EN"


And where does:
SGML_CATALOG_FILES=/etc/sgml/sgml-docbook.cat:/etc/sgml/openjade-1.3.1.cat:/etc/sgml/sgml-ent.cat:/etc/sgml/gentoo-guide.cat:/etc/sgml/sgml-docbook-3.1.cat:/etc/sgml/dsssl-docbook-stylesheets.cat

Get set ? (does 3.1.cat needs to be 4.1.cat now ?)

Regards, Rigo

Comment 8 Matthew Turk (RETIRED) gentoo-dev 2002-09-05 21:24:51 UTC
Ok, that does need a new report, and the other problems are fixed.  All HTML 
is installed in the right place with -r2.