Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 608256 - media-video/vlc: sandbox violation
Summary: media-video/vlc: sandbox violation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL: https://bugs.gentoo.org/show_bug.cgi?...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-04 20:33 UTC by Andrius Štikonas
Modified: 2018-01-18 00:27 UTC (History)
2 users (show)

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


Attachments
build.log.xz (build.log.xz,130.16 KB, application/x-xz)
2017-12-19 20:38 UTC, Andrius Štikonas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrius Štikonas 2017-02-04 20:33:43 UTC
vlc fails to compile here. This is exactly the same bug as in media-gfx/blender or media-gfx/enblend: see https://bugs.gentoo.org/show_bug.cgi?id=600916

Blender folks said that imagemagick started to use hardware rendering and so vlc ebuild has to be mofified too.

 * --------------------------- ACCESS VIOLATION SUMMARY ---------------------------
 * LOG FILE: "/var/log/sandbox/sandbox-13809.log"
 * 
VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: open_wr
S: deny
P: /dev/dri/renderD128
A: /dev/dri/renderD128
R: /dev/dri/renderD128
C: /var/tmp/portage/media-video/vlc-2.2.4/work/vlc-2.2.4/bin/.libs/vlc-cache-gen ../modules 

F: open_wr
S: deny
P: /dev/dri/renderD128
A: /dev/dri/renderD128
R: /dev/dri/renderD128
C: /var/tmp/portage/media-video/vlc-2.2.4/work/vlc-2.2.4/bin/.libs/vlc-cache-gen ../modules 
 * --------------------------------------------------------------------------------


Reproducible: Always
Comment 1 Andrius Štikonas 2017-12-19 20:36:50 UTC
Now, I also get sandbox violation for /root/.cache/mesa/index
Comment 2 Andrius Štikonas 2017-12-19 20:38:05 UTC
Created attachment 511034 [details]
build.log.xz
Comment 3 Larry the Git Cow gentoo-dev 2017-12-20 17:31:56 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08f1f9e73913968c59ee839693a476cc003ef81b

commit 08f1f9e73913968c59ee839693a476cc003ef81b
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2017-12-20 17:23:45 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2017-12-20 17:24:10 +0000

    media-video/vlc: Fix (some) sandbox violations
    
    Bug: https://bugs.gentoo.org/608256
    Package-Manager: Portage-2.3.19, Repoman-2.3.6

 media-video/vlc/vlc-2.2.8.ebuild    | 2 ++
 media-video/vlc/vlc-2.2.9999.ebuild | 2 ++
 media-video/vlc/vlc-3.0.9999.ebuild | 2 ++
 media-video/vlc/vlc-9999.ebuild     | 2 ++
 4 files changed, 8 insertions(+)}
Comment 4 Larry the Git Cow gentoo-dev 2018-01-18 00:27:46 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63861c0d8e631387566113508b80cfc93930ca43

commit 63861c0d8e631387566113508b80cfc93930ca43
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-01-18 00:23:13 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-01-18 00:27:29 +0000

    media-video/vlc: Disable vlc-cache-gen during build
    
    Tested-by: Andrius Štikonas <andrius@stikonas.eu>
    Closes: https://bugs.gentoo.org/608256
    Closes: https://bugs.gentoo.org/564842
    Package-Manager: Portage-2.3.19, Repoman-2.3.6

 media-video/vlc/vlc-2.2.8-r1.ebuild |  8 ++++++++
 media-video/vlc/vlc-2.2.9999.ebuild | 10 +++++++++-
 media-video/vlc/vlc-3.0.9999.ebuild | 10 +++++++++-
 media-video/vlc/vlc-9999.ebuild     | 10 +++++++++-
 4 files changed, 35 insertions(+), 3 deletions(-)