Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 789681 - app-emulation/qemu-6.0.0 - ../.../meson.build: ERROR: Problem encountered: Install a Python 3 version of python-sphinx
Summary: app-emulation/qemu-6.0.0 - ../.../meson.build: ERROR: Problem encountered: In...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthias Maier
URL:
Whiteboard:
Keywords:
: 789684 789714 789720 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-05-12 13:12 UTC by Toralf Förster
Modified: 2021-05-13 06:26 UTC (History)
5 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.30 KB, text/plain)
2021-05-12 13:12 UTC, Toralf Förster
Details
app-emulation:qemu-6.0.0:20210512-130917.log (app-emulation:qemu-6.0.0:20210512-130917.log,12.33 KB, text/plain)
2021-05-12 13:12 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,139.16 KB, text/plain)
2021-05-12 13:12 UTC, Toralf Förster
Details
environment (environment,170.30 KB, text/plain)
2021-05-12 13:12 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,40.33 KB, application/x-bzip)
2021-05-12 13:12 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,7.83 KB, application/x-bzip)
2021-05-12 13:12 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-05-12 13:12:38 UTC
../docs/meson.build:30: WARNING: /usr/bin/sphinx-build is either too old or uses too old a Python version

../docs/meson.build:33:6: ERROR: Problem encountered: Install a Python 3 version of python-sphinx

A full log can be found at /var/tmp/portage/app-emulation/qemu-6.0.0/work/qemu-6.0.0/softmmu-build/meson-logs/meson-log.txt

ERROR: meson setup failed

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-j2-20210510-191355

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.0
Python 3.8.10
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.52.1
  [2]   rust-1.52.1 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
  [1]   php7.3
  [2]   php7.4
  [3]   php8.0 *

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Wed May 12 12:05:34 UTC 2021

emerge -qpvO app-emulation/qemu
[ebuild  N    ] app-emulation/qemu-6.0.0  USE="aio alsa bzip2 caps curl doc fdt filecaps gtk jpeg ncurses nls opengl oss pin-upstream-blobs png sdl seccomp slirp udev usb vhost-net virgl vnc xattr -accessibility -capstone -debug -glusterfs -gnutls -infiniband -io-uring -iscsi -jack -jemalloc -lzo -multipath -nfs -numa -plugins -pulseaudio -python -rbd -sasl -sdl-image (-selinux) -smartcard -snappy -spice -ssh -static -static-user -systemtap -test -usbredir -vde -vhost-user-fs -virtfs -vte -xen -xfs -zstd" PYTHON_TARGETS="python3_8 -python3_7 -python3_9" QEMU_SOFTMMU_TARGETS="i386 x86_64 -aarch64 -alpha -arm -avr -cris -hppa -lm32 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -moxie -nios2 -or1k -ppc -ppc64 -riscv32 -riscv64 -rx -s390x -sh4 -sh4eb -sparc -sparc64 -tricore -unicore32 -xtensa -xtensaeb" QEMU_USER_TARGETS="i386 x86_64 -aarch64 -aarch64_be -alpha -arm -armeb -cris -hexagon -hppa -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -mipsn32 -mipsn32el -nios2 -or1k -ppc -ppc64 -ppc64abi32 -ppc64le -riscv32 -riscv64 -s390x -sh4 -sh4eb -sparc -sparc32plus -sparc64 -xtensa -xtensaeb"
Comment 1 Toralf Förster gentoo-dev 2021-05-12 13:12:39 UTC
Created attachment 707562 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-05-12 13:12:40 UTC
Created attachment 707565 [details]
app-emulation:qemu-6.0.0:20210512-130917.log
Comment 3 Toralf Förster gentoo-dev 2021-05-12 13:12:41 UTC
Created attachment 707568 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-05-12 13:12:43 UTC
Created attachment 707571 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-05-12 13:12:44 UTC
Created attachment 707574 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-05-12 13:12:45 UTC
Created attachment 707577 [details]
logs.tar.bz2
Comment 7 Ionen Wolkens gentoo-dev 2021-05-12 13:46:08 UTC
This doesn't look related to the previous sphinx-4 issues but rather due to earlier bumps:

2021-05-12T11:25:28 >>> dev-python/markupsafe-2.0.0
2021-05-12T11:25:42 >>> dev-python/jinja-3.0.0

In my own meson.log.txt:

pkg_resources.DistributionNotFound: The 'MarkupSafe<2.0' distribution was not found and is required by Sphinx

pkg_resources.DistributionNotFound: The 'Jinja2<3.0,>=2.3' distribution was not found and is required by Sphinx
Comment 8 Larry the Git Cow gentoo-dev 2021-05-12 18:22:07 UTC
The bug has been referenced in the following commit(s):

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

commit 2a68018af374e9be293382a904534c7acc228cfb
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2021-05-12 14:15:32 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2021-05-12 18:21:57 +0000

    dev-python/sphinx: Remove unnecessary upper version bounds
    
    Bug: https://bugs.gentoo.org/789681
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/sphinx/{sphinx-4.0.1.ebuild => sphinx-4.0.1-r1.ebuild} | 5 +++++
 1 file changed, 5 insertions(+)
Comment 9 Mike Gilbert gentoo-dev 2021-05-12 18:29:31 UTC
*** Bug 789714 has been marked as a duplicate of this bug. ***
Comment 10 Mike Gilbert gentoo-dev 2021-05-12 18:29:40 UTC
*** Bug 789720 has been marked as a duplicate of this bug. ***
Comment 11 Sergei Trofimovich (RETIRED) gentoo-dev 2021-05-12 20:39:51 UTC
```
Program sphinx-build found: YES
../docs/meson.build:30: WARNING: /usr/bin/sphinx-build is either too old or uses too old a Python version

../docs/meson.build:33:6: ERROR: Problem encountered: Install a Python 3 version of python-sphinx

A full log can be found at /var/tmp/portage/app-emulation/qemu-6.0.0/work/qemu-6.0.0/softmmu-build/meson-logs/meson-log.txt
```

Toralf, can you attach softmmu-build/meson-logs/meson-log.txt and maybe collect those as part of logs.tar.bz2 in future? Should be generally usable meson artifacts.
Comment 12 Toralf Förster gentoo-dev 2021-05-12 20:58:49 UTC
(In reply to Sergei Trofimovich from comment #11)

> Toralf, can you attach softmmu-build/meson-logs/meson-log.txt and maybe
> collect those as part of logs.tar.bz2 in future? Should be generally usable
> meson artifacts.

Hhm, I do this already:

https://github.com/toralf/tinderbox/blob/master/bin/job.sh#L196

and I see that the attached logs.tar.tbz2 contains a log file, hhm ?
Comment 13 Ionen Wolkens gentoo-dev 2021-05-12 21:16:08 UTC
(In reply to Toralf Förster from comment #12)
> Hhm, I do this already:
> 
> https://github.com/toralf/tinderbox/blob/master/bin/job.sh#L196
> 
> and I see that the attached logs.tar.tbz2 contains a log file, hhm ?
-name "*.log" won't catch a .txt file, maybe could just get the whole "meson-logs" directory.

And yeah, in this case that file contained the important errors. I could reproduce locally (comment #7) but well (works fine with sphinx-4.0.1-r1 now).
Comment 14 Ionen Wolkens gentoo-dev 2021-05-13 06:15:13 UTC
*** Bug 789684 has been marked as a duplicate of this bug. ***
Comment 15 Sergei Trofimovich (RETIRED) gentoo-dev 2021-05-13 06:26:52 UTC
I guess we won't have evidence that initial failure was caused by the same issue.

Let's close it and debug it in a next bug when it breaks again.