Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 789561

Summary: app-emulation/qemu-6.0.0[doc] broken with >=sphinx-4.0.0 (RuntimeError: File 'docs/qemu-qmp-ref.7' could not be found)
Product: Gentoo Linux Reporter: Ionen Wolkens <ionen>
Component: Current packagesAssignee: Matthias Maier <tamiko>
Status: RESOLVED FIXED    
Severity: normal CC: brett, slyfox, virtualization
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://gitlab.com/qemu-project/qemu/-/issues/256
See Also: https://bugs.gentoo.org/show_bug.cgi?id=791331
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 789531    
Attachments: build.log + emerge --info.txt.xz

Description Ionen Wolkens gentoo-dev 2021-05-12 03:57:29 UTC
The $url issue was reported by a forum user:
https://forums.gentoo.org/viewtopic-t-1135056.html

dev-python/sphinx-4.0.1::gentoo was built with the following:
USE="-doc -latex -test" ABI_X86="(64)" PYTHON_TARGETS="python3_9 -pypy3 -python3_7 -python3_8"

---

Traceback (most recent call last):
  File "/tmp/portage/app-emulation/qemu-6.0.0/work/qemu-6.0.0/meson/mesonbuild/mesonmain.py", line 140, in run
    return options.run_func(options)
  File "/tmp/portage/app-emulation/qemu-6.0.0/work/qemu-6.0.0/meson/mesonbuild/minstall.py", line 544, in run
    installer.do_install(datafilename)
  File "/tmp/portage/app-emulation/qemu-6.0.0/work/qemu-6.0.0/meson/mesonbuild/minstall.py", line 362, in do_install
    self.install_targets(d)
  File "/tmp/portage/app-emulation/qemu-6.0.0/work/qemu-6.0.0/meson/mesonbuild/minstall.py", line 458, in install_targets
    raise RuntimeError('File {!r} could not be found'.format(t.fname))
RuntimeError: File 'docs/qemu-qmp-ref.7' could not be found
Comment 1 Ionen Wolkens gentoo-dev 2021-05-12 03:58:21 UTC
Created attachment 707232 [details]
build.log + emerge --info.txt.xz
Comment 2 Larry the Git Cow gentoo-dev 2021-05-12 06:55:17 UTC
The bug has been closed via the following commit(s):

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

commit 65b728346b8f8833906f796f16bafb8361931879
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2021-05-12 06:54:50 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2021-05-12 06:55:14 +0000

    app-emulation/qemu: apply sphinx-4 workaround
    
    Reported-by: Ionen Wolkens
    Closes: https://bugs.gentoo.org/789561
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 app-emulation/qemu/files/qemu-6.0.0-sphinx-4.patch | 35 ++++++++++++++++++++++
 app-emulation/qemu/qemu-6.0.0.ebuild               |  1 +
 2 files changed, 36 insertions(+)
Comment 3 Ionen Wolkens gentoo-dev 2021-05-13 09:44:01 UTC
*** Bug 789810 has been marked as a duplicate of this bug. ***
Comment 4 Larry the Git Cow gentoo-dev 2021-05-26 06:54:00 UTC
The bug has been referenced in the following commit(s):

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

commit dadb2f72c60034e5c7b339f9ea2e51d9689c6fe4
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2021-05-26 06:52:40 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2021-05-26 06:53:57 +0000

    app-emulation/qemu: revert "apply sphinx-4 workaround"
    
    This reverts commit 65b728346b8f8833906f796f16bafb8361931879.
    
    Reported-by: Michael Moon
    Bug: https://bugs.gentoo.org/789561
    Bug: https://bugs.gentoo.org/791331
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 app-emulation/qemu/files/qemu-6.0.0-sphinx-4.patch | 35 ----------------------
 app-emulation/qemu/qemu-6.0.0.ebuild               |  1 -
 2 files changed, 36 deletions(-)