Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 911674 - net-nds/openldap backend module back_mdb not build
Summary: net-nds/openldap backend module back_mdb not build
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo LDAP project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 913161
  Show dependency tree
 
Reported: 2023-08-03 16:34 UTC by stefbon@gmail.com
Modified: 2024-01-05 14:04 UTC (History)
2 users (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 stefbon@gmail.com 2023-08-03 16:34:24 UTC
Hi,

when installing the recent package openldap-2.6.3-r7 the backend module back_mdb is not build, while ldbm is installed (0.9.30). I've added the use flags to the openldap use file:

sasl sha2 ssl systemd crypt cxx static-libs experimental

Is there a sollution?
S. Bon
Comment 1 Mike Gilbert gentoo-dev 2023-08-04 00:41:37 UTC
Please provide emerge --info.
Comment 2 stefbon@gmail.com 2023-08-04 11:06:14 UTC
[sbon@ws-001 ~]$ emerge --info
python-exec: Invalid impl in /etc/python-exec/python-exec.conf: python3.8
Portage 3.0.49 (python 3.11.4-final-0, default/linux/amd64/17.1/systemd/merged-usr, gcc-12, glibc-2.37-r3, 6.2.7-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-6.2.7-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i3-7100_CPU_@_3.90GHz-with-glibc2.37
KiB Mem:    16244784 total,   8112056 free
KiB Swap:    4194300 total,   4194300 free
Timestamp of repository gentoo: Wed, 02 Aug 2023 13:00:01 +0000
Head commit of repository gentoo: b1dde50aec8e6ccb2ad3e22d18b26b2dfcc5d58e
Head commit of repository brother-overlay: 0d059637b01926488e1eedfa078323f6e48a6130

sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.40 p5) 2.40.0
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-lang/perl:             5.36.1-r3::gentoo
dev-lang/python:           3.10.12::gentoo, 3.11.4::gentoo
dev-lang/rust:             1.69.0-r1::gentoo
dev-util/cmake:            3.26.4-r1::gentoo
dev-util/meson:            1.1.1::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/sandbox:          2.37::gentoo
sys-apps/systemd:          253.6::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r6::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.40-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 16.0.6::gentoo
sys-devel/gcc:             12.3.1_p20230526::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             15.0.7::gentoo
sys-devel/llvm:            15.0.7-r3::gentoo, 16.0.6::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: True
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes

brother-overlay
    location: /home/portage/brother-overlay
    sync-type: git
    sync-uri: https://github.com/stefan-langenmaier/brother-overlay.git
    masters: gentoo
    volatile: True

localrepo
    location: /home/portage/layman/local
    masters: gentoo
    volatile: True

kde
    location: /home/portage/layman/kde
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/proj/kde.git
    masters: gentoo
    priority: 50
    volatile: True

qt
    location: /home/portage/layman/qt
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/proj/qt.git
    masters: gentoo
    priority: 50
    volatile: True

Installed sets: @kde-frameworks
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="https://mirror.leaseweb.com/gentoo/"
LANG="en_US.utf8"
LC_ALL="en_US"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/home/portage"
SHELL="/bin/bash"
USE="X acl altivec amd64 bzip2 calendar cli crypt dbus dri dvb encode evdev ffmpeg fontconfig fortran gdbm gnutls gsm iconv icu idm ieee1394 ipv6 jpeg2k kde ldap libass libnotify libtirpc lzma lzo mad man mmx mng modplug multilib ncurses networkmanager nls nptl openmp opus pam pcre plasma policykit portaudio postscript pulseaudio qml qt5 qt6 readline sdl seccomp semantic-desktop sse sse2 ssl startup-notification svg systemd test-rust theora udev udisks unicode urandom v4l vaapi vdpau verify-sig vorbis vpx wmf x264 xattr xcb xinerama xpm xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="nouveau vesa fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, MAKEOPTS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 3 stefbon@gmail.com 2023-08-27 10:18:12 UTC
After reinstalling ldb with use flags

ldap lmdb python 

I (again) reinstalled openldap, and again the backend ldbm is not installed:

strip: x86_64-pc-linux-gnu-strip --strip-unneeded -N __gentoo_check_ldflags__ -R .comment -R .GCC.command.line -R .note.gnu.gold-version
   /usr/lib64/liblber.so.2.0.200
   /usr/lib64/libldap.so.2.0.200
   /usr/lib64/liblber.a
   /usr/lib64/libldap.a
   /usr/bin/ldapsearch
   /usr/bin/ldapmodify
   /usr/bin/ldapdelete
   /usr/bin/ldapmodrdn
   /usr/bin/ldappasswd
   /usr/bin/ldapwhoami
   /usr/bin/ldapvc
   /usr/bin/ldapcompare
   /usr/bin/ldapexop
   /usr/bin/ldapurl
   /usr/lib64/openldap/slapd
   /usr/lib64/openldap/openldap/back_asyncmeta.so.2.0.200
   /usr/lib64/openldap/openldap/back_dnssrv.so.2.0.200
   /usr/lib64/openldap/openldap/back_meta.so.2.0.200
   /usr/lib64/openldap/openldap/back_null.so.2.0.200
   /usr/lib64/openldap/openldap/back_passwd.so.2.0.200
   /usr/lib64/openldap/openldap/back_relay.so.2.0.200
   /usr/lib64/openldap/openldap/back_sock.so.2.0.200
   /usr/lib64/libslapi.so.2.0.200
   /usr/lib64/libslapi.a
   /usr/lib64/openldap/openldap/addpartial.so.0.0.0
   /usr/lib64/libldapcpp.so.0.0.0
   /usr/lib64/libldapcpp.a
   /usr/lib64/openldap/openldap/addpartial.a
   /usr/lib64/openldap/openldap/allop.so.0.0.0
   /usr/lib64/openldap/openldap/allop.a
   /usr/lib64/openldap/openldap/allowed.so.0.0.0
   /usr/lib64/openldap/openldap/allowed.a
   /usr/lib64/openldap/openldap/autogroup.so.0.0.0
   /usr/lib64/openldap/openldap/autogroup.a
   /usr/lib64/openldap/openldap/cloak.so.0.0.0
   /usr/lib64/openldap/openldap/cloak.a
   /usr/lib64/openldap/openldap/denyop.so.0.0.0
   /usr/lib64/openldap/openldap/denyop.a
   /usr/lib64/openldap/openldap/dsaschema.so.0.0.0
   /usr/lib64/openldap/openldap/dsaschema.a
   /usr/lib64/openldap/openldap/dupent.so.0.0.0
   /usr/lib64/openldap/openldap/dupent.a
   /usr/lib64/openldap/openldap/lastbind.so.0.0.0
   /usr/lib64/openldap/openldap/lastbind.a
   /usr/lib64/openldap/openldap/lastmod.so.0.0.0
   /usr/lib64/openldap/openldap/lastmod.a
   /usr/lib64/openldap/openldap/noopsrch.so.0.0.0
   /usr/lib64/openldap/openldap/noopsrch.a
   /usr/lib64/openldap/openldap/pw-netscape.so.0.0.0
   /usr/lib64/openldap/openldap/pw-netscape.a
   /usr/lib64/openldap/openldap/trace.so.0.0.0
   /usr/lib64/openldap/openldap/trace.a
   /usr/lib64/openldap/openldap/pw-sha2.so.0.0.0
   /usr/lib64/openldap/openldap/pw-sha2.a
   /usr/lib64/openldap/openldap/libaddrdnvalues-plugin.so

What to do? deinstall ldb and make openldap use the internal ldb version?
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-08-28 15:59:07 UTC
Could you clarify if this is a regression or not? (Did a previous version work? If so, which?)
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-05 14:04:37 UTC
(In reply to Sam James from comment #4)
> Could you clarify if this is a regression or not? (Did a previous version
> work? If so, which?)

ping