emerge -uD world crash on app-admin/apache-tools-2.2.9 with configure: error: ... Error, SSL/TLS libraries were missing or unusable Reproducible: Always Steps to Reproduce: 1.emerge -uD world 2. 3. here is complete build log >>> Unpacking source... >>> Unpacking httpd-2.2.9.tar.bz2 to /var/tmp/portage/app-admin/apache-tools-2.2.9/work * Applying apache-tools-Makefile.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/app-admin/apache-tools-2.2.9/work/httpd-2.2.9 ... * econf: updating httpd-2.2.9/build/config.guess with /usr/share/gnuconfig/config.guess * econf: updating httpd-2.2.9/build/config.sub with /usr/share/gnuconfig/config.sub * econf: updating httpd-2.2.9/srclib/apr/build/config.guess with /usr/share/gnuconfig/config.guess * econf: updating httpd-2.2.9/srclib/apr/build/config.sub with /usr/share/gnuconfig/config.sub * econf: updating httpd-2.2.9/srclib/apr-util/xml/expat/conftools/config.guess with /usr/share/gnuconfig/config.guess * econf: updating httpd-2.2.9/srclib/apr-util/xml/expat/conftools/config.sub with /usr/share/gnuconfig/config.sub * econf: updating httpd-2.2.9/srclib/apr-util/build/config.guess with /usr/share/gnuconfig/config.guess * econf: updating httpd-2.2.9/srclib/apr-util/build/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --sbindir=/usr/sbin --with-z=/usr --with-apr=/usr --with-apr-util=/usr --with-pcre=/usr --with-ssl=/usr --enable-ssl --build=i686-pc-linux-gnu checking for chosen layout... Apache checking for working mkdir -p... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu Configuring Apache Portable Runtime library ... checking for APR... yes setting CC to "i686-pc-linux-gnu-gcc" setting CPP to "i686-pc-linux-gnu-gcc -E" adding "-pthread" to CFLAGS setting CPPFLAGS to " -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE" Configuring Apache Portable Runtime Utility library... checking for APR-util... yes adding "-L/usr/lib" to LDFLAGS checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E configure: Using external PCRE library from /usr/bin/pcre-config setting LIBS to "-L/usr/lib -lpcre" Configuring Apache httpd ... setting INCLUDES to "-I." adding "-I$(top_srcdir)/os/$(OS_DIR)" to INCLUDES adding "-I$(top_srcdir)/server/mpm/$(MPM_SUBDIR_NAME)" to INCLUDES adding "-I$(top_srcdir)/modules/http" to INCLUDES adding "-I$(top_srcdir)/modules/filters" to INCLUDES adding "-I$(top_srcdir)/modules/proxy" to INCLUDES adding "-I$(top_srcdir)/include" to INCLUDES adding "-I$(top_srcdir)/modules/generators" to INCLUDES adding "-I$(top_srcdir)/modules/mappers" to INCLUDES adding "-I$(top_srcdir)/modules/database" to INCLUDES adding "-I/usr/include/apr-1" to INCLUDES adding "-I/usr/include/db4.5" to INCLUDES Applying OS-specific hints for httpd ... forcing SINGLE_LISTEN_UNSERIALIZED_ACCEPT to "1" forcing AP_NONBLOCK_WHEN_MULTI_LISTEN to "1" checking for rm... /bin/rm checking for pkg-config... /usr/bin/pkg-config checking for rsync... /usr/bin/rsync checking for gawk... gawk checking whether ln -s works... yes checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking for lynx... no checking for links... no checking for elinks... no checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for library containing strerror... none required checking for minix/config.h... (cached) no checking whether it is safe to define __EXTENSIONS__... (cached) yes checking for APR version 1.2.0 or later... yes checking for APR-util version 1.2.0 or later... yes checking for ANSI C header files... (cached) yes checking for string.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for unistd.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking for strings.h... (cached) yes checking sys/prctl.h usability... yes checking sys/prctl.h presence... yes checking for sys/prctl.h... yes checking sys/processor.h usability... no checking sys/processor.h presence... no checking for sys/processor.h... no checking sys/sem.h usability... yes checking sys/sem.h presence... yes checking for sys/sem.h... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for an ANSI C-conforming const... yes checking for library containing sqrt... -lm checking for getpwnam... yes checking for getgrnam... yes checking for initgroups... yes checking for bindprocessor... no checking for prctl... yes checking for timegm... yes checking for getpgid... yes checking for void pointer length... no checking for tm_gmtoff in struct tm... yes checking whether to enable mod_authn_file... yes (default) checking whether to enable mod_authn_dbm... no checking whether to enable mod_authn_anon... no checking whether to enable mod_authn_dbd... no checking whether to enable mod_authn_default... yes (default) checking whether to enable mod_authn_alias... no checking whether to enable mod_authz_host... yes (default) checking whether to enable mod_authz_groupfile... yes (default) checking whether to enable mod_authz_user... yes (default) checking whether to enable mod_authz_dbm... no checking whether to enable mod_authz_owner... no checking whether to enable mod_authnz_ldap... no checking whether to enable mod_authz_default... yes (default) checking whether to enable mod_auth_basic... yes (default) checking whether to enable mod_auth_digest... no checking whether to enable mod_isapi... no checking whether to enable mod_file_cache... no checking whether to enable mod_cache... no checking whether to enable mod_disk_cache... no checking whether to enable mod_mem_cache... no checking whether to enable mod_dbd... no checking whether to enable mod_bucketeer... no checking whether to enable mod_dumpio... no checking whether to enable mod_echo... no checking whether to enable mod_example... no checking whether to enable mod_case_filter... no checking whether to enable mod_case_filter_in... no checking whether to enable mod_ext_filter... no checking whether to enable mod_include... yes (default) checking whether to enable mod_filter... yes (default) checking whether to enable mod_substitute... no checking whether to enable mod_charset_lite... no checking whether to enable mod_deflate... no checking whether to enable mod_ldap... no checking whether to enable mod_log_config... yes (default) checking whether to enable mod_log_forensic... no checking whether to enable mod_logio... no checking whether to enable mod_env... yes (default) checking whether to enable mod_mime_magic... no checking whether to enable mod_cern_meta... no checking whether to enable mod_expires... no checking whether to enable mod_headers... no checking whether to enable mod_ident... no checking whether to enable mod_usertrack... no checking whether to enable mod_unique_id... no checking whether to enable mod_setenvif... yes (default) checking whether to enable mod_version... no checking whether to enable mod_proxy... no checking whether to enable mod_proxy_connect... no checking whether to enable mod_proxy_ftp... no checking whether to enable mod_proxy_http... no checking whether to enable mod_proxy_ajp... no checking whether to enable mod_proxy_balancer... no adding "-I$(top_srcdir)/modules/proxy/../generators" to INCLUDES checking whether to enable mod_ssl... checking dependencies checking for SSL/TLS toolkit base... /usr checking for OpenSSL version... checking openssl/opensslv.h usability... yes checking openssl/opensslv.h presence... yes checking for openssl/opensslv.h... yes checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes OK checking openssl/engine.h usability... yes checking openssl/engine.h presence... yes checking for openssl/engine.h... yes checking for SSLeay_version in -lcrypto... no checking for SSL_CTX_new in -lssl... no checking for ENGINE_init... no checking for ENGINE_load_builtin_engines... no checking for SSL_set_cert_store... no configure: error: ... Error, SSL/TLS libraries were missing or unusable !!! Please attach the following file when seeking support: !!! /var/tmp/portage/app-admin/apache-tools-2.2.9/work/httpd-2.2.9/config.log * * ERROR: app-admin/apache-tools-2.2.9 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2345: Called econf 'src_compile' 'src_compile' '--sbindir=/usr/sbin' '--with-z=/usr' '--with-apr=/usr' '--with-apr-util=/usr' '--with-pcre=/usr' * ebuild.sh, line 519: Called die * The specific snippet of code: * die "econf failed" * The die message: * econf failed * My emerge info : emerge --info Portage 2.1.4.5 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.20-gentoo-r10 i686) ================================================================= System uname: 2.6.20-gentoo-r10 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Timestamp of tree: Sat, 01 Nov 2008 22:35:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] app-shells/bash: 3.2_p33 dev-lang/python: 2.4.4-r4, 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=pentium4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.bg/" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl apache2 berkdb cli cracklib crypt cups dri fortran gdbm gpm iconv isdnlog midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl tcpd unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="vhost_alias authz_host filter unique_id access auth auth_dbm auth_anon auth_digest alias file-cache echo charset-lite cache disk-cache mem-cache ext-filter case_filter case-filter-in deflate mime-magic cern-meta expires headers usertrack unique-id proxy proxy-connect proxy-ftp proxy-http info include cgi cgid dav dav-fs vhost-alias speling rewrite log_config logio env setenvif mime status autoindex asis negotiation dir imap actions userdir so" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt intel mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
revdep-rebuild -X solved this "bug"