Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 851222 - sys-devel/llvm-14.0.5 fails (missing: SPHINX_EXECUTABLE)
Summary: sys-devel/llvm-14.0.5 fails (missing: SPHINX_EXECUTABLE)
Status: RESOLVED DUPLICATE of bug 851216
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-11 14:55 UTC by Argh!... Rats!...
Modified: 2022-06-11 16:35 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge.info.txt,7.00 KB, text/plain)
2022-06-11 14:55 UTC, Argh!... Rats!...
Details
emerge --pqv (emerge.pqv.txt,471 bytes, text/plain)
2022-06-11 14:55 UTC, Argh!... Rats!...
Details
build-log: sys-devel/llvm-14.0.5 (build.log,19.20 KB, text/x-log)
2022-06-11 14:56 UTC, Argh!... Rats!...
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Argh!... Rats!... 2022-06-11 14:55:26 UTC
Created attachment 784046 [details]
emerge --info

Ebuidl fails with message:
```
-- Targeting VE
-- Targeting MSP430
-- Targeting PowerPC
-- Registering Bye as a pass plugin (static build: OFF)
-- Sphinx enabled.
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Failed to locate sphinx-build executable (missing: SPHINX_EXECUTABLE)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
  cmake/modules/FindSphinx.cmake:19 (find_package_handle_standard_args)
  cmake/modules/AddSphinxTarget.cmake:6 (find_package)
  docs/CMakeLists.txt:106 (include)

```

The "doc" useflag is unset
```
# equery uses llvm
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for sys-devel/llvm-14.0.5:
 U I
 - - abi_x86_32      : 32-bit (x86) libraries
 + - binutils-plugin : Build the binutils plugin 
 - - debug           : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see
                       https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
 - - doc             : Build and install the HTML documentation and regenerate the man pages 
 - - exegesis        : Enable performance counter support for llvm-exegesis tool that can be used to measure host machine instruction
                       characteristics
 - - libedit         : Use the libedit library (replacement for readline)
 + - libffi          : Enable support for Foreign Function Interface library
 + + ncurses         : Support querying terminal properties using ncurses' terminfo 
 - - test            : Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be
                       toggled independently)
 - - verify-sig      : Verify upstream signatures on distfiles
 - - xar             : Support dumping LLVM bitcode sections in Mach-O files (uses app-arch/xar)
 + + xml             : Add support for XML files
 - - z3              : Enable support for sci-mathematics/z3 constraint solver
```
Comment 1 Argh!... Rats!... 2022-06-11 14:55:58 UTC
Created attachment 784049 [details]
emerge --pqv
Comment 2 Argh!... Rats!... 2022-06-11 14:56:46 UTC
Created attachment 784052 [details]
build-log: sys-devel/llvm-14.0.5
Comment 3 Argh!... Rats!... 2022-06-11 14:57:51 UTC
Portage 3.0.30 (python 3.9.13-final-0, default/linux/amd64/17.1/systemd, gcc-11.3.0, glibc-2.35-r7, 5.17.13-gentoo-x86_64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.17.13-gentoo-x86_64-x86_64-Intel-R-_Celeron-R-_CPU_1037U_@_1.80GHz-with-glibc2.35
KiB Mem:     8039156 total,    414204 free
KiB Swap:   20971516 total,  20969468 free
Timestamp of repository gentoo: Sat, 11 Jun 2022 13:32:59 +0000
Head commit of repository gentoo: cd550f8d6548503b1e38664fb9de09ae6b0ffc1a

sh bash 5.1_p16
ld GNU ld (Gentoo 2.38 p4) 2.38
ccache version 4.6.1 [disabled]
app-misc/pax-utils:        1.3.4::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.36.0::gentoo
dev-lang/python:           3.9.13::gentoo, 3.10.5::gentoo, 3.11.0_beta3::gentoo
dev-lang/rust-bin:         1.61.0::gentoo
dev-util/ccache:           4.6.1::gentoo
dev-util/cmake:            3.23.2::gentoo
dev-util/meson:            0.62.2::gentoo
sys-apps/baselayout:       2.8::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-apps/systemd:          251.2::gentoo
sys-devel/autoconf:        2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.38-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           14.0.4::gentoo
sys-devel/gcc:             11.3.0::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/llvm:            14.0.4::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.18-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.35-r7::gentoo
sys-libs/libselinux:       3.4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000

localrepo
    location: /usr/local/portage
    masters: gentoo

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.1/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
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"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
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 a52 aac aalib acl acpi alsa amd64 apache2 artworkextra avahi avi battery branding bzip2 cdr cli crypt dbus dhxpcd divx dlz dri dssi dvd dvdnav dvdr dvdread encode external-fuse fbcondecor ffmpeg firefox flac fortran ftp gadu gd gdbm gif gles gles2 gnome gstreamer gtk hal iconv ieee1394 introspection jack jpeg kerberos lame libcaca libglvnd libnotify libtirpc live mad matroska mjpeg mmx mmx2 mng mp3 mpeg mplayer multilib ncurses networkmanager nls nptl nptlonly nss ntfsprogs ogg opengl openmp osc oss pam pcmcia pcre png ppds ppp pulseaudio qt qt3 quicktime readline real realmedia sdl seccomp slang sound spell split-usr sqlite sse sse2 ssl svg systemd theora threads threadsafe tiff trayicon truetype type1 udev unicode usb vcd vorbis wayland wext wifi win32codecs wmp xanim xattr xinerama xml xv xvid zlib" 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" APACHE2_MPMS="worker" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="acpi aperfmperf apic arat arch_perfmon bts clflush cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts epb ept erms est flexpriority fpu fsgsbase fxsr ht lahf_lm lm mca mce mmx mmxext monitor msr mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm pebs pge pln pni popcnt pse pse36 pts rdtscp rep_good sep smep ss sse sse2 sse3 sse4_1 sse4_2 ssse3 syscall tm tm2 tpr_shadow tsc tsc_deadline_timer vme vmx vnmi vpid x2apic xsave xsaveopt xtopology xtpr" 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="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="picolcd" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" 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 pypy3" RUBY_TARGETS="ruby27 ruby26 ruby30 ruby31" USERLAND="GNU" VIDEO_CARDS="intel vesa fbdev i915 i965" 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, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, 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
Comment 4 Argh!... Rats!... 2022-06-11 15:03:46 UTC
Background:
- I havge useflag "doc" disabled
- I do not have and want sphinx installed

Situation for me is:
- either: Sphinx is required to build, then i expect sphinx as ebuild dependency
- or: sphinx is optional and therefore can be deactivated via "doc" useflag ...
Comment 5 Ionen Wolkens gentoo-dev 2022-06-11 15:18:58 UTC
Please emerge --sync and try again, was a fixed a little ago.

*** This bug has been marked as a duplicate of bug 851216 ***
Comment 6 Argh!... Rats!... 2022-06-11 16:35:23 UTC
(In reply to Ionen Wolkens from comment #5)
> Please emerge --sync and try again, was a fixed a little ago.
> 
> *** This bug has been marked as a duplicate of bug 851216 ***

You are absolutely correct! Damn! Sorry for not using search function properly and bothering you..