Bug 10546

Summary: sgml-common breaks db2html
Product: [Retired] Red Hat Linux Reporter: d-mueth
Component: sgml-commonAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2CC: dcm, d-mueth, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-04-03 16:37:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description d-mueth 2000-04-03 16:14:30 UTC
sgml-common-0.1-7.noarch.rpm in RH6.2 breaks db2html for me.  This happens
in both a standard RH6.1->RH6.2 upgrade, as well as just installing this
single package on a RH6.1 system.  Running db2html produces many errors of
the form:

jade:/usr/lib/sgml/dbcent.mod:54:0:E: cannot open
"/usr/lib/sgml/iso-amsa.gml" (No such file or directory)

and many errors of the form:

jade:/usr/lib/sgml/stylesheets/nwalsh-modular/html/../common/dbl1no.dsl:90:19:E:
general entity "oslash" not defined and no default entity

I have been able to remedy this problem by moving the 21 line section
beginning with the line:
 -- start sgml-common 0.1-7 --
and ending with:
 -- end sgml-common 0.1-7 --
from the end of my /usr/lib/sgml/CATALOG file to the beginning of this
file. Doing this eliminates all error messages.  Note that this section,
aside for having "0.1-7" in place of "0.1-3", is identical to that from the
earlier version, except that it is placed at the end of the CATALOG file
instead of the beginning.

Comment 1 Nalin Dahyabhai 2000-04-03 16:18:59 UTC
Do you also have the stylesheets package installed?

Comment 2 Bill Nottingham 2000-04-03 16:37:59 UTC
Bleah. It seems that

a) the catalog file is order dependent
b) the docbook scripts install references to entity files that
   don't exist.

This will be fixed with the docbook-3.1-4 package; if you
don't want to upgrade to that, just move the sgml-common section
from the end of the CATALOG file to the beginning.

Comment 3 Tim Waugh 2000-04-11 08:56:59 UTC
I get this:

[root@meme /tmp]# rpm -Uvh docbook-3.1-4.noarch.rpm
docbook                     ##################################################
sed: -e expression #1, char 25: Extra characters after command execution of
script failed

I think it might be coming from install-catalog:

  remove)
        if grep -q "$SBEG" $cat
        then
          echo "removing $package$version DTD from catalog"
          sed -e "/$SBEG/,/$SEND/d" < $cat > ${cat}.new
                mv ${cat}.new ${cat}
        else

Might $SBEG or $SEND contain /s?  Perhaps it should read:

          sed -e "m#$SBED#,#$END#d" ...

Comment 4 Bill Nottingham 2000-04-12 16:19:59 UTC
I think you mean \#$SBEG#,\#$SEND#d, but yes. sgml-common needs fixed.