net-analyzer/pmacct has configure output which is prone to random build failures with mysql support. Current output: checking whether to enable MySQL support... checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E yes checking default locations for libmysqlclient... not found checking for mysql_real_connect in -lmysqlclient... yes checking for main in -lstdc++... yes checking for clock_gettime in -lrt... yes checking default locations for mysql.h... found in /usr/include/mysql Adding the following will fix the detection: --- pmacct-1.5.1.ebuild 27 May 2015 11:21:22 -0000 1.4 +++ pmacct-1.5.1.ebuild 26 Jun 2015 18:42:35 -0000 @@ -47,6 +47,8 @@ $(use_enable ipv6) \ $(use_enable mongodb) \ $(use_enable mysql) \ + $(usex mysql "--with-mysql-includes=$(mysql_config --variable=pkgincludedir)" '') \ + $(usex mysql "--with-mysql-libs=$(mysql_config --variable=pkglibdir)" '') \ $(use_enable postgres pgsql) \ $(use_enable sqlite sqlite3) \ $(use_enable threads) \ New Output: checking whether to enable MySQL support... checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E yes checking your own MySQL client library... ok checking for main in -lstdc++... yes checking for clock_gettime in -lrt... yes checking your own MySQL headers... ok
Note that this will fail in the upcoming versions of mysql and friends
Fixed without revision bump.