Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-11155

package ant pulls older java via dependencies, even though newer java is already installed

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Undefined Undefined
    • None
    • rhel-8.8.0
    • ant
    • None
    • None
    • sst_cs_apps
    • ssg_core_services
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • If docs needed, set a value
    • None

      Description of problem:
      package ant pulls older java via dependencies, even though newer
      java is already installed

      Version-Release number of selected component (if applicable):
      ant-1.10.5-1.module+el8+2438+c99a8a1e

      How reproducible:
      always

      Steps to Reproduce:
      1. install a rhel8.8GA
      2. dnf -y install java-17-openjdk.x86_64
      3. dny install ant

      Actual results:
      Tries to pull in older java:
      [..]
      Installing:
      ant noarch 1.10.5-1.module+el8+2438+c99a8a1e rhel-8.8-AppStream 193 k
      Installing dependencies:
      ant-lib noarch 1.10.5-1.module+el8+2438+c99a8a1e rhel-8.8-AppStream 2.0 M
      java-1.8.0-openjdk x86_64 1:1.8.0.362.b09-2.el8_7 rhel-8.8-AppStream 544 k
      java-1.8.0-openjdk-devel x86_64 1:1.8.0.362.b09-2.el8_7 rhel-8.8-AppStream 9.8 M
      java-1.8.0-openjdk-headless x86_64 1:1.8.0.362.b09-2.el8_7 rhel-8.8-AppStream 34 M
      javapackages-tools noarch 5.3.0-1.module+el8+2447+6f56d9a6 rhel-8.8-AppStream 44 k

      Expected results:
      Should use installed java-17

      Additional info:

      • bz2173874 reports a similar issue for tomcat
      • the rhel8.9 nightly still shows the issue for 'ant'

            mizdebsk@redhat.com Mikolaj Izdebski
            rhn-support-chorn Christian Horn
            Mikolaj Izdebski Mikolaj Izdebski
            bot rhel-cs-apps-subsystem-qe bot rhel-cs-apps-subsystem-qe
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: