You are currently viewing archive for April 2013

Gentoo gettext upgrade: access violation

While trying to upgrade gettext to version 0.18.2 on Gentoo I was greeted with this error after the configure phase:

>>> Source configured.
* --------------------------- ACCESS VIOLATION SUMMARY ---------------------------
* LOG FILE: "/var/log/sandbox/sandbox-16125.log"
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: /proc/self/coredump_filter
A: /proc/self/coredump_filter
R: /proc/26540/coredump_filter
C: java -version

F: open_wr
S: deny
P: /proc/self/coredump_filter
A: /proc/self/coredump_filter
R: /proc/26563/coredump_filter
C: java conftestver
* --------------------------------------------------------------------------------

The solution was fairly simple:

/usr/bin/java is a symlink to a JRE which was set up manually.

mv /usr/bin/java /usr/bin/DONOTUSEJAVA

emerge -uv gettext

mv /usr/bin/DONOTUSEJAVA /usr/bin/java