Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 735688 - app-text/xapers-0.8.2-r1 fails tests
Summary: app-text/xapers-0.8.2-r1 fails tests
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: William Pettersson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-03 09:32 UTC by Agostino Sarubbo
Modified: 2020-08-04 16:42 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,59.98 KB, text/plain)
2020-08-03 09:32 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-08-03 09:32:44 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

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

NOTE:
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

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/runpy.py. 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/runpy.py", line 185, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "/usr/lib/python3.8/runpy.py", line 144, in _get_module_details
    return _get_module_details(pkg_main_name, error)
  File "/usr/lib/python3.8/runpy.py", line 111, in _get_module_details
    __import__(pkg_name)
  File "/var/tmp/portage/app-text/xapers-0.8.2-r1/work/xapers-0.8.2/lib/xapers/__init__.py", 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/database.py", line 23, in <module>
    import xapian
ModuleNotFoundError: No module named 'xapian'