public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Apparently 2.4 is not >= 2.2?
@ 2021-12-22  0:28 Steven Lembark
  2021-12-22  1:21 ` Jack
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Steven Lembark @ 2021-12-22  0:28 UTC (permalink / raw
  To: gentoo-user; +Cc: lembark

Before I spend a lot of time backtracking all of this...

Q: Are either of these issues well-known pathologies of emerge?
 
Recently built a new Gentoo system by creating a new LV, extracting
stage3-amd64-openrc-20211205T170532Z.tar.xz and going through the 
handbook stages to get a running sytem.

I then installed a variety of packages I have on the current system
like fonts, claws-mail.

Catch is that I cannot update the sytem:

# $emerge --update --fetchonly @world;
Calculating dependencies... done!

The following packages are causing rebuilds:

  (x11-base/xorg-server-1.20.14:0/1.20.14::gentoo, ebuild scheduled for merge) causes rebuilds for:
    (x11-drivers/xf86-input-synaptics-1.9.1:0/0::gentoo, ebuild scheduled for merge)
    (x11-drivers/xf86-input-evdev-2.10.6:0/0::gentoo, ebuild scheduled for merge)

emerge: there are no ebuilds to satisfy ">=dev-lang/python-exec-2:2/2=[python_targets_python2_7(-),python_targets_python3_6(-),-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(-)]".
(dependency required by "dev-python/pytest-runner-4.2::gentoo" [installed])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])


It seems that I have a recent enough python-exec installed: 2.4 >= 2.2.

# emerge --search dev-lang/python-exec

[ Results for search key : dev-lang/python-exec ]
Searching...

*  dev-lang/python-exec
      Latest version available: 2.4.8
      Latest version installed: 2.4.8
      Size of files: 81 KiB
      Homepage:      https://github.com/mgorny/python-exec/
      Description:   Python script wrapper
      License:       BSD-2


I'm having a similar issue with firefox-bin:

# $emerge firefox-bin;
Calculating dependencies... done!

emerge: there are no ebuilds to satisfy ">=dev-python/markupsafe-0.9.2[python_targets_python3_6(-),python_targets_python3_7(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-),-python_single_target_python3_9(-)]".
(dependency required by "dev-python/mako-1.1.3::gentoo" [installed])
(dependency required by "media-libs/mesa-20.1.0::gentoo" [installed])
(dependency required by "x11-libs/gtk+-3.24.29::gentoo[X]" [ebuild])
(dependency required by "www-client/firefox-bin-95.0.1::gentoo" [ebuild])
(dependency required by "firefox-bin" [argument])


But I also seem to have a recent markupsafe, if 2.0.1 >= 0.9.2??

# emerge --search dev-python/markupsafe

[ Results for search key : dev-python/markupsafe ]
Searching...

*  dev-python/markupsafe
      Latest version available: 2.0.1
      Latest version installed: 2.0.1
      Size of files: 19 KiB
      Homepage:      https://pypi.org/project/MarkupSafe/
      Description:   Implements a XML/HTML/XHTML Markup safe string for Python
      License:       BSD



-- 
Steven Lembark
Workhorse Computing
lembark@wrkhors.com
+1 888 359 3508


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

* Re: [gentoo-user] Apparently 2.4 is not >= 2.2?
  2021-12-22  0:28 [gentoo-user] Apparently 2.4 is not >= 2.2? Steven Lembark
@ 2021-12-22  1:21 ` Jack
  2021-12-22 22:31   ` Steven Lembark
  2021-12-22  5:27 ` [gentoo-user] " Nikos Chantziaras
  2021-12-22  6:04 ` [gentoo-user] " Arve Barsnes
  2 siblings, 1 reply; 7+ messages in thread
From: Jack @ 2021-12-22  1:21 UTC (permalink / raw
  To: gentoo-user

On 12/21/21 19:28, Steven Lembark wrote:
> Before I spend a lot of time backtracking all of this...
>
> Q: Are either of these issues well-known pathologies of emerge?
>   
> Recently built a new Gentoo system by creating a new LV, extracting
> stage3-amd64-openrc-20211205T170532Z.tar.xz and going through the
> handbook stages to get a running sytem.
>
> I then installed a variety of packages I have on the current system
> like fonts, claws-mail.
>
> Catch is that I cannot update the sytem:
>
> # $emerge --update --fetchonly @world;
> Calculating dependencies... done!
>
> The following packages are causing rebuilds:
>
>    (x11-base/xorg-server-1.20.14:0/1.20.14::gentoo, ebuild scheduled for merge) causes rebuilds for:
>      (x11-drivers/xf86-input-synaptics-1.9.1:0/0::gentoo, ebuild scheduled for merge)
>      (x11-drivers/xf86-input-evdev-2.10.6:0/0::gentoo, ebuild scheduled for merge)
>
> emerge: there are no ebuilds to satisfy ">=dev-lang/python-exec-2:2/2=[python_targets_python2_7(-),python_targets_python3_6(-),-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(-)]".
> (dependency required by "dev-python/pytest-runner-4.2::gentoo" [installed])
> (dependency required by "@selected" [set])
> (dependency required by "@world" [argument])
>
>
> It seems that I have a recent enough python-exec installed: 2.4 >= 2.2.
>
> # emerge --search dev-lang/python-exec
>
> [ Results for search key : dev-lang/python-exec ]
> Searching...
>
> *  dev-lang/python-exec
>        Latest version available: 2.4.8
>        Latest version installed: 2.4.8
>        Size of files: 81 KiB
>        Homepage:      https://github.com/mgorny/python-exec/
>        Description:   Python script wrapper
>        License:       BSD-2
>
>
> I'm having a similar issue with firefox-bin:
>
> # $emerge firefox-bin;
> Calculating dependencies... done!
>
> emerge: there are no ebuilds to satisfy ">=dev-python/markupsafe-0.9.2[python_targets_python3_6(-),python_targets_python3_7(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-),-python_single_target_python3_9(-)]".
> (dependency required by "dev-python/mako-1.1.3::gentoo" [installed])
> (dependency required by "media-libs/mesa-20.1.0::gentoo" [installed])
> (dependency required by "x11-libs/gtk+-3.24.29::gentoo[X]" [ebuild])
> (dependency required by "www-client/firefox-bin-95.0.1::gentoo" [ebuild])
> (dependency required by "firefox-bin" [argument])
>
>
> But I also seem to have a recent markupsafe, if 2.0.1 >= 0.9.2??
>
> # emerge --search dev-python/markupsafe
>
> [ Results for search key : dev-python/markupsafe ]
> Searching...
>
> *  dev-python/markupsafe
>        Latest version available: 2.0.1
>        Latest version installed: 2.0.1
>        Size of files: 19 KiB
>        Homepage:      https://pypi.org/project/MarkupSafe/
>        Description:   Implements a XML/HTML/XHTML Markup safe string for Python
>        License:       BSD
I may well be wront, but it looks like the problems are not due to 
version, but to python-target mismatches.  You may need to rebuild some 
stuff first, such as pytest-runner and mako.


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

* [gentoo-user] Re: Apparently 2.4 is not >= 2.2?
  2021-12-22  0:28 [gentoo-user] Apparently 2.4 is not >= 2.2? Steven Lembark
  2021-12-22  1:21 ` Jack
@ 2021-12-22  5:27 ` Nikos Chantziaras
  2021-12-22 22:27   ` Steven Lembark
  2021-12-22  6:04 ` [gentoo-user] " Arve Barsnes
  2 siblings, 1 reply; 7+ messages in thread
From: Nikos Chantziaras @ 2021-12-22  5:27 UTC (permalink / raw
  To: gentoo-user

On 22/12/2021 02:28, Steven Lembark wrote:
> Q: Are either of these issues well-known pathologies of emerge?
> [...]
> 
> 
> emerge: there are no ebuilds to satisfy ">=dev-lang/python-exec-2:2/2=[python_targets_python2_7(-),python_targets_python3_6(-),-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(-)]".
> (dependency required by "dev-python/pytest-runner-4.2::gentoo" [installed])
> (dependency required by "@selected" [set])
> (dependency required by "@world" [argument])

Post the output of:

emerge --info dev-lang/python-exec



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

* Re: [gentoo-user] Apparently 2.4 is not >= 2.2?
  2021-12-22  0:28 [gentoo-user] Apparently 2.4 is not >= 2.2? Steven Lembark
  2021-12-22  1:21 ` Jack
  2021-12-22  5:27 ` [gentoo-user] " Nikos Chantziaras
@ 2021-12-22  6:04 ` Arve Barsnes
  2 siblings, 0 replies; 7+ messages in thread
From: Arve Barsnes @ 2021-12-22  6:04 UTC (permalink / raw
  To: Gentoo; +Cc: lembark

On Wed, 22 Dec 2021 at 01:28, Steven Lembark <lembark@wrkhors.com> wrote:
>
> Before I spend a lot of time backtracking all of this...
>
> Q: Are either of these issues well-known pathologies of emerge?

Python target troubles are indeed common around major python version
upgrades, which we've had quite a few of lately.

In your case, I would try running a depclean, dev-python/pytest-runner
does not seem to be in the tree at all, so complaining about not
finding a newer version satisfying the wanted python targets makes
sense there. Removing outdated packages is almost always helpful in
these instances.

Regards,
Arve


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

* Re: [gentoo-user] Re: Apparently 2.4 is not >= 2.2?
  2021-12-22  5:27 ` [gentoo-user] " Nikos Chantziaras
@ 2021-12-22 22:27   ` Steven Lembark
  0 siblings, 0 replies; 7+ messages in thread
From: Steven Lembark @ 2021-12-22 22:27 UTC (permalink / raw
  To: gentoo-user; +Cc: lembark


Sorry for the delay.

> Post the output of:
> 
> emerge --info dev-lang/python-exec

https://pastebin.com/5kQPpRsb




-- 
Steven Lembark
Workhorse Computing
lembark@wrkhors.com
+1 888 359 3508


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

* Re: [gentoo-user] Apparently 2.4 is not >= 2.2?
  2021-12-22  1:21 ` Jack
@ 2021-12-22 22:31   ` Steven Lembark
  2021-12-23 20:09     ` Jack
  0 siblings, 1 reply; 7+ messages in thread
From: Steven Lembark @ 2021-12-22 22:31 UTC (permalink / raw
  To: gentoo-user; +Cc: lembark

On Tue, 21 Dec 2021 20:21:17 -0500
Jack <ostroffjh@users.sourceforge.net> wrote:

> I may well be wront, but it looks like the problems are not due to 
> version, but to python-target mismatches.  You may need to rebuild
> some stuff first, such as pytest-runner and mako.

You are probably right: I've spent more time playing with 
PYTHON*TARGET variables and succesive rebuilds on this machine
than actually doing any work for about a year. Annoyance is 
that I don't do anything else with Python here so it's only 
for the package manager. 

This is for a fresh build from a recent stage3. It shouldn't 
be this painful to just start a new system.


-- 
Steven Lembark
Workhorse Computing
lembark@wrkhors.com
+1 888 359 3508


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

* Re: [gentoo-user] Apparently 2.4 is not >= 2.2?
  2021-12-22 22:31   ` Steven Lembark
@ 2021-12-23 20:09     ` Jack
  0 siblings, 0 replies; 7+ messages in thread
From: Jack @ 2021-12-23 20:09 UTC (permalink / raw
  To: gentoo-user

On 2021.12.22 17:31, Steven Lembark wrote:
> On Tue, 21 Dec 2021 20:21:17 -0500
> Jack <ostroffjh@users.sourceforge.net> wrote:
> 
> > I may well be wront, but it looks like the problems are not due to
> > version, but to python-target mismatches.  You may need to rebuild
> > some stuff first, such as pytest-runner and mako.
> 
> You are probably right: I've spent more time playing with
> PYTHON*TARGET variables and succesive rebuilds on this machine
> than actually doing any work for about a year. Annoyance is
> that I don't do anything else with Python here so it's only
> for the package manager.
> 
> This is for a fresh build from a recent stage3. It shouldn't
> be this painful to just start a new system.
With a new system, I would think you should not need to alter the  
profile defaults in any way.  Once you do anything manually to those  
python variables, it likely devolves into a black hole.

I would find any python-target related variables in any portage config  
files, and seriously consider removing them.

As someone recently suggested in a different thread, start with just  
"emerge @system" then "emerge @world" (without any non-default options)  
and only when that is done, start adding back the --newuse and --deep  
options.

The other replies have also been good - in terms of where to start  
looking.  Also - which versions of python do you have installed, and  
which do you actually need?


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

end of thread, other threads:[~2021-12-23 20:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-22  0:28 [gentoo-user] Apparently 2.4 is not >= 2.2? Steven Lembark
2021-12-22  1:21 ` Jack
2021-12-22 22:31   ` Steven Lembark
2021-12-23 20:09     ` Jack
2021-12-22  5:27 ` [gentoo-user] " Nikos Chantziaras
2021-12-22 22:27   ` Steven Lembark
2021-12-22  6:04 ` [gentoo-user] " Arve Barsnes

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