Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 380639 - www-client/epiphany-3.0.4 - sandbox violation in ./epiphany --introspect-dump=/data/temp/portage/www-client/epiphany-3.0.4/temp/tmp-introspectls5Q4D/types.txt,/data/temp/portage/www-client/epiphany-3.0.4/temp/tmp-introspectls5Q4D/dump.xml
Summary: www-client/epiphany-3.0.4 - sandbox violation in ./epiphany --introspect-dump...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-25 11:54 UTC by Amit Prakash Ambasta
Modified: 2011-11-14 06:11 UTC (History)
1 user (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 Amit Prakash Ambasta 2011-08-25 11:54:02 UTC
Epiphany 3.0.4 in portage tree fails to emerge due to sandbox errors.


[ebuild     U #] www-client/epiphany-3.0.4 [3.0.3] USE="introspection nss -avahi -debug -doc -networkmanager -test" 0 kB [1=>0]


Reproducible: Always

Steps to Reproduce:
1. emerge =www-client/epiphany-3.0.4
Actual Results:  
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE "/var/log/sandbox/sandbox-8872.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: mkdir
S: deny
P: /root/.local
A: /root/.local
R: /root/.local
C: ./epiphany --introspect-dump=/data/temp/portage/www-client/epiphany-3.0.4/temp/tmp-introspectls5Q4D/types.txt,/data/temp/portage/www-client/epiphany-3.0.4/temp/tmp-introspectls5Q4D/dump.xml 
--------------------------------------------------------------------------------

Expected Results:  
Successful Merge
Comment 1 Nirbheek Chauhan (RETIRED) gentoo-dev 2011-08-29 00:09:24 UTC
This is likely because we haven't migrated the gnome2.eclass environment cleanup parts to the tree yet.
Comment 2 Kyle Gonzales 2011-09-03 05:16:08 UTC
Removing the introspection USE flag for the package allowed me to get around this.  Not sure if it caused any issues tho doing this.
Comment 3 Canek Peláez Valdés 2011-11-07 02:22:15 UTC
In my case, the sandbox violation remains even with -introspection:


--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE "/var/log/sandbox/sandbox-10689.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: mkdir
S: deny
P: /root/.local
A: /root/.local
R: /root/.local
C: ./epiphany-scan 
--------------------------------------------------------------------------------

However, the emerge succeeded with USE="-introspection -doc".
Comment 4 Gracjan Piejak 2011-11-08 10:00:31 UTC
Same problem with www-client/epiphany-3.2.1

Added to epiphany-3.2.1.ebuild manually in pkg_setup() 

export XDG_DATA_HOME="${T}/.local" 

and run 
ebuild /usr/portage/www-client/epiphany/epiphany-3.2.1 digest
ebuild /usr/portage/www-client/epiphany/epiphany-3.2.1 depend
emerge epiphany
Comment 5 Gracjan Piejak 2011-11-08 10:03:22 UTC
And the emerge succeeds without any sandbox violations
Comment 6 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-11-14 06:11:37 UTC
Should be fixed by an update to the gnome eclasses.

>  14 Nov 2011; Alexandre Rostovtsev <tetromino@gentoo.org> gnome2-utils.eclass,
>  gnome2.eclass:
>  Add gnome2_environment_reset() to reset env variables that often cause build
>  or test failures (most recently bug #380639). The XDG_* resetting code had
>  been tested in the gnome overlay for months with good results.