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[1]: 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[1]: *** [man] Error 9 make[1]: 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): 0.6.14-13.fc9 How reproducible: Always 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/ Actual results: See above. Expected results: Build the man pages cleanly Additional info: http://archives.postgresql.org/message-id/20080821130203.GN4169%40alvh.no-ip.org
Ok, here is a good version: http://switch.dl.sourceforge.net/sourceforge/docbook2x/docbook2man-sgmlspl-1.0.tar.gz 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. http://admin.fedoraproject.org/updates/docbook-utils-0.6.14-14.fc9
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.