Description of problem: When attempting to install ccm-config-libs, you get an error from RPM: [root@barnet build]# rpm -Uvh ccm-config-libs-1.2.1-1.noarch.rpm error: Failed dependencies: lib-junit-3.8.1.so is needed by (installed) ant-libs-1.5.2-23 [root@barnet build]# rpm -ivh ccm-config-libs-1.2.1-1.noarch.rpm Preparing... ########################################### [100%] file /usr/share/java/junit-3.8.1.jar from install of ccm-config-libs-1.2.1-1 conflicts with file from package junit-3.8.1-1 [root@barnet build]# CCM should work out of the box with RHEL 3 without requiring manual removal of standard distribution packages, nor requiring the --force / --nodeps options. Thus it seems we remove split up ccm-config-libs to allow the servlet jars to be installed independant of the junit / httpunit ones. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Install a RHEL 3 system 2. Install ccm-config-libs 3. Actual results: [root@barnet build]# rpm -ivh ccm-config-libs-1.2.1-1.noarch.rpm Preparing... ########################################### [100%] file /usr/share/java/junit-3.8.1.jar from install of ccm-config-libs-1.2.1-1 conflicts with file from package junit-3.8.1-1 Expected results: [root@barnet build]# rpm -ivh ccm-config-libs-1.2.1-1.noarch.rpm Preparing... ########################################### [100%] 1:ccm-config-libs ########################################### [100%] [root@barnet build]# Additional info:
As of 41375, ccm-config-libs has been split up into separate packages, allowing the installation of the servlet libraries on RHEL 3 without conflicting with the junit packages. However, we still cannot install WAF on a stock RHEL 3 box because of gcj Ant. I could change the WAF RPM to depend on /usr/share/java/ant.jar, which is provided by the JPackage Ant RPM, but not the gcj Ant RPM. However, users will still need to switch the Ant RPMs themselves.
We can build with the gcj-ant package as long as we use the 'classic-ant' command instead of the 'ant' command. I have modified the spec template to implement this behavior. I will ask Karsten to put a note about this in the install guide for people doing development on RHEL 3.
closing old tickets