#44464 closed defect (worksforme)
docbook-utils: build failure ("X21B6" is not a function name)
Reported by: | mojca (Mojca Miklavec) | Owned by: | lockhart (Thomas Lockhart) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | docbook-utils |
Description
This is how building docbook-utils fails for me:
make[2]: Entering directory `/path/to/docbook-utils/work/docbook-utils-0.6.14/doc/man' SGML_CATALOG_FILES=/opt/local/etc/sgml/catalog \ SGML_SEARCH_PATH=../../doc:.. \ onsgmls ../../doc/docbook-utils.sgml | \ sgmlspl ../../helpers/docbook2man-spec.pl SGML_CATALOG_FILES=/opt/local/etc/sgml/catalog \ SGML_SEARCH_PATH=../../doc:.. \ onsgmls ../../doc/docbook-utils.sgml | \ sgmlspl ../../helpers/docbook2man-spec.pl onsgmls:/opt/local/share/xml/docbook/4.1.2/ent/iso-amsa.ent:8:19:E: "X21B6" is not a function name onsgmls:/opt/local/share/xml/docbook/4.1.2/ent/iso-amsa.ent:9:19:E: "X21B7" is not a function name onsgmls:/opt/local/share/xml/docbook/4.1.2/ent/iso-amsa.ent:10:17:E: "X21D3" is not a function name onsgmls:/opt/local/share/xml/docbook/4.1.2/ent/iso-amsa.ent:11:18:E: "X21CA" is not a function name onsgmls:/opt/local/share/xml/docbook/4.1.2/ent/iso-amsa.ent:12:18:E: "X21C3" is not a function name onsgmls:/opt/local/share/xml/docbook/4.1.2/ent/iso-amsa.ent:13:18:E: "X21C2" is not a function name [... lots of lines ...] openjade:/opt/local/share/xml/docbook/4.1.2/ent/iso-lat2.ent:123:19:E: "X017E" is not a function name openjade:/opt/local/share/xml/docbook/4.1.2/ent/iso-lat2.ent:124:19:E: "X017D" is not a function name openjade:/opt/local/share/xml/docbook/4.1.2/ent/iso-lat2.ent:125:17:E: "X017C" is not a function name openjade:/opt/local/share/xml/docbook/4.1.2/ent/iso-lat2.ent:126:17:E: "X017B" is not a function name make[2]: *** [backend-spec.html] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [api.html] Error 1 make[2]: Leaving directory `/path/to/docbook-utils/work/docbook-utils-0.6.14/doc/HTML' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/path/to/docbook-utils/work/docbook-utils-0.6.14/doc' make: *** [all-recursive] Error 1 make: Leaving directory `/path/to/docbook-utils/work/docbook-utils-0.6.14'
The file /opt/local/share/xml/docbook/4.1.2/ent/iso-lat2.ent
is provided by docbook-xml-4.1.2
which isn't even listed as a dependency.
Change History (5)
comment:1 Changed 10 years ago by lockhart (Thomas Lockhart)
comment:3 follow-up: 5 Changed 9 years ago by lockhart (Thomas Lockhart)
This works for me, including the case where no catalog files exist:
sudo port uninstall docbook-xml-4.3 docbook-xml-4.4 docbook-xml-4.5 iso8879 docbook-xml-4.2 openjade docbook-sgml-4.2 docbook-utils p5.22-sgmlspm docbook-dsssl docbook-xml-5.0 docbook-xsl docbook-xsl-ns sgml-common sudo rm -rf /opt/local/etc/sgml /opt/local/etc/xml sudo port install -s docbook-utils
The problem can be traced to side-effects from older versions of some of these ports, which left orphan entries in the top-level catalogs /opt/local/etc/sgml/catalog and /opt/local/etc/xml/catalog. If these are removed as above then the package should install and reinstall cleanly.
I believe that this problem report should be retired.
comment:4 Changed 9 years ago by mf2k (Frank Schima)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Thanks. I know about this one (though have not yet developed a patch). There is an ordering problem in the dependencies, or a missing dependency, so this build is missing a catalog of characters. This catalog is present in one of the other ports.