There is file collision /usr/lib32/libiberty.a between the new sys-libs/binutils-libs-2.25.1-r1 and sci-electronics/ghdl-0.29. It prevents the installation of ghdl. >>> Failed to install sci-electronics/ghdl-0.29, Log file: >>> '/var/tmp/portage/sci-electronics/ghdl-0.29/temp/build.log' * Messages for package sci-electronics/ghdl-0.29: * This package will overwrite one or more files that may belong to other * packages (see list below). You can use a command such as `portageq * owners / <filename>` to identify the installed package that owns a * file. If portageq reports that only one package owns a file then do * NOT file a bug report. A bug report is only useful if it identifies at * least two or more packages that are known to install the same file(s). * If a collision occurs and you can not explain where the file came from * then you should simply ignore the collision since there is not enough * information to determine if a real problem exists. Please do NOT file * a bug report at http://bugs.gentoo.org unless you report exactly which * two packages install the same file(s). See * http://wiki.gentoo.org/wiki/Knowledge_Base:Blockers for tips on how to * solve the problem. And once again, please do NOT file a bug report * unless you have completely understood the above message. * * Detected file collision(s): * * /usr/lib32/libiberty.a * * Searching all installed packages for file collisions... * * Press Ctrl-C to Stop * * sys-libs/binutils-libs-2.25.1-r1:0::gentoo * /usr/lib32/libiberty.a * * Package 'sci-electronics/ghdl-0.29' NOT merged due to file collisions.
ghdl is broken. toolchain packages own libiberty.a.
I think the problem is in src_install. The solution is change from rm "${D}"/usr/$(get_libdir)/lib* cd "${D}"/usr/$(get_libdir)/gcc/${CHOST}/${GCC_VERSION} ; rm -rf `ls --ignore=vhdl*` to for libdir in $(get_all_libdirs); do rm "${D}"/usr/${libdir}/lib* if [ -d "${D}/usr/${libdir}/gcc/${CHOST}/${GCC_VERSION}" ]; then cd "${D}"/usr/${libdir}/gcc/${CHOST}/${GCC_VERSION} ;rm -rf `ls --ignore=vhdl*` fi done I've added these changes to proposal of ghdl-0.33 ebuild (https://bugs.gentoo.org/show_bug.cgi?id=547356)
removed