mysql 5.5 won't build. It's being caused by a broken mysql-cmake.eclass Reproducible: Always Steps to Reproduce: emerge mysql (with 5.5) makes it fail Actual Results: Get this error in the build + insinto /var/development/etc/mysql + '[' /var/development/etc/mysql == / ']' + export INSDESTTREE=/var/development/etc/mysql + INSDESTTREE=/var/development/etc/mysql + [[ assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles force-prefix news parallel-fetch parse-eapi-ebuild-head preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unm] + '[' '!' -d /var/development/var/tmp/portage/dev-db/mysql-5.5.22-r1/image/var/development//var/development/etc/mysql ']' + install -d /var/development/var/tmp/portage/dev-db/mysql-5.5.22-r1/image/var/development//var/development/etc/mysql + local ret=0 + [[ 0 -ne 0 ]] + doins scripts/mysqlaccess.conf ------------------------------------------------------- You should not use ${EPREFIX} with helpers. --> /var/development/etc/mysql ------------------------------------------------------- Expected Results: It to build. Here's the fix --- /var/development/usr/portage/eclass/mysql-cmake.eclass 2012-06-07 16:31:39.000000000 -0600 +++ mysql-cmake.eclass 2012-08-10 12:16:28.944095378 -0600 @@ -290,7 +290,7 @@ 5.[1-9]|6*|7*) mysql_mycnf_version="5.1" ;; esac einfo "Building default my.cnf (${mysql_mycnf_version})" - insinto "${MY_SYSCONFDIR}" + insinto "${MY_SYSCONFDIR#${EPREFIX}}" doins scripts/mysqlaccess.conf mycnf_src="my.cnf-${mysql_mycnf_version}" sed -e "s!@DATADIR@!${MY_DATADIR}!g" \
Created attachment 320914 [details, diff] Patch to fix it
@mysql: yours I believe. The fix is consistent with other locations in the mysql eclasses.
InCVS