Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 645528 - media-libs/mesa: mv -f unfriendly to unusual directory structure
Summary: media-libs/mesa: mv -f unfriendly to unusual directory structure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-24 03:19 UTC by runar.hovland
Modified: 2018-08-19 22:06 UTC (History)
2 users (show)

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 runar.hovland 2018-01-24 03:19:10 UTC
Compiling mesa, emerge does a 'mv -f "${x}" "${x/dri/mesa}"' during the install.

Unfortunately I was building in a subdirectory like /mnt/drive-xx/var/.../dri/... and it tried to mv -f /mnt/drive-xx/var/... -> /mnt/mesave-xx/var/...

Line <https://gitweb.gentoo.org/repo/gentoo.git/tree/media-libs/mesa/mesa-18.0.0_rc2.ebuild#n431>

Now I'm bind mounting /var instead of symlinking, so I can't repeat it (well, I guess I could set the portage tmpdir somewhere with a "dri" in the path)
Comment 1 Alexander Tsoy 2018-02-13 04:17:34 UTC
Something like this should work:
mv -f "${x}" "${x%/*/*}/mesa/${x##*/}"
Comment 2 Matt Turner gentoo-dev 2018-06-06 20:22:50 UTC
Fixed in 18.1+ with the removal of eselect-mesa.
Comment 3 Matt Turner gentoo-dev 2018-08-19 22:06:44 UTC
18.1.6 is being stablized in bug 664002 and has been stabilized on amd64. Going to mark as resolved.