Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 111041 - Unable to produce PDF files from XML docbook files
Summary: Unable to produce PDF files from XML docbook files
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
: 281672 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-10-31 10:38 UTC by Nicholas DePetrillo
Modified: 2009-09-01 05:07 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicholas DePetrillo 2005-10-31 10:38:42 UTC
No valid XML DocBook files will parse correctly using any of the Gentoo DocBook
packages. For example, run "make pdfdocs" in /usr/src/linux and it will fail.
This is something that should work but it fails due to a Gentoo Package specific
problem. Taking any of these XML files and trying to parse them using xmlto or
docbook2 will also fail.

Reproducible: Always
Steps to Reproduce:
1.take file such as:
/usr/src/linux-2.6.13-gentoo-r3/Documentation/DocBook/mcabook.tmpl
2. run "xmlto pdf file" or "docbook2pdf file" on it and it will fail.

Actual Results:  
xml2 pdf file:
Making portrait pages on A4 paper (210mmx297mm)
This is pdfTeX, Version 3.14159-1.10b (Web2C 7.4.5)
(./tmp.fo{/usr/share/texmf/pdftex/config/pdftex.cfg}
xmltex version: 2002/06/25 v1.9 (Exp):
(/usr/share/texmf/tex/xmltex/xmltex.cfg)
! I can't find file `tmp.cfg'.
\@filef@und ->\jobname .cfg 
                            
...
l.1 
    <?xml version="1.0"?>
Please type another input file name: 
! Emergency stop.
\@filef@und ->\jobname .cfg 
                            
...
l.1 
    <?xml version="1.0"?>
No pages of output.
Transcript written on tmp.log.


docbook2pdf file:
Using catalogs: /usr/share/sgml/docbook/xml-simple-dtd-1.0/catalog,
/usr/share/sgml/docbook/sgml-dtd-3.0/catalog,
/usr/share/sgml/docbook/sgml-dtd-3.1/catalog,
/usr/share/sgml/docbook/sgml-dtd-4.0/catalog,
/usr/share/sgml/docbook/sgml-dtd-4.1/catalog,
/usr/share/sgml/docbook/sgml-dtd-4.3/catalog,
/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/catalog,
/usr/share/sgml/docbook/dsssl-stylesheets-1.79/catalog,
/usr/share/sgml/xml-iso-entities-8879.1986/catalog,
/usr/share/sgml/sgml-iso-entities-8879.1986/catalog,
/usr/share/sgml/openjade-1.3.2/dsssl/catalog,
/usr/share/sgml/openjade-1.3.2/catalog, /usr/share/sgml/opensp-1.5/OpenSP/catalog
Using stylesheet: /usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl#print
Working on: /home/nicholas/docbook/new
jade:/home/nicholas/docbook/new:3:68:E: URL not supported by this version
jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/print/docbook.dsl:53:136:Q:
number of ID references in start-tag must not exceed GRPCNT (32)
jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/print/docbook.dsl:52:0:Q:
number of ID references in start-tag must not exceed GRPCNT (32)
jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/print/../common/../common/dbl1bg.ent:168:282:Q:
length of interpreted parameter literal must not exceed LITLEN (240)
jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/print/../common/../common/dbl1bg.ent:169:282:Q:
length of interpreted parameter literal must not exceed LITLEN (240)
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:6:19:E:
"X00E1" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:7:19:E:
"X00C1" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:8:18:E:
"X00E2" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:9:18:E:
"X00C2" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:10:19:E:
"X00E0" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:11:19:E:
"X00C0" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:12:18:E:
"X00E5" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:13:18:E:
"X00C5" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:14:19:E:
"X00E3" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:15:19:E:
"X00C3" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:16:17:E:
"X00E4" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:17:17:E:
"X00C4" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:18:18:E:
"X00E6" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:19:18:E:
"X00C6" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:20:19:E:
"X00E7" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:21:19:E:
"X00C7" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:22:16:E:
"X00F0" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:23:16:E:
"X00D0" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:24:19:E:
"X00E9" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:25:19:E:
"X00C9" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:26:18:E:
"X00EA" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:27:18:E:
"X00CA" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:28:19:E:
"X00E8" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:29:19:E:
"X00C8" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:30:17:E:
"X00EB" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:31:17:E:
"X00CB" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:32:19:E:
"X00ED" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:33:19:E:
"X00CD" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:34:18:E:
"X00EE" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:35:18:E:
"X00CE" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:36:19:E:
"X00EC" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:37:19:E:
"X00CC" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:38:17:E:
"X00EF" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:39:17:E:
"X00CF" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:40:19:E:
"X00F1" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:41:19:E:
"X00D1" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:42:19:E:
"X00F3" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:43:19:E:
"X00D3" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:44:18:E:
"X00F4" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:45:18:E:
"X00D4" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:46:19:E:
"X00F2" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:47:19:E:
"X00D2" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:48:19:E:
"X00F8" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:49:19:E:
"X00D8" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:50:19:E:
"X00F5" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:51:19:E:
"X00D5" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:52:17:E:
"X00F6" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:53:17:E:
"X00D6" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:54:18:E:
"X00DF" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:55:18:E:
"X00FE" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:56:18:E:
"X00DE" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:57:19:E:
"X00FA" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:58:19:E:
"X00DA" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:59:18:E:
"X00FB" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:60:18:E:
"X00DB" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:61:19:E:
"X00F9" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:62:19:E:
"X00D9" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:63:17:E:
"X00FC" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:64:17:E:
"X00DC" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:65:19:E:
"X00FD" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:66:19:E:
"X00DD" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:67:17:E:
"X00FF" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:6:19:E:
"X00E1" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:7:19:E:
"X00C1" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:8:18:E:
"X00E2" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:9:18:E:
"X00C2" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:10:19:E:
"X00E0" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:11:19:E:
"X00C0" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:12:18:E:
"X00E5" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:13:18:E:
"X00C5" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:14:19:E:
"X00E3" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:15:19:E:
"X00C3" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:16:17:E:
"X00E4" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:17:17:E:
"X00C4" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:18:18:E:
"X00E6" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:19:18:E:
"X00C6" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:20:19:E:
"X00E7" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:21:19:E:
"X00C7" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:22:16:E:
"X00F0" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:23:16:E:
"X00D0" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:24:19:E:
"X00E9" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:25:19:E:
"X00C9" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:26:18:E:
"X00EA" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:27:18:E:
"X00CA" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:28:19:E:
"X00E8" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:29:19:E:
"X00C8" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:30:17:E:
"X00EB" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:31:17:E:
"X00CB" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:32:19:E:
"X00ED" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:33:19:E:
"X00CD" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:34:18:E:
"X00EE" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:35:18:E:
"X00CE" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:36:19:E:
"X00EC" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:37:19:E:
"X00CC" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:38:17:E:
"X00EF" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:39:17:E:
"X00CF" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:40:19:E:
"X00F1" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:41:19:E:
"X00D1" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:42:19:E:
"X00F3" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:43:19:E:
"X00D3" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:44:18:E:
"X00F4" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:45:18:E:
"X00D4" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:46:19:E:
"X00F2" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:47:19:E:
"X00D2" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:48:19:E:
"X00F8" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:49:19:E:
"X00D8" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:50:19:E:
"X00F5" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:51:19:E:
"X00D5" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:52:17:E:
"X00F6" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:53:17:E:
"X00D6" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:54:18:E:
"X00DF" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:55:18:E:
"X00FE" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:56:18:E:
"X00DE" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:57:19:E:
"X00FA" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:58:19:E:
"X00DA" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:59:18:E:
"X00FB" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:60:18:E:
"X00DB" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:61:19:E:
"X00F9" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:62:19:E:
"X00D9" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:63:17:E:
"X00FC" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:64:17:E:
"X00DC" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:65:19:E:
"X00FD" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:66:19:E:
"X00DD" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:67:17:E:
"X00FF" is not a function name
jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/print/../common/../common/dbl1ru.ent:188:290:Q:
length of interpreted parameter literal must not exceed LITLEN (240)
jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/print/../common/../common/dbl1ru.ent:189:290:Q:
length of interpreted parameter literal must not exceed LITLEN (240)


Expected Results:  
The following commands should have parsed the valid xml DocBook file correctly.
A PDF file should have been the output.

I am no Gentoo DocBook expert, but I do know that something must be wrong when
the Kernel's own docbook files will not work properly with make pdfdocs in
/usr/src/linux. From doing research in the forums it seems DocBook support has
been broken for sometime.
Comment 1 Leonardo Boshell (RETIRED) gentoo-dev 2005-10-31 13:01:46 UTC
Please be specific when writing descriptions for bug reports.

Now, regarding the problem you mention, unfortunately producing PDF files from
XML DocBook files is still very buggy (and not a Gentoo-specific problem) since
there are not good toolchains to make FO->PDF conversions yet. 'xmlto' uses
passivetex as a backend and it usually behaves incorrectly.

Anyway, please note that there are some problems with the way you want to test
docbook documents:

* A file like /usr/src/linux/Documentation/DocBook/mcabook.tmpl is not a valid
DocBook document. From the filename I assume it is a kind of template, which
doesn't validate to the DocBook DTD. You probably want to use
/usr/src/linux/Documentation/DocBook/mcabook.xml for your tests.

* docbook2pdf is a front-end to a toolchain for SGML documents. The example file
you use (mcabook.xml) is a XML document, so docbook2pdf wouldn't work for that file.


Right now the closest you can get to convert a XML DocBook file to PDF is doing
something like:

  xmlto fo file.xml
  pdfxmltex file.xml

The second command may ask for user input when it finds errors (bugs in
pdfxmltex), but if you just keep answering with the enter key, it will end up
producing a PDF.

Again, all those are general problems that have to do with the fact that there
are no good FO->PDF conversion programs right now. You may want to check
alternatives like using FOP, or using SGML documents and docbook2pdf.

If you have found actual problems that are specific to Gentoo, then please let
us know, but from your original report, this seems like an invalid bug.
Comment 2 Nicholas DePetrillo 2005-10-31 14:06:21 UTC
The reasoning behind the bug was that I could generate make pdfdocs on Fedora
Core and Ubuntu Distros. However Gentoo's toolchain seemed to not work at all. I
came to the conclusion that somewhere there may be a broken package that results
in these errors.
Comment 3 Leonardo Boshell (RETIRED) gentoo-dev 2005-11-01 03:12:04 UTC
That's good, but what we would need to find is what is exactly different in
those systems to see if we can improve our packages. Do you still have access to
any of those systems? If so, I would appreciate it if you could attach the
complete output from commands like the following:

  cd /usr/src/linux; make pdfdocs
  xmlto pdf /usr/src/linux/Documentation/DocBook/mcabook.xml

And report the exact version numbers you're using on those systems for the
following packages:

  xmlto
  tetex
  passivetex


Thanks.
Comment 4 Ulrich von Zadow 2005-11-10 08:31:00 UTC
Same problem here...

(In reply to comment #3)
>   cd /usr/src/linux; make pdfdocs

  XMLTO   Documentation/DocBook/wanbook.pdf
Making portrait pages on A4 paper (210mmx297mm)
This is pdfTeX, Version 3.14159-1.10b (Web2C 7.4.5)
(./tmp.fo{/usr/share/texmf/pdftex/config/pdftex.cfg}
xmltex version: 2002/06/25 v1.9 (Exp):
(/usr/share/texmf/tex/xmltex/xmltex.cfg)
! I can't find file `tmp.cfg'.
\@filef@und ->\jobname .cfg 
                            
...
l.1 
    <?xml version="1.0"?>
Please type another input file name: 
! Emergency stop.
\@filef@und ->\jobname .cfg 
                            
...
l.1 
    <?xml version="1.0"?>
No pages of output.
Transcript written on tmp.log.
make[1]: *** [Documentation/DocBook/wanbook.pdf] Error 1
make: *** [pdfdocs] Error 2

>   xmlto pdf /usr/src/linux/Documentation/DocBook/mcabook.xml

I don't have that file on my machine

> And report the exact version numbers you're using on those systems for the
> following packages:
> 
>   xmlto
>   tetex
>   passivetex

# emerge -pv xmlto tetex passivetex

These are the packages that I would merge, in order:

Calculating dependencies    ...done!
[ebuild   R   ] app-text/xmlto-0.0.18  0 kB 
[ebuild   R   ] app-text/tetex-2.0.2-r5  +X -doc 0 kB 
[ebuild   R   ] app-text/passivetex-1.25  0 kB 

Total size of downloads: 0 kB

We'd be happy to try stuff out here - just tell us what.
Comment 5 Leonardo Boshell (RETIRED) gentoo-dev 2006-05-09 14:25:32 UTC
Please note that the annotations from comment #3 are directed to people who have successfully created the PDF files on a different OS (debian, ubuntu, or anything else). The information I ask there corresponds to the output from that system, and packages from that system. Thanks.
Comment 6 George Kadianakis (RETIRED) gentoo-dev 2009-09-01 04:58:58 UTC
*** Bug 281672 has been marked as a duplicate of this bug. ***
Comment 7 George Kadianakis (RETIRED) gentoo-dev 2009-09-01 05:07:00 UTC
Hey Cryos,

recently bug #281672 spawned, which seems to be about the exact same problem as this bug. I marked it as a duplicate and I'll CC the reporter of it to this one.

I'm gonna leave it as NEEDINFO and to your judgement, because by reading this report I see that the problem is quite deep (lack of good toolchains) and not something fixable with a simple patch.

Thanks :)