ebuild fails, most likely due to: gcc: /usr/lib/perl5/5.8.2/i386-linux/auto/DynaLoader/DynaLoader.a: No such file or directory Missing dependency ? imapd-2.2.3 builds, but sieve does not work. Using: gcc version 3.4.1 20040803 (Gentoo Linux 3.4.1-r2, ssp-3.4-2, pie-8.7.6.5)and glibc-2.3.4.20040619-r1 (nptl) on a dual pII-350 The last lines of compiler output: rm -f libsieve.a ar cr libsieve.a sieve_err.o sieve.o sieve-lex.o comparator.o interp.o message.o bc_generate.o bc_dump.o bc_emit.o bc_eval.o script.o tree.o addr.o addr-lex.o md5.o ranlib libsieve.a gcc -o sievec sievec.o libsieve.a ../lib/libcyrus.a ../lib/libcyrus_min.a libsieve.a -lsasl2 -lresolv -lssl -lcrypto -lfl -lresolv -ldb-4.2 ../et/libcom_err.a gcc -o sieved sieved.o libsieve.a ../lib/libcyrus.a ../lib/libcyrus_min.a libsieve.a -lsasl2 -lresolv -lssl -lcrypto -lfl -lresolv -ldb-4.2 ../et/libcom_err.a make[1]: Leaving directory `/home/gentoo/build/portage/cyrus-imapd-2.2.8/work/cyrus-imapd-2.2.8/sieve' ### Making all in /home/gentoo/build/portage/cyrus-imapd-2.2.8/work/cyrus-imapd-2.2.8/master make[1]: Entering directory `/home/gentoo/build/portage/cyrus-imapd-2.2.8/work/cyrus-imapd-2.2.8/master' gcc -c -I.. -I./../lib -I/usr/include -I../et -DHAVE_CONFIG_H -O2 -march=i686 -pipe -Ino/include \ master.c gcc -c -I.. -I./../lib -I/usr/include -I../et -DHAVE_CONFIG_H -O2 -march=i686 -pipe -Ino/include \ masterconf.c gcc -c -I.. -I./../lib -I/usr/include -I../et -DHAVE_CONFIG_H -O2 -march=i686 -pipe -Ino/include \ cyrusMasterMIB.c gcc -c -I.. -I./../lib -I/usr/include -I../et -DHAVE_CONFIG_H -O2 -march=i686 -pipe -Ino/include \ service.c gcc -c -I.. -I./../lib -I/usr/include -I../et -DHAVE_CONFIG_H -O2 -march=i686 -pipe -Ino/include \ service-thread.c gcc -o master master.o masterconf.o cyrusMasterMIB.o ../lib/lock_fcntl.o ../lib/libcyrus_min.a -L/usr/lib -lnetsnmpagent -lnetsnmpmibs -lnetsnmphelpers -lnetsnmp -ldl -lz -lcrypto -lm -rdynamic -L/usr/local/lib /usr/lib/perl5/5.8.2/i386-linux/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/5.8.2/i386-linux/CORE -lperl -lpthread -lnsl -ldl -lm -lcrypt -lutil -lc -lresolv -lssl -lcrypto -lfl -lresolv -ldb-4.2 ../et/libcom_err.a gcc: /usr/lib/perl5/5.8.2/i386-linux/auto/DynaLoader/DynaLoader.a: No such file or directory make[1]: *** [master] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/home/gentoo/build/portage/cyrus-imapd-2.2.8/work/cyrus-imapd-2.2.8/master' make: *** [all] Error 1 !!! ERROR: net-mail/cyrus-imapd-2.2.8 failed. !!! Function src_compile, Line 97, Exitcode 2 !!! compile problem Reproducible: Always Steps to Reproduce: 1. edit ebuild a and move "~x86" to "x86", also fix ucd-snmp dependency to net-snmp (cyrus 2.2 supports net-snmp by now. No need for older ucd any more) 2. emerge cyrus-imapd 3. curse Actual Results: compile fails Expected Results: installing the software :) emerge info Portage 2.0.50-r10 (system, gcc-3.4.1, glibc-2.3.4.20040619-r1, 2.6.7) ================================================================= System uname: 2.6.7 i686 Pentium II (Deschutes) Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/home/gentoo/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp.du.se/pub/os/gentoo http://ftp.lug.ro/gentoo/" MAKEOPTS="-j3" PKGDIR="/home/gentoo/packages" PORTAGE_TMPDIR="/home/gentoo/build" PORTDIR="/home/gentoo/portage" PORTDIR_OVERLAY="/home/gentoo/local" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl acpi apache2 berkdb bzlib caps crypt cups curl curlwrappers fam ftp gd gmp gpm jpeg kerberos ldap libwww mmap nls nptl offensive pdflib pic png posix readline samba sasl slp snmp ssl threads truetype unicode usb x86 xml2 xsl zlib"
please check your perl installation. perl provides DynaLoader.a. Do you have /usr/lib/perl5/5.8.2/i386-linux/auto/DynaLoader/DynaLoader.a in your system?
Ok. First Problem: I am using perl-5.8.4 (upgrade from 5.8.2), but still had the 5.8.2 directory, which somehow did not get unmerged cleanly, but was surely not complete any more. However, neither below the 5.8.4/auto directory nor below 5.8.2/auto, I do have a "DynaLoader" directory. Not even after unmerging anything related to perl and perl itself, manually deleting anything left over below /usr/lib/perl5 and remerging libperl and perl. Just auto/POSIX has been created. Not sure what can be done wrong with "emerge perl" that this directory will not be created ? Haven't found any related use flag either. Broken perl ebuild ?
Reassigning to perl.
[..] gcc -c -I.. -I./../lib -I../et -DHAVE_CONFIG_H -march=pentium3 -mmmx -msse -mfpmath=sse -O3 -pipe -fomit-frame-pointer -freorder-blocks -frerun-cse-after-loop -frerun-loop-opt -fexpensive-optimizations -ffast-math -minline-all-stringops -Ino/include \ service-thread.c gcc -o master master.o masterconf.o cyrusMasterMIB.o ../lib/lock_fcntl.o ../lib/libcyrus_min.a -lucdagent -lucdmibs -lsnmp -lrpm -lrpmio -lrpmdb -lpopt -lssl -lcrypto -lfl -lresolv -ldb-4.2 ../et/libcom_err.a /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../libucdmibs.so: undefined reference to `hosts_ctl' collect2: ld returned 1 exit status make[1]: *** [master] Error 1 make[1]: Leaving directory `/vol1/gentoo/build/portage/cyrus-imapd-2.2.8/work/cyrus-imapd-2.2.8/master' make: *** [all] Error 1 !!! ERROR: net-mail/cyrus-imapd-2.2.8 failed. !!! Function src_compile, Line 97, Exitcode 2 !!! compile problem hmmmm?
My bad. It seems to be the fault of snmp indeed. Building cyrus-imapd with USE="-snmp" works fine. Maybe, contrary to the cyrus docs, that state support for net-snmp, it does not for the latest versions. Can't test with UCD-SNMP. So the snmp-part somehow triggers the still missing DynaLoader.a However, sieveshell as well as sivtest are still not working, but thats a different bug.
Please try the ebuild and patch attached in bug #68254. Thanks.
closing