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

OpenJDK 21 is shipped in buildroot only

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • rhel-10.0.beta
    • java-21-openjdk
    • None
    • No
    • Critical
    • rhel-sst-java
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None

      What were you trying to do that didn't work?

       

      installing java-21-openjdk-headless on a recent RHEL-10 compose (early august 2024)

      Please provide the package NVR for which bug is seen:

      How reproducible:

       

      always

      Steps to reproduce

       

      with CRB but not buildroot:

       

      [root@dell-r730-018 yum.repos.d]# dnf search openjdk --disablerepo=beaker-tasks
      Updating Subscription Management repositories.
      Unable to read consumer identity

      This system is not registered with an entitlement server. You can use "rhc" or "subscription-manager" to register.

      beaker-CRB                                                                                                                                                  8.9 MB/s | 322 kB     00:00     
      ============================================================================= Name & Summary Matched: openjdk ==============================================================================
      maven-openjdk21.noarch : OpenJDK 21 binding for Maven
      [root@dell-r730-018 yum.repos.d]#

       

      with buildroot enabled:

       

      [root@dell-r730-018 yum.repos.d]# dnf search openjdk --disablerepo=beaker-tasks
      Updating Subscription Management repositories.
      Unable to read consumer identity

      This system is not registered with an entitlement server. You can use "rhc" or "subscription-manager" to register.

      rhel-buildroot                                                                                                                                               14 MB/s | 2.4 MB     00:00     
      Last metadata expiration check: 0:00:01 ago on Fri 09 Aug 2024 06:31:54 AM EDT.
      ============================================================================= Name & Summary Matched: openjdk ==============================================================================
      java-17-openjdk.x86_64 : OpenJDK 17 Runtime Environment
      java-17-openjdk-demo.x86_64 : OpenJDK 17 Demos
      java-17-openjdk-demo-fastdebug.x86_64 : OpenJDK 17 Demos optimised with full debugging on
      java-17-openjdk-demo-slowdebug.x86_64 : OpenJDK 17 Demos unoptimised with full debugging on
      java-17-openjdk-devel.x86_64 : OpenJDK 17 Development Environment
      java-17-openjdk-devel-fastdebug.x86_64 : OpenJDK 17 Development Environment optimised with full debugging on
      java-17-openjdk-devel-slowdebug.x86_64 : OpenJDK 17 Development Environment unoptimised with full debugging on
      java-17-openjdk-fastdebug.x86_64 : OpenJDK 17 Runtime Environment optimised with full debugging on
      java-17-openjdk-headless.x86_64 : OpenJDK 17 Headless Runtime Environment
      java-17-openjdk-headless-fastdebug.x86_64 : OpenJDK 17 Runtime Environment optimised with full debugging on
      java-17-openjdk-headless-slowdebug.x86_64 : OpenJDK 17 Runtime Environment unoptimised with full debugging on
      java-17-openjdk-javadoc.x86_64 : OpenJDK 17 API documentation
      java-17-openjdk-javadoc-zip.x86_64 : OpenJDK 17 API documentation compressed in a single archive
      java-17-openjdk-jmods.x86_64 : JMods for OpenJDK 17
      java-17-openjdk-jmods-fastdebug.x86_64 : JMods for OpenJDK 17 optimised with full debugging on
      java-17-openjdk-jmods-slowdebug.x86_64 : JMods for OpenJDK 17 unoptimised with full debugging on
      java-17-openjdk-slowdebug.x86_64 : OpenJDK 17 Runtime Environment unoptimised with full debugging on
      java-17-openjdk-src.x86_64 : OpenJDK 17 Source Bundle
      java-17-openjdk-src-fastdebug.x86_64 : OpenJDK 17 Source Bundle for packages with debugging on and optimisation
      java-17-openjdk-src-slowdebug.x86_64 : OpenJDK 17 Source Bundle for packages with debugging on and no optimisation
      java-17-openjdk-static-libs.x86_64 : OpenJDK 17 libraries for static linking
      java-17-openjdk-static-libs-fastdebug.x86_64 : OpenJDK 17 libraries for static linking optimised with full debugging on
      java-17-openjdk-static-libs-slowdebug.x86_64 : OpenJDK 17 libraries for static linking unoptimised with full debugging on
      java-21-openjdk.x86_64 : OpenJDK 21 Runtime Environment
      java-21-openjdk-demo.x86_64 : OpenJDK 21 Demos
      java-21-openjdk-demo-fastdebug.x86_64 : OpenJDK 21 Demos optimised with full debugging on
      java-21-openjdk-demo-slowdebug.x86_64 : OpenJDK 21 Demos unoptimised with full debugging on
      java-21-openjdk-devel.x86_64 : OpenJDK 21 Development Environment
      java-21-openjdk-devel-fastdebug.x86_64 : OpenJDK 21 Development Environment optimised with full debugging on
      java-21-openjdk-devel-slowdebug.x86_64 : OpenJDK 21 Development Environment unoptimised with full debugging on
      java-21-openjdk-fastdebug.x86_64 : OpenJDK 21 Runtime Environment optimised with full debugging on
      java-21-openjdk-headless.x86_64 : OpenJDK 21 Headless Runtime Environment
      java-21-openjdk-headless-fastdebug.x86_64 : OpenJDK 21 Runtime Environment optimised with full debugging on
      java-21-openjdk-headless-slowdebug.x86_64 : OpenJDK 21 Runtime Environment unoptimised with full debugging on
      java-21-openjdk-javadoc.x86_64 : OpenJDK 21 API documentation
      java-21-openjdk-javadoc-zip.x86_64 : OpenJDK 21 API documentation compressed in a single archive
      java-21-openjdk-jmods.x86_64 : JMods for OpenJDK 21
      java-21-openjdk-jmods-fastdebug.x86_64 : JMods for OpenJDK 21 optimised with full debugging on
      java-21-openjdk-jmods-slowdebug.x86_64 : JMods for OpenJDK 21 unoptimised with full debugging on
      java-21-openjdk-slowdebug.x86_64 : OpenJDK 21 Runtime Environment unoptimised with full debugging on
      java-21-openjdk-src.x86_64 : OpenJDK 21 Source Bundle
      java-21-openjdk-src-fastdebug.x86_64 : OpenJDK 21 Source Bundle for packages with debugging on and optimisation
      java-21-openjdk-src-slowdebug.x86_64 : OpenJDK 21 Source Bundle for packages with debugging on and no optimisation
      java-21-openjdk-static-libs.x86_64 : OpenJDK 21 libraries for static linking
      java-21-openjdk-static-libs-fastdebug.x86_64 : OpenJDK 21 libraries for static linking optimised with full debugging on
      java-21-openjdk-static-libs-slowdebug.x86_64 : OpenJDK 21 libraries for static linking unoptimised with full debugging on
      maven-local-openjdk21.noarch : OpenJDK 21 toolchain for XMvn
      maven-openjdk21.noarch : OpenJDK 21 binding for Maven
      [root@dell-r730-018 yum.repos.d]#

       

      As buildroot is not supported nor enabled by default, this means all the packages that need java to run are rendered uninstallable and unusable by the customers:

       

      [root@dell-r730-018 ~]# dnf install xerces-j2
      Updating Subscription Management repositories.
      Unable to read consumer identity

      This system is not registered with an entitlement server. You can use "rhc" or "subscription-manager" to register.

      Last metadata expiration check: 0:21:26 ago on Fri 09 Aug 2024 05:55:44 AM EDT.
      Error:  
      Problem: package xerces-j2-2.12.2-13.el10.noarch from beaker-AppStream requires javapackages-tools, but none of the providers can be installed
       - conflicting requests
       - nothing provides java-21-openjdk-headless needed by javapackages-tools-6.2.0-11.el10.noarch from beaker-AppStream
      (try to add '{}skip-broken' to skip uninstallable packages or '{-}-nobest' to use not only best candidate packages)
      [root@dell-r730-018 ~]#

       

      In RHEL 9, java-21-openjdk is shipped mostly in AppStream, only some non-vital parts in CRB.

      Expected results

      Actual results

              mkyral@redhat.com Martin Kyral
              mkyral@redhat.com Martin Kyral
              Andrew Hughes Andrew Hughes
              David Kutalek David Kutalek
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: