Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 452021 - ant would not install on rhel 4 box
Summary: ant would not install on rhel 4 box
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Application Server
Classification: Retired
Component: ant
Version: 2.0
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Deepak Bhole
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-06-18 17:54 UTC by Stephen Herr
Modified: 2008-06-18 21:12 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-06-18 21:12:43 UTC


Attachments (Terms of Use)

Description Stephen Herr 2008-06-18 17:54:26 UTC
Description of problem:
I could not install ant on a rhel 4 server when subscribed to the app server
product. It would give a dependency resolution error and quit. 

Version-Release number of selected component (if applicable):
2

How reproducible:
Unknown

Steps to Reproduce:
1. register rhel 4 as server to rhn
2. log into rhn and navigate to server details page
3. go to software -> software channels and subscribe to "Red Hat Application
Server v. 2 (AS v. 4 for i386)"
4. run "up2date install ant"
  
Actual results:
[root@fjs-0-08 xml_rpc_api]# up2date install ant

Fetching Obsoletes list for channel: rhel-i386-as-4...

Fetching Obsoletes list for channel: rhel-4-as-i386-rhaps-2...

Fetching rpm headers...
########################################

Name                                    Version        Rel     
----------------------------------------------------------
ant                                     1.6.5          1jpp_1rh          noarch


Testing package set / solving RPM inter-dependencies...
There was a package dependency problem. The message was:

Unresolvable chain of dependencies:
java-1.4.2-gcj-compat-devel  1.4.2.0-27j requires ecj


The following packages were added to your selection to satisfy dependencies:
Package                                Required by
----------------------------------------------------------------------------
cpp-3.4.6-9.i386                        gcc-3.4.6-9                            
cpp                                     
gcc-3.4.6-9.i386                        gcc-java-3.4.6-9                       
gcc                                     
gcc-java-3.4.6-9.i386                   java-1.4.2-gcj-compat-1.4.2.0-27jpp    
gcc-java                                
libgcj-3.4.6-9.i386                     java-1.4.2-gcj-compat-1.4.2.0-27jpp    
libgcj                                  
libgcj-devel-3.4.6-9.i386               gcc-java-3.4.6-9                       
libgcj-devel 

Expected results:
Ant dependency resolution completes and ant is installed

Additional info:
The ecj package is available in the rhel 4 base channel, so I downloaded it and
installed it by hand. Then "up2date install ant" would complete without errors,
but when I tried to use ant I got this error:

[root@fjs-0-08 xml_rpc_api]# ant
Exception in thread "main" java.lang.NoClassDefFoundError:
org.apache.tools.ant.launch.Launcher
   at _ZN4java4lang11VMThrowable16fillInStackTraceEPNS0_9ThrowableE
(/usr/lib/libgcj.so.5.0.0)
   at _ZN4java4lang9Throwable16fillInStackTraceEv (/usr/lib/libgcj.so.5.0.0)
   at _ZN4java4lang9ThrowableC1EPNS0_6StringE (/usr/lib/libgcj.so.5.0.0)
   at _ZN4java4lang5ErrorC1EPNS0_6StringE (/usr/lib/libgcj.so.5.0.0)
   at _ZN4java4lang12LinkageErrorC1EPNS0_6StringE (/usr/lib/libgcj.so.5.0.0)
   at _ZN4java4lang20NoClassDefFoundErrorC1EPNS0_6StringE (/usr/lib/libgcj.so.5.0.0)
   at _ZN3gnu3gcj7runtime11FirstThread3runEv (/usr/lib/libgcj.so.5.0.0)
   at _Z13_Jv_ThreadRunPN4java4lang6ThreadE (/usr/lib/libgcj.so.5.0.0)
   at _Z11_Jv_RunMainPN4java4lang5ClassEPKciPS4_b (/usr/lib/libgcj.so.5.0.0)
   at __gcj_personality_v0 (/root/workspace/xml_rpc_api/java.version=1.4.2)
   at __libc_start_main (/lib/tls/libc-2.3.4.so)
   at _Jv_RegisterClasses (/root/workspace/xml_rpc_api/java.version=1.4.2)


That looks to me like ant was not installed correctly.

Comment 1 Deepak Bhole 2008-06-18 20:29:40 UTC
RHAPS is not certified with GCJ. Is the above error reproducible with IBM/BEA jvms?

Please also note that RHAPS is nearing it's EOL and is in "security fix only" mode.

Comment 2 Stephen Herr 2008-06-18 20:35:58 UTC
I don't know, I've blown away that box with a distribution I know I can make
work. I'm afraid I'm not going to be much help to you if you do decide to do
something about this.

Comment 3 Deepak Bhole 2008-06-18 21:12:43 UTC
Okay. I am pretty sure this error was a gcj specific one. I am going to close
this as NOTABUG, since it is not expected to work with gcj anyway.


Note You need to log in before you can comment on or make changes to this bug.