Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 735688

Summary: app-text/xapers-0.8.2-r1 fails tests
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: William Pettersson <william>
Status: CONFIRMED ---    
Severity: normal CC: proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-08-03 09:32:44 UTC

Issue: app-text/xapers-0.8.2-r1 fails tests.
Discovered on: amd64 (internal ref: tinderbox)

This machine uses a clang/LLVM toolchain.
If you think that this issue is strictly related to clang/LLVM please block bug 408963. If you think that this issue isstrictly related to the LLD linker, please block bug 731004.
Comment 1 Agostino Sarubbo gentoo-dev 2020-08-03 09:32:49 UTC
Created attachment 652622 [details]

build log and emerge --info
Comment 2 William Pettersson 2020-08-04 16:42:54 UTC
Your emerge --info has PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7", but the following snippet from the logfile shows that tests are being called by /usr/lib/python3.8/ Is it possible that something has gone awry with your setup so that it's calling the wrong python version? I ask because that module (xapian) is part of xapian-bindings, and as it's part of RDEPEND (and thus BDEPEND) it should definitely be installed before attempting to install xapers.

Traceback (most recent call last):
  File "/usr/lib/python3.8/", line 185, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "/usr/lib/python3.8/", line 144, in _get_module_details
    return _get_module_details(pkg_main_name, error)
  File "/usr/lib/python3.8/", line 111, in _get_module_details
  File "/var/tmp/portage/app-text/xapers-0.8.2-r1/work/xapers-0.8.2/lib/xapers/", line 21, in <module>
    from .database import Database
  File "/var/tmp/portage/app-text/xapers-0.8.2-r1/work/xapers-0.8.2/lib/xapers/", line 23, in <module>
    import xapian
ModuleNotFoundError: No module named 'xapian'