Re: A bug when I do "make pdfdocs"

84 views
Skip to first unread message

李则良

unread,
May 21, 2009, 12:52:16 AM5/21/09
to Linux小组, Linux Kernel 中文社区
2009/5/20 Randy Dunlap <rdu...@xenotime.net>:
> On Mon, 18 May 2009 15:42:57 +0800 李则良 wrote:
>
>> Hi,I meet a problem,when do "make pdfdocs" like this:
>>
>> lzel@lzel-laptop:~/kernel/linux-2.6$ git describe
>> v2.6.30-rc6-43-g22ef37e
>> lzel@lzel-laptop:~/kernel/linux-2.6$ uname -a
>> Linux lzel-laptop 2.6.27-11-generic #1 SMP Wed Apr 1 20:57:48 UTC 2009
>> i686 GNU/Linux
>> lzel@lzel-laptop:~/kernel/linux-2.6$ docbook2pdf --version
>> DocBook-utils version 0.6.14 (jw version 1.1)
>> lzel@lzel-laptop:~/kernel/linux-2.6$ make pdfdocs 2> ../pdf_2.6.30-rc6.bug
>> Package Fancyhdr Warning: \fancyfoot's `E' option without twoside option is use
>> less on input line 329189.
>>
>>
>> Package Fancyhdr Warning: \fancyhead's `E' option without twoside option is use
>> less on input line 329189.
>>
>>
>> Package Fancyhdr Warning: \fancyfoot's `E' option without twoside option is use
>> less on input line 329528.
>>
>> [614.0.5] [615.0.5] [616.0.5] [617.0.5] [618.0.5] [619.0.5] [620.0.5] [621.0.5]
>> [622.0.5] [623.0.5] [624.0.5] [625.0.5] [626.0.5]
>> ! TeX capacity exceeded, sorry [hash size=60000].
>> \PageLabel ...ndafter \ifx \csname p@#1\endcsname
>> \relax \else \protected@wr...
>> l.335316 {}
>> (struct i2c\char95{}adapter * \Node%
>> ! ==> Fatal error occurred, no output PDF file produced!
>> Transcript written on device-drivers.log.
>> lzel@lzel-laptop:~/kernel/linux-2.6$ cat ../pdf_2.6.30-rc6.bug
>> jade:/usr/share/sgml/declaration/xml.dcl:31:27:W: characters in the
>> document character set with numbers exceeding 65535 not supported
>> jade:/usr/share/sgml/declaration/xml.dcl:31:27:W: characters in the
>> document character set with numbers exceeding 65535 not supported
>> Warning(/home/lzel/kernel/linux-2.6//arch/x86/include/asm/unaligned.h):
>> no structured comments found
>> jade:/usr/share/sgml/declaration/xml.dcl:31:27:W: characters in the
>> document character set with numbers exceeding 65535 not supported
>> make[1]: *** [Documentation/DocBook/device-drivers.pdf] Error 9
>> make: *** [pdfdocs] Error 2
>> lzel@lzel-laptop:~/kernel/linux-2.6$
>>
>> but, I have no idea how to do it,because I have never learn the docbook.
>> This is my first time to report bug.So,if I made some wrong,please tell me.
>> Thank you.
>
> Sorry, I'm not a docbook expert. I use "make htmldocs" and I make
> that work when it breaks. I also have problems (error) when using
> "make pdfdocs" and "make psdocs" and I don't know how to fix them.
> As far as I know, these are problems with the tools themselves
> and I don't work on those. But any help that you can provide would
> be wonderful.
>
> Thanks,
> ---
> ~Randy
> LPC 2009, Sept. 23-25, Portland, Oregon
> http://linuxplumbersconf.org/2009/
>
看来这个bug还真的不是很好补啊,不知大家有什么比较好的意见?

Wang Tinggong

unread,
May 21, 2009, 5:08:02 AM5/21/09
to 李则良, Linux小组, Linux Kernel 中文社区
on Thu, 21 May 2009 12:52:16PM +0800 李则良 (lizelia...@gmail.com) wrote:
>
> 2009/5/20 Randy Dunlap <rdu...@xenotime.net>:
> > On Mon, 18 May 2009 15:42:57 +0800 李则良 wrote:
> >
> >> Hi,I meet a problem,when do "make pdfdocs" like this:
> >>
> >> lzel@lzel-laptop:~/kernel/linux-2.6$ git describe
> >> v2.6.30-rc6-43-g22ef37e
> >> lzel@lzel-laptop:~/kernel/linux-2.6$ uname -a
> >> Linux lzel-laptop 2.6.27-11-generic #1 SMP Wed Apr 1 20:57:48 UTC 2009
> >> i686 GNU/Linux
> >> lzel@lzel-laptop:~/kernel/linux-2.6$ docbook2pdf --version
> >> DocBook-utils version 0.6.14 (jw version 1.1)
> >> lzel@lzel-laptop:~/kernel/linux-2.6$ make pdfdocs 2> ../pdf_2.6.30-rc6.bug
> >> Package Fancyhdr Warning: \fancyfoot's `E' option without twoside option is use
> >> less on input line 329189.
> >>
> >>
> >> Package Fancyhdr Warning: \fancyhead's `E' option without twoside option is use
> >> less on input line 329189.
> >>
> >>
> >> Package Fancyhdr Warning: \fancyfoot's `E' option without twoside option is use
> >> less on input line 329528.
> >>
> >> [614.0.5] [615.0.5] [616.0.5] [617.0.5] [618.0.5] [619.0.5] [620.0.5] [621.0.5]
> >> [622.0.5] [623.0.5] [624.0.5] [625.0.5] [626.0.5]
> >> ! TeX capacity exceeded, sorry [hash size=60000].
"! " indicates error details caused by Tex program, and "hash size" expresses
variable "hash_extra" in /etc/share/texmf/web2c/texmf.cnf
u may set hash_extra value exceeds the value reported, than u will find another
failure msg :(

"make pdfdocs" depends on xmlto (Tim Waugh <twa...@redhat.com>),
and xmlto depends on Tex (who is the maintainer now?)

hope this helps

Reply all
Reply to author
Forward
0 new messages