Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 421017 - net-nds/openldap has automagic dep on e2fsprogs-libs
Summary: net-nds/openldap has automagic dep on e2fsprogs-libs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: Normal normal (vote)
Assignee: LDAP Herd
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-13 18:25 UTC by Dmitri Bogomolov
Modified: 2014-10-12 06:27 UTC (History)
1 user (show)

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 Dmitri Bogomolov 2012-06-13 18:25:22 UTC
but no sys-libs/e2fsprogs-libs in dependencies

# ldd /usr/lib/openldap/slapd
/usr/lib/openldap/slapd:
        libldap_r-2.4.so.2 => /usr/lib/libldap_r-2.4.so.2 (0x28204000)
        liblber-2.4.so.2 => /usr/lib/liblber-2.4.so.2 (0x2824a000)
        libdb-4.8.so => /usr/lib/libdb-4.8.so (0x28257000)
        libthr.so.3 => /lib/libthr.so.3 (0x283b7000)
        libcrypt.so.5 => /usr/lib/libcrypt.so.5 (0x283db000)
        libslapi-2.4.so.2 => /usr/lib/libslapi-2.4.so.2 (0x283f0000)
        libltdl.so.7 => /usr/lib/libltdl.so.7 (0x2840d000)
        libwrap.so.0 => /lib/libwrap.so.0 (0x28417000)
        libc.so.7 => /lib/libc.so.7 (0x2841f000)
        libfetch.so.6 => /usr/lib/libfetch.so.6 (0x28542000)
        libcom_err.so.2 => /lib/libcom_err.so.2 (0x28551000)
        libssl.so.1.0.0 => /usr/lib/libssl.so.1.0.0 (0x28555000)
        libcrypto.so.1.0.0 => /usr/lib/libcrypto.so.1.0.0 (0x285a6000)
        libmd.so.5 => /lib/libmd.so.5 (0x2870d000)
        libz.so.1 => /lib/libz.so.1 (0x28728000)
# equery belongs /lib/libcom_err.so.2
 * Searching for /lib/libcom_err.so.2 ... 
sys-libs/e2fsprogs-libs-1.41.14 (/lib/libcom_err.so.2 -> libcom_err.so.2.1)
sys-libs/e2fsprogs-libs-1.41.14 (/lib/libcom_err.so.2.1)
# equery depends sys-libs/e2fsprogs-libs
 * These packages depend on sys-libs/e2fsprogs-libs:


Reproducible: Always




# emerge -pqv net-nds/openldap
[ebuild   R   ] net-nds/openldap-2.4.31-r1  USE="berkdb crypt experimental overlays ssl syslog tcpd -cxx -debug -gnutls -icu -iodbc -ipv6 (-kerberos) -minimal -odbc -perl -samba -sasl (-selinux) -slp -smbkrb5passwd"
Comment 1 Alexis Ballier gentoo-dev 2013-08-28 16:38:12 UTC
openldap seems to have an automagic:

from build/openldap.m4:

AC_DEFUN([OL_LIB_FETCH],
[ol_LIBS=$LIBS
LIBS="-lfetch -lcom_err $LIBS"
AC_CACHE_CHECK([fetch(3) library],ol_cv_lib_fetch,[
        AC_LINK_IFELSE([AC_LANG_PROGRAM([[
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
#endif
#include <stdio.h>
#include <fetch.h>]], [[struct url *u = fetchParseURL("file:///"); ]])],[ol_cv_lib_fetch=yes],[ol_cv_lib_fetch=no])])
LIBS=$ol_LIBS
if test $ol_cv_lib_fetch != no ; then
        ol_link_fetch="-lfetch -lcom_err"
        AC_DEFINE(HAVE_FETCH,1,
                [define if you actually have FreeBSD fetch(3)])
fi
])dnl

but the ebuild does not pass any --with(out)-fetch to configure
maybe an useflag could be added
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2014-10-12 06:27:42 UTC
in 2.4.40