-
-
Notifications
You must be signed in to change notification settings - Fork 688
Closed
Labels
Description
Steps To Reproduce
Run incremental make doc-pdf -j10
Expected Behavior
Build succeeds
Actual Behavior
Docbuild fails when the destination pdf file already exists
[sagemath_doc_pdf-none] [spkg-install] LaTeX files can be found in /home/release/Sage/build/sage-distro/src/doc/latex/pt/tutorial.
[sagemath_doc_pdf-none] [spkg-install] Failed moving /home/release/Sage/build/sage-distro/src/doc/latex/pt/tutorial/tutorial-pt.pdf to /home/release/Sage/build/sage-distro/src/doc/pdf/pt/tutorial: Destination path '/home/release/Sage/build/sage-distro/src/doc/pdf/pt/tutorial/tutorial-pt.pdf' already exists
[sagemath_doc_pdf-none] [spkg-install] Error building the documentation.
[sagemath_doc_pdf-none] [spkg-install] Traceback (most recent call last):
[sagemath_doc_pdf-none] [spkg-install] File "/home/release/Sage/src/build-docs.py", line 11, in <module>
[sagemath_doc_pdf-none] [spkg-install] main()
[sagemath_doc_pdf-none] [spkg-install] File "/home/release/Sage/src/sage_docbuild/__main__.py", line 548, in main
[sagemath_doc_pdf-none] [spkg-install] build()
[sagemath_doc_pdf-none] [spkg-install] File "/home/release/Sage/src/sage_docbuild/builders.py", line 299, in pdf
[sagemath_doc_pdf-none] [spkg-install] shutil.move(str(pdf), pdf_dir)
[sagemath_doc_pdf-none] [spkg-install] File "/home/release/Sage/local/var/lib/sage/venv-python3.12.5/lib/python3.12/shutil.py", line 845, in move
[sagemath_doc_pdf-none] [spkg-install] raise Error("Destination path '%s' already exists" % real_dst)
[sagemath_doc_pdf-none] [spkg-install] shutil.Error: Destination path '/home/release/Sage/build/sage-distro/src/doc/pdf/pt/tutorial/tutorial-pt.pdf' already exists
[sagemath_doc_pdf-none] [spkg-install] [107/191] Generating src/doc/doc-pdf-other-en-thematic_tutorials with a custom command
[sagemath_doc_pdf-none] [spkg-install] FAILED: src/doc/pdfen-thematic_tutorials
Additional Information
No response
Environment
Sage Version 10.8.beta3
Checklist
- I have searched the existing issues for a bug report that matches the one I want to file, without success.
- I have read the documentation and troubleshoot guide