>>> Installing (1 of 22) x11-libs/libdrm-2.3.0 to /usr/armv4tl-softfloat-linux-gnueabi/ * checking 20 files for package collisions * 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). Once again, please do NOT file * a bug report unless you have completely understood the above message. * * package x11-libs/libdrm-2.3.0 NOT merged * * Detected file collision(s): * * /usr/armv4tl-softfloat-linux-gnueabi/usr/include/drm/via_drm.h * /usr/armv4tl-softfloat-linux-gnueabi/usr/include/drm/sis_drm.h * /usr/armv4tl-softfloat-linux-gnueabi/usr/include/drm/savage_drm.h * /usr/armv4tl-softfloat-linux-gnueabi/usr/include/drm/radeon_drm.h * /usr/armv4tl-softfloat-linux-gnueabi/usr/include/drm/r128_drm.h * /usr/armv4tl-softfloat-linux-gnueabi/usr/include/drm/mga_drm.h * /usr/armv4tl-softfloat-linux-gnueabi/usr/include/drm/i915_drm.h * /usr/armv4tl-softfloat-linux-gnueabi/usr/include/drm/drm_sarea.h * /usr/armv4tl-softfloat-linux-gnueabi/usr/include/drm/drm.h * * Searching all installed packages for file collisions... * * Press Ctrl-C to Stop * * None of the installed packages claim the file(s). * * Package 'x11-libs/libdrm-2.3.0' NOT merged due to file collisions. If * necessary, refer to your elog messages for the whole content of the * above message. Reproducible: Always Steps to Reproduce: qfile shows that those files are owned by cross-armv4tl-softfloat-linux-gnueabi/linux-headers, and when looking into the ebuild I see that in src_install() it actualy tries to delete the drm header files: # provided by libdrm (for now?) rm -rf "${D}"/usr/include/drm Changing this line to `rm -rf "${D}"/$(kernel_header_destdir)/drm` worked for me.
that is the correct fix, thanks http://sources.gentoo.org/sys-kernel/linux-headers/linux-headers-2.6.27-r2.ebuild?r1=1.8&r2=1.9 http://sources.gentoo.org/sys-kernel/linux-headers/linux-headers-2.6.28-r1.ebuild?r1=1.2&r2=1.3
(In reply to comment #1) > that is the correct fix, thanks > sure ? please see https://bugs.gentoo.org/show_bug.cgi?id=461614#c5