Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Portage wants to downgrade dev-libs/libxml2, conflict.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Jojobinha_2009
Tux's lil' helper
Tux's lil' helper


Joined: 27 Mar 2021
Posts: 77
Location: Brazil

PostPosted: Tue May 18, 2021 5:42 pm    Post subject: Portage wants to downgrade dev-libs/libxml2, conflict. Reply with quote

Today while trying to do a world update, Portage wanted to downgrade dev-libs/libxml2 from version 2.9.12 to 2.9.10-r5.

If I allow it to downgrade the package, then it complains about dependency conflicts because other packages in the system require 2.9.12.

But, it seems both versions cannot coexist on the same machine.
And both are stable for amd64.

What's more, Portage shows an "UD" in front of the libxml2 ebuild instead of the normal "U" for update.


Note: Worked around the errors by just masking the newer version of libxml2, unmerging it, and letting Portage install the older one.
It's all fine now.
_________________
Intel Core i5-9400F / 24GB DDR4 2666MHz / GeForce GTX 1060 3GB

Powered by Gentoo for x86_64

======================================================

Seize the day, and remember to have fun!


Last edited by Jojobinha_2009 on Tue May 18, 2021 9:52 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30905
Location: here

PostPosted: Tue May 18, 2021 5:58 pm    Post subject: Reply with quote

The problem is lxml package
Code:
  (dev-libs/libxml2-2.9.10-r5:2/2::gentoo, installed) USE="icu ipv6 python readline -debug -examples -lzma -static-libs -test" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_8 -python3_7 -python3_9" 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_8 (-pypy3) -python3_7 -python3_9"
    ^                 ^^^^^^ 

this package require a dev-libs/libxml2 version lesser than 2.9.12.
The UD on portage output means
man emerge:
       [ebuild UD] media-libs/libgd-1.8.4 [2.0.11]
              Libgd 2.0.11 is already emerged, but if you run the command, then portage will Downgrade to version 1.8.4 for you.
              This may occur if a newer version of a package has been masked because it is broken or it creates a security risk on your system and a fix has not been released yet.
              Another reason this may occur is if a package you are trying to emerge requires an older version of a package in order to emerge successfully.  In this case, libgd 2.x is 
              incompatible with libgd 1.x.  This means that packages that were created with libgd 1.x will not compile with 2.x and must downgrade libgd first before they can emerge.

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Jojobinha_2009
Tux's lil' helper
Tux's lil' helper


Joined: 27 Mar 2021
Posts: 77
Location: Brazil

PostPosted: Tue May 18, 2021 6:13 pm    Post subject: Reply with quote

fedeliallalinea wrote:
The problem is lxml package
Code:
  (dev-libs/libxml2-2.9.10-r5:2/2::gentoo, installed) USE="icu ipv6 python readline -debug -examples -lzma -static-libs -test" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_8 -python3_7 -python3_9" 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_8 (-pypy3) -python3_7 -python3_9"
    ^                 ^^^^^^ 

this package require a dev-libs/libxml2 version lesser than 2.9.12.
The UD on portage output means
man emerge:
       [ebuild UD] media-libs/libgd-1.8.4 [2.0.11]
              Libgd 2.0.11 is already emerged, but if you run the command, then portage will Downgrade to version 1.8.4 for you.
              This may occur if a newer version of a package has been masked because it is broken or it creates a security risk on your system and a fix has not been released yet.
              Another reason this may occur is if a package you are trying to emerge requires an older version of a package in order to emerge successfully.  In this case, libgd 2.x is 
              incompatible with libgd 1.x.  This means that packages that were created with libgd 1.x will not compile with 2.x and must downgrade libgd first before they can emerge.



So what can I do? Wait?
_________________
Intel Core i5-9400F / 24GB DDR4 2666MHz / GeForce GTX 1060 3GB

Powered by Gentoo for x86_64

======================================================

Seize the day, and remember to have fun!
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30905
Location: here

PostPosted: Tue May 18, 2021 6:17 pm    Post subject: Reply with quote

Jojobinha_2009 wrote:
So what can I do? Wait?

Yes, you can wait a newer dev-python/lxml version that suport the >=dev-libs/libxml2-2.9.12 package
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Ralphred
Guru
Guru


Joined: 31 Dec 2013
Posts: 499

PostPosted: Tue May 18, 2021 7:16 pm    Post subject: Reply with quote

Code:
emerge -pv dev-python/lxml dev-libs/libxml2
Calculating dependencies... done!
[ebuild   R    ] dev-libs/libxml2-2.9.12:2::gentoo  USE="icu ipv6 python readline -debug -examples -lzma -static-libs -test -verify-sig" ABI_X86="32 (64) (-x32)" PYTHON_TARGETS="-python3_8 python3_9 -python3_7" 0 KiB
[ebuild   R    ] dev-python/lxml-4.6.3::gentoo  USE="threads -doc -examples -test" PYTHON_TARGETS="-python3_8 python3_9 (-pypy3) -python3_7" 0 KiB
You can get them to play nice together, but only under python3_9 it seems.
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4553
Location: Germany

PostPosted: Tue May 18, 2021 9:40 pm    Post subject: Reply with quote

See for more info https://bugs.gentoo.org/790737
Back to top
View user's profile Send private message
Jojobinha_2009
Tux's lil' helper
Tux's lil' helper


Joined: 27 Mar 2021
Posts: 77
Location: Brazil

PostPosted: Tue May 18, 2021 9:55 pm    Post subject: Reply with quote

Josef.95 wrote:
See for more info https://bugs.gentoo.org/790737


Thanks. Worked around the issue for now.
_________________
Intel Core i5-9400F / 24GB DDR4 2666MHz / GeForce GTX 1060 3GB

Powered by Gentoo for x86_64

======================================================

Seize the day, and remember to have fun!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum