Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 657828 - sys-libs/ldb/ldb-1.4.0 seems to depend on dev-db/lmdb
Summary: sys-libs/ldb/ldb-1.4.0 seems to depend on dev-db/lmdb
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: 2018-06-11 14:26 UTC by Albert W. Hopkins
Modified: 2018-06-12 16:02 UTC (History)
3 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 Albert W. Hopkins 2018-06-11 14:26:13 UTC
>>> Emerging (1 of 1) sys-libs/ldb-1.4.0::gentoo
>>> Jobs: 0 of 1 complete, 1 running                Load avg: 2.96, 2.23, 1.22
>>> Failed to emerge sys-libs/ldb-1.4.0, Log file:
>>> Jobs: 0 of 1 complete, 1 running                Load avg: 2.19, 2.13, 1.22
>>>  '/var/tmp/portage/sys-libs/ldb-1.4.0/temp/build.log'
>>> Jobs: 0 of 1 complete, 1 running                Load avg: 2.19, 2.13, 1.22
>>> Jobs: 0 of 1 complete, 1 running, 1 failed      Load avg: 2.19, 2.13, 1.22
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 2.19, 2.13, 1.22

 * Package:    sys-libs/ldb-1.4.0
 * Repository: gentoo
 * Maintainer: samba@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux ldap python python_targets_python2_7 userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking ldb-1.4.0.tar.gz to /var/tmp/portage/sys-libs/ldb-1.4.0/work
>>> Source unpacked in /var/tmp/portage/sys-libs/ldb-1.4.0/work
>>> Preparing source in /var/tmp/portage/sys-libs/ldb-1.4.0/work/ldb-1.4.0 ...
 * Applying ldb-1.4.0-optional_packages.patch ...
 [ ok ]
 * Applying ldb-1.1.31-fix_PKGCONFIGDIR-when-python-disabled.patch ...
 [ ok ]
 * Will copy sources from /var/tmp/portage/sys-libs/ldb-1.4.0/work/ldb-1.4.0
 * abi_x86_64.amd64: copying to /var/tmp/portage/sys-libs/ldb-1.4.0/work/ldb-1.4.0-abi_x86_64.amd64
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-libs/ldb-1.4.0/work/ldb-1.4.0 ...
 * abi_x86_64.amd64: running multilib-minimal_abi_src_configure
CCFLAGS="-O2 -pipe" LINKFLAGS="-O2 -pipe -Wl,-O1 -Wl,--as-needed" "/var/tmp/portage/sys-libs/ldb-1.4.0/work/ldb-1.4.0/buildtools/bin/waf" --prefix=/usr --libdir=/usr/lib64 --disable-rpath --disable-rpath-install --bundled-libraries=NONE --with-modulesdir=/usr/lib64/samba --builtin-libraries=NONE configure
Checking for program gcc or cc           : x86_64-pc-linux-gnu-gcc 
Checking for program ar                  : x86_64-pc-linux-gnu-ar 
Checking for program ranlib              : x86_64-pc-linux-gnu-ranlib 
Checking for gcc                         : ok  
Checking for program git                 : /usr/bin/git 
Check for -MD                            : yes 
Checking for program gdb                 : not found 
Checking for header sys/utsname.h        : yes 
Checking uname sysname type              : Linux 
Checking uname machine type              : x86_64 
Checking uname release type              : 4.17.0-gentoo 
Checking uname version type              : #1 SMP Sun Jun 3 21:27:11 PDT 2018 
Checking for header stdio.h              : yes 
Checking simple C program                : ok 
Checking compiler accepts ['-Werror']    : yes 
Checking linker accepts ['-Wl,-rpath,.'] : yes 
Checking for rpath library support       : ok  
Checking for -Wl,--version-script support  : ok  
[...]
Checking for ldap_initialize                                                                    : ok 
Checking linker accepts -Wl,-no-undefined                                                       : yes 
Checking for lmdb >= 0.9.16                                                                     : not found 
Checking for header lmdb.h                                                                      : no 
Checking for lmdb >= 0.9.16 via header check                                                    : not found 
ldb build (unless --without-ldb-lmdb) requires lmdb 0.9.16 or later
 * ERROR: sys-libs/ldb-1.4.0::gentoo failed (configure phase):
 *   configure failed
 * 
 * Call stack:
 *     ebuild.sh, line  124:  Called src_configure
 *   environment, line 3532:  Called multilib-minimal_src_configure
 *   environment, line 1972:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *   environment, line 2186:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 1902:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 1900:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *   environment, line  402:  Called multilib-minimal_abi_src_configure
 *   environment, line 1966:  Called multilib_src_configure
 *   environment, line 2409:  Called waf-utils_src_configure '--disable-rpath' '--disable-rpath-install' '--bundled-libraries=NONE' '--with-modulesdir=/usr/lib64/samba' '--builtin-libraries=NONE'
 *   environment, line 4250:  Called die
 * The specific snippet of code:
 *       CCFLAGS="${CFLAGS}" LINKFLAGS="${CFLAGS} ${LDFLAGS}" "${WAF_BINARY}" "--prefix=${EPREFIX}/usr" "${libdir[@]}" "$@" configure || die "configure failed"
 * 
 * If you need support, post the output of `emerge --info '=sys-libs/ldb-1.4.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-libs/ldb-1.4.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-libs/ldb-1.4.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/ldb-1.4.0/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-libs/ldb-1.4.0/work/ldb-1.4.0-abi_x86_64.amd64'
 * S: '/var/tmp/portage/sys-libs/ldb-1.4.0/work/ldb-1.4.0'
 * Messages for package sys-libs/ldb-1.4.0:
 * ERROR: sys-libs/ldb-1.4.0::gentoo failed (configure phase):
 *   configure failed

# emerge --info =sys-libs/ldb-1.4.0
Portage 2.3.40 (python 3.6.5-final-0, default/linux/amd64/17.0/desktop/gnome/systemd, gcc-7.3.0, glibc-2.27-r3, 4.17.0-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.17.0-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E3-1225_V2_@_3.20GHz-with-gentoo-2.6
KiB Mem:    32746576 total,   1853716 free
KiB Swap:    3145724 total,   3118076 free
Timestamp of repository gentoo: Mon, 11 Jun 2018 13:56:44 +0000
sh bash 4.4_p23
ld GNU ld (Gentoo 2.30 p2) 2.30.0
app-shells/bash:          4.4_p23::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.14-r2::gentoo, 3.5.5-r1::gentoo, 3.6.5-r1::gentoo
dev-util/cmake:           3.11.3::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.30-r2::gentoo
sys-devel/gcc:            7.3.0-r3::gentoo
sys-devel/gcc-config:     1.9.1::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r3::gentoo
sys-kernel/linux-headers: 4.16-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r3::gentoo
Repositories:

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

marduk
    location: /var/lib/layman/marduk
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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 /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n --buildpkg --jobs=5 --getbinpkg --binpkg-respect-use=y"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs binpkg-multi-instance buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5 -l5.64"
PKGDIR="/var/portage/packages"
PORTAGE_BINHOST="http://blackwidow.nbk/packages/base/"
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="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli colord crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam flac fortran gdbm gif glamor gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv introspection ipv6 jpeg lcms ldap libnotify libsecret libtirpc mad mmx mng modules mp3 mp4 mpeg multilib nautilus ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt5 readline sdl seccomp spell sse sse2 ssl startup-notification svg systemd tcpd tiff tracker truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 plan sheets stage 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 isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_5 python3_6" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

sys-libs/ldb-1.4.0::gentoo was built with the following:
USE="ldap python -doc" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_7"
Comment 1 Jan Psota 2018-06-11 15:11:46 UTC
After merging dev-db/lmdb-0.9.21 compiles and works.
Comment 2 Mike Lothian 2018-06-11 15:22:26 UTC
It either needs to depend on dev-db/lmdb or we need to pass --without-ldb-lmdb during configure as per the message
Comment 3 Renich Bon Ciric 2018-06-11 16:04:24 UTC
Ran into this issue as well.
Comment 4 Mike Lothian 2018-06-11 16:18:36 UTC
I've created https://github.com/gentoo/gentoo/pull/8802 for this
Comment 5 Larry the Git Cow gentoo-dev 2018-06-12 13:25:42 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=680496de13bc3c93cb45a5556829816379db9102

commit 680496de13bc3c93cb45a5556829816379db9102
Merge: 221dd3a795c 015637d110b
Author:     Maxim Koltsov <maksbotan@gentoo.org>
AuthorDate: 2018-06-12 13:20:36 +0000
Commit:     Maxim Koltsov <maksbotan@gentoo.org>
CommitDate: 2018-06-12 13:20:36 +0000

    Merge branch 'FireBurn:ldb-lmdb'
    
    Closes: https://bugs.gentoo.org/657828
    Closes: https://github.com/gentoo/gentoo/pull/8802

 .../{lmdb-0.9.21.ebuild => lmdb-0.9.21-r1.ebuild}  | 32 ++++++++++++----------
 .../ldb/{ldb-1.4.0.ebuild => ldb-1.4.0-r1.ebuild}  |  4 ++-
 sys-libs/ldb/metadata.xml                          | 14 +++++++---
 3 files changed, 30 insertions(+), 20 deletions(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=015637d110b3f8faa568dd3177847f3c4e18fbd5

commit 015637d110b3f8faa568dd3177847f3c4e18fbd5
Author:     Mike Lothian <mike@fireburn.co.uk>
AuthorDate: 2018-06-11 16:06:40 +0000
Commit:     Maxim Koltsov <maksbotan@gentoo.org>
CommitDate: 2018-06-12 13:20:17 +0000

    sys-libs/ldb: Add use flag for new lmdb backend
    
    Bug: https://bugs.gentoo.org/657828

 sys-libs/ldb/{ldb-1.4.0.ebuild => ldb-1.4.0-r1.ebuild} |  4 +++-
 sys-libs/ldb/metadata.xml                              | 14 ++++++++++----
 2 files changed, 13 insertions(+), 5 deletions(-)
Comment 6 Maxim Koltsov (RETIRED) gentoo-dev 2018-06-12 13:27:19 UTC
I merged the PR. samba team, reopen if anything is still wrong.
Comment 7 Mike Gilbert gentoo-dev 2018-06-12 16:02:53 UTC
(In reply to Maxim Koltsov from comment #6)
> I merged the PR. samba team, reopen if anything is still wrong.

Please avoid merge commits in the gentoo repository.

https://www.gentoo.org/glep/glep-0066.html#merge-commits