Compilation of amanda seems to break on a number of things, I'm not quite sure which one is actually the fatal one. See "actual results" for details and output. On a whim, I tried emerging without distcc and ccache in $FEATURES, but with the same result. DBM_REPLACE apparently has something to do with gdbm, and doing a manual compile from the tarball with only the required configure options (--with-user and --with-group) works without errors. Other than that.. over my head, I'm afraid. Reproducible: Always Steps to Reproduce: 1. emerge amanda 2. 3. Actual Results: gcc -DHAVE_CONFIG_H -I. -I. -I../config -I../common-src -I../common-src -I../tape-src -D_FILE_OFFSET_BITS=64 -D_FILE_OFFSET_BITS=64 -march=pentium2 -s -Os -pipe -c infofile.c -MT infofile.lo -MD -MP -MF .deps/infofile.TPlo -fPIC -DPIC -o .libs/infofile.lo infofile.c:46: error: syntax error before '*' token infofile.c:46: warning: data definition has no type or storage class infofile.c: In function `open_infofile': infofile.c:391: warning: assignment makes pointer from integer without a cast infofile.c: In function `get_info': infofile.c:525: error: incompatible types in assignment infofile.c: In function `get_firstkey': infofile.c:554: error: incompatible types in assignment infofile.c: In function `get_nextkey': infofile.c:597: error: incompatible types in assignment infofile.c: In function `put_info': infofile.c:658: error: `DBM_REPLACE' undeclared (first use in this function) infofile.c:658: error: (Each undeclared identifier is reported only once infofile.c:658: error: for each function it appears in.) distcc[32511] ERROR: compile on panther failed make[1]: *** [infofile.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... mv -f .libs/holding.lo holding.o (cd . && ln -s holding.o holding.lo) make[1]: Leaving directory `/var/tmp/portage/amanda-2.4.4-r3/work/amanda-2.4.4/server-src' make: *** [all-recursive] Error 1 !!! ERROR: app-admin/amanda-2.4.4-r3 failed. !!! Function src_compile, Line 170, Exitcode 2 !!! emake failed! Expected Results: It'd been nice if it had finished emerging instead or failing. :) Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3) ================================================================= System uname: 2.6.3 i686 Pentium II (Klamath) Gentoo Base System version 1.4.3.13 distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium2 -s -Os -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/env.d" CXXFLAGS="-march=pentium2 -s -Os -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc sandbox userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/local/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X509 acl acpi acpi4linux apache2 apm autofs crypt cscope cups ethereal evms2 fam foomaticdb gd gd-external gdbm imap imlib imlib2 ipv6 java javascript jikes kerberos ldap libdsk libg++ libwww mad maildir mbox md5sum memlimit milter mmx ncurses nls oav odbc pam parse-clocks pcap pdflib perl pic png postgres python readline ruby samba skey slang slp snmp spell sse ssl tcpd x86 xml xml2 zeo zlib"
I've confirmed that this error only occurs when the configure option "--with-db=gdbm" is present, and this behaviour seems identical both in portage and when compiling standalone directly from the source tarball. This means it's not a specific gentoo problem, so I guess I should find the fix elsewhere (or just disable gdbm for this merge). I'm leaving the bug open, but I'm not going to object if someone wants to close it without further ado.
please try the new amanda.
no response, closing bug.