Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 791583 - dev-util/catalyst: requires old dev-python/snakeoil
Summary: dev-util/catalyst: requires old dev-python/snakeoil
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Catalyst Developers
URL:
Whiteboard:
Keywords:
Depends on: 849482
Blocks:
  Show dependency tree
 
Reported: 2021-05-23 07:24 UTC by Michał Górny
Modified: 2022-06-17 00:39 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build failure with catalyst-3.0.18 & snakeoil-0.9.6 (catalyst-3.0.18_snakeoil-0.9.6-build-fail-20210610.txt,2.15 KB, text/plain)
2021-06-11 02:35 UTC, Joshua Kinard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-05-23 07:24:53 UTC
NonsolvableDepsInDev: version 3.0.17: nonsolvable depset(depend) keyword(amd64) dev profile (default/linux/amd64/17.0/x32) (40 total): solutions: [ <dev-python/snakeoil-0.9.6[-python_single_target_python3_8(-),-python_single_target_python3_9(-),python_targets_python3_8(-),python_targets_python3_9(-)] ]


I would really appreciate if you fixed it to work with modern snakeoil versions.
Comment 1 Samuel Bernardo 2021-05-24 10:55:42 UTC
Same problem here

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-python/snakeoil:0

  (dev-python/snakeoil-0.9.6:0/0::gentoo, ebuild scheduled for merge) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9" pulled in by
    >=dev-python/snakeoil-0.9.6[python_targets_python3_8(-)?,python_targets_python3_9(-)?,-python_single_target_python3_8(-),-python_single_target_python3_9(-)] required by (dev-util/pkgcheck-0.10.0:0/0::gentoo, ebuild scheduled for merge) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9"
    ^^                    ^^^^^                                                                                                                                                                                                                                                                                                                                                                                                                   
    (and 1 more with the same problem)

  (dev-python/snakeoil-0.9.5:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9" pulled in by
    <dev-python/snakeoil-0.9.6[python_targets_python3_8(-)?,python_targets_python3_9(-)?,-python_single_target_python3_8(-),-python_single_target_python3_9(-)] required by (dev-util/catalyst-3.0.17:0/0::gentoo, installed) USE="iso -ccache -doc -system-bootloader" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9"
    ^                    ^^^^^
Comment 2 Samuel Bernardo 2021-06-07 21:36:05 UTC
This issue is now blocking the world upgrade.
I'm going to remove dev-util/catalyst until supports snakeoil-0.9.6 required by pkgcore.
If I have the time I can also look into this and submit a PR.
Comment 3 Samuel Bernardo 2021-06-07 21:39:08 UTC
Forget to mention that this issue is also happening with catalyst-3.0.18:

dev-python/snakeoil:0

  (dev-python/snakeoil-0.9.6:0/0::gentoo, ebuild scheduled for merge) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 -python3_10" pulled in by
    >=dev-python/snakeoil-0.9.6[python_targets_python3_8(-)?,python_targets_python3_9(-)?,-python_single_target_python3_8(-),-python_single_target_python3_9(-)] required by (sys-apps/pkgcore-0.11.8-r3:0/0::gentoo, ebuild scheduled for merge) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9"
    ^^                    ^^^^^                                                                                                                                                                                                                                                                                                                                                                                                                     
    (and 1 more with the same problem)

  (dev-python/snakeoil-0.9.5:0/0::gentoo, ebuild scheduled for merge) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9" pulled in by
    <dev-python/snakeoil-0.9.6[python_targets_python3_8(-)?,python_targets_python3_9(-)?,-python_single_target_python3_8(-),-python_single_target_python3_9(-)] required by (dev-util/catalyst-3.0.18:0/0::gentoo, ebuild scheduled for merge) USE="iso -ccache -doc -system-bootloader" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9"
    ^                    ^^^^^
Comment 4 Joshua Kinard gentoo-dev 2021-06-11 02:35:39 UTC
Created attachment 715209 [details]
Build failure with catalyst-3.0.18 & snakeoil-0.9.6

Adding the actual build error message when attempting to install catalyst-3.0.18 alongside snakeoil-0.9.6.
Comment 5 Larry the Git Cow gentoo-dev 2021-06-11 03:30:29 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=b3c917f7fa73d11c69b7e55dc7a00bc18a18edc7

commit b3c917f7fa73d11c69b7e55dc7a00bc18a18edc7
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2021-06-09 06:17:31 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2021-06-10 04:23:54 +0000

    catalyst: Replace snakeoil's locks with fasteners
    
    To no great surprise, the existing locking was broken. For example,
    clear_chroot() releases the lock. It is called by unpack(), which is
    part of prepare_sequence. The result is that the whole build could be
    done without holding the lock.
    
    Just lock around run(). It's not apparent that finer-grained locking
    does anything for us.
    
    Bug: https://bugs.gentoo.org/791583
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 catalyst/base/clearbase.py   |  2 --
 catalyst/base/stagebase.py   | 10 +++-----
 catalyst/lock.py             | 58 --------------------------------------------
 catalyst/targets/snapshot.py |  6 ++---
 4 files changed, 7 insertions(+), 69 deletions(-)
Comment 6 Larry the Git Cow gentoo-dev 2021-06-11 04:21:47 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ef7061d6e1f7ba02cdacb98636a9abbfeed26f0

commit 6ef7061d6e1f7ba02cdacb98636a9abbfeed26f0
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2021-06-11 04:15:15 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2021-06-11 04:21:40 +0000

    dev-util/catalyst: Version bump to 3.0.19
    
    Bug: https://bugs.gentoo.org/519656
    Closes: https://bugs.gentoo.org/791583
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 dev-util/catalyst/Manifest               |  1 +
 dev-util/catalyst/catalyst-3.0.19.ebuild | 71 ++++++++++++++++++++++++++++++++
 2 files changed, 72 insertions(+)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37734954b611c9cb2ae468419ee7079124b40a94

commit 37734954b611c9cb2ae468419ee7079124b40a94
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2021-06-11 03:56:47 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2021-06-11 04:21:39 +0000

    dev-util/catalyst: Depend on dev-python/fasteners
    
    Bug: https://bugs.gentoo.org/791583
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 dev-util/catalyst/catalyst-9999.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 7 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2021-12-22 21:31:50 UTC
This issue is back now that 3.0.19 is gone and 3.0.20 is unkeyworded.