Gentoo - ERROR: app-office/openoffice-bin-3.0.0 failed, Sandbox ACCESS VIOLATION SUMMARY
Die Installation von OpenOffice 3.0.0 hat sich als etwas problematisch erwiesen und ließ sich ohne Weiteres nicht installieren.
# emerge -av openoffice-bin
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] app-office/openoffice-bin-3.0.0
USE="java kde -gnome" LINGUAS="de -af -ar -as_IN -be_BY -bg -br
-bs -ca -cs -da -dz -el -en -en_GB -en_ZA -es -et -fi -fr -ga
-gu -he -hi_IN -hr -hu -it -ja -ka -km -ko -lt -mk -ml_IN -mr_IN
-nb -ne -nl -nn -nr -ns -or_IN -pa_IN -pl -pt -pt_BR -rw -sh -sk
-sl -sr -ss -st -sv -sw_TZ -ta -te_IN -tg -th -ti_ER -tr -ts -uk
-ur_IN -ve -vi -xh -zh_CN -zh_TW -zu" 0 kB
Total: 1 package (1 new), Size of downloads: 0 kB
Would you like to merge these packages? [Yes/No] Yes
Das Binary von openoffice-bin wurde zwar erfolgreich entpackt, doch sandbox hat ein Berechtigungsproblem, so dass die Installation abgebrochen wird:
ACCESS DENIED unlinkat: /usr/lib64/openoffice/basis-link
rm: cannot remove `/usr/lib64/openoffice/basis-link':
Permission denied
*
* ERROR: app-office/openoffice-bin-3.0.0 failed.
* Call stack:
* ebuild.sh, line 49: Called src_install
* environment, line 2265: Called die
* The specific snippet of code:
* rm -f ${INSTDIR}/basis-link || die;
* The die message:
* (no error message)
* If you need support, post the topmost build error,
* and the call stack if relevant.
* A complete build log is located at
* '/var/tmp/portage/app-office/openoffice-bin-3.0.0/temp/build.log'.
* The ebuild environment file is located at
* '/var/tmp/portage/app-office/openoffice-bin-3.0.0/temp/environment'.
*
--------------------------- ACCESS VIOLATION SUMMARY --
LOG FILE "/var/log/sandbox/sandbox-8437.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: unlinkat
S: deny
P: /usr/lib64/openoffice/basis-link
A: /usr/lib64/openoffice/basis-link
R: /usr/lib64/openoffice/basis-link
C: rm -f /usr/lib64/openoffice/basis-link
-----------------------------------------
Lösung
Um openoffice-bin trotzdem installieren zu können, muss man Sandbox temporär deaktivieren:
# FEATURES="-sandbox" emerge openoffice-bin