You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can not execute make clean anymore on current Sphinx HEAD
$ make html && make clean
Sphinx v8.2.0+/de24fd0b7 en cours d'exécution
chargement des traductions [en]... fait
chargement de l'environnement pickled... fait
construction en cours [mo] : cibles périmées pour les fichiers po 0
écriture...
construction [html] : cibles périmées pour les fichiers sources 0
mise à jour de l'environnement : 0 ajouté(s), 0 modifié(s), 0 supprimé(s)
lecture des sources...
recherche des fichiers périmés... aucun résultat trouvé
aucune cible n'est périmée.
La compilation a réussi.
Les pages HTML sont dans _build/html.
Removing everything under '_build'...
Traceback (most recent call last):
File "/path/to/work/.venv312/bin/sphinx-build", line 8, in <module>
sys.exit(main())
^^^^^^
File "/path/to/sphinx/sphinx/cmd/build.py", line 561, in main
return make_mode.run_make_mode(argv[1:])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/path/to/sphinx/sphinx/cmd/make_mode.py", line 222, in run_make_mode
return getattr(make, run_method)()
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/path/to/sphinx/sphinx/cmd/make_mode.py", line 90, in build_clean
rmtree(self.build_dir_join(item))
File "/path/to/sphinx/sphinx/util/osutil.py", line 243, in rmtree
os.remove(path)
FileNotFoundError: [Errno 2] No such file or directory: '_build/_build/html'
make: *** [Makefile:20: clean] Error 1
How to Reproduce
sphinx-quickstart then make html && make clean . Install first Sphinx master in a venv.
We might also want to use build_dir instead of self.build_dir in that part of the code, I think. I'll open a pull request soon unless anyone else gets to that before me.
Describe the bug
We can not execute
make clean
anymore on current Sphinx HEADHow to Reproduce
sphinx-quickstart then
make html && make clean
. Install first Sphinx master in a venv.Environment Information
Sphinx extensions
none
Additional context
First bad commit is reported by
git bisect
to be de24fd0I am on macOS, too old to reveal which one here publicly (I don't want to be attacked by hackers).
The text was updated successfully, but these errors were encountered: