Skip to content

PDF build failure #6

Open
Open

Description

@JulienPalard

Just spotted this on docs.python.org:

ERROR:2023-01-17 14:45:06,450:Run: "make -C /srv/docsbuild/cpython/Doc PYTHON=/srv/docsbuild/venv-3.12/bin/python SPHINXBUILD=/srv/docsbuild/venv-3.12/bin/sphinx-build BLURB=/srv/docsbuild/venv-3.12/bin/blurb VENVDIR=/srv/docsbuild/venv-3.12 'SPHINXOPTS=-D latex_engine=xelatex -D latex_elements.inputenc= -D latex_elements.fontenc= -q -D locale_dirs=/srv/docsbuild/3.12/locale -D language=uk -D gettext_compact=0' SPHINXE
RRORHANDLING= autobuild-dev" KO:
    l.9983 \chapter{Глосарій}
                         
    Output written on reference.pdf (148 pages).
    Transcript written on reference.log.
    Latexmk: Index file 'reference.idx' was written
    Latexmk: References changed.
    Collected error summary (may duplicate other messages):
      pdflatex: Command for 'pdflatex' gave return code 1
          Refer to 'reference.log' for details
    Latexmk: Use the -f option to force complete processing,
     unless error was exceeding maximum runs, or warnings treated as errors.
    === TeX engine is 'XeTeX'
    Latexmk: Errors, so I did not complete making targets
    make[2]: *** [Makefile:30: reference.pdf] Error 12
    make[2]: Leaving directory '/srv/docsbuild/cpython/Doc/build/latex'
    make[1]: *** [Makefile:185: dist] Error 2
    make[1]: Leaving directory '/srv/docsbuild/cpython/Doc'
    make: *** [Makefile:237: autobuild-dev] Error 2
    make: Leaving directory '/srv/docsbuild/cpython/Doc'

Activity

  1. JulienPalard commented on Jan 17, 2023

    @JulienPalard
    MemberAuthor

    I'm trying a build on my laptop using docsbuild-scripts:

    $ python3 ./build_docs.py --build-root ./build_root --www-root ./www --log-directory ./logs --group $(id -g) --skip-cache-invalidation --language uk --branch 3.11
    
  2. JulienPalard commented on Jan 18, 2023

    @JulienPalard
    MemberAuthor

    Can't reproduce :D

  3. JulienPalard commented on Jan 19, 2023

    @JulienPalard
    MemberAuthor

    Ohh, but it happens on docs.python.org since a long time, at least 15 days according to the logs (i don't have more than 15 days of logs):

    INFO:2023-01-05 03:28:48,381:Build start for version: 3.10, language: uk
    INFO:2023-01-05 03:28:48,381:Running make autobuild-stable
    DEBUG:2023-01-05 03:28:48,381:Run: "sed -i 's/ *-A switchers=1//' /srv/docsbuild/cpython/Doc/Makefile"
    DEBUG:2023-01-05 03:28:48,383:Run: "sed -i 's/ *-A switchers=1//' /srv/docsbuild/cpython/Doc/Makefile" OK
    DEBUG:2023-01-05 03:28:48,386:Run: "make -C /srv/docsbuild/cpython/Doc PYTHON=/srv/docsbuild/venv-3.10/bin/python SPHINXBUILD=/srv/docsbuild/venv-3.10/bin/sphinx-build BLURB=/srv/docsbuild/venv-3.10/bin/blurb VENVDIR=/srv/docsbuild/venv-3.10 'SPHINXOPTS=-D latex_engine=xelatex -D latex_elements.inputenc= -D latex_elements.fontenc= -q -D locale_dirs=/srv/docsbuild/3.10/locale -D language=uk -D gettext_compact=0' SPHINXERRORHANDLING= autobuild-stable"
    ERROR:2023-01-05 03:35:54,989:Run: "make -C /srv/docsbuild/cpython/Doc PYTHON=/srv/docsbuild/venv-3.10/bin/python SPHINXBUILD=/srv/docsbuild/venv-3.10/bin/sphinx-build BLURB=/srv/docsbuild/venv-3.10/bin/blurb VENVDIR=/srv/docsbuild/venv-3.10 'SPHINXOPTS=-D latex_engine=xelatex -D latex_elements.inputenc= -D latex_elements.fontenc= -q -D locale_dirs=/srv/docsbuild/3.10/locale -D language=uk -D gettext_compact=0' SPHINXERRORHANDLING= autobuild-stable" KO:
        Output written on faq.pdf (86 pages).
        Transcript written on faq.log.
        Latexmk: Index file 'faq.idx' was written
        Latexmk: References changed.
        Collected error summary (may duplicate other messages):
          pdflatex: Command for 'pdflatex' gave return code 1
              Refer to 'faq.log' for details
        Latexmk: Use the -f option to force complete processing,
         unless error was exceeding maximum runs, or warnings treated as errors.
        === TeX engine is 'XeTeX'
        Latexmk: Errors, so I did not complete making targets
        make[3]: *** [Makefile:30: faq.pdf] Error 12
        make[3]: Leaving directory '/srv/docsbuild/cpython/Doc/build/latex'
        make[2]: *** [Makefile:180: dist] Error 2
        make[2]: Leaving directory '/srv/docsbuild/cpython/Doc'
        make[1]: *** [Makefile:227: autobuild-dev] Error 2
        make[1]: Leaving directory '/srv/docsbuild/cpython/Doc'
        make: *** [Makefile:237: autobuild-stable] Error 2
        make: Leaving directory '/srv/docsbuild/cpython/Doc'
    

    It was a bit hidden in sentry by the the ja builds having the same issue :D

  4. JulienPalard commented on Jan 19, 2023

    @JulienPalard
    MemberAuthor

    This is what I see in reference.log:

    ! Undefined control sequence.
    \thechapter ->\@Alph 
                         \c@chapter 
    l.9923 \chapter{Глосарій}
                             
    ? 
    ! Emergency stop.
    \thechapter ->\@Alph 
                         \c@chapter 
    l.9923 \chapter{Глосарій}
                             
    End of file on the terminal!
    
  5. JulienPalard commented on Mar 27, 2023

    @JulienPalard
    MemberAuthor

    I'm looking at it again today, still can't reproduce on my laptop, but can reproduce it on docs.python.org, exact same message.

  6. added a commit that references this issue on Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions