Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 876763 - dev-python/sphinx-5.2.3 - FileNotFoundError: [Errno 2] No such file or directory: b/var/tmp/portage/dev-python/sphinx-5.2.3/work/s
Summary: dev-python/sphinx-5.2.3 - FileNotFoundError: [Errno 2] No such file or direct...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
: 856907 (view as bug list)
Depends on:
Blocks: 879391
  Show dependency tree
 
Reported: 2022-10-11 13:13 UTC by Toralf Förster
Modified: 2022-11-12 17:16 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.72 KB, text/plain)
2022-10-11 13:13 UTC, Toralf Förster
Details
dev-python:sphinx-5.2.3:20221011-121412.log (dev-python:sphinx-5.2.3:20221011-121412.log,17.98 KB, text/plain)
2022-10-11 13:13 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,30.12 KB, text/plain)
2022-10-11 13:13 UTC, Toralf Förster
Details
environment (environment,142.43 KB, text/plain)
2022-10-11 13:13 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,20.63 KB, application/x-bzip)
2022-10-11 13:13 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,33.72 KB, application/x-bzip)
2022-10-11 13:13 UTC, Toralf Förster
Details
sphinx-5.1.1.tar.gz (sphinx-5.1.1.tar.gz,73.29 KB, application/octet-stream)
2022-10-18 21:15 UTC, Frank Krömmelbein
Details
sphinx-5.2.3 (sphinx-5.2.3.tar.gz,39.16 KB, application/octet-stream)
2022-11-06 17:36 UTC, Frank Krömmelbein
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-10-11 13:13:07 UTC
  File "/var/tmp/portage/._portage_reinstall_.1otm315d/bin/doins.py", line 375, in install_file
    return self._ins_runner.run(source, dest_dir)
  File "/var/tmp/portage/._portage_reinstall_.1otm315d/bin/doins.py", line 183, in run
    sstat = os.stat(source)
FileNotFoundError: [Errno 2] No such file or directory: b'/var/tmp/portage/dev-python/sphinx-5.2.3/work/sphinx-5.2.3-python3_10/sphinx/html/.'
 * ERROR: dev-python/sphinx-5.2.3::gentoo failed (install phase):
 *   dodoc failed

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-j4-20221011-100018

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
/usr/lib/llvm/14
14.0.6
Python 3.10.7
Available Rust versions:
  [1]   rust-bin-1.64.0 *
php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit a1fec926a6d71c6b7aefbf7f9e0f628a3ef6d333
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Oct 11 09:04:03 2022 +0000

    2022-10-11 09:04:03 UTC

emerge -qpvO dev-python/sphinx
[ebuild  N    ] dev-python/sphinx-5.2.3  USE="doc -latex -test" PYTHON_TARGETS="python3_10 -pypy3 -python3_8 -python3_9 -python3_11"
Comment 1 Toralf Förster gentoo-dev 2022-10-11 13:13:08 UTC
Created attachment 823612 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-11 13:13:10 UTC
Created attachment 823615 [details]
dev-python:sphinx-5.2.3:20221011-121412.log
Comment 3 Toralf Förster gentoo-dev 2022-10-11 13:13:11 UTC
Created attachment 823618 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-10-11 13:13:13 UTC
Created attachment 823621 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-11 13:13:14 UTC
Created attachment 823624 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-11 13:13:15 UTC
Created attachment 823627 [details]
temp.tar.bz2
Comment 7 Frank Krömmelbein 2022-10-18 21:15:26 UTC
Created attachment 824705 [details]
sphinx-5.1.1.tar.gz

I run into the same issue with the actual stable version 5.1.1.

[ebuild  N     ] dev-python/sphinx-5.1.1::gentoo  USE="-doc -latex -test" PYTHON_TARGETS="python3_10 (-pypy3) -python3_8 -python3_9 (-python3_11)" 0 KiB


>>> Install dev-python/sphinx-5.1.1 into /var/tmp/portage/dev-python/sphinx-5.1.1/image
 [32m*[0m python3_10: running distutils-r1_run_phase distutils-r1_python_install
 [32m*[0m Using python3.10 in global scope
 [32m*[0m python3_10: running distutils-r1_run_phase distutils-r1_python_install_all
Traceback (most recent call last):
  File "/usr/lib/portage/python3.10/doins.py", line 609, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/usr/lib/portage/python3.10/doins.py", line 598, in main
    if _doins(
  File "/usr/lib/portage/python3.10/doins.py", line 441, in _doins
    return install_runner.install_file(source, os.path.dirname(dest))
  File "/usr/lib/portage/python3.10/doins.py", line 375, in install_file
    return self._ins_runner.run(source, dest_dir)
  File "/usr/lib/portage/python3.10/doins.py", line 183, in run
    sstat = os.stat(source)
FileNotFoundError: [Errno 2] No such file or directory: b'/var/tmp/portage/dev-python/sphinx-5.1.1/work/sphinx-5.1.1-python3_10/sphinx/html/.'
 [31;01m*[0m ERROR: dev-python/sphinx-5.1.1::gentoo failed (install phase):
 [31;01m*[0m   dodoc failed


Full logs attached.
Comment 8 Frank Krömmelbein 2022-11-06 17:36:13 UTC
Created attachment 828135 [details]
sphinx-5.2.3

Ping @Python

Run again in this error, now that this version was stabilized.

Error occurs only when useflag doc was enabled.

>>> Install dev-python/sphinx-5.2.3 into /var/tmp/portage/dev-python/sphinx-5.2.3/image
 * python3_10: running distutils-r1_run_phase distutils-r1_python_install
 * Using python3.10 in global scope
 * python3_10: running distutils-r1_run_phase distutils-r1_python_install_all
Traceback (most recent call last):
  File "/usr/lib/portage/python3.10/doins.py", line 609, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/usr/lib/portage/python3.10/doins.py", line 598, in main
    if _doins(
  File "/usr/lib/portage/python3.10/doins.py", line 441, in _doins
    return install_runner.install_file(source, os.path.dirname(dest))
  File "/usr/lib/portage/python3.10/doins.py", line 375, in install_file
    return self._ins_runner.run(source, dest_dir)
  File "/usr/lib/portage/python3.10/doins.py", line 183, in run
    sstat = os.stat(source)
FileNotFoundError: [Errno 2] No such file or directory: b'/var/tmp/portage/dev-python/sphinx-5.2.3/work/sphinx-5.2.3-python3_10/sphinx/html/.'
Comment 9 Andreas Sturmlechner gentoo-dev 2022-11-10 11:11:10 UTC
Unblocking KDE Frameworks stabilisation while it is unclear what is going on here. It is not directly related anyway.
Comment 10 Larry the Git Cow gentoo-dev 2022-11-12 12:27:32 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7f1f81d191dcb75519649cd4c105864848d1984

commit b7f1f81d191dcb75519649cd4c105864848d1984
Author:     Arthur Zamarin <arthurzam@gentoo.org>
AuthorDate: 2022-11-12 12:27:00 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2022-11-12 12:27:25 +0000

    dev-python/sphinx: fix docs installation
    
    Closes: https://bugs.gentoo.org/876763
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 dev-python/sphinx/sphinx-5.2.3.ebuild | 2 +-
 dev-python/sphinx/sphinx-5.3.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Comment 11 Chris Mayo 2022-11-12 17:16:56 UTC
*** Bug 856907 has been marked as a duplicate of this bug. ***