The following problem occurred when trying to emerge apache. Obviously it implicitely emerges cyrus-sasl-2.1.14. Emerging failes with many "multiple definition of ..." lines. Tried emerge apache again whith no change, still the same problem. Logfile included below. Reproducible: Always Steps to Reproduce: 1. emerge apache Actual Results: (cd .libs && rm -f libdigestmd5.so.2 && ln -s libdigestmd5.so.2.0.14 libdigestmd 5.so.2) (cd .libs && rm -f libdigestmd5.so && ln -s libdigestmd5.so.2.0.14 libdigestmd5. so) creating libdigestmd5.la (cd .libs && rm -f libdigestmd5.la && ln -s ../libdigestmd5.la libdigestmd5.la) /bin/sh ../libtool --mode=link gcc -Wall -W -Wall -O3 -march=pentium-mmx -pipe -fomit-frame-pointer -L/usr/local/lib -Wl,-rpath,/usr/local/lib -module - export -dynamic -rpath /usr/lib/sasl2 -o libplain.la -version-info 2:14:0 plain.lo pla in_init.lo plugin_common.lo -lcrypt -lresolv -lresolv rm -fr .libs/libgssapiv2.la .libs/libgssapiv2.* .libs/libgssapiv2.* (cd . && ln -s gssapi.lo gssapi.o) (cd . && ln -s gssapiv2_init.lo gssapiv2_init.o) gcc -shared gssapi.lo gssapiv2_init.lo plugin_common.lo -Wl,--whole- archive /us r/lib/libkrb5.a /usr/lib/libcom_err.a -Wl,--no-whole-archive -L/usr/lib - L/usr/ local/lib -lgssapi_krb5 -lk5crypto -lresolv -Wl,-soname -Wl,libgssapiv2.so.2 - o .libs/libgssapiv2.so.2.0.14 rm -fr .libs/libplain.la .libs/libplain.* .libs/libplain.* (cd . && ln -s plain.lo plain.o) (cd . && ln -s plain_init.lo plain_init.o) top - 11:14:50 up 2 days, 1:19, 1 user, load average: 0.00, 0.00, 0.00 lakathah@at-hsl-lin01 lakathah $ ls lakathah@at-hsl-lin01 lakathah $ whoami lakathah lakathah@at-hsl-lin01 lakathah $ ll total 0 lakathah@at-hsl-lin01 lakathah $ ls -al total 13 drwx------ 2 lakathah users 136 May 4 09:57 . drwxr-xr-x 3 root root 96 May 4 09:51 .. -rw------- 1 lakathah users 195 May 5 10:20 .bash_history -rw-r--r-- 1 lakathah users 232 May 4 09:51 .bash_profile -rw-r--r-- 1 lakathah users 812 May 4 09:51 .bashrc lakathah@at-hsl-lin01 lakathah $ vi .bashrc lakathah@at-hsl-lin01 lakathah $ alias ll="ls -al" lakathah@at-hsl-lin01 lakathah $ ll total 13 drwx------ 2 lakathah users 136 May 4 09:57 . drwxr-xr-x 3 root root 96 May 4 09:51 .. -rw------- 1 lakathah users 195 May 5 10:20 .bash_history -rw-r--r-- 1 lakathah users 232 May 4 09:51 .bash_profile -rw-r--r-- 1 lakathah users 831 May 6 11:15 .bashrc gcc -shared plain.lo plain_init.lo plugin_common.lo -L/usr/local/lib - lcrypt - lresolv -Wl,-soname -Wl,libplain.so.2 -o .libs/libplain.so.2.0.14 /usr/lib/libcom_err.a(error.o)(.text+0x0): In function `com_right': : multiple definition of `com_right' /usr/lib/libkrb5.a(error.o)(.text+0x0): first defined here /usr/lib/libcom_err.a(error.o)(.text+0x40): In function `initialize_error_table_ r': : multiple definition of `initialize_error_table_r' /usr/lib/libkrb5.a(error.o)(.text+0x40): first defined here /usr/lib/libcom_err.a(error.o)(.text+0xb0): In function `free_error_table': : multiple definition of `free_error_table' /usr/lib/libkrb5.a(error.o)(.text+0xb0): first defined here /usr/lib/libcom_err.a(com_err.o)(.bss+0x0): multiple definition of `_et_list' /usr/lib/libkrb5.a(com_err.o)(.bss+0x0): first defined here /usr/lib/libcom_err.a(com_err.o)(.text+0x0): In function `error_message': : multiple definition of `error_message' /usr/lib/libkrb5.a(com_err.o)(.text+0x0): first defined here /usr/lib/libcom_err.a(com_err.o)(.text+0xa0): In function `init_error_table': : multiple definition of `init_error_table' /usr/lib/libkrb5.a(com_err.o)(.text+0xa0): first defined here /usr/lib/libcom_err.a(com_err.o)(.text+0xe0): In function `com_err_va': : multiple definition of `com_err_va' top - 11:14:50 up 2 days, 1:19, 1 user, load average: 0.00, 0.00, 0.00 lakathah@at-hsl-lin01 lakathah $ ls lakathah@at-hsl-lin01 lakathah $ whoami lakathah lakathah@at-hsl-lin01 lakathah $ ll total 0 lakathah@at-hsl-lin01 lakathah $ ls -al total 13 drwx------ 2 lakathah users 136 May 4 09:57 . drwxr-xr-x 3 root root 96 May 4 09:51 .. -rw------- 1 lakathah users 195 May 5 10:20 .bash_history -rw-r--r-- 1 lakathah users 232 May 4 09:51 .bash_profile -rw-r--r-- 1 lakathah users 812 May 4 09:51 .bashrc lakathah@at-hsl-lin01 lakathah $ vi .bashrc lakathah@at-hsl-lin01 lakathah $ alias ll="ls -al" lakathah@at-hsl-lin01 lakathah $ ll total 13 drwx------ 2 lakathah users 136 May 4 09:57 . drwxr-xr-x 3 root root 96 May 4 09:51 .. -rw------- 1 lakathah users 195 May 5 10:20 .bash_history -rw-r--r-- 1 lakathah users 232 May 4 09:51 .bash_profile -rw-r--r-- 1 lakathah users 831 May 6 11:15 .bashrc /usr/lib/libkrb5.a(com_err.o)(.text+0xe0): first defined here /usr/lib/libcom_err.a(com_err.o)(.text+0x110): In function `com_err': : multiple definition of `com_err' /usr/lib/libkrb5.a(com_err.o)(.text+0x110): first defined here /usr/lib/libcom_err.a(com_err.o)(.text+0x140): In function `set_com_err_hook': : multiple definition of `set_com_err_hook' /usr/lib/libkrb5.a(com_err.o)(.text+0x140): first defined here /usr/lib/libcom_err.a(com_err.o)(.text+0x170): In function `reset_com_err_hook': : multiple definition of `reset_com_err_hook' /usr/lib/libkrb5.a(com_err.o)(.text+0x170): first defined here /usr/lib/libcom_err.a(com_err.o)(.text+0x190): In function `error_table_name': : multiple definition of `error_table_name' /usr/lib/libkrb5.a(com_err.o)(.text+0x190): first defined here /usr/lib/libcom_err.a(com_err.o)(.text+0x1f0): In function `add_to_error_table': : multiple definition of `add_to_error_table' /usr/lib/libkrb5.a(com_err.o)(.text+0x1f0): first defined here collect2: ld returned 1 exit status make[2]: *** [libgssapiv2.la] Error 1 make[2]: *** Waiting for unfinished jobs.... (cd .libs && rm -f libplain.so.2 && ln -s libplain.so.2.0.14 libplain.so.2) (cd .libs && rm -f libplain.so && ln -s libplain.so.2.0.14 libplain.so) creating libplain.la top - 11:14:50 up 2 days, 1:19, 1 user, load average: 0.00, 0.00, 0.00 lakathah@at-hsl-lin01 lakathah $ ls lakathah@at-hsl-lin01 lakathah $ whoami lakathah lakathah@at-hsl-lin01 lakathah $ ll total 0 lakathah@at-hsl-lin01 lakathah $ ls -al total 13 drwx------ 2 lakathah users 136 May 4 09:57 . drwxr-xr-x 3 root root 96 May 4 09:51 .. -rw------- 1 lakathah users 195 May 5 10:20 .bash_history -rw-r--r-- 1 lakathah users 232 May 4 09:51 .bash_profile -rw-r--r-- 1 lakathah users 812 May 4 09:51 .bashrc lakathah@at-hsl-lin01 lakathah $ vi .bashrc lakathah@at-hsl-lin01 lakathah $ alias ll="ls -al" lakathah@at-hsl-lin01 lakathah $ ll total 13 drwx------ 2 lakathah users 136 May 4 09:57 . drwxr-xr-x 3 root root 96 May 4 09:51 .. -rw------- 1 lakathah users 195 May 5 10:20 .bash_history -rw-r--r-- 1 lakathah users 232 May 4 09:51 .bash_profile -rw-r--r-- 1 lakathah users 831 May 6 11:15 .bashrc /usr/lib/libkrb5.a(com_err.o)(.text+0x190): first defined here /usr/lib/libcom_err.a(com_err.o)(.text+0x1f0): In function `add_to_error_table': : multiple definition of `add_to_error_table' /usr/lib/libkrb5.a(com_err.o)(.text+0x1f0): first defined here collect2: ld returned 1 exit status make[2]: *** [libgssapiv2.la] Error 1 make[2]: *** Waiting for unfinished jobs.... (cd .libs && rm -f libplain.so.2 && ln -s libplain.so.2.0.14 libplain.so.2) (cd .libs && rm -f libplain.so && ln -s libplain.so.2.0.14 libplain.so) creating libplain.la (cd .libs && rm -f libplain.la && ln -s ../libplain.la libplain.la) make[2]: Leaving directory `/var/tmp/portage/cyrus-sasl-2.1.14/work/cyrus-sasl- 2 .1.14/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/cyrus-sasl-2.1.14/work/cyrus-sasl- 2 .1.14' make: *** [all-recursive-am] Error 2 !!! ERROR: dev-libs/cyrus-sasl-2.1.14 failed. !!! Function src_compile, Line 105, Exitcode 2 !!! compile problem Expected Results: emerge success System Configuration System: Pentium II MMX 266 Gentoo Installation Method: Stage 1 Gentoo Version: 2004.0 - gentoo linux-2.4.23-hardened-r3 Cryptographic functions compiled into the kernel (make menuconfig -> cryptographic options -> cryptographic api -> all selected as buildt-in) User Configuration ;) Linux experience: last time 4 years ago Gentoo experience: newbie General IT experience: high
same problem when doing emerge openldap. looks like a cyrus-sysl problem to me.
please post your emerge --info screen
as requested: emerge --info Gentoo Base System version 1.4.9 Portage 2.0.50-r6 (hardened-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.4.24-hardened-r3) ================================================================= System uname: 2.4.24-hardened-r3 i586 Pentium MMX Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium-mmx -pipe -fomit-frame-pointer" CHOST="i586-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium-mmx -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox sfperms strict" GENTOO_MIRRORS="ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.inode.at/ http://gentoo.math.bme.hu http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="aalib acl acpi adns apache2 apm berkdb bidi caps crypt curl fastcgi firebird gif gpm hardened innodb java jikes jpeg kerberos krb4 ldap libwww mbox memlimit mmx mozilla mpi mysql nls pam perl pic png sasl slang sse ssl svga tcpd tiff truetype unicode vhosts wmf x86 xml xml2 zlib" (END)
What's going on with the error paste? It looks like it's combined with a shell session. Can you paste a better output, Harald? From what you have there, it looks like there's a conflict between symbols in e2fsprogs and a kerberos5 library. Harald, can you run qpkg -f /usr/lib/libkrb5.a and paste the output? I'm not sure of this yet, but I figured I'd mention Bug 43020. There's a possibility it's related, but I'd really like to see some more output first.
No response to ping for info. I'll close as NEEDINFO.