The emerge of the subject fails with the message: Wrote /var/tmp/portage/bbdb-2.34-r1/work/bbdb-2.34/bits/bbdb-mail-folders.elc While compiling toplevel forms in file /var/tmp/portage/bbdb-2.34-r1/work/bbdb-2.34/bits/bbdb-pgp.el: !! File error (("Cannot open load file" "mailcrypt")) Wrote /var/tmp/portage/bbdb-2.34-r1/work/bbdb-2.34/bits/bbdb-signature.elc While compiling bbdb/calendar-mark-entries in file /var/tmp/portage/bbdb-2.34-r1/work/bbdb-2.34/bits/bbdb-sort-mailrc.el: ** reference to free variable displayed-month ** reference to free variable displayed-year While compiling bbdb/calendar-list-entries in file /var/tmp/portage/bbdb-2.34-r1/work/bbdb-2.34/bits/bbdb-sort-mailrc.el: ** reference to free variable original-date ** reference to free variable number ** add-to-diary-list called with 2 arguments, but requires 3 While compiling bbdb-record-mail-aliases in file /var/tmp/portage/bbdb-2.34-r1/work/bbdb-2.34/bits/bbdb-sort-mailrc.el: ** reference to free variable bbdb-define-all-aliases-field While compiling bbdb-check-mail-alias in file /var/tmp/portage/bbdb-2.34-r1/work/bbdb-2.34/bits/bbdb-sort-mailrc.el: ** reference to free variable bbdb-define-all-aliases-field While compiling the end of the data in file /var/tmp/portage/bbdb-2.34-r1/work/bbdb-2.34/bits/bbdb-sort-mailrc.el: ** The following functions are not known to be defined: parse-string-end, bbdb-current-record, bbdb-redisplay-one-record, bbdb-dwim-net-address, bbdb-define-all-aliases Wrote /var/tmp/portage/bbdb-2.34-r1/work/bbdb-2.34/bits/bbdb-sort-mailrc.elc While compiling the end of the data in file /var/tmp/portage/bbdb-2.34-r1/work/bbdb-2.34/bits/bbdb-to-outlook.el: ** The following functions are not known to be defined: bbdb-field-shown-p, bbdb-address-street1, bbdb-address-street2, bbdb-address-street3 Wrote /var/tmp/portage/bbdb-2.34-r1/work/bbdb-2.34/bits/bbdb-to-outlook.elc While compiling the end of the data in file /var/tmp/portage/bbdb-2.34-r1/work/bbdb-2.34/bits/dates.el: ** The following functions are not known to be defined: f, f/ Wrote /var/tmp/portage/bbdb-2.34-r1/work/bbdb-2.34/bits/dates.elc Wrote /var/tmp/portage/bbdb-2.34-r1/work/bbdb-2.34/bits/point-at.elc Done !!! ERROR: app-emacs/bbdb-2.34-r1 failed. !!! Function src_compile, Line 42, Exitcode 1 !!! (no error message) emerge info shows: Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.0-test11-gentoo) ================================================================= System uname: 2.6.0-test11-gentoo i686 Intel(R) Pentium(R) 4 Mobile CPU 1.40GHz Gentoo Base System version 1.4.3.12 ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://gentoo.inode.at/source/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.easynet.nl/mirror/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="X aalib acpi alsa apache2 arts avi berkdb cdr cups dvd emacs encode faad foomaticdb freetype fs gdbm gif gpm gtk2 imagemagick imap imlib java jikes jpeg libg++ libwww mad maildir mbox mikmod mmx mpeg ncurses nls oggvorbis opengl pam pcmcia pdflib perl pic png pnp python qt quicktime readline sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype type1 usb wmf wxwindows x86 xml2 xmms xv zlib linguas_de"
The issue appears to be that bbdb-pgp.el, which is not part of bbdb proper, but is included as a sort of contributed addition, requires mailcrypt, which is not listed as a dependency. I will change the ebuild to use the crypt USE flag to determine whether to include this.
Fixed in CVS.
Well it's not exactly fixed, i hope the status will change or something (my first try with bugzilla). Emerge app-emacs/bbdb failed since emacs wasn't able to ''load bbdb'' (the problem arrises only on a bbdbless system (i.e. if you'r installing bbdb the first time). i was able to fix it in the ebuild. i will attatch my patch
Created attachment 31326 [details, diff] fixes the problem witch emerging bbdb for the first time