Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 835991 - sys-devel/clang-14.0.0 - USE=doc: ModuleNotFoundError: No module named 'recommonmark'
Summary: sys-devel/clang-14.0.0 - USE=doc: ModuleNotFoundError: No module named 'recom...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: LLVM support project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-25 10:40 UTC by Bernd
Modified: 2022-03-27 08:17 UTC (History)
1 user (show)

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


Attachments
clang-14.0.0:20220325-091332.log.xz (clang-14.0.0:20220325-091332.log.xz,105.76 KB, application/octet-stream)
2022-03-25 10:41 UTC, Bernd
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd 2022-03-25 10:40:18 UTC
[1719/1727] cd /var/tmp/portage/sys-devel/clang-14.0.0/work/x/y/clang-abi_x86_64.amd64/docs && /usr/bin/cmake 
-E env /usr/bin/sphinx-build -b html -d /var/tmp/portage/sys-devel/clang-14.0.0/work/x/y/clang-abi_x86_64.amd6
4/docs/_doctrees-clang-html -q -t builder-html -D version=14 -D release=14.0.0 /var/tmp/portage/sys-devel/clan
g-14.0.0/work/x/y/clang-abi_x86_64.amd64/docs /var/tmp/portage/sys-devel/clang-14.0.0/work/x/y/clang-abi_x86_6
4.amd64/docs/html
FAILED: docs/CMakeFiles/docs-clang-html /var/tmp/portage/sys-devel/clang-14.0.0/work/x/y/clang-abi_x86_64.amd6
4/docs/CMakeFiles/docs-clang-html 
cd /var/tmp/portage/sys-devel/clang-14.0.0/work/x/y/clang-abi_x86_64.amd64/docs && /usr/bin/cmake -E env /usr/
bin/sphinx-build -b html -d /var/tmp/portage/sys-devel/clang-14.0.0/work/x/y/clang-abi_x86_64.amd64/docs/_doct
rees-clang-html -q -t builder-html -D version=14 -D release=14.0.0 /var/tmp/portage/sys-devel/clang-14.0.0/wor
k/x/y/clang-abi_x86_64.amd64/docs /var/tmp/portage/sys-devel/clang-14.0.0/work/x/y/clang-abi_x86_64.amd64/docs
/html

Configuration error:
There is a programmable error in your configuration file:

Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/sphinx/config.py", line 340, in eval_config_file
    exec(code, namespace)
  File "/var/tmp/portage/sys-devel/clang-14.0.0/work/x/y/clang-abi_x86_64.amd64/docs/conf.py", line 41, in <mo
dule>
    import recommonmark
ModuleNotFoundError: No module named 'recommonmark'

Manually installing recommonmark before emerging clang solves this.

Reproducible: Always




# emerge --info =clang-14.0.0
Portage 3.0.30 (python 3.9.12-final-0, default/linux/amd64/17.1/systemd, gcc-11.2.1, glibc-2.34-r10, 5.16.16-gentoo-0 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.16.16-gentoo-0-x86_64-AMD_Ryzen_7_3800X_8-Core_Processor-with-glibc2.34
KiB Mem:    32888652 total,  16294140 free
KiB Swap:   33554428 total,  31679704 free
Head commit of repository guru: 52759b13b4acc7275afecd00e2255e92c440af1e

Timestamp of repository steam-overlay: Thu, 24 Mar 2022 04:24:34 +0000
Head commit of repository steam-overlay: 2da2c7a013a59d6e23c7742bcbc0eb64e3f53e09

Head commit of repository qt: 1456aeb4fe4d4475e581df1d604234da87ce07be

Head commit of repository science: aa2ea880a86367c5a2eb8b1baa412a179f209b56

Head commit of repository gentoo-git: 0081ee1971baac636cf82119f1497abb6790501f

Head commit of repository waebbl: c601db15a16219a2c2a2c34def022f1395490cd1

Timestamp of repository gentoo: Thu, 24 Mar 2022 16:49:19 +0000
Head commit of repository gentoo: 44389f148fd0689643c222f3d47631b0393d719d

sh bash 5.1_p16
ld GNU ld (Gentoo 2.38 p3) 2.38
app-misc/pax-utils:        1.3.3::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.1::gentoo
dev-lang/python:           2.7.18_p13::gentoo, 3.9.12::gentoo, 3.10.4::gentoo
dev-lang/rust:             1.59.0::gentoo
dev-util/cmake:            3.22.3::gentoo
dev-util/meson:            0.61.3::gentoo
sys-apps/baselayout:       2.8::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-apps/systemd:          250.4::gentoo
sys-devel/autoconf:        2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.38-r1::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           13.0.1::gentoo, 14.0.0::gentoo
sys-devel/gcc:             11.2.1_p20220115::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.6-r6::gentoo
sys-devel/lld:             13.0.1::gentoo
sys-devel/llvm:            13.0.1::gentoo, 14.0.0::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.16::gentoo (virtual/os-headers)
sys-libs/glibc:            2.34-r10::gentoo
sys-libs/libselinux:       3.3::gentoo
Repositories:

guru
    location: /mnt/data/code/github/portage-overlays/guru
    sync-type: git
    sync-uri: git@git.gentoo.org:repo/proj/guru.git
    masters: gentoo
    priority: -1000

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo

qt
    location: /mnt/data/code/github/portage-overlays/qt
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/qt.git
    masters: gentoo
    priority: 60

science
    location: /mnt/data/code/github/portage-overlays/sci
    sync-type: git
    sync-uri: git://github.com/waebbl/sci.git
    masters: gentoo
    priority: 60

gentoo-git
    location: /mnt/data/code/github/portage-overlays/gentoo-git
    sync-type: git
    sync-uri: https://github.com/waebbl/gentoo.git
    masters: gentoo
    priority: 99

waebbl
    location: /mnt/data/code/github/portage-overlays/waebbl
    sync-type: git
    sync-uri: https://github.com/waebbl/waebbl-gentoo.git
    masters: gentoo
    priority: 99

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: 100

Installed sets: @3D, @Qt6, @admin-tools, @desktop, @dev-tools, @docs, @esteam, @games, @net-tools, @science
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=znver2 -frecord-gcc-switches -fstack-protector-strong -fstack-check"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=znver2 -frecord-gcc-switches -fstack-protector-strong -fstack-check"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--complete-graph --keep-going --fail-clean --usepkg --buildpkg --buildpkg-exclude='x11-drivers/nvidia-drivers virtual/* acct-user/* acct-group/* app-eselect/* dev-util/nvidia-cuda-toolkit' --autounmask=n --binpkg-respect-use=y --binpkg-changed-deps=y"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe -march=znver2 -frecord-gcc-switches -fstack-protector-strong -fstack-check"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg buildpkg-live buildsyspkg cgroup clean-logs config-protect-if-modified distlocks downgrade-backup ebuild-locks fail-clean fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-elog split-log strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=znver2 -frecord-gcc-switches -fstack-protector-strong -fstack-check"
GENTOO_MIRRORS="https://ftp.fau.de/gentoo/ https://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/         https://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/   https://ftp.halifax.rwth-aachen.de/gentoo/"
INSTALL_MASK="/usr/share/locale -/usr/share/locale/de* -/usr/share/locale/en*"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0"
MAKEOPTS="-j16"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X acl alsa amd64 branding bzip2 cli crypt dbus dri egl emacs fortran gdbm gif gnome gtk-doc iconv ipv6 jpeg jpeg2k kde lcms libglvnd libinput libtirpc man multilib ncurses networkmanager nls nptl offensive ogg opengl openmp pam pcre pic png policykit pulseaudio python qml qt5 readline seccomp sound split-usr ssl svg systemd tga theora threads tiff udev unicode vorbis webp wifi x264 x265 xattr xpm zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2020" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc multiboot qemu" INPUT_DEVICES="libinput wacom" KERNEL="linux" L10N="de de-DE en en-GB en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver" LLVM_TARGETS="NVPTX WebAssembly" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby31" STEAMGAMES="witcher2" USERLAND="GNU" VIDEO_CARDS="dummy fbdev nvidia vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

sys-devel/clang-14.0.0::gentoo was built with the following:
USE="doc (pie) static-analyzer xml -debug -default-compiler-rt -default-libcxx -default-lld -llvm-libunwind -test" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) (-ARC) (-CSKY) (-M68k)" PYTHON_SINGLE_TARGET="python3_9 -python3_10 -python3_8"
FEATURES="userfetch ebuild-locks ipc-sandbox qa-unresolved-soname-deps userpriv fixlafiles cgroup strict xattr protect-owned news sandbox binpkg-dostrip binpkg-logs split-elog fail-clean binpkg-docompress sign parallel-fetch downgrade-backup unmerge-orphans merge-sync usersync split-log strict-keepdir multilib-strict buildpkg unmerge-logs preserve-libs network-sandbox pid-sandbox clean-logs distlocks unknown-features-warn config-protect-if-modified assume-digests usersandbox sfperms buildpkg-live buildsyspkg"
Comment 1 Bernd 2022-03-25 10:41:08 UTC
Created attachment 767778 [details]
clang-14.0.0:20220325-091332.log.xz

build log, compressed due to size limit
Comment 2 Larry the Git Cow gentoo-dev 2022-03-27 08:17:06 UTC
The bug has been closed via the following commit(s):

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

commit 4793ecbdc338a96a1a98361718c38d39d8fc3c09
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2022-03-27 08:01:01 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2022-03-27 08:16:58 +0000

    sys-devel/clang: Add missing dep on recommonmark
    
    Closes: https://bugs.gentoo.org/835991
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 sys-devel/clang/clang-14.0.0-r1.ebuild   | 5 ++++-
 sys-devel/clang/clang-14.0.0.9999.ebuild | 5 ++++-
 sys-devel/clang/clang-15.0.0.9999.ebuild | 5 ++++-
 3 files changed, 12 insertions(+), 3 deletions(-)