Red Hat Bugzilla – Bug 460921
docbook2man-spec.pl has some missing entries
Last modified: 2008-09-11 12:58:25 EDT
Created attachment 315573 [details]
Patch for docbook2man-spec.pl
Description of problem:
While trying to build PostgreSQL man pages, I had an issue:
$ make man.tar.gz D2MDIR=/usr/share/sgml/docbook/utils-0.6.14/helpers/
make -C sgml man
make: Entering directory `/home/devrim/PostgreSQL/pgsql/doc/src/sgml'
onsgmls -D . postgres.sgml | sgmlspl /usr/share/sgml/docbook/utils-0.6.14/helpers//docbook2man-spec.pl --lowercase --section l --date "`date '+%Y-%m-%d'`"
Unknown SDATA: [mdash ] at /usr/share/sgml/docbook/utils-0.6.14/helpers//docbook2man-spec.pl line 1241, <STDIN> line 11975.
make: *** [man] Error 9
make: Leaving directory `/home/devrim/PostgreSQL/pgsql/doc/src/sgml'
make: *** [man.tar] Error 2
If I add the attached patch, I can pass this error (We have another error, but I will create another bug for that)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Download PostgreSQL CVS Tip (or any stable version)
2. ./configure ; cd doc/src
3. make man.tar.gz D2MDIR=/usr/share/sgml/docbook/utils-0.6.14/helpers/
Build the man pages cleanly
Ok, here is a good version:
It is a 6-year old software. Please let's use this version in Fedora.
Docbook2X is slightly different project, but you are right that the output of this "new" version of docbook2man-spec.pl is better and it recognizes more sdata. I did an update in Rawhide to use the new docbook2man-spec.pl (as both projects are actually (almost) dead without updates for years). In F-9 I will do just an update of sdata to prevent possible regressions in already released fedora. Built as docbook-utils-0.6.14-14.fc9 and docbook-utils-0.6.14-14.fc10.
docbook-utils-0.6.14-14.fc9 has been submitted as an update for Fedora 9.
docbook-utils-0.6.14-14.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.