Bug 34119 - Перестала работать сборка документации с новым python-module-sphinx
Summary: Перестала работать сборка документации с новым python-module-sphinx
Status: CLOSED WORKSFORME
Alias: None
Product: Sisyphus
Classification: Development
Component: texlive-latex-recommended (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Grigory Batalov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-02 16:35 MSK by Evgeny Sinelnikov
Modified: 2018-09-07 13:59 MSK (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Evgeny Sinelnikov 2017-11-02 16:35:10 MSK
При сборке krb5 генериуется pdf документация. С недавних пор в сизифе появился новый python-module-sphinx, который используется для генерации сборочного Makefile:

sphinx-build -a -b latexpdf -t pathsubs doc build-pdf

Новый шаблон Makefile использует команду latexmk в результате сборка на нашем texlive падает из-за отсутствия ltxcmds.sty


[builder@localhost build-pdf]$ make
latexmk -pdf -dvi- -ps-  'plugindev.tex'
Latexmk: This is Latexmk, John Collins, 19 Jan. 2017, version: 4.52c.
Latexmk: applying rule 'pdflatex'...
Rule 'pdflatex': File changes, etc:
   Non-existent destination files:
      'plugindev.pdf'
------------
Run number 1 of rule 'pdflatex'
------------
------------
Running 'pdflatex   -recorder  "plugindev.tex"'
------------
This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7)
 %&-line parsing enabled.
entering extended mode
(./plugindev.tex
LaTeX2e <2005/12/01>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, farsi, arabic, bulgarian, ukrainian, russian, french, basque, germa
n, ngerman, german-x-2008-06-18, ngerman-x-2008-06-18, polish, loaded.
(./sphinxmanual.cls
Document Class: sphinxmanual 2017/03/26 v1.6 Document class (Sphinx manual)
(/usr/share/texmf-texlive/tex/latex/base/report.cls
Document Class: report 2005/09/16 v1.4f Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/size10.clo)))
(/usr/share/texmf-texlive/tex/latex/base/inputenc.sty
(/usr/share/texmf-texlive/tex/latex/base/utf8.def
(/usr/share/texmf-texlive/tex/latex/base/t1enc.dfu)
(/usr/share/texmf-texlive/tex/latex/base/ot1enc.dfu)
(/usr/share/texmf-texlive/tex/latex/base/omsenc.dfu)))
(/usr/share/texmf-texlive/tex/latex/cmap/cmap.sty)
(/usr/share/texmf-texlive/tex/latex/base/fontenc.sty
(/usr/share/texmf-texlive/tex/latex/base/t1enc.def)<<t1.cmap>>)
(/usr/share/texmf-texlive/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/share/texmf-texlive/tex/latex/amsmath/amstext.sty
(/usr/share/texmf-texlive/tex/latex/amsmath/amsgen.sty))
(/usr/share/texmf-texlive/tex/latex/amsmath/amsbsy.sty)
(/usr/share/texmf-texlive/tex/latex/amsmath/amsopn.sty))
(/usr/share/texmf-texlive/tex/latex/amsfonts/amssymb.sty
(/usr/share/texmf-texlive/tex/latex/amsfonts/amsfonts.sty))
(/usr/share/texmf-texlive/tex/generic/babel/babel.sty
(/usr/share/texmf-texlive/tex/generic/babel/english.ldf
(/usr/share/texmf-texlive/tex/generic/babel/babel.def)))
(/usr/share/texmf-texlive/tex/latex/psnfss/times.sty)
(/usr/share/texmf-texlive/tex/latex/fncychap/fncychap.sty) (./sphinx.sty

! LaTeX Error: File `ltxcmds.sty' not found.
Comment 1 Evgeny Sinelnikov 2017-11-02 17:33:01 MSK
Подложил файл, генерируемый старым sphinx - ситуация аналогичная.

+ cp -f /usr/src/RPM/SOURCES/Makefile.build-pdf build-pdf/Makefile
+ for pdf in admin appdev basic build plugindev user
+ test -s build-pdf/admin.pdf
+ make -C build-pdf
make: Entering directory `/usr/src/RPM/BUILD/krb5-1.15.2/build-pdf'
pdflatex  'plugindev.tex'
This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7)
 %&-line parsing enabled.
entering extended mode
(./plugindev.tex
LaTeX2e <2005/12/01>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, farsi, arabic, bulgarian, ukrainian, russian, french, basque, germa
n, ngerman, german-x-2008-06-18, ngerman-x-2008-06-18, polish, loaded.
(./sphinxmanual.cls
Document Class: sphinxmanual 2017/03/26 v1.6 Document class (Sphinx manual)
(/usr/share/texmf-texlive/tex/latex/base/report.cls
Document Class: report 2005/09/16 v1.4f Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/size10.clo)))
(/usr/share/texmf-texlive/tex/latex/base/inputenc.sty
(/usr/share/texmf-texlive/tex/latex/base/utf8.def
(/usr/share/texmf-texlive/tex/latex/base/t1enc.dfu)
(/usr/share/texmf-texlive/tex/latex/base/ot1enc.dfu)
(/usr/share/texmf-texlive/tex/latex/base/omsenc.dfu)))
(/usr/share/texmf-texlive/tex/latex/cmap/cmap.sty)
(/usr/share/texmf-texlive/tex/latex/base/fontenc.sty
(/usr/share/texmf-texlive/tex/latex/base/t1enc.def)<<t1.cmap>>)
(/usr/share/texmf-texlive/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/share/texmf-texlive/tex/latex/amsmath/amstext.sty
(/usr/share/texmf-texlive/tex/latex/amsmath/amsgen.sty))
(/usr/share/texmf-texlive/tex/latex/amsmath/amsbsy.sty)
(/usr/share/texmf-texlive/tex/latex/amsmath/amsopn.sty))
(/usr/share/texmf-texlive/tex/latex/amsfonts/amssymb.sty
(/usr/share/texmf-texlive/tex/latex/amsfonts/amsfonts.sty))
(/usr/share/texmf-texlive/tex/generic/babel/babel.sty
(/usr/share/texmf-texlive/tex/generic/babel/english.ldf
(/usr/share/texmf-texlive/tex/generic/babel/babel.def)))
(/usr/share/texmf-texlive/tex/latex/psnfss/times.sty)
(/usr/share/texmf-texlive/tex/latex/fncychap/fncychap.sty) (./sphinx.sty

! LaTeX Error: File `ltxcmds.sty' not found.
Comment 2 Evgeny Sinelnikov 2017-11-03 01:54:50 MSK
Нашёл вот такой рабочий обходной путь:

[builder@localhost build-pdf]$ ls texmf/tex/latex/ltxcmds.sty 
texmf/tex/latex/ltxcmds.sty
[builder@localhost build-pdf]$ export TEXMFHOME=$PWD/texmf/

После этого сборка срабатывает. В общем, не хватает одного файла. Нужно определиться в каком пакете он должен быть.
Comment 3 Evgenii Terechkov 2017-11-08 13:08:11 MSK
Тоже столкнулся на сборке percona-xtrabackup.
Comment 4 viy 2018-05-13 19:17:00 MSK
актуален ли баг с новым texlive 2017?
Comment 5 Evgenii Terechkov 2018-09-07 13:59:02 MSK
Вроде бы более не актуально (собираю percona-xtrabackup, pdf собрался).