The fix for missing bison/flex build-time dependency reported by bug @376773 leaks into RDEPEND as virtual/yacc was added to DEPEND a few lines too early. As visible in below quote from mysql.eclass RDEPEND is set to DEPEND and a few more at end of quote but virtual/yacc added to DEPEND already at beginning of quote. The addition of virtual/yacc should happen after assigning DEPEND to RDEPEND. ===== snipplet from mysql.eclass (starting line 233) ===== # Be warned, *DEPEND are version-dependant # These are used for both runtime and compiletime DEPEND=" ssl? ( >=dev-libs/openssl-0.9.6d ) userland_GNU? ( sys-process/procps ) >=sys-apps/sed-4 >=sys-apps/texinfo-4.7-r1 >=sys-libs/readline-4.1 >=sys-libs/zlib-1.2.3 virtual/yacc " [[ ${PN} == mariadb ]] \ && DEPEND="${DEPEND} libevent? ( >=dev-libs/libevent-1.4 )" # Having different flavours at the same time is not a good idea for i in "mysql" "mysql-community" "mysql-cluster" "mariadb" ; do [[ ${i} == ${PN} ]] || DEPEND="${DEPEND} !dev-db/${i}" done RDEPEND="${DEPEND} !minimal? ( dev-db/mysql-init-scripts ) selinux? ( sec-policy/selinux-mysql ) " ===== end of snipplet ===== Reproducible: Always
Fixed. Thanks for the bug report.