I have been unable to compile openldap due to this error. I'm not sure if the problem is with the ebuild or portage itself: >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-nds/openldap-2.4.38-r1/work/openldap-2.4.38 ... * please use append-cppflags for preprocessor flags * ERROR: net-nds/openldap-2.4.38-r1::gentoo failed (configure phase): * USE Flag '' not in IUSE for net-nds/openldap-2.4.38-r1 * * Call stack: * ebuild.sh, line 93: Called src_configure * environment, line 4086: Called use '!' 'minimal' * phase-helpers.sh, line 198: Called die * The specific snippet of code: * die "USE Flag '${u}' not in IUSE for ${CATEGORY}/${PF}" * # emerge --info =openldap-2.4.38-r1 Portage 2.2.7 (default/linux/amd64/13.0, gcc-4.8.2, glibc-2.18, 3.12.2-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.12.2-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E3-1225_V2_@_3.20GHz-with-gentoo-2.2 KiB Mem: 3857704 total, 677968 free KiB Swap: 4192928 total, 4148188 free Timestamp of tree: Sun, 15 Dec 2013 10:30:01 +0000 ld GNU ld (GNU Binutils) 2.23.2 distcc 3.1 x86_64-pc-linux-gnu [enabled] app-shells/bash: 4.2_p45 dev-lang/python: 2.7.6, 3.3.3 dev-util/cmake: 2.8.12 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.12.4 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.6, 1.12.6, 1.14 sys-devel/binutils: 2.23.2 sys-devel/gcc: 4.8.2 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2 sys-devel/make: 4.0-r1 sys-kernel/linux-headers: 3.12 (virtual/os-headers) sys-libs/glibc: 2.18 Repositories: gentoo marduk gnome gnome-canek ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA AdobeFlash-10.3 AdobeFlash-11.x google-talkplugin Google-TOS" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=corei7-avx -mavx -mno-avx2 -msse4.2 -msse4.1 -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="-march=corei7-avx -mavx -mno-avx2 -msse4.2 -msse4.1 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS=" --autounmask=n --binpkg-respect-use=y --buildpkg-exclude virtual/* --jobs --keep-going --misspell-suggestions=n --oneshot --quiet-build --quiet-unmerge-warn --usepkg --buildpkg --rebuilt-binaries=y --jobs=3" FCFLAGS="-pipe" FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distcc distcc-pump distlocks fixlafiles news noinfo nostrip notitles parallel-fetch parallel-install protect-owned sandbox sfperms skiprocheck strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j10" PKGDIR="/usr/portage/packages" PORTAGE_COMPRESS="" PORTAGE_COMPRESS_FLAGS="" 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" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/marduk /var/lib/layman/gnome /usr/local/portage/gnome-canek" USE="acl amd64 cjk introspection multilib nls pam unicode utf8 xattr" ABI_X86="64" APACHE2_MODULES="auth_digest authn_file authz authz_groupfile dav dav_fs dir group_file mime" APACHE2_MPMS="event" CAMERAS="*" CURL_SSL="openssl" DRACUT_MODULES="lvm" ELIBC="glibc" FFTOOLS="*" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LINGUAS="ja" NGINX_MODULES_HTTP="auth_basic gzip proxy rewrite uwsgi" PYTHON_SINGLE_TARGET="python3_3" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel i915 i965" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Created attachment 365392 [details] build.log
I should add that 2.4.35-r1 builds successfully.
Cannot reproduce - it works for me quite nicely
I have same problem: gentoo-vm / # emerge -v1 openldap !!! Repository 'Local' is missing masters attribute in '/usr/local/portage/metadata/layout.conf' !!! Set 'masters = gentoo' in this file for future compatibility These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] net-nds/openldap-2.4.38-r1 [2.4.35-r1] USE="-berkdb -crypt -cxx -debug -experimental -gnutls -icu -iodbc -ipv6 -kerberos -minimal -odbc -overlays -perl -samba -sasl (-selinux) -slp -smbkrb5passwd -ssl -syslog -tcpd" 0 kB Total: 1 package (1 upgrade), Size of downloads: 0 kB >>> Verifying ebuild manifests >>> Emerging (1 of 1) net-nds/openldap-2.4.38-r1 * openldap-2.4.38.tgz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] * rfc2307bis.schema-20120525 SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] * * Scanning datadir(s) from slapd.conf and * the default installdir for Versiontags * (/var/lib/openldap-data may appear twice) * * - Checking /var/lib/openldap-data... * Found Versiontag in /var/lib/openldap-data * Versiontag is fine here :) * * - Checking /var/lib/openldap-data... * Found Versiontag in /var/lib/openldap-data * Versiontag is fine here :) * * No DB files present * * All datadirs are fine, proceeding with merge now... * >>> Unpacking source... >>> Unpacking openldap-2.4.38.tgz to /var/tmp/portage/net-nds/openldap-2.4.38-r1/work >>> Unpacking rfc2307bis.schema-20120525 to /var/tmp/portage/net-nds/openldap-2.4.38-r1/work unpack rfc2307bis.schema-20120525: file format not recognized. Ignoring. >>> Source unpacked in /var/tmp/portage/net-nds/openldap-2.4.38-r1/work >>> Preparing source in /var/tmp/portage/net-nds/openldap-2.4.38-r1/work/openldap-2.4.38 ... * Applying openldap-2.4.17-gcc44.patch ... [ ok ] * Applying openldap-2.2.14-perlthreadsfix.patch ... [ ok ] * Applying openldap-2.4.15-ppolicy.patch ... [ ok ] * Applying openldap-2.4.35-contrib-smbk5pwd.patch ... [ ok ] * Applying openldap-2.4.35-contrib-samba4.patch ... [ ok ] * Applying openldap-2.4.11-libldap_r.patch ... [ ok ] * Applying openldap-2.4.17-fix-lmpasswd-gnutls-symbols.patch ... [ ok ] * Applying openldap-2.4.28-gnutls-gcrypt.patch ... [ ok ] * Applying openldap-2.4.6-evolution-ntlm.patch ... [ ok ] * Applying openldap-2.4.28-fix-dash.patch ... [ ok ] * Applying openldap-2.4.31-gcc47.patch ... [ ok ] * Applying openldap-2.4.33-gnutls.patch ... [ ok ] * Making sure upstream build strip does not do stripping too early * Running eautoreconf in '/var/tmp/portage/net-nds/openldap-2.4.38-r1/work/openldap-2.4.38' ... * Running libtoolize --install --copy --force ... [ ok ] * Running aclocal ... [ ok ] * Running autoconf ... [ ok ] * Running autoheader ... [ ok ] * Running elibtoolize in: openldap-2.4.38/ * Applying target-nm/2.4.2 patch ... * Running elibtoolize in: openldap-2.4.38/build/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.2 patch ... * Running elibtoolize in: openldap-2.4.38/contrib/ldapc++/ * Applying install-sh/1.5.4 patch ... * Applying portage/1.5.10 patch ... * Applying max_cmd_len/1.5.20 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/1.5 patch ... * Applying target-nm/2.4.2 patch ... * Running elibtoolize in: openldap-2.4.38/contrib/ldaptcl/ * Running elibtoolize in: openldap-2.4.38/doc/install/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-nds/openldap-2.4.38-r1/work/openldap-2.4.38 ... * please use append-cppflags for preprocessor flags * * Note: if you disable berkdb, you can only use remote-backends! * * ERROR: net-nds/openldap-2.4.38-r1::gentoo failed (configure phase): * USE Flag '' not in IUSE for net-nds/openldap-2.4.38-r1 * * Call stack: * ebuild.sh, line 93: Called src_configure * environment, line 4059: Called use '!' 'minimal' * phase-helpers.sh, line 198: Called die * The specific snippet of code: * die "USE Flag '${u}' not in IUSE for ${CATEGORY}/${PF}" * * If you need support, post the output of `emerge --info '=net-nds/openldap-2.4.38-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-nds/openldap-2.4.38-r1::gentoo'`. * The complete build log is located at '/var/tmp/portage/net-nds/openldap-2.4.38-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-nds/openldap-2.4.38-r1/temp/environment'. * Working directory: '/var/tmp/portage/net-nds/openldap-2.4.38-r1/work/openldap-2.4.38' * S: '/var/tmp/portage/net-nds/openldap-2.4.38-r1/work/openldap-2.4.38' >>> Failed to emerge net-nds/openldap-2.4.38-r1, Log file: >>> '/var/tmp/portage/net-nds/openldap-2.4.38-r1/temp/build.log' * Messages for package net-nds/openldap-2.4.38-r1: * * Note: if you disable berkdb, you can only use remote-backends! * * ERROR: net-nds/openldap-2.4.38-r1::gentoo failed (configure phase): * USE Flag '' not in IUSE for net-nds/openldap-2.4.38-r1 * * Call stack: * ebuild.sh, line 93: Called src_configure * environment, line 4059: Called use '!' 'minimal' * phase-helpers.sh, line 198: Called die * The specific snippet of code: * die "USE Flag '${u}' not in IUSE for ${CATEGORY}/${PF}" * * If you need support, post the output of `emerge --info '=net-nds/openldap-2.4.38-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-nds/openldap-2.4.38-r1::gentoo'`. * The complete build log is located at '/var/tmp/portage/net-nds/openldap-2.4.38-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-nds/openldap-2.4.38-r1/temp/environment'. * Working directory: '/var/tmp/portage/net-nds/openldap-2.4.38-r1/work/openldap-2.4.38' * S: '/var/tmp/portage/net-nds/openldap-2.4.38-r1/work/openldap-2.4.38'
Index: openldap-2.4.38-r1.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/net-nds/openldap/openldap-2.4.38-r1.ebuild,v retrieving revision 1.1 diff -u -B -r1.1 openldap-2.4.38-r1.ebuild --- openldap-2.4.38-r1.ebuild 13 Dec 2013 03:11:09 -0000 1.1 +++ openldap-2.4.38-r1.ebuild 16 Dec 2013 19:09:02 -0000 @@ -378,7 +378,7 @@ myconf="${myconf} $(use_enable tcpd wrappers)" local ssl_lib="no" - if use ssl || ( use ! minimal && use samba ) ; then + if use ssl || ( ! use minimal && use samba ) ; then ssl_lib="openssl" use gnutls && ssl_lib="gnutls" fi
(In reply to Jeroen Roovers from comment #5) > Index: openldap-2.4.38-r1.ebuild > =================================================================== > RCS file: > /var/cvsroot/gentoo-x86/net-nds/openldap/openldap-2.4.38-r1.ebuild,v > retrieving revision 1.1 > diff -u -B -r1.1 openldap-2.4.38-r1.ebuild > --- openldap-2.4.38-r1.ebuild 13 Dec 2013 03:11:09 -0000 1.1 > +++ openldap-2.4.38-r1.ebuild 16 Dec 2013 19:09:02 -0000 > @@ -378,7 +378,7 @@ > myconf="${myconf} $(use_enable tcpd wrappers)" > > local ssl_lib="no" > - if use ssl || ( use ! minimal && use samba ) ; then > + if use ssl || ( ! use minimal && use samba ) ; then > ssl_lib="openssl" > use gnutls && ssl_lib="gnutls" > fi That fixes it for me. Thanks! :-)
looks fixed in -r2