• Re: [gentoo-user] dev-python/docutils weird blockage

    From Jack@21:1/5 to Walter Dnes on Tue Aug 16 22:10:01 2022
    On 2022.08.16 15:41, Walter Dnes wrote:
    I hadn't updated a Lenovo laptop for a while, so I ended up with 269 packages to (re)build, which actually went OK. In addition there was
    one package skipped due to a dependancy conflict...

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

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

    Calculating dependencies... done!

    Total: 0 packages, Size of downloads: 0 KiB

    WARNING: One or more updates/rebuilds have been skipped due to a
    dependency conflict:

    dev-python/docutils:0

    (dev-python/docutils-0.19:0/0::gentoo, ebuild scheduled for merge)
    USE="" PYTHON_TARGETS="python3_10 (-pypy3) (-python3_11) -python3_8 -python3_9" conflicts with
    <dev-python/docutils-0.19[python_targets_python3_10(-)] required
    by (dev-python/sphinx-5.0.2:0/0::gentoo, installed) USE="-doc -latex
    -test" PYTHON_TARGETS="python3_10 (-pypy3) (-python3_11) -python3_8 -python3_9"
    ^ ^^^^ #################################################################

    I don't understand it. To help with the diagnostics I went
    full-screen and a bit smaller font. The error message appears to
    target
    the phrase "<dev-python/docutils-0.19" at the start of the final line.
    The "^" appears under the "<", at the start of the line. The "<" is highlighted in red. The "^^^^" appears under the "0.19". The "0.19"
    is
    also highlighted in red. Any ideas?
    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.

    Jack

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Walter Dnes@21:1/5 to All on Tue Aug 16 21:50:01 2022
    I hadn't updated a Lenovo laptop for a while, so I ended up with 269
    packages to (re)build, which actually went OK. In addition there was
    one package skipped due to a dependancy conflict...

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

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

    Calculating dependencies... done!

    Total: 0 packages, Size of downloads: 0 KiB

    WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

    dev-python/docutils:0

    (dev-python/docutils-0.19:0/0::gentoo, ebuild scheduled for merge) USE="" PYTHON_TARGETS="python3_10 (-pypy3) (-python3_11) -python3_8 -python3_9" conflicts with
    <dev-python/docutils-0.19[python_targets_python3_10(-)] required by (dev-python/sphinx-5.0.2:0/0::gentoo, installed) USE="-doc -latex -test" PYTHON_TARGETS="python3_10 (-pypy3) (-python3_11) -python3_8 -python3_9"
    ^ ^^^^ #################################################################

    I don't understand it. To help with the diagnostics I went
    full-screen and a bit smaller font. The error message appears to target
    the phrase "<dev-python/docutils-0.19" at the start of the final line.
    The "^" appears under the "<", at the start of the line. The "<" is highlighted in red. The "^^^^" appears under the "0.19". The "0.19" is
    also highlighted in red. Any ideas?

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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jack@21:1/5 to Wols Lists on Tue Aug 16 22:30:02 2022
    On 2022.08.16 16:16, Wols Lists wrote:
    On 16/08/2022 21:05, 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.

    Don't you mean "accept temporarily that you can't upgrade docutils"?
    It reads to me there's no need to downgrade because the upgrade has
    been skipped.
    Yes, sloppy wording on my part. I have docutils installed, but not
    sphinx, and trying to install sphinx (stable) for me would require downgrading docutils.

    The other point is, does the OP want both docutils and sphinx in
    their world set? Because if docutils is not in the world set, why is
    emerge trying to update it? If the OP is not using docutils directly,
    only via sphinx, surely removing it from the world set will make this conflict go away?
    I agree.

    Cheers,
    Wol

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Wols Lists@21:1/5 to Jack on Tue Aug 16 22:20:01 2022
    On 16/08/2022 21:05, 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.

    Don't you mean "accept temporarily that you can't upgrade docutils"? It
    reads to me there's no need to downgrade because the upgrade has been
    skipped.

    The other point is, does the OP want both docutils and sphinx in their
    world set? Because if docutils is not in the world set, why is emerge
    trying to update it? If the OP is not using docutils directly, only via
    sphinx, surely removing it from the world set will make this conflict go
    away?

    Cheers,
    Wol

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ionen Wolkens@21:1/5 to Walter Dnes on Wed Aug 17 00:40:01 2022
    On Tue, Aug 16, 2022 at 03:41:48PM -0400, Walter Dnes wrote:
    WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

    dev-python/docutils:0

    (dev-python/docutils-0.19:0/0::gentoo, ebuild scheduled for merge) USE="" PYTHON_TARGETS="python3_10 (-pypy3) (-python3_11) -python3_8 -python3_9" conflicts with
    <dev-python/docutils-0.19[python_targets_python3_10(-)] required by (dev-python/sphinx-5.0.2:0/0::gentoo, installed) USE="-doc -latex -test" PYTHON_TARGETS="python3_10 (-pypy3) (-python3_11) -python3_8 -python3_9"
    ^ ^^^^

    This is entirely fine to ignore, sphinx is just picky about docutils
    version it can use lately. ~arch sphinx is <0.20 and will eventually
    block an update for docutils-0.20 like this stable one does for 0.19
    (so little meaning in using ~arch sphinx ahead of its stabilization).

    At most only a problem if you actually need 0.19 for something.
    --
    ionen

    -----BEGIN PGP SIGNATURE-----

    iQEzBAABCAAdFiEEx3SLh1HBoPy/yLVYskQGsLCsQzQFAmL8HCQACgkQskQGsLCs QzRRnQf/WvcvwYE+hVCR9O+997/eE+ljHPSbEirVgGLmoY9Vb1E9H97o5U23U/ca vykuMP3vmJgQgp15ZLmKwjcz9N8d9BDCdAOzVx033RsDXKRQjjc3BWq/gVtURanY 34a9RVums2YHZrEkJzijKq4rc94zLV5cj+yQcXw+Y35lis2qyXdJ3kFuJDmm7DRi plHQBzwOp06EScVVheFFy/Xxnocjrnex/iv3YS9EETHFu0wMK/oMLfbL3BjIgPJQ XxSx2gF+1y0jQbFH82QNnbYErfXp0riwt3N8viUjifaWlZTMwEIaWGks9dGnN2M5 RCfHSMZ/7CYvVkWaxmGTvlJ5X3sgeQ==
    =zNQB
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Walter Dnes@21:1/5 to Jack on Wed Aug 17 02:20:01 2022
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Walter Dnes@21:1/5 to Ionen Wolkens on Wed Aug 17 04:50:01 2022
    On Tue, Aug 16, 2022 at 06:37:25PM -0400, Ionen Wolkens wrote

    This is entirely fine to ignore, sphinx is just picky about docutils
    version it can use lately. ~arch sphinx is <0.20 and will eventually
    block an update for docutils-0.20 like this stable one does for 0.19
    (so little meaning in using ~arch sphinx ahead of its stabilization).

    At most only a problem if you actually need 0.19 for something.

    I discovered 2 things today...

    1) "USE=doc" appears to be the default system setting.

    2) Entering "-doc" into the USE line in make.conf allows me to get rid
    of sphinx entirely.

    Problem solved and 19 modules/binaries removed off the laptop. I call
    that a win. I've entered "-doc" into the USE line in make.conf on my
    desktop PC. Next time I "update @world", I'll do the necessary dicking
    around to get rid of sphinx on my desktop.

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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)