Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 852893 - app-emulation/qemu-7.0.0-r2 fails to compile: Could not import extension sphinx.builders.linkcheck (exception: No module named six)
Summary: app-emulation/qemu-7.0.0-r2 fails to compile: Could not import extension sphi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: John Helmert III
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-18 06:54 UTC by Agostino Sarubbo
Modified: 2023-05-02 03:29 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,78.67 KB, text/plain)
2022-06-18 06:54 UTC, Agostino Sarubbo
Details
1-meson-log.txt (1-meson-log.txt,122.36 KB, text/plain)
2022-06-18 06:54 UTC, Agostino Sarubbo
Details
2-meson-log.txt (2-meson-log.txt,161.34 KB, text/plain)
2022-06-18 06:54 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-06-18 06:54:46 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-emulation/qemu-7.0.0-r2 fails to compile.
Discovered on: amd64 (internal ref: tinderbox)
Comment 1 Agostino Sarubbo gentoo-dev 2022-06-18 06:54:49 UTC
Created attachment 786023 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-06-18 06:54:51 UTC
Created attachment 786026 [details]
1-meson-log.txt

1-meson-log.txt
Comment 3 Agostino Sarubbo gentoo-dev 2022-06-18 06:54:52 UTC
Created attachment 786029 [details]
2-meson-log.txt

2-meson-log.txt
Comment 4 Agostino Sarubbo gentoo-dev 2022-06-18 06:54:53 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


../docs/meson.build:32:6: ERROR: Problem encountered: Install a Python 3 version of python-sphinx and the readthedoc theme
Could not import extension sphinx.builders.linkcheck (exception: No module named 'six')
Program cgcc found: NO
Run-time dependency appleframeworks found: NO (tried framework)
Run-time dependency libdaxctl found: NO (tried pkgconfig)
Run-time dependency libkeyutils found: NO (tried pkgconfig)
Run-time dependency libpmem found: NO (tried pkgconfig)
Run-time dependency spice-protocol found: NO (tried pkgconfig)
Run-time dependency u2f-emu found: NO (tried pkgconfig)
Comment 5 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2023-05-02 03:29:09 UTC
I think this is obsolete for a while. The full error is:

> Running command: /usr/bin/env CONFDIR=/etc/qemu /usr/bin/sphinx-build -q -c /var/tmp/portage/app-emulation/qemu-7.0.0-r2/work/qemu-7.0.0/docs -b html /var/tmp/portage/app-emulation/qemu-7.0.0-r2/work/qemu-7.0.0/tools-build/meson-private/temp/sphinx /var/tmp/portage/app-emulation/qemu-7.0.0-r2/work/qemu-7.0.0/tools-build/meson-private/temp/sphinx/out
> --- stdout ---
> 
> --- stderr ---
> WARNING: Invalid configuration value found: 'language = None'. Update your configuration to a valid langauge code. Falling back to 'en' (English).
> 
> Extension error:
> Could not import extension sphinx.builders.linkcheck (exception: No module named 'six')
> 
> 
> ../docs/meson.build:30: WARNING: /usr/bin/sphinx-build: WARNING: Invalid configuration value found: 'language = None'. Update your configuration to a valid langauge code. Falling back to 'en' (English).
> 
> Extension error:
> Could not import extension sphinx.builders.linkcheck (exception: No module named 'six')
> 
> 
> ../docs/meson.build:32:6: ERROR: Problem encountered: Install a Python 3 version of python-sphinx and the readthedoc theme

And it appears that sphinx started treating that warning as an error in newer Sphinx, and the error exit there triggered the build system into thinking that the installation of Sphinx was broken, giving a confusing error message. The language in the configuration was changed in 

commit ba1a6723f58640ba281bc952abc255e97c70bad5
Author: Martin Liška <mliska@suse.cz>
Date:   Fri Jun 24 15:42:55 2022 +0100

    sphinx: change default language to 'en'

    Fixes the following Sphinx warning (treated as error) starting
    with 5.0 release:

    Warning, treated as error:
    Invalid configuration value found: 'language = None'. Update your configuration to a valid langauge code. Falling back to 'en' (English).

    Signed-off-by: Martin Liska <mliska@suse.cz>
    Message-id: e91e51ee-48ac-437e-6467-98b56ee40042@suse.cz
    Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

$ git tag --contains ba1a6723f58640ba281bc952abc255e97c70bad5
v7.1.0
v7.1.0-rc0
v7.1.0-rc1
v7.1.0-rc2
v7.1.0-rc3
v7.1.0-rc4
[and so on]