After recent upgrade, I'm getting the following warning message:
WARNING: Nokogiri was built against LibXML version 2.9.2, but has dynamically loaded 2.9.3
I tried to run both emerge @preserved-rebuild and revdep-rebuild but it does not trigger the rebuild.
The current ebuild has RDEPEND >=dev-libs/libxml2-2.9.2:= and DEPEND >=dev-libs/libxml2-2.9.2 which might overwrite the := logic.
You should probably change it to the usual:
I think the problem is that libxml2 does not have sub-slots at the moment, so the := dependency is currently without effect. I'm not sure if the maintainers are willing to add a sub-slot, cc-ing them.
I am unsure if we should add a subslot for this concrete case. It looks to me that nokogiri is too strict warning about that (in fact, our recent 2.9.2-rX revisions were really really close to 2.9.3) :/
This looks similar to bug 517908, that shows another example of a reverse dep being too strict and warning and dying without really needing to do so.
(In reply to Pacho Ramos from comment #2)
> I am unsure if we should add a subslot for this concrete case. It looks to
> me that nokogiri is too strict warning about that (in fact, our recent
> 2.9.2-rX revisions were really really close to 2.9.3) :/
> This looks similar to bug 517908, that shows another example of a reverse
> dep being too strict and warning and dying without really needing to do so.
nokogiri only prints a warning, but that is annoying enough. In my case this generates a bunch of cron emails that should not be sent due to normally being empty.
It might be better to simply patch out the warning in the nokogiri ebuild.
So I was about to say that libxml2 needs not a subslot but I cannot say that because it's soversion is clearly nothing you would expect to be correct. So while I have not encountered a problem that would require libxml2 rebuilds in the years I have been using Gentoo, it does not mean there is no need for it.
This warning makes =dev-ruby/rspec-core-3.3.2-r1 fail its tests (specifically the test "RSpec behaves like library wide checks issues no warnings when the spec files are loaded") if dev-libs/libxml2 has been upgraded since dev-ruby/nokogiri was built.