Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267145 - sys-kernel/linux-headers-2.6.28-r1 installs DRM include files when crosscompiling
Summary: sys-kernel/linux-headers-2.6.28-r1 installs DRM include files when crosscompi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-22 21:13 UTC by Andrei Slavoiu
Modified: 2013-03-14 17:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Slavoiu 2009-04-22 21:13:19 UTC
>>> 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.
Comment 2 Toralf Förster gentoo-dev 2013-03-14 17:41:03 UTC
(In reply to comment #1)
> that is the correct fix, thanks
>
sure ? please see https://bugs.gentoo.org/show_bug.cgi?id=461614#c5