Re: [gentoo-user] Apparently 2.4 is not >= 2.2?
On 2021.12.22 17:31, Steven Lembark wrote: On Tue, 21 Dec 2021 20:21:17 -0500 Jack 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?
Re: [gentoo-user] Apparently 2.4 is not >= 2.2?
On Tue, 21 Dec 2021 20:21:17 -0500 Jack 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 lemb...@wrkhors.com +1 888 359 3508
Re: [gentoo-user] Apparently 2.4 is not >= 2.2?
On Wed, 22 Dec 2021 at 01: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? 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
Re: [gentoo-user] Apparently 2.4 is not >= 2.2?
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.
[gentoo-user] Apparently 2.4 is not >= 2.2?
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 lemb...@wrkhors.com +1 888 359 3508