Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 681138

Summary: media-libs/mesa-9999::gentoo failed (install phase) after change in upstream install script
Product: Gentoo Linux Reporter: franklyfrank
Component: Current packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED FIXED    
Severity: normal CC: chewi, pascal, reanoyer
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://gitlab.freedesktop.org/mesa/mesa/merge_requests/505
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: output of `emerge --info`
build.log

Description franklyfrank 2019-03-21 09:16:51 UTC
Created attachment 570092 [details]
output of `emerge --info`

Since upstream commit 4188dd7879a [1] the install phase fails with a sandbox violation. I came aware of the installation failure by a user in #gentoo who reported no sandbox failure, just missing the dri driver files however. Not sure if the difference is in my Gentoo configuration or him using Intel drivers and me using Radeon drivers.
Bisecting narrowed it down to the aforementioned commit and reverting its change resulted in a successful installation for both that commit and the latest HEAD at the time of writing (db07f0554a).

[1] https://cgit.freedesktop.org/mesa/mesa/commit/?id=4188dd7879a374b698d5f50c84cd26b2606f1ee3
Comment 1 franklyfrank 2019-03-21 09:17:39 UTC
Created attachment 570094 [details]
build.log
Comment 2 Reanoyer 2019-03-21 12:31:34 UTC
god heavens I was like 4 hours checking for fixing my permissions.
It happens for me too.
Comment 3 Alan Swanson 2019-03-21 15:36:45 UTC
Patch  in mesa bug 110211 at comment 6 to fix DESTDIR handling in install_megadrivers.py fixes it for me.

https://bugs.freedesktop.org/show_bug.cgi?id=110211#c6
Comment 4 James Le Cuirot gentoo-dev 2019-03-21 22:50:29 UTC
The GitLab patch works here. We can close this when it's merged.
Comment 5 franklyfrank 2019-03-22 20:06:41 UTC
Fixed with upstream commit ed96038e55b37501dae0be09287a6209a966eb85