On Wed, Oct 30, 2019 at 09:19:14PM +1300, Kent Fredric wrote:
> On Tue, 29 Oct 2019 12:27:49 -0500
> William Hubbs <willi...@gentoo.org> wrote:
> 
> > No, I'm just saying this:
> > 
> > We don't know that there is a portage bug from what I'm reading in this 
> > thread. We are talking about possible bugs, but a possible bug isn't a bug. 
> > If there is an issue cite it otherwise move on.
> > 
> > --with-bdeps=y is the default for a good reason as far as I am aware.
> > 
> > William
> 
> It only took a 3 days, but today, I'm helping a user who has a massive 
> upgrade problem.
> 
> Among it, is this gem of a "conflict"
> 
> 
> dev-python/setuptools:0
> 
>   (dev-python/setuptools-41.1.0:0/0::gentoo, ebuild scheduled for merge) 
> pulled in by
>     
> dev-python/setuptools[python_targets_python3_5(-)?,python_targets_python3_6(-)?,python_targets_python3_7(-)?,-python_single_target_python3_5(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-)]
>  required by (dev-util/meson-0.51.2:0/0::gentoo, ebuild scheduled for merge)
>                                                                               
>                                                                               
>                                                                               
>                                                                              
>     
> dev-python/setuptools[python_targets_pypy(-)?,python_targets_pypy3(-)?,python_targets_python2_7(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,python_targets_python3_7(-)?,-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-)]
>  required by (dev-python/certifi-2019.6.16:0/0::gentoo, ebuild scheduled for 
> merge)
>                                                                               
>                                                                               
>                                                                               
>                                                                               
>                                                                               
>                                                                               
>                         
> 
>   (dev-python/setuptools-20.6.7:0/0::gentoo, installed) pulled in by
>     
> dev-python/setuptools[python_targets_python2_7(-),python_targets_python3_4(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)]
>  required by (net-misc/youtube-dl-2016.09.19:0/0::gentoo, installed)
>                                                                               
>                                                                               
>                                                                               
>                                                                          
>     
> dev-python/setuptools[python_targets_python2_7(-),python_targets_python3_4(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)]
>  required by (dev-python/jinja-2.8:0/0::gentoo, installed)
>                                                                               
>                                                                               
>                                                                               
>                                                                               
>                                               
>     
> dev-python/setuptools[python_targets_python2_7(-),python_targets_python3_4(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)]
>  required by (dev-python/numpy-1.10.4:0/0::gentoo, installed)
>                                                                               
>                                                                               
>                                                                               
>                                                                   
>     
> dev-python/setuptools[python_targets_python2_7(-),python_targets_python3_4(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)]
>  required by (dev-python/certifi-2015.11.20:0/0::gentoo, installed)
>                                                                               
>                                                                               
>                                                                               
>                                                                               
>                                                        
>     
> dev-python/setuptools[python_targets_python2_7(-),python_targets_python3_4(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)]
>  required by (dev-python/pygments-2.1.1:0/0::gentoo, installed)
>                                                                               
>                                                                               
>                                                                               
>                                                                               
>                                                    
> Why the hell is this happening?
> 
> Oh. Because portage is blocking upgrading something because they're
> pulled into the graph by --with-bdeps=y
> 
> Passing --with-bdeps=n removes half of these conflicts ( but not all,
> but thats probably some other problem, but I have no idea -what-
> because portage refuses to tell me )

You're right, I hate these kinds of error messages. I would go so far as
to say they are useless and the way this is handled should be cleaned
up.

I don't know portage internals, so I have no idea what the deal with
this is or how to fix it.

Did you report it to the portage team?

> Portage just ain't bothered to try upgrading them properly, and ain't
> smart enough to know that this is not an issue in the first place.
> 
> But I'd bet the remaining ones are "somebody did it wrong once upon a
> time, but the user sill has installed copies of the packages where it
> was done wrong"
> 
> But stupid portage is escallating *everything* to this stupid standard.
> 
> Which is garbage, because "upgrade setuptools" should in no way break
> *anything* that is currently installed, let alone, something like x264
> ( which was the target problem at the time of trying to fix this )
> 
> And portage just *isnt* smart enough to fix this on its own.
> 
> Please spend more time helping users in #gentoo, you will see messes
> like this on a *daily* basis.

I've noticed it gets messy very quickly if you wait a while to upgrade
your system also, so I would be curious how long the user waited to do
an upgrade?

Python is also more complex than most things because we allow multiple
versions.

There's no way to know whether removing virtual/rust will cause these
kinds of issues, so I'm still not convinced that we shouldn't remove it.

William

Attachment: signature.asc
Description: Digital signature

Reply via email to