Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 281672 - sys-kernel/gentoo-sources-2.6.30-r4 cannot "make pdfdocs" due to db2pdf from app-text/docbook-sgml-utils-0.6.14 installed as docbook2pdf
Summary: sys-kernel/gentoo-sources-2.6.30-r4 cannot "make pdfdocs" due to db2pdf from ...
Status: RESOLVED DUPLICATE of bug 111041
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-16 13:03 UTC by Henry Gebhardt
Modified: 2009-09-01 04:58 UTC (History)
0 users

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


Attachments
Use docbook2pdf instead of db2pdf. (docbook2x_not_db2x.patch,690 bytes, patch)
2009-08-16 13:06 UTC, Henry Gebhardt
Details | Diff
Needed to compile device-drivers.pdf. (jadetex.cfg.patch,216 bytes, patch)
2009-08-16 13:07 UTC, Henry Gebhardt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Henry Gebhardt 2009-08-16 13:03:00 UTC
Issuing "make pdfdocs" in the kernel source tree fails with gentoo-sources as well as the latest git sources from kernel.org.

The documentation can be built with either 'db2pdf' or 'xmlto'. Hence, the following:

1.) xmlto: I have had no success with this. It is installed by app-text/xmlto-0.0.22.

2a.) db2pdf is not installed by app-text/docbook-sgml-utils-0.6.14[+jadetext], but instead there is '/usr/bin/docbook2pdf'. The fix is easy, patch forthcoming, but see (2b).

2b.) docbook2pdf fails compiling pdf for device-drivers.xml, but see patch forthcoming.

Reproducible: Always

Steps to Reproduce:
1. cd /usr/src/linux
2. make pdfdocs

Actual Results:  
No pdfs are produced. 'db2pdf' is not found, 'xmlto' is used instead, but aborts with an error (separate bug report? more info? don't really want to follow this path...).

Expected Results:  
Produce beautiful pdfs...
Comment 1 Henry Gebhardt 2009-08-16 13:06:22 UTC
Created attachment 201409 [details, diff]
Use docbook2pdf instead of db2pdf.

This also fixes the "psdocs" target.
Comment 2 Henry Gebhardt 2009-08-16 13:07:25 UTC
Created attachment 201410 [details, diff]
Needed to compile device-drivers.pdf.

I don't actually know what it does... :-(
Comment 3 Henry Gebhardt 2009-08-16 13:09:50 UTC
Forgot to mention that the last patch solves the following issue:

[... many, many warnings ...]
! TeX capacity exceeded, sorry [number of strings=37891].
\IfFileExists #1#2#3->\openin \@inputcheck #1
                                              \ifeof \@inputcheck \ifx \inpu...
l.178868 {}
           \Seq%
!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on device-drivers.log.
Comment 4 Brayan Arraes (YacK) 2009-08-23 00:15:59 UTC
then bug was fixed ?
can we mark as fixed?
Comment 5 Henry Gebhardt 2009-08-25 20:28:10 UTC
(In reply to comment #4)
> then bug was fixed ?
> can we mark as fixed?
> 

It hasn't exactly been fixed yet. Should I file
this upstream?
I suppose you could close this bug as it isn't
exactly mission-critical... :-)
Comment 6 George Kadianakis (RETIRED) gentoo-dev 2009-09-01 04:58:58 UTC
I'll have to mark this as a duplicate of bug #111041.
Basically, the kernel is not to blame for the issue and the problem, most probably, lies on the tools being used for the PDF creation.

Now, bug #111041 is an ancient bug that NEEDSINFO and is assigned to the Gentoo Text-Markup Team.
I'll give it a gentle poke to wake up and I'll let a more suitable team take over.
I'll take the initiative and add you to the CC list of bug #111041!

Thanks for the bug report, Henry :)

*** This bug has been marked as a duplicate of bug 111041 ***