Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935151 - dev-libs/libxslt-1.1.39 test fail ModuleNotFoundError: No module named 'libxml2'
Summary: dev-libs/libxslt-1.1.39 test fail ModuleNotFoundError: No module named 'libxml2'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sam James
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-29 21:21 UTC by Arniii
Modified: 2024-07-04 00:29 UTC (History)
2 users (show)

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


Attachments
build.log (file_935151.txt,1.99 KB, text/plain)
2024-06-29 21:21 UTC, Arniii
Details
environment // profile default/linux/amd64/23.0/split-usr/desktop/plasma gcc-13.2.1_p20240210 O3 pipe march=native(verbose) lto graphite ggdb3 (file_935151.txt,138.64 KB, text/plain)
2024-06-29 21:22 UTC, Arniii
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arniii 2024-06-29 21:21:38 UTC
Created attachment 896632 [details]
build.log

from build.log:
```
 * python3_10: running run_in_build_dir libxslt_py_emake check
Making check in .
make[1]: Entering directory '/var/tmp/portage/dev-libs/libxslt-1.1.39/work/libxslt-1.1.39-abi_x86_64.amd64-python3_10/python'
make[1]: Nothing to be done for 'check-am'.
make[1]: Leaving directory '/var/tmp/portage/dev-libs/libxslt-1.1.39/work/libxslt-1.1.39-abi_x86_64.amd64-python3_10/python'
Making check in tests
make[1]: Entering directory '/var/tmp/portage/dev-libs/libxslt-1.1.39/work/libxslt-1.1.39-abi_x86_64.amd64-python3_10/python/tests'
make  check-local
make[2]: Entering directory '/var/tmp/portage/dev-libs/libxslt-1.1.39/work/libxslt-1.1.39-abi_x86_64.amd64-python3_10/python/tests'
-- basic.py
Traceback (most recent call last):
  File "/var/tmp/portage/dev-libs/libxslt-1.1.39/work/libxslt-1.1.39/python/tests/basic.py", line 5, in <module>
    import libxml2
ModuleNotFoundError: No module named 'libxml2'
-- exslt.py
Traceback (most recent call last):
  File "/var/tmp/portage/dev-libs/libxslt-1.1.39/work/libxslt-1.1.39/python/tests/exslt.py", line 4, in <module>
    import libxml2
ModuleNotFoundError: No module named 'libxml2'
-- extelem.py
Traceback (most recent call last):
  File "/var/tmp/portage/dev-libs/libxslt-1.1.39/work/libxslt-1.1.39/python/tests/extelem.py", line 5, in <module>
    import libxml2
ModuleNotFoundError: No module named 'libxml2'
-- extfunc.py
Traceback (most recent call last):
  File "/var/tmp/portage/dev-libs/libxslt-1.1.39/work/libxslt-1.1.39/python/tests/extfunc.py", line 5, in <module>
    import libxml2
ModuleNotFoundError: No module named 'libxml2'
make[2]: *** [Makefile:580: check-local] Error 1
make[2]: Leaving directory '/var/tmp/portage/dev-libs/libxslt-1.1.39/work/libxslt-1.1.39-abi_x86_64.amd64-python3_10/python/tests'
make[1]: *** [Makefile:457: check-am] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-libs/libxslt-1.1.39/work/libxslt-1.1.39-abi_x86_64.amd64-python3_10/python/tests'
make: *** [Makefile:680: check-recursive] Error 1
```
Comment 1 Arniii 2024-06-29 21:22:57 UTC
Created attachment 896633 [details]
environment // profile default/linux/amd64/23.0/split-usr/desktop/plasma gcc-13.2.1_p20240210 O3 pipe march=native(verbose) lto graphite ggdb3
Comment 2 Arniii 2024-06-29 21:28:43 UTC
this is during my profile updating at moment `emerge -avtqbUDuek @world ` where in binary local packages was only gcc. I believe it can be a missing dependency.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-07-04 00:26:11 UTC
Your build.log attachment is truncated..
Comment 4 Larry the Git Cow gentoo-dev 2024-07-04 00:29:52 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b5c0d83b88e109650baeeb1f31068205196a8e9

commit 8b5c0d83b88e109650baeeb1f31068205196a8e9
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-07-04 00:23:57 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-07-04 00:28:12 +0000

    dev-libs/libxslt: add 1.1.41
    
    I did backport patches to help work with older libxml2 but the
    tests don't build (implicit func decls) and then I saw Nick mention
    in a bug [0] that 2.13 is required to fix all known problems anyway,
    so let's require that (sorry).
    
    [0] https://gitlab.gnome.org/GNOME/libxslt/-/issues/116#note_2155804
    
    Closes: https://bugs.gentoo.org/935151
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/libxslt/Manifest                          |   1 +
 ...-1.1.41-deprecated-xmlCharEncodingHandler.patch |  93 +++++++++++
 ...extensions-xmlCheckFilename-older-libxml2.patch |  40 +++++
 .../files/libxslt-1.1.41-libxml2-2.13.patch        | 171 +++++++++++++++++++++
 dev-libs/libxslt/libxslt-1.1.41.ebuild             | 129 ++++++++++++++++
 dev-libs/libxslt/libxslt-9999.ebuild               |  15 +-
 6 files changed, 446 insertions(+), 3 deletions(-)