If you don't have mysql in your USE-flags and don't have it installed, jabberd-2.0-r2 fails to install, saying it couldn't find mysql client libraries. It's easy to fix, here's the patch for the ebuild: *** /usr/portage/net-im/jabberd/jabberd-2.0-r2.ebuild 2004-11-24 11:33:23.000000000 +0100 --- jabberd-2.0-r2.ebuild 2004-12-12 17:09:02.722431808 +0100 *************** *** 49,54 **** --- 49,56 ---- fi if use mysql; then enables="${enables} --enable-mysql" + else + enables="${enables} --disable-mysql" fi if use postgres; then enables="${enables} --enable-pgsql" Reproducible: Always Steps to Reproduce: 1. emerge unmerge mysql 2. USE="-mysql" emerge "=jabberd-2.0-r2" Actual Results: The emerge process fails saying: checking for mysql.h in /usr/include/mysql... no configure: error: MySQL client libraries not found !!! ERROR: net-im/jabberd-2.0-r2 failed. !!! Function src_compile, Line 76, Exitcode 1 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r6blackmore i686) ================================================================= System uname: 2.6.9-gentoo-r6blackmore i686 VIA Samuel 2 Gentoo Base System version 1.6.7 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Dec 7 2004, 00:55:08)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3 sys-devel/binutils: 2.15.92.0.2-r1, 2.14.90.0.8-r1 sys-devel/libtool: 1.5.10-r1 virtual/os-headers: 2.6.8.1-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-Os -march=c3 -m3dnow -fomit-frame-pointer -pipe" CHOST="i586-pc-linux-gnu" 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/terminfo /etc/env.d" CXXFLAGS="-Os -march=c3 -m3dnow -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow acl alsa apache2 apm avi berkdb bitmap-fonts crypt cups directfb divx4linux dvb encode extensions f77 fam fbcon foomaticdb fortran gdbm gif gpm gtk2 imlib jpeg libcaca libg++ libwww mad mikmod mmx motif mpeg ncurses netboot network nls oggvorbis pam pdflib perl png postgres pwdb python quicktime readline real samba slang spell ssl tcpd theora tiff truetype unicode v4l v4l2 x86 xml2 xvid zlib"
In portage now, thanks for the tip.