installing linux-headers-2.6.30-r1 (a dependency of system) and libdrm-2.4.12 leads to file collisions in ${EPREFIX}/usr/include/drm the issue is on the linux-headers side. in src_install the drm-headers should be removed by the line: rm -rf "${ED}"/$(kernel_header_destdir)/drm however, both, ${ED} and $(kernel_header_destdir) add ${EPREFIX} to the path, resulting in .../linux-headers-2.6.30-r1/image/${EPREFIX}/${EPREFIX}/usr/include/drm. thus the to be deleted path does not exist and the rm exits silently. Reproducible: Always Steps to Reproduce: 1. emerge linux-headers (should already be there as a dependency of system) 2. emerge libdrm Actual Results: aborted merge due to file collisions in ${EPREFIX}/usr/include/drm Expected Results: successful merge
I hopefully fixed it by doing: - rm -rf "${ED}"/$(kernel_header_destdir)/drm + rm -rf "${D}"/$(kernel_header_destdir)/drm Please let me know if this does not help, although I don't see why it would not.