Trying to upgrade from 2.4.8 to 2.4.9 fails with the following message: checking mysql.h usability... no checking mysql.h presence... no checking for mysql.h... no configure: error: MySQL was not found. You may need to supply the --with-mysql-libdir or --with-mysql-incdir configure options. !!! Please attach the following file when seeking support: !!! /var/tmp/portage/net-mail/cyrus-imapd-2.4.9/work/cyrus-imapd-2.4.9/config.log * ERROR: net-mail/cyrus-imapd-2.4.9 failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 56: Called src_configure * environment, line 3165: Called econf '--enable-murder' '--enable-netscapehack' '--enable-idled' '--with-service-path=/usr/lib64/cyrus' '--with-cyrus-user=cyrus' '--with-cyrus-group=mail' '--with-com_err=yes' '--with-sasl' '--without-perl' '--without-krb' '--without-krbdes' '--with-zlib' '--disable-afs' '--disable-krb5afspts' '--with-bdb' '--enable-nntp' '--disable-replication' '--disable-gssapi' '--enable-sieve' '--with-mysql' '--without-pgsql' '--with-sqlite' '--with-openssl' '--without-snmp' '--with-libwrap' '--with-mysql-incdir=/usr/include/mysql--with-bdb-incdir=/usr/include/db4.8' * ebuild.sh, line 557: Called die * The specific snippet of code: * die "econf failed" * * If you need support, post the output of 'emerge --info =net-mail/cyrus-imapd-2.4.9', * the complete build log and the output of 'emerge -pqv =net-mail/cyrus-imapd-2.4.9'. * The complete build log is located at '/var/tmp/portage/net-mail/cyrus-imapd-2.4.9/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-mail/cyrus-imapd-2.4.9/temp/environment'. * S: '/var/tmp/portage/net-mail/cyrus-imapd-2.4.9/work/cyrus-imapd-2.4.9' The cause seems to be this botched part of configure command line: '--with-mysql-incdir=/usr/include/mysql--with-bdb-incdir=/usr/include/db4.8' It seems there is a space missing in line 88 of the ebuild to separate these two incdir parameters.
Fixed in CVS by http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-mail/cyrus-imapd/cyrus-imapd-2.4.9.ebuild Thanks!