Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 642592 - app-text/docbook-sgml-utils-0.6.14-r1 - jade:/etc/xml/catalog:2:78:E: name expected
Summary: app-text/docbook-sgml-utils-0.6.14-r1 - jade:/etc/xml/catalog:2:78:E: name ex...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords: NeedPatch
: 648932 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-12-29 01:35 UTC by Martin von Gagern
Modified: 2019-09-17 07:14 UTC (History)
1 user (show)

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


Attachments
build log (app-text:docbook-sgml-utils-0.6.14-r1:20171224-180311.log,18.63 KB, text/plain)
2017-12-29 01:35 UTC, Martin von Gagern
Details
/var/log/portage/app-text:docbook-sgml-utils-0.6.14-r2:20190904-153041.log (app-text:docbook-sgml-utils-0.6.14-r2:20190904-153041.log,971.12 KB, text/plain)
2019-09-04 15:33 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin von Gagern 2017-12-29 01:35:30 UTC
Created attachment 511920 [details]
build log

SGML_CATALOG_FILES=/etc/sgml/catalog \
SGML_SEARCH_PATH=../..:../../doc:.. \
        jade -t sgml -i html -d ../../docbook-utils.dsl\#html \
                -V '%use-id-as-filename%' ../../doc/docbook-utils.sgml
jade:/etc/xml/catalog:2:78:E: name expected
jade:/etc/xml/catalog:2:18:E: cannot find "PUBLIC"; tried "/etc/xml/PUBLIC", "../../PUBLIC", "../../doc/PUBLIC", "../PUBLIC"

The last two lines are repeated over and over again. /etc/xml/catalog appears to contain entries from e.g. app-text/xhtml1-20020801-r4 and app-text/docbook-xsl-stylesheets-1.79.1-r2. It starts like this:

<?xml version="1.0"?>
<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">

Looks sane enough to me, in terms of xml, but might not be what sgml tools expect here. I have app-text/openjade-1.3.2-r7 on my system. I encountered this during a world re-emerge for the 17.0 profile migration.
Comment 1 Martin von Gagern 2017-12-29 01:40:06 UTC
Workaround: temporarily disabling the line

CATALOG "/etc/xml/catalog"

in /etc/sgml/catalog did make the build succeed for me. Not sure where that line came from, and whether it should be removed permanently. I doubt I added it manually.
Comment 2 Pacho Ramos gentoo-dev 2018-06-20 15:58:35 UTC
*** Bug 648932 has been marked as a duplicate of this bug. ***
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-09-04 15:28:03 UTC
FWICS docbook-sgml-utils build is broken by most of xml DTDs installed.  However, we can't really remove them because they're needed by other packages.  I'm not even sure if it's a problem with this package or with openjade in general.  In either case, I believe it's time we consider pruning it.

I'm going to start filing bugs for packages that use it unconditionally.
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-09-04 15:33:03 UTC
Created attachment 589040 [details]
/var/log/portage/app-text:docbook-sgml-utils-0.6.14-r2:20190904-153041.log
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-09-04 16:23:22 UTC
Nevermind, I found a good solution for my problem.
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-09-17 07:14:19 UTC
Feel free to reopen if you happen to hit it again.