Mailing List Archive

[SOLVED] dev-python/docutils weird blockage
On Tue, Aug 16, 2022 at 04:05:33PM -0400, Jack wrote

> This one is actually pretty straightforward. You have
> dev-python/sphinx-5.0.2 installed which requires a version of
> dev-python/docutils LESS THAN 0.19. I suspect you were looking for
> conflicts in the USE flags, where there aren't any (that I see.)
> It looks like you either need to downgrade docutils or accept (at
> least temporarily) a testing version of sphinx.

Actually it sort of was a USE flag, in a different way

equery d sphinx

...spits out a whole bunch of stuff such as...

dev-util/cmake-3.22.4 (doc ? dev-python/sphinx)
net-dns/bind-tools-9.16.30 (doc ? dev-python/sphinx)

Apparently, "USE=doc" flag is enabled by default. I put "-doc" into
USE in make.conf and tried "emerge --depclean dev-python/sphinx".
dev-python/sphinx_rtd_theme-1.0.0-r1 blocked that, claiming that qemu
was still using the "doc" flag. I manually, force-unmerged
dev-python/sphinx_rtd_theme-1.0.0-r1.

Then there were circular dependancies between sphinx and...

dev-python/sphinxcontrib-applehelp-1.0.2-r1
dev-python/sphinxcontrib-devhelp-1.0.2-r1
dev-python/sphinxcontrib-htmlhelp-2.0.0-r1
dev-python/sphinxcontrib-jsmath-1.0.1-r2
dev-python/sphinxcontrib-qthelp-1.0.3-r1
dev-python/sphinxcontrib-serializinghtml-1.1.5-r1

After force-unmerging them one at a time, I successfully ran...

emerge --depclean dev-python/sphinx

And the climax...

[thimk2][root][~] emerge -pv --changed-use --deep --update @world

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

Calculating dependencies... done!
[ebuild U ] dev-python/docutils-0.19::gentoo [0.17.1-r1::gentoo] PYTHON_TARGETS="python3_10 (-pypy3) -python3_8 -python3_9 (-python3_11)" 2,009 KiB

After updating @world, my homebrew depclean script flagged 11 python
modules for removal. Thanks for everybody's help straightening out the
problem, and getting sphinx off my laptop in the process. I've added
"-doc" to the USE flags on my desktop, and I'll repeat the removal
process on my next @world update.

--
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications