Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38083 - Unable to compile gettext-0.12.1 due to java jar 'Killed' during compiling
Summary: Unable to compile gettext-0.12.1 due to java jar 'Killed' during compiling
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-13 07:44 UTC by Stephen Torri
Modified: 2004-02-17 01:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Output of 'env' as root. (log,1.09 KB, text/plain)
2004-01-13 07:45 UTC, Stephen Torri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen Torri 2004-01-13 07:44:58 UTC
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.
Comment 1 Stephen Torri 2004-01-13 07:45:39 UTC
Created attachment 23736 [details]
Output of 'env' as root.
Comment 2 SpanKY gentoo-dev 2004-01-13 11:05:32 UTC
does `dmesg` show anything useful after the emerge failed ?
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2004-01-13 15:15:09 UTC
do you use threads in glibc ?
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2004-01-13 15:15:50 UTC
sorry, this was perl

do you use nptl in glibc ?
Comment 5 Stephen Torri 2004-01-13 16:11:27 UTC
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.
Comment 6 Martin Holzer (RETIRED) gentoo-dev 2004-01-15 08:10:20 UTC
emerge -pv glibc

-ntpl or +ntpl is displayed
Comment 7 Stephen Torri 2004-01-15 23:01:28 UTC
-nptl is displayed. So no NPTL.
Comment 8 Adrian Almenar 2004-01-17 07:26:10 UTC
This is a PAX misconfiguration, not a java problem, so returning back to bug-wranglers.
Comment 9 SpanKY gentoo-dev 2004-01-17 17:48:42 UTC
strider is right, you need to run chpax on those binaries
Comment 10 Stephen Torri 2004-01-18 18:29:37 UTC
changing jar via chpax makes the gettext install to work. I did 'chpax -S /opt/blackdown-jdk-1.4.1/bin/jar'.
Comment 11 temp 2004-02-17 01:59:54 UTC
I had to do
chpax -s /opt/blackdown-jdk-1.4.1/bin/javac
(lower case 's') to get the thing running.