Re: make pdfdocs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Good afternoon, yes <'maxlistdepth': '10',> solves the problem.


When building, the following error occurs:
latexmk -xelatex  'translations.tex'
The log file is attached.

Is required to compile the documentation since sphinx 5 or higher, I think that 
Documentation/sphinx/requirements.txt
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/sphinx/requirements.txt?h=v6.8-rc5
does not make sense, since Sphinx 2.4.4 will not work without errors
 
Понедельник, 19 февраля 2024, 19:10 +03:00 от Jonathan Corbet <corbet@xxxxxxx>:
 
Иван Иванович <relect@xxxxx> writes:
 
> Good afternoon, the build of the kernel documentation "make pdfdocs"
> does not work.
>
> I read that there is a bug in the Sphinx version less than 7.2.x, so I
> updated my Fedora to version 40 where the Sphinx bug was fixed. Some
> documents are being built, but an error appears on the build of the
> filesystems file — make_pdfdocs.log

It looks like you've run into the problem we were discussing at:

  https://lore.kernel.org/linux-doc/8734tqsrt7.fsf@xxxxxxxxxxxx/

I've just posted a patch that addresses it:

  https://lore.kernel.org/linux-doc/87jzn0qw19.fsf@xxxxxxxxxxxx/T/#u

Can you give it a try and see if it makes things work better for you?

Thanks,

jon
 
 
--
Геннадий Романов
Отправлено из Почты Mail.ru
 
latexmk -xelatex  'translations.tex'
Rc files read:
  /etc/latexmkrc
  latexmkrc
Latexmk: This is Latexmk, John Collins, 31 Jan. 2024. Version 4.83.
No existing .aux file, so I'll make a simple one, and require run of *latex.
Latexmk: applying rule 'xelatex'...
Rule 'xelatex':  Reasons for rerun
Category 'other':
  Rerun of 'xelatex' forced or previously required:
    Reason or flag: 'Initial setup'

------------
Run number 1 of rule 'xelatex'
------------
------------
Running 'xelatex --no-pdf -interaction=batchmode -no-shell-escape -no-pdf -recorder  "translations.tex"'
------------
This is XeTeX, Version 3.141592653-2.6-0.999995 (TeX Live 2023) (preloaded format=xelatex)
entering extended mode
Latexmk: Getting log file 'translations.log'
Latexmk: Examining 'translations.fls'
Latexmk: Examining 'translations.log'
Latexmk: Index file 'translations.idx' was written
Latexmk: References changed.
Latexmk: Missing input file 'translations.toc' (or dependence on it) from following:
  No file translations.toc.
Latexmk: Missing input file 'translations.ind' (or dependence on it) from following:
  No file translations.ind.
Latexmk: References changed.
Latexmk: References changed.
Latexmk: Log file says output to 'translations.xdv'
Latexmk: applying rule 'makeindex translations.idx'...
Rule 'makeindex translations.idx':  Reasons for rerun
Category 'other':
  Rerun of 'makeindex translations.idx' forced or previously required:
    Reason or flag: 'Initial set up of rule'

------------
Run number 1 of rule 'makeindex translations.idx'
------------
------------
Running 'makeindex -s python.ist  -o "translations.ind" "translations.idx"'
------------
This is makeindex, version 2.17 [TeX Live 2023] (kpathsea + Thai support).
Scanning style file ./python.ist.......done (7 attributes redefined, 0 ignored).
Scanning input file translations.idx....done (38 entries accepted, 0 rejected).
Sorting entries....done (208 comparisons).
Generating output file translations.ind....done (47 lines written, 0 warnings).
Output written in translations.ind.
Transcript written in translations.ilg.
Latexmk: applying rule 'xelatex'...
Rule 'xelatex':  Reasons for rerun
Changed files or newly in use/created:
  translations.aux
  translations.ind
  translations.out
  translations.toc

------------
Run number 2 of rule 'xelatex'
------------
------------
Running 'xelatex --no-pdf -interaction=batchmode -no-shell-escape -no-pdf -recorder  "translations.tex"'
------------
This is XeTeX, Version 3.141592653-2.6-0.999995 (TeX Live 2023) (preloaded format=xelatex)
entering extended mode
Latexmk: Getting log file 'translations.log'
Latexmk: Examining 'translations.fls'
Latexmk: Examining 'translations.log'
Latexmk: Index file 'translations.idx' was written
Latexmk: References changed.
Latexmk: Log file says output to 'translations.xdv'
Latexmk: applying rule 'xelatex'...
Rule 'xelatex':  Reasons for rerun
Changed files or newly in use/created:
  translations.aux
  translations.out
  translations.toc

------------
Run number 3 of rule 'xelatex'
------------
------------
Running 'xelatex --no-pdf -interaction=batchmode -no-shell-escape -no-pdf -recorder  "translations.tex"'
------------
This is XeTeX, Version 3.141592653-2.6-0.999995 (TeX Live 2023) (preloaded format=xelatex)
entering extended mode
Latexmk: Getting log file 'translations.log'
Latexmk: Examining 'translations.fls'
Latexmk: Examining 'translations.log'
Latexmk: Index file 'translations.idx' was written
Latexmk: Log file says output to 'translations.xdv'
Latexmk: applying rule 'xdvipdfmx'...
Rule 'xdvipdfmx':  Reasons for rerun
Changed files or newly in use/created:
  translations.xdv
Category 'changed_source_rules':
  xelatex
Category 'no_dest':
  xdvipdfmx

------------
Run number 1 of rule 'xdvipdfmx'
------------
------------
Running 'xdvipdfmx -E -o "translations.pdf"  "translations.xdv"'
------------
translations.xdv -> translations.pdf
[1][2][3
xdvipdfmx:fatal: Invalid TTC index number

No output PDF file written.
Latexmk: Summary of warnings from last run of *latex:
  Latex found 1 multiply defined reference(s)
Latexmk: ====Undefined refs and citations with line #s in .tex file:
  Label `translations/sp_SP/process/submitting-patches::doc' multiply defined
Latexmk: Errors, so I did not complete making targets
Collected error summary (may duplicate other messages):
  xdvipdfmx: Command for 'xdvipdfmx' gave return code 256

Latexmk: Sometimes, the -f option can be used to get latexmk
  to try to force complete processing.
  But normally, you will need to correct the file(s) that caused the
  error, and then rerun latexmk.
  In some cases, it is best to clean out generated files before rerunning
  latexmk after you've corrected the files.
make[3]: *** [Makefile:29: translations.pdf] Error 12
make[2]: *** [Documentation/Makefile:140: pdfdocs] Error 2
make[1]: *** [/home/gena/Documents/1_linux/distr_linux/linux-6.7.5/Makefile:1695: pdfdocs] Error 2
make: *** [Makefile:234: __sub-make] Error 2


[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux