Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 737238 - sys-libs/ldb-2.2.0-r1 : * Invalid use of waf-utils.eclass
Summary: sys-libs/ldb-2.2.0-r1 : * Invalid use of waf-utils.eclass
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords: PullRequest
: 737242 737258 737262 737274 737430 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-08-15 11:31 UTC by Toralf Förster
Modified: 2020-10-15 15:11 UTC (History)
9 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.52 KB, text/plain)
2020-08-15 11:31 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,172.40 KB, text/plain)
2020-08-15 11:31 UTC, Toralf Förster
Details
environment (environment,139.58 KB, text/plain)
2020-08-15 11:31 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,32.73 KB, application/x-bzip)
2020-08-15 11:31 UTC, Toralf Förster
Details
sys-libs:ldb-2.2.0-r1:20200815-112232.log (sys-libs:ldb-2.2.0-r1:20200815-112232.log,3.03 KB, text/plain)
2020-08-15 11:31 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,29.46 KB, application/x-bzip)
2020-08-15 11:32 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-08-15 11:31:50 UTC
 * ERROR: sys-libs/ldb-2.2.0-r1::gentoo failed (configure phase):
 *   Invalid use of waf-utils.eclass
 * 

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-libressl-20200812-045757

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-10.2.0 *
clang version 10.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.1
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python3.6 (fallback)
  [5]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.45.2 *
The following VMs are available for generation-2:
The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sat Aug 15 10:35:47 AM UTC 2020
/var/db/repos/libressl	Mon Aug 10 09:13:35 AM UTC 2020

emerge -qpvO sys-libs/ldb
[ebuild  N    ] sys-libs/ldb-2.2.0-r1  USE="ldap lmdb -doc -python -test" PYTHON_SINGLE_TARGET="python3_7 -python3_6 -python3_8"
Comment 1 Toralf Förster gentoo-dev 2020-08-15 11:31:51 UTC
Created attachment 654770 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-08-15 11:31:53 UTC
Created attachment 654772 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-08-15 11:31:55 UTC
Created attachment 654774 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-08-15 11:31:57 UTC
Created attachment 654776 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-08-15 11:31:58 UTC
Created attachment 654778 [details]
sys-libs:ldb-2.2.0-r1:20200815-112232.log
Comment 6 Toralf Förster gentoo-dev 2020-08-15 11:32:00 UTC
Created attachment 654780 [details]
temp.tbz2
Comment 7 Acatorn 2020-08-15 11:45:38 UTC
I'm also affected with this bug on sys-libs/
ldb-2.0.12-r1 (marked as stable on amd64)
Comment 8 Brian Evans (RETIRED) gentoo-dev 2020-08-15 12:01:40 UTC
*** Bug 737242 has been marked as a duplicate of this bug. ***
Comment 9 Guillaume Seren 2020-08-15 12:48:47 UTC
Hey,
I run into this issue, and reported just a few minutes after you :)
Comment 10 Scott Howard 2020-08-15 17:25:00 UTC
ldb compile works find if I revert this commit
https://gitweb.gentoo.org/repo/gentoo.git/commit?id=42d6e353
Comment 11 Alex Buell 2020-08-15 17:30:25 UTC
Or try this:

# USE=python emerge --nodeps  sys-libs/ldb
Comment 12 Brian Evans (RETIRED) gentoo-dev 2020-08-15 17:30:38 UTC
*** Bug 737258 has been marked as a duplicate of this bug. ***
Comment 13 Brian Evans (RETIRED) gentoo-dev 2020-08-15 17:31:14 UTC
*** Bug 737262 has been marked as a duplicate of this bug. ***
Comment 14 Guillaume Seren 2020-08-15 19:22:58 UTC
The patch in github PR fixed it for me (sys-libs/ldb-2.0.12-r1)
Comment 15 piotr5 2020-08-15 19:50:48 UTC
I also have run into this problem. USE=python fixed it for me. seems the python-use-flag is always required for this package now.
Comment 16 Larry the Git Cow gentoo-dev 2020-08-15 20:32:08 UTC
The bug has been closed via the following commit(s):

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

commit 8e31cbf758673271ca84f5c65f004ca2236ada23
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-08-15 20:31:49 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-08-15 20:31:49 +0000

    sys-libs/ldb: Require python at build-time unconditionally
    
    * waf requires setting up a valid python interpreter
      before calling waf-utils_src_configure.
    
    Closes: https://bugs.gentoo.org/733188
    Closes: https://bugs.gentoo.org/737238
    Closes: https://github.com/gentoo/gentoo/pull/17126
    Package-Manager: Portage-3.0.2, Repoman-2.3.23
    Signed-off-by: David Seifert <soap@gentoo.org>

 sys-libs/ldb/ldb-2.0.12-r1.ebuild | 8 +++++---
 sys-libs/ldb/ldb-2.1.4-r1.ebuild  | 8 +++++---
 sys-libs/ldb/ldb-2.2.0-r1.ebuild  | 8 +++++---
 3 files changed, 15 insertions(+), 9 deletions(-)
Comment 17 Brian Evans (RETIRED) gentoo-dev 2020-08-15 21:35:08 UTC
*** Bug 737274 has been marked as a duplicate of this bug. ***
Comment 18 Jeroen Roovers (RETIRED) gentoo-dev 2020-08-16 11:41:28 UTC
*** Bug 737430 has been marked as a duplicate of this bug. ***
Comment 19 Nico Baggus 2020-10-15 11:21:39 UTC
This is not solved yet.

ebuild fails if distcc is enabled.

FEATURES=-distcc emerge -1 ldb 

Does produce a workable result.

Probably if waf is used distcc should be disabled.
See also: https://bugs.gentoo.org/749267  & https://bugs.gentoo.org/749261