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

Bug 684564

Summary: sys-libs/ldb-1.6.3 : [TEST] ModuleNotFoundError: No module named ldb
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo's SAMBA Team <samba>
Status: RESOLVED FIXED    
Severity: normal Keywords: TESTFAILURE
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=709600
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
sys-libs:ldb-1.6.3:20190427-210310.log
temp.tbz2
tests.tbz2

Description Toralf Förster gentoo-dev 2019-04-28 08:57:39 UTC
  File "tests/python/api.py", line 10, in <module>
    import ldb
ModuleNotFoundError: No module named 'ldb'
Traceback (most recent call last):
  File "tests/python/index.py", line 30, in <module>
    import ldb

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-no-multilib_test_20190424-221203

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)

Available Rust versions:
  [1]   rust-bin-1.34.1
  [2]   rust-1.34.1 *



emerge -qpvO sys-libs/ldb
[ebuild  N    ] sys-libs/ldb-1.6.3  USE="ldap lmdb -doc -python" PYTHON_SINGLE_TARGET="python3_6 -python3_5 -python3_7" PYTHON_TARGETS="python3_6 -python3_5 -python3_7"
Comment 1 Toralf Förster gentoo-dev 2019-04-28 08:57:41 UTC
Created attachment 574466 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-04-28 08:57:44 UTC
Created attachment 574468 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-04-28 08:57:47 UTC
Created attachment 574470 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-04-28 08:57:50 UTC
Created attachment 574472 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-04-28 08:57:53 UTC
Created attachment 574474 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-04-28 08:57:56 UTC
Created attachment 574476 [details]
sys-libs:ldb-1.6.3:20190427-210310.log
Comment 7 Toralf Förster gentoo-dev 2019-04-28 08:57:59 UTC
Created attachment 574478 [details]
temp.tbz2
Comment 8 Toralf Förster gentoo-dev 2019-04-28 08:58:02 UTC
Created attachment 574480 [details]
tests.tbz2
Comment 9 Larry the Git Cow gentoo-dev 2020-02-14 14:18:18 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2098d55382eb7b4e2585d9947f2a28496b7a74cc

commit 2098d55382eb7b4e2585d9947f2a28496b7a74cc
Author:     Ben Kohler <bkohler@gentoo.org>
AuthorDate: 2020-02-14 14:17:54 +0000
Commit:     Ben Kohler <bkohler@gentoo.org>
CommitDate: 2020-02-14 14:18:08 +0000

    sys-libs/ldb: require USE=python for tests
    
    Closes: https://bugs.gentoo.org/684564
    Closes: https://bugs.gentoo.org/709600
    Package-Manager: Portage-2.3.88, Repoman-2.3.20
    Signed-off-by: Ben Kohler <bkohler@gentoo.org>

 sys-libs/ldb/ldb-2.0.8.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)