• [gentoo-user] Apparently 2.4 is not >= 2.2?

    From Steven Lembark@21:1/5 to All on Wed Dec 22 01:30:01 2021
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jack@21:1/5 to Steven Lembark on Wed Dec 22 02:30:01 2021
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Arve Barsnes@21:1/5 to Steven Lembark on Wed Dec 22 07:10:01 2021
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Nikos Chantziaras@21:1/5 to Steven Lembark on Wed Dec 22 06:30:02 2021
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Steven Lembark@21:1/5 to Jack on Wed Dec 22 23:40:01 2021
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Steven Lembark@21:1/5 to All on Wed Dec 22 23:30:01 2021
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jack@21:1/5 to Steven Lembark on Thu Dec 23 21:10:01 2021
    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?

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