Summary: | dev-libs/libxml2-2.9.12 with dev-python/lxml: mangles XML files | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Milan Beneš <milan> |
Component: | Stabilization | Assignee: | Sam James <sam> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | base-system, chris, herrtimson, jdavid.ibp, kusoneko, Manfred.Knick, miso.privoznik, O01eg, PF4Public, python, sam, snowy.mail, ternka122, tschweikle |
Priority: | Normal | Keywords: | CC-ARCHES, PullRequest |
Version: | unspecified | Flags: | nattka:
sanity-check+
|
Hardware: | All | ||
OS: | Linux | ||
URL: | https://bugs.launchpad.net/lxml/+bug/1928795 | ||
See Also: | https://github.com/gentoo/gentoo/pull/20981 | ||
Whiteboard: | |||
Package list: |
dev-libs/libxml2-2.9.12-r2
dev-python/lxml-4.6.3-r1
|
Runtime testing required: | --- |
Bug Depends on: | |||
Bug Blocks: | 790002 |
Description
Milan Beneš
2021-05-18 05:37:42 UTC
This is related to changes in libxml2 and how lxml handles them: https://gitlab.gnome.org/GNOME/libxml2/-/issues/255. libxml2's upstream reckons that lxml is to blame here. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10828321263bb5a7c9285fb53771c7ae00283ae6 commit 10828321263bb5a7c9285fb53771c7ae00283ae6 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2021-05-18 12:33:42 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2021-05-18 12:51:33 +0000 dev-python/lxml: Force old libxml2 for the time being Bug: https://bugs.gentoo.org/790737 Signed-off-by: Michał Górny <mgorny@gentoo.org> dev-python/lxml/lxml-4.6.3.ebuild | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) *** Bug 791127 has been marked as a duplicate of this bug. *** (In reply to Larry the Git Cow from comment #2) > The bug has been referenced in the following commit(s): > > https://gitweb.gentoo.org/repo/gentoo.git/commit/ > ?id=10828321263bb5a7c9285fb53771c7ae00283ae6 And now because of this we have the following error message with every world update. > WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict: > > dev-libs/libxml2:2 > > (dev-libs/libxml2-2.9.12:2/2::gentoo, ebuild scheduled for merge) USE="icu ipv6 lzma python readline -debug -examples -static-libs -test -verify-sig" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_8 -python3_7 -python3_9" conflicts with > <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" A better solution would be very welcome... *** Bug 791139 has been marked as a duplicate of this bug. *** There is a candidate patch we can use but I’m currently testing. Please be patient. I am aware of the frustrating “warning” but it is really harmless and just informational. We have asked in the past for it to be downgraded to a different phrase. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b77811a11fd46ecd492592b6facfdcacc0b79143 commit b77811a11fd46ecd492592b6facfdcacc0b79143 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-05-20 01:35:00 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-05-20 01:46:18 +0000 dev-python/lxml: add ~arch revbump to allow patched libxml2 libxml2-2.9.12-r1 includes a compatibility patch to restore/support older behaviour which lxml relies upon. Bug: https://bugs.gentoo.org/790737 Signed-off-by: Sam James <sam@gentoo.org> dev-python/lxml/lxml-4.6.3-r1.ebuild | 100 +++++++++++++++++++++++++++++++++++ 1 file changed, 100 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d220e09b25048d28d6598f8a6ffb62f0fbe92b4 commit 6d220e09b25048d28d6598f8a6ffb62f0fbe92b4 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-05-20 01:33:39 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-05-20 01:46:11 +0000 dev-libs/libxml2: include lxml compatibility patch Bug: https://bugs.gentoo.org/790737 Signed-off-by: Sam James <sam@gentoo.org> .../libxml2-2.9.12-fix-lxml-compatibility.patch | 214 ++++++++++++++++++ dev-libs/libxml2/libxml2-2.9.12-r1.ebuild | 245 +++++++++++++++++++++ 2 files changed, 459 insertions(+) Patch merged. Minded to, for now, stable this version, but still considering using our previous patchiest and just cherry-picking... FYI - the original upstream patch introduced a regression. I'll be opening a PR with the backport soon. (In reply to Michal Privoznik from comment #9) > FYI - the original upstream patch introduced a regression. I'll be opening a > PR with the backport soon. Thanks for letting me know. Seems the wait was justified in not stabling yet. I'm still tempted to just go back to our old 2.0.10+git patches and cherry-pick the important ones. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5dd398f1e5a3acda39f669bd9d94a6f9d715ac59 commit 5dd398f1e5a3acda39f669bd9d94a6f9d715ac59 Author: Michal Privoznik <mprivozn@redhat.com> AuthorDate: 2021-05-25 12:58:19 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-05-25 13:23:53 +0000 dev-libs/libxml2: add new upstream patch to fix lxml regression A regression was introduced by the previous upstream patch (which we added to Gentoo in 6d220e09b25048d28d6598f8a6ffb62f0fbe92b4). Bug: https://bugs.gentoo.org/790737 Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Signed-off-by: Sam James <sam@gentoo.org> dev-libs/libxml2/Manifest | 1 + dev-libs/libxml2/libxml2-2.9.12-r2.ebuild | 249 ++++++++++++++++++++++++++++++ 2 files changed, 250 insertions(+) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d9183a38a07a1d99855e5d8f684b18a51dd949b commit 5d9183a38a07a1d99855e5d8f684b18a51dd949b Author: Sam James <sam@gentoo.org> AuthorDate: 2021-05-25 13:26:52 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-05-25 13:26:56 +0000 dev-libs/libxml2: drop 2.9.12-r1 Upstream patch was found to be flawed. Bug: https://bugs.gentoo.org/790737 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/libxml2/Manifest | 1 - dev-libs/libxml2/libxml2-2.9.12-r1.ebuild | 249 ------------------------------ 2 files changed, 250 deletions(-) *** Bug 792159 has been marked as a duplicate of this bug. *** *** Bug 792492 has been marked as a duplicate of this bug. *** The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42986adf347f8f9d7a246b0be00c4010fd441424 commit 42986adf347f8f9d7a246b0be00c4010fd441424 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-05-28 03:22:33 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-05-28 03:22:56 +0000 dev-python/lxml: tighten libxml2 bounds Only as a nudge for people doing partial upgrades or similar. -r1 had a general regression (contained in the upstream patch) rather than any issues specific to lxml. Bug: https://bugs.gentoo.org/790737 Signed-off-by: Sam James <sam@gentoo.org> dev-python/lxml/lxml-4.6.3-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) amd64 done sparc done arm done arm64 done x86 done hppa stable ppc done ppc64 done all arches done |