Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 624672 - dev-python/sphinx: missing sphinxcontrib-websupport from dependencies (?)
Summary: dev-python/sphinx: missing sphinxcontrib-websupport from dependencies (?)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
: 625176 626296 634068 636168 637202 637930 637944 638736 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-07-12 11:53 UTC by Marcin Kowalski
Modified: 2019-04-25 10:32 UTC (History)
11 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Kowalski 2017-07-12 11:53:38 UTC
USE flags

emerge -pv llvm 

These are the packages that would be merged, in order:

Calculating dependencies  ... done!            
[ebuild   R    ] sys-devel/llvm-4.0.1:4::gentoo  USE="doc libffi ncurses -debug -gold -libedit {-test}" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="AMDGPU BPF NVPTX (X86) -AArch64 -ARM -Hexagon -Lanai -MSP430 -Mips -PowerPC -RISCV -Sparc -SystemZ -XCore" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB





Log file with the error : 

(.....)
[1509/1516] : && /usr/bin/x86_64-pc-linux-gnu-g++  -O2 -pipe -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -Werror=date-time -std=c++11 -ffunction-sections -fdata-sections  -Wl,-O1 -Wl,--as-needed -Wl,-allow-shlib-undefined     -Wl,-rpath-link,/data/build/tmp/portage/sys-devel/llvm-4.0.1/work/llvm-4.0.1.src-abi_x86_64.amd64/./lib64  -Wl,-O3 -Wl,--gc-sections tools/verify-uselistorder/CMakeFiles/verify-uselistorder.dir/verify-uselistorder.cpp.o  -o bin/verify-uselistorder  -Wl,-rpath,"\$ORIGIN/../lib64" lib64/libLLVMAsmParser.so.4.0.1 lib64/libLLVMBitReader.so.4.0.1 lib64/libLLVMBitWriter.so.4.0.1 lib64/libLLVMCore.so.4.0.1 lib64/libLLVMIRReader.so.4.0.1 lib64/libLLVMSupport.so.4.0.1 -lpthread && :
[1510/1516] /usr/bin/x86_64-pc-linux-gnu-g++ -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/yaml2obj -I/data/build/tmp/portage/sys-devel/llvm-4.0.1/work/llvm-4.0.1.src/tools/yaml2obj -Iinclude -I/data/build/tmp/portage/sys-devel/llvm-4.0.1/work/llvm-4.0.1.src/include  -DNDEBUG -O2 -pipe -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -Werror=date-time -std=c++11 -ffunction-sections -fdata-sections -MD -MT tools/yaml2obj/CMakeFiles/yaml2obj.dir/yaml2coff.cpp.o -MF tools/yaml2obj/CMakeFiles/yaml2obj.dir/yaml2coff.cpp.o.d -o tools/yaml2obj/CMakeFiles/yaml2obj.dir/yaml2coff.cpp.o -c /data/build/tmp/portage/sys-devel/llvm-4.0.1/work/llvm-4.0.1.src/tools/yaml2obj/yaml2coff.cpp
[1511/1516] cd /data/build/tmp/portage/sys-devel/llvm-4.0.1/work/llvm-4.0.1.src-abi_x86_64.amd64/docs && /usr/bin/sphinx-build -b html -d /data/build/tmp/portage/sys-devel/llvm-4.0.1/work/llvm-4.0.1.src-abi_x86_64.amd64/docs/_doctrees-html -q /data/build/tmp/portage/sys-devel/llvm-4.0.1/work/llvm-4.0.1.src/docs /data/build/tmp/portage/sys-devel/llvm-4.0.1/work/llvm-4.0.1.src-abi_x86_64.amd64/docs/html
FAILED: docs/CMakeFiles/docs-llvm-html 
cd /data/build/tmp/portage/sys-devel/llvm-4.0.1/work/llvm-4.0.1.src-abi_x86_64.amd64/docs && /usr/bin/sphinx-build -b html -d /data/build/tmp/portage/sys-devel/llvm-4.0.1/work/llvm-4.0.1.src-abi_x86_64.amd64/docs/_doctrees-html -q /data/build/tmp/portage/sys-devel/llvm-4.0.1/work/llvm-4.0.1.src/docs /data/build/tmp/portage/sys-devel/llvm-4.0.1/work/llvm-4.0.1.src-abi_x86_64.amd64/docs/html
Traceback (most recent call last):
  File "/usr/lib/python-exec/python2.7/sphinx-build", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 3037, in <module>
    @_call_aside
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 3021, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 3050, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 655, in _build_master
    ws.require(__requires__)
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 969, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 855, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'sphinxcontrib-websupport' distribution was not found and is required by Sphinx
[1512/1516] /usr/bin/x86_64-pc-linux-gnu-g++ -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/yaml2obj -I/data/build/tmp/portage/sys-devel/llvm-4.0.1/work/llvm-4.0.1.src/tools/yaml2obj -Iinclude -I/data/build/tmp/portage/sys-devel/llvm-4.0.1/work/llvm-4.0.1.src/include  -DNDEBUG -O2 -pipe -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -Werror=date-time -std=c++11 -ffunction-sections -fdata-sections -MD -MT tools/yaml2obj/CMakeFiles/yaml2obj.dir/yaml2dwarf.cpp.o -MF tools/yaml2obj/CMakeFiles/yaml2obj.dir/yaml2dwarf.cpp.o.d -o tools/yaml2obj/CMakeFiles/yaml2obj.dir/yaml2dwarf.cpp.o -c /data/build/tmp/portage/sys-devel/llvm-4.0.1/work/llvm-4.0.1.src/tools/yaml2obj/yaml2dwarf.cpp
[1513/1516] /usr/bin/x86_64-pc-linux-gnu-g++ -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/yaml2obj -I/data/build/tmp/portage/sys-devel/llvm-4.0.1/work/llvm-4.0.1.src/tools/yaml2obj -Iinclude -I/data/build/tmp/portage/sys-devel/llvm-4.0.1/work/llvm-4.0.1.src/include  -DNDEBUG -O2 -pipe -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -Werror=date-time -std=c++11 -ffunction-sections -fdata-sections -MD -MT tools/yaml2obj/CMakeFiles/yaml2obj.dir/yaml2macho.cpp.o -MF tools/yaml2obj/CMakeFiles/yaml2obj.dir/yaml2macho.cpp.o.d -o tools/yaml2obj/CMakeFiles/yaml2obj.dir/yaml2macho.cpp.o -c /data/build/tmp/portage/sys-devel/llvm-4.0.1/work/llvm-4.0.1.src/tools/yaml2obj/yaml2macho.cpp
[1514/1516] /usr/bin/x86_64-pc-linux-gnu-g++ -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/yaml2obj -I/data/build/tmp/portage/sys-devel/llvm-4.0.1/work/llvm-4.0.1.src/tools/yaml2obj -Iinclude -I/data/build/tmp/portage/sys-devel/llvm-4.0.1/work/llvm-4.0.1.src/include  -DNDEBUG -O2 -pipe -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -Werror=date-time -std=c++11 -ffunction-sections -fdata-sections -MD -MT tools/yaml2obj/CMakeFiles/yaml2obj.dir/yaml2elf.cpp.o -MF tools/yaml2obj/CMakeFiles/yaml2obj.dir/yaml2elf.cpp.o.d -o tools/yaml2obj/CMakeFiles/yaml2obj.dir/yaml2elf.cpp.o -c /data/build/tmp/portage/sys-devel/llvm-4.0.1/work/llvm-4.0.1.src/tools/yaml2obj/yaml2elf.cpp
ninja: build stopped: subcommand failed.
 * ERROR: sys-devel/llvm-4.0.1::gentoo failed (compile phase):
 *   ninja -v -j4 -l0 failed
 * 
 * Call stack:
 *     ebuild.sh, line  115:  Called src_compile
 *   environment, line 4638:  Called multilib-minimal_src_compile
 *   environment, line 2907:  Called multilib_foreach_abi 'multilib-minimal_abi_src_compile'
 *   environment, line 3138:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 2773:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 2771:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile'
 *   environment, line  588:  Called multilib-minimal_abi_src_compile
 *   environment, line 2901:  Called multilib_src_compile
 *   environment, line 3350:  Called cmake-utils_src_compile
 *   environment, line 1011:  Called cmake-utils_src_make
 *   environment, line 1183:  Called _cmake_ninja_src_make
 *   environment, line  354:  Called eninja
 *   environment, line 1511:  Called die
 * The specific snippet of code:
 *       "$@" || die "${nonfatal_args[@]}" "${*} failed"
 * 
 * If you need support, post the output of `emerge --info '=sys-devel/llvm-4.0.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-devel/llvm-4.0.1::gentoo'`.
 * The complete build log is located at '/data/build/tmp/portage/sys-devel/llvm-4.0.1/temp/build.log'.
 * The ebuild environment file is located at '/data/build/tmp/portage/sys-devel/llvm-4.0.1/temp/environment'.
 * Working directory: '/data/build/tmp/portage/sys-devel/llvm-4.0.1/work/llvm-4.0.1.src-abi_x86_64.amd64'
 * S: '/data/build/tmp/portage/sys-devel/llvm-4.0.1/work/llvm-4.0.1.src'


Reproducible: Always

Steps to Reproduce:
1. attempt to install llvm-4.0.1 without sphinxcontrib-websupport
2. observe problem
3. install sphinxcontrib-websupport
4. rebuild llvm-4.0.1
5. no problem
Comment 1 Andrei Slavoiu 2017-07-12 18:40:12 UTC
The error message actually says that sphinx is the one with the issue:

pkg_resources.DistributionNotFound: The 'sphinxcontrib-websupport' distribution was not found and is required by Sphinx

Better post the output of `emerge --info dev-python/sphinx` as llvm-4.0.1[doc] built fine here without sphinxcontrib-websupport
Comment 2 Sven E. 2017-07-14 03:37:29 UTC
I'm seeing the same error.

Here is the output of emerge --info:
Portage 2.3.6 (python 2.7.13-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-5.4.0, glibc-2.24-r3, 4.4.8-hardened x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.4.8-hardened-x86_64-AMD_A10-5700_APU_with_Radeon-tm-_HD_Graphics-with-gentoo-2.4.1
KiB Mem:     6104816 total,   3918780 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Fri, 14 Jul 2017 00:00:01 +0000
sh bash 4.4_p12
ld GNU ld (Gentoo 2.27 p1.1) 2.27
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.1-r2::gentoo
dev-lang/python:          2.7.13::gentoo, 3.4.6::gentoo, 3.5.3::gentoo
dev-util/cmake:           3.8.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r3::gentoo
sys-devel/automake:       1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15.1::gentoo
sys-devel/binutils:       2.26.1::gentoo, 2.27-r1::gentoo, 2.28-r2::gentoo
sys-devel/gcc:            4.9.3::gentoo, 5.3.0::gentoo, 5.4.0-r3::gentoo, 6.3.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.24-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

local-crossdev
    location: /usr/local/crossport
    masters: gentoo
    priority: 50

verfeiert
    location: /usr/local/portage
    masters: gentoo
    priority: 100

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-m64 -march=x86-64 -mtune=generic -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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"
CXXFLAGS="-m64 -march=x86-64 -mtune=generic -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned 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.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
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"
USE="X a52 aac acl acpi alsa amd64 berkdb branding bzip2 cairo cjk cli cracklib crypt cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gif glamor gnome gnome-keyring gpm gstreamer gtk gtk3 iconv idn introspection ipv6 jpeg lcms libkms libnotify libsecret lzma mad mng modules mp3 mp4 mpeg multilib nautilus ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support readline seccomp session spell sqlite ssl startup-notification svg systemd tcpd tiff truetype udev udisks unicode upower usb vorbis wayland wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en" LLVM_TARGETS="AMDGPU BPF" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="virtualbox" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

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

dev-python/sphinx-1.6.3-r1::gentoo was built with the following:
USE="-doc -latex -net -test" ABI_X86="(64)" PYTHON_TARGETS="python2_7 python3_4 -python3_5 -python3_6"

And for completeness:
qlist -vI sphinx
dev-python/namespace-sphinxcontrib-1.0
dev-python/sphinx-1.6.3-r1
dev-python/sphinxcontrib-websupport-1.0.1
dev-python/sphinx_rtd_theme-0.1.9

So, sphinxcontrib-websupport is installed (it was actually pulled in with llvm-4.0.1)
Comment 3 Sven E. 2017-07-14 03:42:10 UTC
*ARGHL* I thought I did hit the same error, but it looks like I hit something else:
pkg_resources.DistributionNotFound: The 'typing' distribution was not found and is required by Sphinx

And I am hitting this earlier in the build. 

Sorry for the noise, should I open another bug for this?
Comment 4 nvinson234 2017-07-14 14:44:43 UTC
(In reply to Andrei Slavoiu from comment #1)
> The error message actually says that sphinx is the one with the issue:
> 
> pkg_resources.DistributionNotFound: The 'sphinxcontrib-websupport'
> distribution was not found and is required by Sphinx
> 
> Better post the output of `emerge --info dev-python/sphinx` as
> llvm-4.0.1[doc] built fine here without sphinxcontrib-websupport

Starting with 1.6.3, sphinx only pulls in sphinxcontrib-websupport when the 'test' USE flag is enabled.  Older versions of sphinx do not depend on sphinxcontrib-websupport in any way, so I assume support is bundled with those versions as llvm builds with them.

From an LLVM point of view, I see two solutions.  1. change +doc to just doc in IUSE or 2. depend on sphinx[test] for versions >= 1.6.3.
Comment 5 Andrei Slavoiu 2017-07-14 19:14:52 UTC
That makes sense. Looking at my emerge history I updated to llvm 4.0.1 4 days ago and to sphinx 1.6.3 just 2 days ago, so llvm was built with the old sphinx.

Btw, no change is required to llvm as dev-python/sphinx-1.6.3-r1 now RDEPENDS on dev-python/sphinxcontrib-websupport unconditionaly.
Comment 6 Arfrever Frehtes Taifersar Arahesis 2017-07-17 18:24:56 UTC
After commits 031bdbcec3a3aa74594bdb5bccef63cdd594a60c, d831299f76ecbd453cdeb343f3c1b30b4ebafe17 and 50bea8a011419d5af4a956c179aa171b0815c15f, dev-python/sphinx-1.6.3-r1 has PDEPEND="dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}]".
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-11-17 17:02:35 UTC
It would be nice if people cared to assign bugs correctly instead of claiming it resolved without even bothering to assign maintainers.
Comment 8 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-11-17 17:04:41 UTC
*** Bug 625176 has been marked as a duplicate of this bug. ***
Comment 9 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-11-17 17:04:50 UTC
*** Bug 626296 has been marked as a duplicate of this bug. ***
Comment 10 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-11-17 17:04:54 UTC
*** Bug 634068 has been marked as a duplicate of this bug. ***
Comment 11 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-11-17 17:04:59 UTC
*** Bug 636168 has been marked as a duplicate of this bug. ***
Comment 12 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-11-17 17:05:03 UTC
*** Bug 637202 has been marked as a duplicate of this bug. ***
Comment 13 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-11-17 17:05:08 UTC
*** Bug 637930 has been marked as a duplicate of this bug. ***
Comment 14 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-11-17 17:05:13 UTC
*** Bug 637944 has been marked as a duplicate of this bug. ***
Comment 15 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-11-17 17:08:27 UTC
So if anyone still experiences this *after* upgrading dev-python/sphinx, please let me know. Otherwise, let's keep this open for a while to make it easy to find.
Comment 16 Martin von Gagern 2017-12-16 18:17:44 UTC
The duplicate bug 637202 might warrant special attention: I seem to have a cyclic dependency between dev-python/whoosh-2.7.4[doc] and dev-python/sphinxcontrib-websupport-1.0.1 where neither builds without the other. More specifically, sphinxcontrib-websupport depends on whoosh which fails to build. If this dependency were expressed in the whoosh ebuild, emerge could advise on breaking the cycle, e.g. by emerging whoosh with USE=-doc temporarily, as I did to break my cycle.

(Perhaps one day bug 175808 would resolve such cycles automatically, but that request has been sitting without activity for quite some time now…)
Comment 17 Pavel Goran 2018-01-01 07:44:20 UTC
I just built dev-python/sphinx-1.6.3-r2, and then I got the "'sphinxcontrib-websupport' distribution was not found" error when building dev-python/whoosh-2.7.4.

So yes, the bug is still there.
Comment 18 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-01-01 09:41:51 UTC
I'm going to solve this via reversing the PDEPEND. Given that sphinxcontrib-websupport is mostly an extension module and doesn't declare an explicit dependency on sphinx, we can move dev-python/sphinx to PDEPEND there without harm. Then we can make sphinx RDEPEND on dev-python/sphinxcontrib-websupport, and this should solve the unfortunate Portage dependency ordering.
Comment 19 Larry the Git Cow gentoo-dev 2018-01-01 10:08:50 UTC
The bug has been closed via the following commit(s):

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

commit eaf21e2ef095f3665a05767dd996447616ab21e4
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2018-01-01 09:47:09 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-01-01 10:08:41 +0000

    dev-python/sphinx: Move sphinxcontrib-websupport back to RDEP
    
    Move the dependency on dev-python/sphinxcontrib-websupport back
    to RDEPEND (from PDEPEND) to avoid dependency ordering issues that could
    result in other packages failing to build. The circular dependency
    is now resolved by moving the dependency from sphinxcontrib-websupport
    to sphinx into PDEP.
    
    Closes: https://bugs.gentoo.org/624672

 dev-python/sphinx/{sphinx-1.6.3-r2.ebuild => sphinx-1.6.3-r3.ebuild} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Additionally, it has been referenced in the following commit(s):

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

commit f1f167b0336dea6c820996410e927fd6e0d94d97
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2018-01-01 09:42:43 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-01-01 10:08:40 +0000

    dev-python/sphinxcontrib-websupport: Make sphinx PDEP, fix other deps
    
    Fix dependencies to be more accurate. Move dev-python/sphinx to PDEPEND
    to avoid circular dependencies, and remove runtime dependencies from
    DEPEND unless tests are enabled as they are not strictly necessary
    or verified.
    
    Bug: https://bugs.gentoo.org/624672

 ...build => sphinxcontrib-websupport-1.0.1-r1.ebuild} | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)}
Comment 20 Michael Palimaka (kensington) gentoo-dev 2019-04-25 10:32:37 UTC
*** Bug 638736 has been marked as a duplicate of this bug. ***