linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Иван Иванович" <relect@bk.ru>
To: "Jonathan Corbet" <corbet@lwn.net>,
	linux-doc <linux-doc@vger.kernel.org>
Subject: Re: make pdfdocs
Date: Thu, 22 Feb 2024 10:10:03 +0300	[thread overview]
Message-ID: <1708585803.600323099@f111.i.mail.ru> (raw)
In-Reply-To: <87bk8cqvto.fsf@meer.lwn.net>


[-- Attachment #1.1: Type: text/plain, Size: 1440 bytes --]


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@lwn.net>:
> 
>Иван Иванович < relect@bk.ru > 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@meer.lwn.net/
>
>I've just posted a patch that addresses it:
>
>   https://lore.kernel.org/linux-doc/87jzn0qw19.fsf@meer.lwn.net/T/#u
>
>Can you give it a try and see if it makes things work better for you?
>
>Thanks,
>
>jon 
 
 
--
Геннадий Романов
Отправлено из Почты  Mail.ru
 

[-- Attachment #1.2: Type: text/html, Size: 2463 bytes --]

[-- Attachment #2: latexmk_-xelatex_'translations.tex'_error.txt --]
[-- Type: text/plain, Size: 5006 bytes --]

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


  reply	other threads:[~2024-02-22  7:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-16 13:15 make pdfdocs Иван Иванович
2024-02-19 16:10 ` Jonathan Corbet
2024-02-22  7:10   ` Иван Иванович [this message]
2024-02-22  9:07     ` Akira Yokosawa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1708585803.600323099@f111.i.mail.ru \
    --to=relect@bk.ru \
    --cc=corbet@lwn.net \
    --cc=linux-doc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).