Ebuild fails in pkg_postinst with error: >>> Original instance of package unmerged safely. /usr/bin/install: cannot stat 'support-files/magic': No such file or directory !!! dodoc: support-files/magic does not exist * ERROR: dev-db/mariadb-10.2.7-r1::gentoo failed (postinst phase): * dodoc failed * * If you need support, post the output of `emerge --info '=dev-db/mariadb-10.2.7-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-db/mariadb-10.2.7-r1::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-db/mariadb-10.2.7-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-db/mariadb-10.2.7-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-db/mariadb-10.2.7-r1/homedir' * S: '/var/tmp/portage/dev-db/mariadb-10.2.7-r1/work/mysql' !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info =mariadb-10.2.7 * FAILED postinst: 1 >>> Regenerating /etc/ld.so.cache...
Fixed in the repo. Call was a duplicate and could be removed.