Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 821937 - sys-libs/ldb-2.3.1 depend on sys-libs/libxcrypt
Summary: sys-libs/ldb-2.3.1 depend on sys-libs/libxcrypt
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:
Depends on:
Blocks:
 
Reported: 2021-11-05 13:18 UTC by Simon Litt
Modified: 2021-11-05 15:22 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 Simon Litt 2021-11-05 13:18:31 UTC
sys-libs/ldb-2.3.1 depend on sys-libs/libxcrypt

Error on emerge world no crypt.h lib

virtual/libcrypt-2 requires sys-libs/libxcrypt too, but emerge order is such:
[ebuild     U ] sys-libs/ldb-2.3.1 [2.2.1-r1] USE="lmdb python -doc -ldap -test" ABI_X86="32 (64) (-x32)" PYTHON_SINGLE_TARGET="python3_9 -python3_8" 
[ebuild  N    ] sys-libs/libxcrypt-4.4.25  USE="(compat) (split-usr) (system) -static-libs -test" ABI_X86="32 (64) (-x32)" 
[ebuild  r  U ] virtual/libcrypt-2 [1-r1] USE="-static-libs" ABI_X86="32 (64) (-x32)" 

Reproducible: Always




Log: 
[ 63/137] Compiling modules/paged_searches.c
14:53:44 runner ['x86_64-pc-linux-gnu-gcc', '-march=native', '-O2', '-pipe', '-w', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-DHAVE_CONFIG_H=1', '-Dldb_paged_searches_init=ldb_init_module', '-fPIC', '-D__STDC_WANT_LIB_EXT1__=1', '-D_REENTRANT', '-fstack-protector-strong', '-fstack-clash-protection', '-DSTATIC_ldb_paged_searches_MODULES=NULL', '-DSTATIC_ldb_paged_searches_MODULES_PROTO=extern void __ldb_paged_searches_dummy_module_proto(void)', '-I.', '-I../..', '-I.', '-I../..', '-Ilib/replace', '-I../../lib/replace', '-Iinclude', '-I../../include', '../../modules/paged_searches.c', '-c', '-o/var/tmp/portage/sys-libs/ldb-2.3.1/work/ldb-2.3.1-abi_x86_64.amd64/bin/default/modules/paged_searches.c.27.o']
[ 64/137] Compiling modules/rdn_name.c
14:53:44 runner ['x86_64-pc-linux-gnu-gcc', '-march=native', '-O2', '-pipe', '-w', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-DHAVE_CONFIG_H=1', '-Dldb_rdn_name_init=ldb_init_module', '-fPIC', '-D__STDC_WANT_LIB_EXT1__=1', '-D_REENTRANT', '-fstack-protector-strong', '-fstack-clash-protection', '-DSTATIC_ldb_rdn_name_MODULES=NULL', '-DSTATIC_ldb_rdn_name_MODULES_PROTO=extern void __ldb_rdn_name_dummy_module_proto(void)', '-I.', '-I../..', '-I.', '-I../..', '-Ilib/replace', '-I../../lib/replace', '-Iinclude', '-I../../include', '../../modules/rdn_name.c', '-c', '-o/var/tmp/portage/sys-libs/ldb-2.3.1/work/ldb-2.3.1-abi_x86_64.amd64/bin/default/modules/rdn_name.c.29.o']
In file included from ../../include/ldb_private.h:40,
                 from ../../pyldb.c:32:
../../lib/replace/replace.h:885:10: фатальная ошибка: crypt.h: Нет такого файла или каталога
  885 | #include <crypt.h>
      |          ^~~~~~~~~
компиляция прервана.

Waf: Leaving directory `/var/tmp/portage/sys-libs/ldb-2.3.1/work/ldb-2.3.1-abi_x86_64.amd64/bin/default'
Build failed
 -> task in 'pyldb.objlist' failed with exit status 1: 
        {task 139750591922240: c pyldb.c -> pyldb.c.7.o}
['x86_64-pc-linux-gnu-gcc', '-march=native', '-O2', '-pipe', '-w', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-DHAVE_CONFIG_H=1', '-DPACKAGE_VERSION="2.3.1"', '-DPY_SSIZE_T_CLEAN=1', '-fPIC', '-D__STDC_WANT_LIB_EXT1__=1', '-D_REENTRANT', '-fstack-protector-strong', '-fstack-clash-protection', '-DSTATIC_pyldb_MODULES=NULL', '-DSTATIC_pyldb_MODULES_PROTO=extern void __pyldb_dummy_module_proto(void)', '-fno-strict-aliasing', '-I.', '-I../..', '-I.', '-I../..', '-Iinclude', '-I../../include', '-Ilib/replace', '-I../../lib/replace', '-I/usr/include/python3.9', '../../pyldb.c', '-c', '-o/var/tmp/portage/sys-libs/ldb-2.3.1/work/ldb-2.3.1-abi_x86_64.amd64/bin/default/pyldb.c.7.o']
 * ERROR: sys-libs/ldb-2.3.1::gentoo failed (compile phase):
 *   build failed
 * 
 * Call stack:
 *     ebuild.sh, line  127:  Called src_compile
 *   environment, line 2739:  Called multilib-minimal_src_compile
 *   environment, line 1670:  Called multilib_foreach_abi 'multilib-minimal_abi_src_compile'
 *   environment, line 1940:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 1605:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 1603:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile'
 *   environment, line  555:  Called multilib-minimal_abi_src_compile
 *   environment, line 1664:  Called multilib_src_compile
 *   environment, line 2152:  Called waf-utils_src_compile
 *   environment, line 3503:  Called die
 * The specific snippet of code:
 *       "${WAF_BINARY}" ${_mywafconfig} ${jobs} "${@}" || die "build failed"
 * 
 * If you need support, post the output of `emerge --info '=sys-libs/ldb-2.3.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-libs/ldb-2.3.1::gentoo'`.
 * The complete build log is located at '/var/log/portage/logs/sys-libs:ldb-2.3.1:20211105-115047.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-libs/ldb-2.3.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/ldb-2.3.1/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-libs/ldb-2.3.1/work/ldb-2.3.1-abi_x86_64.amd64'
 * S: '/var/tmp/portage/sys-libs/ldb-2.3.1/work/ldb-2.3.1'
Comment 1 Simon Litt 2021-11-05 13:21:05 UTC
Pre-emerging of the sys-libs/libxcrypt solves this problem
Comment 2 Larry the Git Cow gentoo-dev 2021-11-05 15:22:29 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07e477a2e2429bcc43de1aee18737b8161143f01

commit 07e477a2e2429bcc43de1aee18737b8161143f01
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2021-11-05 15:22:05 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2021-11-05 15:22:18 +0000

    sys-libs/ldb: Package depends on virtual/libcrypt
    
    Closes: https://bugs.gentoo.org/821937
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 sys-libs/ldb/ldb-2.3.1.ebuild    | 4 +++-
 sys-libs/ldb/ldb-2.4.0-r1.ebuild | 4 +++-
 sys-libs/ldb/ldb-2.4.1.ebuild    | 4 +++-
 3 files changed, 9 insertions(+), 3 deletions(-)