public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] dev-python/docutils weird blockage
@ 2022-08-16 19:41 Walter Dnes
  2022-08-16 20:05 ` Jack
  2022-08-16 22:37 ` [gentoo-user] " Ionen Wolkens
  0 siblings, 2 replies; 7+ messages in thread
From: Walter Dnes @ 2022-08-16 19:41 UTC (permalink / raw
  To: Gentoo Users List

  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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] dev-python/docutils weird blockage
  2022-08-16 19:41 [gentoo-user] dev-python/docutils weird blockage Walter Dnes
@ 2022-08-16 20:05 ` Jack
  2022-08-16 20:16   ` Wols Lists
  2022-08-17  0:13   ` [gentoo-user] [SOLVED] " Walter Dnes
  2022-08-16 22:37 ` [gentoo-user] " Ionen Wolkens
  1 sibling, 2 replies; 7+ messages in thread
From: Jack @ 2022-08-16 20:05 UTC (permalink / raw
  To: gentoo-user

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] dev-python/docutils weird blockage
  2022-08-16 20:05 ` Jack
@ 2022-08-16 20:16   ` Wols Lists
  2022-08-16 20:26     ` Jack
  2022-08-17  0:13   ` [gentoo-user] [SOLVED] " Walter Dnes
  1 sibling, 1 reply; 7+ messages in thread
From: Wols Lists @ 2022-08-16 20:16 UTC (permalink / raw
  To: gentoo-user

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] dev-python/docutils weird blockage
  2022-08-16 20:16   ` Wols Lists
@ 2022-08-16 20:26     ` Jack
  0 siblings, 0 replies; 7+ messages in thread
From: Jack @ 2022-08-16 20:26 UTC (permalink / raw
  To: gentoo-user

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] dev-python/docutils weird blockage
  2022-08-16 19:41 [gentoo-user] dev-python/docutils weird blockage Walter Dnes
  2022-08-16 20:05 ` Jack
@ 2022-08-16 22:37 ` Ionen Wolkens
  2022-08-17  2:43   ` Walter Dnes
  1 sibling, 1 reply; 7+ messages in thread
From: Ionen Wolkens @ 2022-08-16 22:37 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 967 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-user] [SOLVED] dev-python/docutils weird blockage
  2022-08-16 20:05 ` Jack
  2022-08-16 20:16   ` Wols Lists
@ 2022-08-17  0:13   ` Walter Dnes
  1 sibling, 0 replies; 7+ messages in thread
From: Walter Dnes @ 2022-08-17  0:13 UTC (permalink / raw
  To: gentoo-user

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] dev-python/docutils weird blockage
  2022-08-16 22:37 ` [gentoo-user] " Ionen Wolkens
@ 2022-08-17  2:43   ` Walter Dnes
  0 siblings, 0 replies; 7+ messages in thread
From: Walter Dnes @ 2022-08-17  2:43 UTC (permalink / raw
  To: gentoo-user

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-08-17  2:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-16 19:41 [gentoo-user] dev-python/docutils weird blockage Walter Dnes
2022-08-16 20:05 ` Jack
2022-08-16 20:16   ` Wols Lists
2022-08-16 20:26     ` Jack
2022-08-17  0:13   ` [gentoo-user] [SOLVED] " Walter Dnes
2022-08-16 22:37 ` [gentoo-user] " Ionen Wolkens
2022-08-17  2:43   ` Walter Dnes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox