Created attachment 390578 [details] emerge --info Every time I update world, openldap-2.4.40-r3 gets rebuilt and then fails to install. Here's an example of what it says: * Messages for package net-nds/openldap-2.4.40-r3: * //etc/openldap/ssl/ldap.key: exists, skipping * No certificates were generated * Self-signed SSL certificates are treated harshly by OpenLDAP 2.[12] * Self-signed SSL certificates are treated harshly by OpenLDAP 2.[12] * add 'TLS_REQCERT allow' if you want to use them. At first, I just kept hiding the files it complained about. That uncovered the sub-bug: The installation should complain about ALL of the files it doesn't like, all at once, not one at a time. Anyhow, even if I remove the whole directory, it still won't install. In that case, it doesn't actually produce any errors (no red asterisks): * Messages for package net-nds/openldap-2.4.40-r3: * Self-signed SSL certificates are treated harshly by OpenLDAP 2.[12] * Self-signed SSL certificates are treated harshly by OpenLDAP 2.[12] * add 'TLS_REQCERT allow' if you want to use them. However, that installation actually fails, because the next time I update, it wants to reinstall the same package again, and then that time, it starts complaining again about files it doesn't like *even though those are ones the installer created the previous time!* So to summarize, this bug is about net-nds/openldap-2.4.40-r3 refusing to install properly, with the following sub-problems: 1. It refuses to install on account of files it doesn't like, but it only complains about them one at a time. 2. When removing those files, it still fails to install, but without producing any error message. 3. That install transaction failed, but it was allowed to leave modifications to files that were not cleaned up. 4. The partially failed install puts some files into /etc/openldap/ssl/ that it then complains about the next time it emerges on update.
Please attach the entire build log to this bug report.
# equery u net-nds/openldap [ Legend : U - final flag setting for installation] [ : I - package is installed with flag ] [ Colors : set, unset ] * Found these USE flags for net-nds/openldap-2.4.40-r3: U I - - abi_x86_32 : 32-bit (x86) libraries + + berkdb : Add support for sys-libs/db (Berkeley DB for MySQL) + + crypt : Add support for encryption -- using mcrypt or gpg where applicable - - cxx : Build support for C++ (bindings, extra libraries, code generation, ...) - - debug : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml - - experimental : Enable experimental backend options - - gnutls : Add support for net-libs/gnutls (TLS 1.0 and SSL 3.0 support) - - icu : Enable ICU (Internationalization Components for Unicode) support, using dev-libs/icu - - iodbc : Add support for iODBC library + + ipv6 : Add support for IP version 6 - - kerberos : Add kerberos support - - minimal : Build libraries & userspace tools only. Does not install any server code. - - odbc : Enable ODBC and SQL backend options - - overlays : Enable contributed OpenLDAP overlays - - perl : Add optional support/bindings for the Perl language - - samba : Add support for SAMBA (Windows File and Printer sharing) - - sasl : Add support for the Simple Authentication and Security Layer - - slp : Add Service Locator Protocol support - - smbkrb5passwd : Enable overlay for syncing ldap, unix and lanman passwords + + ssl : Add support for Secure Socket Layer connections - - static-libs : Build static versions of dynamic libraries as well + + syslog : Enable support for syslog + + tcpd : Add support for TCP wrappers
Portage 2.2.14 (python 3.3.5-final-0, default/linux/amd64/13.0, gcc-4.8.3, glibc-2.20, 3.17.4-gentoo x86_64) ================================================================= System uname: Linux-3.17.4-gentoo-x86_64-Intel-R-_Core-TM-_i5-4430_CPU_@_3.00GHz-with-gentoo-2.2 KiB Mem: 3897656 total, 1485848 free KiB Swap: 33554428 total, 33554428 free Timestamp of tree: Sat, 29 Nov 2014 12:30:01 +0000 ld GNU ld (Gentoo 2.24 p1.4) 2.24 app-shells/bash: 4.3_p30-r1 dev-lang/perl: 5.20.1-r3 dev-lang/python: 2.7.8, 3.3.5-r1, 3.4.1 dev-util/cmake: 3.0.2 dev-util/pkgconfig: 0.28-r2 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.13.6 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.69 sys-devel/automake: 1.11.6-r1, 1.14.1 sys-devel/binutils: 2.24-r3 sys-devel/gcc: 4.8.3 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.3-r2 sys-devel/make: 4.1-r1 sys-kernel/linux-headers: 3.17-r1 (virtual/os-headers) sys-libs/glibc: 2.20 Repositories: gentoo ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=native -ggdb -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -march=native -ggdb -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--jobs=4" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="rsync://mirror.mcs.anl.gov/gentoo/ rsync://rsync.gtlib.gatech.edu/gentoo rsync://mirrors.rit.edu/gentoo/ http://gentoo.osuosl.org/ http://gentoo.netnitco.net http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ ftp://mirror.datapipe.net/gentoo ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://gentoo.mirrors.easynews.com/linux/gentoo/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ ftp://gentoo.imj.fr/pub/gentoo/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="--jobs=2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="-4" 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="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 acl ads amd64 avahi avi avx avx256 berkdb bzip2 cairo caps caps-ng cli cpumining cracklib crypt cxx dbus divx dri dv dvd dvdread encode fame fortran gdbm iconv ipv6 jpeg keymap kvm ldap lm_sensors mjpeg mmx modules mp3 mpeg multilib ncurses nls nptl ogg openmp pam parse-clocks pcre png python quicktime readline session sse sse2 sse3 ssl subtitles tcpd unicode upcall vorbis winbind 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19 ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="intel" 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: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON
There is no build log because the build doesn't fail. It's the INSTALL that fails. Is there an install log I can attach?
+ emerge --keep-going=y -uavDN --with-bdeps=y --backtrack=30 @world These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild rR ] net-nds/openldap-2.4.40-r3 USE="berkdb crypt ipv6 ssl syslog tcpd -cxx -debug -experimental -gnutls -icu -iodbc -kerberos -minimal -odbc -overlays -perl -samba -sasl (-selinux) -slp -smbkrb5passwd -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB Would you like to merge these packages? [Yes/No] BTW, Someone on IRC suggested that I might be able to fix this by uninstalling and reinstalling this. But perhaps we should figure out why it's going wrong before I do this?
Once again, I got a suggestion from a helpful user on IRC. The hypothesis is that there's a dependency on sys-libe/db-6 that is causing the trouble. Here's the contents of /var/db/pkg/net-nds/openldap-2.4.40-r3/DEPEND: >=dev-libs/openssl-1.0.1h-r2[abi_x86_64(-)] sys-devel/libtool sys-libs/e2fsprogs-libs >=dev-db/lmdb-0.9.14 sys-apps/tcp-wrappers <sys-libs/db-6.0:5.3/5.3= || ( sys-libs/db:5.3 sys-libs/db:5.1 sys-libs/db:4.8 sys-libs/db:4.7 sys-libs/db:4.6 sys-libs/db:4.5 sys-libs/db:4.4 ) sys-apps/groff dev-libs/openssl !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.14:1.14 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 virtual/pkgconfig
This appears to be a related bug, but I have some differences in symptoms, so my report is probably not a total duplicate: https://bugs.gentoo.org/show_bug.cgi?id=528610
(In reply to Timothy Miller from comment #4) > There is no build log because the build doesn't fail. It's the INSTALL that > fails. Is there an install log I can attach? That would be the same or a similar file. Its path should be noted at the end of the output.