While trying to emerge libesmtp, i get the following error during compilation: /bin/sh ../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc -pthread -std=c99 -pedantic -O2 -march=pentium3 -pipe -fomit-frame-pointer -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -Wpointer-arith -Wbad-function-cast -Wcast-align -pthread -std=c99 -pedantic -O2 -march=pentium3 -pipe -fomit-frame-pointer -pthread -Wl,-O1 -o sasl-ntlm.la -rpath /usr/lib/esmtp-plugins -module -avoid-version -lcrypto client-ntlm.lo ntlmdes.lo ntlmstruct.lo -lssl -lcrypto -ldl i686-pc-linux-gnu-gcc -shared .libs/client-ntlm.o .libs/ntlmdes.o .libs/ntlmstruct.o -lssl -lcrypto -ldl -pthread -march=pentium3 -pthread -march=pentium3 -pthread -Wl,-O1 -Wl,-soname -Wl,sasl-ntlm.so -o .libs/sasl-ntlm.so .libs/ntlmstruct.o: In function `gnu_dev_major': ntlmstruct.c:(.text+0x0): multiple definition of `gnu_dev_major' .libs/client-ntlm.o:client-ntlm.c:(.text+0x3e0): first defined here .libs/ntlmstruct.o: In function `gnu_dev_minor': ntlmstruct.c:(.text+0x20): multiple definition of `gnu_dev_minor' .libs/client-ntlm.o:client-ntlm.c:(.text+0x400): first defined here .libs/ntlmstruct.o: In function `gnu_dev_makedev': ntlmstruct.c:(.text+0x60): multiple definition of `gnu_dev_makedev' .libs/client-ntlm.o:client-ntlm.c:(.text+0x440): first defined here .libs/ntlmstruct.o: In function `__strcspn_c1': ntlmstruct.c:(.text+0xa0): multiple definition of `__strcspn_c1' .libs/client-ntlm.o:client-ntlm.c:(.text+0x0): first defined here .libs/ntlmstruct.o: In function `__strcspn_c2': ntlmstruct.c:(.text+0xe0): multiple definition of `__strcspn_c2' .libs/client-ntlm.o:client-ntlm.c:(.text+0x40): first defined here .libs/ntlmstruct.o: In function `__strcspn_c3': ntlmstruct.c:(.text+0x140): multiple definition of `__strcspn_c3' .libs/client-ntlm.o:client-ntlm.c:(.text+0xa0): first defined here .libs/ntlmstruct.o: In function `__strspn_c1': ntlmstruct.c:(.text+0x1c0): multiple definition of `__strspn_c1' .libs/client-ntlm.o:client-ntlm.c:(.text+0x120): first defined here .libs/ntlmstruct.o: In function `__strspn_c2': ntlmstruct.c:(.text+0x1e0): multiple definition of `__strspn_c2' .libs/client-ntlm.o:client-ntlm.c:(.text+0x140): first defined here .libs/ntlmstruct.o: In function `__strspn_c3': ntlmstruct.c:(.text+0x210): multiple definition of `__strspn_c3' .libs/client-ntlm.o:client-ntlm.c:(.text+0x170): first defined here .libs/ntlmstruct.o: In function `__strpbrk_c2': ntlmstruct.c:(.text+0x260): multiple definition of `__strpbrk_c2' .libs/client-ntlm.o:client-ntlm.c:(.text+0x1c0): first defined here .libs/ntlmstruct.o: In function `__strpbrk_c3': ntlmstruct.c:(.text+0x2c0): multiple definition of `__strpbrk_c3' .libs/client-ntlm.o:client-ntlm.c:(.text+0x220): first defined here .libs/ntlmstruct.o: In function `__strtok_r_1c': ntlmstruct.c:(.text+0x310): multiple definition of `__strtok_r_1c' .libs/client-ntlm.o:client-ntlm.c:(.text+0x270): first defined here .libs/ntlmstruct.o: In function `__strsep_2c': ntlmstruct.c:(.text+0x380): multiple definition of `__strsep_2c' .libs/client-ntlm.o:client-ntlm.c:(.text+0x2e0): first defined here .libs/ntlmstruct.o: In function `__strsep_3c': ntlmstruct.c:(.text+0x3f0): multiple definition of `__strsep_3c' .libs/client-ntlm.o:client-ntlm.c:(.text+0x350): first defined here .libs/ntlmstruct.o: In function `__strsep_1c': ntlmstruct.c:(.text+0x620): multiple definition of `__strsep_1c' .libs/client-ntlm.o:client-ntlm.c:(.text+0xa00): first defined here .libs/ntlmstruct.o: In function `strtoull': ntlmstruct.c:(.text+0x680): multiple definition of `strtoull' .libs/client-ntlm.o:client-ntlm.c:(.text+0x700): first defined here .libs/ntlmstruct.o: In function `strtouq': ntlmstruct.c:(.text+0x6c0): multiple definition of `strtouq' .libs/client-ntlm.o:client-ntlm.c:(.text+0x740): first defined here .libs/ntlmstruct.o: In function `strtoll': ntlmstruct.c:(.text+0x700): multiple definition of `strtoll' .libs/client-ntlm.o:client-ntlm.c:(.text+0x780): first defined here .libs/ntlmstruct.o: In function `atoll': ntlmstruct.c:(.text+0x740): multiple definition of `atoll' .libs/client-ntlm.o:client-ntlm.c:(.text+0x7c0): first defined here .libs/ntlmstruct.o: In function `strtoq': ntlmstruct.c:(.text+0x780): multiple definition of `strtoq' .libs/client-ntlm.o:client-ntlm.c:(.text+0x800): first defined here .libs/ntlmstruct.o: In function `strtold': ntlmstruct.c:(.text+0x7c0): multiple definition of `strtold' .libs/client-ntlm.o:client-ntlm.c:(.text+0x840): first defined here .libs/ntlmstruct.o: In function `strtof': ntlmstruct.c:(.text+0x7f0): multiple definition of `strtof' .libs/client-ntlm.o:client-ntlm.c:(.text+0x870): first defined here .libs/ntlmstruct.o: In function `strtoul': ntlmstruct.c:(.text+0x820): multiple definition of `strtoul' .libs/client-ntlm.o:client-ntlm.c:(.text+0x8a0): first defined here .libs/ntlmstruct.o: In function `strtol': ntlmstruct.c:(.text+0x860): multiple definition of `strtol' .libs/client-ntlm.o:client-ntlm.c:(.text+0x8e0): first defined here .libs/ntlmstruct.o: In function `atol': ntlmstruct.c:(.text+0x8a0): multiple definition of `atol' .libs/client-ntlm.o:client-ntlm.c:(.text+0x920): first defined here .libs/ntlmstruct.o: In function `atoi': ntlmstruct.c:(.text+0x8e0): multiple definition of `atoi' .libs/client-ntlm.o:client-ntlm.c:(.text+0x960): first defined here .libs/ntlmstruct.o: In function `strtod': ntlmstruct.c:(.text+0x920): multiple definition of `strtod' .libs/client-ntlm.o:client-ntlm.c:(.text+0x9a0): first defined here .libs/ntlmstruct.o: In function `atof': ntlmstruct.c:(.text+0x950): multiple definition of `atof' .libs/client-ntlm.o:client-ntlm.c:(.text+0x9d0): first defined here collect2: ld returned 1 exit status distcc[10176] ERROR: compile (null) on localhost failed make[2]: *** [sasl-ntlm.la] Error 1 make[2]: Leaving directory `/var/tmp/portage/net-libs/libesmtp-1.0.4/work/libesmtp-1.0.4/ntlm' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-libs/libesmtp-1.0.4/work/libesmtp-1.0.4' make: *** [all] Error 2 * * ERROR: net-libs/libesmtp-1.0.4 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2361: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake failed * I emerged with FEATURES="" because i first thought that DISTCC or CCACHE were somehow responsible for the compilation failure, but it looks like it has nothing to do with it. Also i reemerged dev-libs/cyrus-sasl-2.1.22-r2 with the ntlm_unsupported_patch USE flag because i thought it might help. No change. Here's my emerge --info: Portage 2.1.6.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r8 i686) ================================================================= System uname: Linux-2.6.27-gentoo-r8-i686-Pentium_III_-Coppermine-with-glibc2.0 Timestamp of tree: Fri, 30 Jan 2009 00:00:01 +0000 distcc 3.0 i686-pc-linux-gnu [enabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-lang/python: 2.5.2-r7 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.63 sys-devel/automake: 1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 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.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="buildpkg ccache distcc distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="de_DE.UTF-8" LC_ALL="de_DE.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="de" MAKEOPTS="-j4" 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 acpi activefilter autoipd avahi berkdb bonjour bzip2 cjk cli cracklib crypt dbus dri emacs extensions fbcon gdbm gif gpm hal howl-compat iconv isdnlog javascript jbig jpeg jpeg2k lcms ldap mailwrapper mdnsresponder-compat midi mmx mpeg mudflap ncurses nls nptl nptlonly openmp pam pcre perl png pppd python readline reflection samba sasl session slang slp spl sse ssl symlink sysfs tcpd tiff unicode usb userlocales x86 xorg zeroconf 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="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY Reproducible: Always Steps to Reproduce: 1. FEATURES="" emerge -v libesmtp 2. USE="ntlm_unsupported_patch" emerge -v cyrus-sasl 3. FEATURES="" emerge -v libesmtp Actual Results: Compilation Fails with above mentioned errors. Expected Results: Compilation Success
Please try libesmtp-1.0.6 and openssl-1.0.0a-r3 (both are about to enter stable). Reopen if the problem persist.