Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 791127 - dev-python/lxml stable requires outdated <dev-libs/libxml2-2.9.12
Summary: dev-python/lxml stable requires outdated <dev-libs/libxml2-2.9.12
Status: RESOLVED DUPLICATE of bug 790737
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sam James
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-19 18:53 UTC by Sergei Trofimovich (RETIRED)
Modified: 2021-05-19 19:57 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergei Trofimovich (RETIRED) gentoo-dev 2021-05-19 18:53:35 UTC
Noticed stuck outdated dev-libs/libxml2 on today's world update:

$ emerge -pv1 '>=dev-libs/libxml2-2.9.12'

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] dev-libs/libxml2-2.9.12:2::gentoo [2.9.10-r5:2::gentoo] USE="ipv6 python readline -debug -examples -icu -lzma -static-libs -test -verify-sig%" ABI_X86="32 (64) (-x32)" PYTHON_TARGETS="python3_8 python3_9 -python3_7" 0 KiB

Total: 1 package (1 upgrade), Size of downloads: 0 KiB

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

dev-libs/libxml2:2

  (dev-libs/libxml2-2.9.12:2/2::gentoo, ebuild scheduled for merge) USE="ipv6 python readline -debug -examples -icu -lzma -static-libs -test -verify-sig" ABI_X86="32 (64) (-x32)" PYTHON_TARGETS="python3_8 python3_9 -python3_7" pulled in by
    >=dev-libs/libxml2-2.9.12 (Argument)

  (dev-libs/libxml2-2.9.10-r5:2/2::gentoo, installed) USE="ipv6 python readline -debug -examples -icu -lzma -static-libs -test" ABI_X86="32 (64) (-x32)" PYTHON_TARGETS="python3_8 python3_9 -python3_7" pulled in by
    <dev-libs/libxml2-2.9.12 required by (dev-python/lxml-4.6.3:0/0::gentoo, installed) USE="threads -doc -examples -test" ABI_X86="(64)" PYTHON_TARGETS="python3_10 python3_8 python3_9 (-pypy3) -python3_7"
    ^                 ^^^^^^
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2021-05-19 19:14:59 UTC
Please see bug 790737.

*** This bug has been marked as a duplicate of bug 790737 ***
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2021-05-19 19:21:17 UTC
(In reply to Thomas Deutschmann from comment #1)
> Please see bug 790737.

This bug is about resolver ambiguity.(In reply to Thomas Deutschmann from comment #1)
> Please see bug 790737.

It does not deal with resolver ambiguity.
Comment 3 Mike Gilbert gentoo-dev 2021-05-19 19:39:50 UTC
(In reply to Sergei Trofimovich from comment #2)

If you are trying to report a bug to the portage team, please assign it to them.
Comment 4 Sergei Trofimovich (RETIRED) gentoo-dev 2021-05-19 19:44:15 UTC
I do not. I think the upper bounds for popular packages should not conflict with one another to avoid ambiguous final plan.

If you disagree it's fine with me. I'll have to maintain local masks.
Comment 5 Mike Gilbert gentoo-dev 2021-05-19 19:51:36 UTC
(In reply to Sergei Trofimovich from comment #4)
> I do not. I think the upper bounds for popular packages should not conflict
> with one another to avoid ambiguous final plan.

I can't follow what you are trying to say here. I don't see any evidence of an actual dependency conflict.

dev-python/lxml needs <dev-libs/libxml2-2.9.12.

However, you explicitly ran this:

emerge -pv1 '>=dev-libs/libxml2-2.9.12'

And Portage tells you that is impossible to accomplish.

If you were doing a simple @world upgrade, I would expect Portage to emit a warning that it is unable to upgrade libxml2, and continue on as normal.
Comment 6 Mike Gilbert gentoo-dev 2021-05-19 19:57:45 UTC
Did you mean to request that dev-libs/libxml2-2.9.12 be masked? If so, a comment on the other bug will suffice.