For some reason when I attempt to run 'jar' I get the "Killed" message on the screen. The same is true for when I try to compile gettext-0.12.1 during a upgrade: emerge -UuvD gettext: make[3]: Entering directory `/var/tmp/portage/gettext-0.12.1/work/gettext-0.12.1/gettext-runtime/intl-java' /bin/sh ../lib/javacomp.sh -d . ./gnu/gettext/GettextResource.java jar cf libintl.jar gnu/gettext/GettextResource*.class make[3]: *** [libintl.jar] Killed make[3]: Leaving directory `/var/tmp/portage/gettext-0.12.1/work/gettext-0.12.1/gettext-runtime/intl-java' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gettext-0.12.1/work/gettext-0.12.1/gettext-runtime' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/gettext-0.12.1/work/gettext-0.12.1/gettext-runtime' make: *** [all-recursive] Error 1 See my setup in the attached file.
Created attachment 23736 [details] Output of 'env' as root.
does `dmesg` show anything useful after the emerge failed ?
do you use threads in glibc ?
sorry, this was perl do you use nptl in glibc ?
Message in logs from running jar: PAX: From 10.0.0.26: terminating task: /opt/blackdown-jdk-1.4.1/bin/jar(jar):30144, uid/euid: 0/0, EIP: 26D1AB28, ESP: 5D8DC12C PAX: bytes at EIP: 68 7f 02 00 00 d9 6c 24 00 58 c3 90 cc cc cc cc 00 00 00 00 grsec: From 10.0.0.26: attempted resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 by (jar:30144) UID(0) EUID(0), parent (make:4188) UID(0) EUID(0) chpax is not installed. How do I find out if I am using threads in glibc? I believe I am but not sure. I am not sure its nptl. Glibc v. 2.3.2-r3.
emerge -pv glibc -ntpl or +ntpl is displayed
-nptl is displayed. So no NPTL.
This is a PAX misconfiguration, not a java problem, so returning back to bug-wranglers.
strider is right, you need to run chpax on those binaries
changing jar via chpax makes the gettext install to work. I did 'chpax -S /opt/blackdown-jdk-1.4.1/bin/jar'.
I had to do chpax -s /opt/blackdown-jdk-1.4.1/bin/javac (lower case 's') to get the thing running.