Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 737430 - sys-libs/ldb-2.1.4-r1 USE=-python - src_configure(): EPYTHON is unset while calling waf-utils. This most likely means that the ebuild did not call the appropriate eclass function before calling waf. Please ensure that python-single-r1_pkg_setup is ca[...]
Summary: sys-libs/ldb-2.1.4-r1 USE=-python - src_configure(): EPYTHON is unset while c...
Status: RESOLVED DUPLICATE of bug 737238
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:
Depends on:
Blocks:
 
Reported: 2020-08-16 11:30 UTC by Konstantin Münning
Modified: 2020-08-16 11:41 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin Münning 2020-08-16 11:30:22 UTC
sys-libs/ldb-2.1.4-r1 -python fails with

>>> Configuring source in /var/tmp/portage/sys-libs/ldb-2.1.4-r1/work/ldb-2.1.4 ...
 * abi_x86_32.x86: running multilib-minimal_abi_src_configure
 * EPYTHON is unset while calling waf-utils. This most likely means that
 * the ebuild did not call the appropriate eclass function before calling waf.
 * Please ensure that python-single-r1_pkg_setup is called in pkg_setup().

emerging with +python works as expected.

In ebuild python-single-r1_pkg_setup is called in pkg_setup as

  use python && python-single-r1_pkg_setup

but waf is called unconditionally. So either waf-utils eclass should be modified to use a python interpreter in order of preference when EPYTHON is not set instead of aborting or the ldb ebuild should be modified to unconditionally call  python-single-r1_pkg_setup as done in sys-libs/talloc or sys-libs/tevent. This probably concerns all in-tree ldb ebuilds.

Modified ebuild compiles for me as expected with -ptyhon.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2020-08-16 11:41:28 UTC

*** This bug has been marked as a duplicate of bug 737238 ***