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
This is likely because we haven't migrated the gnome2.eclass environment cleanup parts to the tree yet.
Removing the introspection USE flag for the package allowed me to get around this. Not sure if it caused any issues tho doing this.
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".
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
And the emerge succeeds without any sandbox violations
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.