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

Bug 711634

Summary: sys-libs/ldb-2.1.1 fails tests: 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 CC: bkohler
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
sys-libs:ldb-2.1.1:20200305-062538.log
temp.tbz2
tests.tbz2

Description Toralf Förster gentoo-dev 2020-03-05 21:49:24 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.1_desktop_plasma-test-20200228-231731

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.6
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)

Available Rust versions:
  [1]   rust-1.41.1 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Thu, 05 Mar 2020 05:37:30 +0000

emerge -qpvO sys-libs/ldb
[ebuild  N    ] sys-libs/ldb-2.1.1  USE="ldap lmdb test -doc -python" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TARGET="python3_6 -python3_7 -python3_8"
Comment 1 Toralf Förster gentoo-dev 2020-03-05 21:49:26 UTC
there is still a similar issue at unstable amd64 tinderbox image 17.1_desktop_plasma-test-20200228-231731 (see bug 684564)
Comment 2 Toralf Förster gentoo-dev 2020-03-05 21:49:29 UTC
Created attachment 617182 [details]
emerge-info.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-05 21:49:32 UTC
Created attachment 617184 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-05 21:49:35 UTC
Created attachment 617186 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-05 21:49:38 UTC
Created attachment 617188 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-05 21:49:41 UTC
Created attachment 617190 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-03-05 21:49:46 UTC
Created attachment 617192 [details]
sys-libs:ldb-2.1.1:20200305-062538.log
Comment 8 Toralf Förster gentoo-dev 2020-03-05 21:49:49 UTC
Created attachment 617194 [details]
temp.tbz2
Comment 9 Toralf Förster gentoo-dev 2020-03-05 21:49:51 UTC
Created attachment 617196 [details]
tests.tbz2
Comment 10 Agostino Sarubbo gentoo-dev 2022-02-13 09:59:31 UTC
Update summary. [something] is used when something refers to an overlay
Comment 11 Ben Kohler gentoo-dev 2022-08-04 13:21:38 UTC
This log shows python flag disabled, which causes the failure.  As far as I can see, all existing ebuilds are enforcing REQUIRED_USE="test? ( python )".