Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 280558 - file-collision: linux-headers vs. libdrm
Summary: file-collision: linux-headers vs. libdrm
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-06 13:23 UTC by Thomas Burkard
Modified: 2009-08-07 21:43 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 Thomas Burkard 2009-08-06 13:23:41 UTC
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
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-08-07 21:43:43 UTC
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.