Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35365 - emege ant fails (dev-java/ant-1.5.4-r1)
Summary: emege ant fails (dev-java/ant-1.5.4-r1)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Adrian Almenar
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-08 11:01 UTC by Yogesh
Modified: 2003-12-15 18:17 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yogesh 2003-12-08 11:01:57 UTC
emerge  -n ant
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-java/ant-1.5.4-r1 to /
>>> md5 src_uri ;-) apache-ant-1.5.4-src.tar.bz2
>>> Unpacking source...
>>> Unpacking apache-ant-1.5.4-src.tar.bz2 to /var/tmp/portage/ant-1.5.4-r1/work
 * Applying build.sh-exit-fix.patch.gz...                                        
                                       [ ok ]
 * Applying rpmbuild.patch.gz...                                                 
                                       [ ok ]
>>> Source unpacked.
... Bootstrapping Ant Distribution
... Compiling Ant Classes
./bootstrap.sh: line 118: 10689 Killed                  "${JAVAC}" 
$BOOTJAVAC_OPTS -d ${CLASSDIR} ${TOOLS}/bzip2/*.java ${TOOLS}/tar/*.java 
${TOOLS}/zip/*.java ${TOOLS}/ant/util/regexp/RegexpMatcher.java ${TOOLS}
/ant/util/regexp/RegexpMatcherFactory.java ${TOOLS}/ant/util/*.java ${TOOLS}
/ant/types/*.java ${TOOLS}/ant/*.java ${TOOLS}/ant/taskdefs/*.java ${TOOLS}
/ant/taskdefs/compilers/*.java ${TOOLS}/ant/taskdefs/condition/*.java
... Failed compiling Ant classes !
Bootstrap FAILED

!!! ERROR: dev-java/ant-1.5.4-r1 failed.
!!! Function src_compile, Line 80, Exitcode 1
!!! (no error message)


Reproducible: Always
Steps to Reproduce:
1.emerge ant



I have updated system as of today 12/08/2003 10:00 AM PST

I am not sure why install of exim requires ant ?
Comment 1 Adrian Almenar 2003-12-08 16:29:10 UTC
Are you using GRSecurity ?
Comment 2 Yogesh 2003-12-08 20:42:29 UTC
Yes, with HIGH Security option.
Comment 3 Adrian Almenar 2003-12-13 08:49:21 UTC
Then the problem is GRsecurity killing your Java VM.

You can try this (Options taken from blackdown-jdk ebuild, remeber to change <your Java VM here>):

for paxkills in "jar" "javac" "java"
do
  chpax -pemsv /opt/<your Java VM here>/bin/$paxkills
done

chpax -pemsv /opt/<your Java VM here>/jre/bin/java_vm

"you should have seen lots of chpax output above now"
"make sure the grsec ACL contains those entries also"
"because enabling it will override the chpax setting"
"on the physical files - help for PaX and grsecurity"
"can be given by #gentoo-hardened + pappy@gentoo.org"
Comment 4 Adrian Almenar 2003-12-15 18:17:14 UTC
Resolved as INVALID since its not really a java problem, it a GRSecurity misconfigured.