Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-7615

RPM dependency for JDK 8 is wrong

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 16.0.0
    • Fix Version/s: 16.0.0
    • Component/s: Build / Packaging
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Environment:
      Fedora 17 x86_64
    • Sprint:
      Horizon 16 Bugfixes

      Description

      I cannot install the latest 16 RPMs on my system because the package is failing to resolve the JDK dependency against an installed Oracle JDK RPM.

      [root@epsilon opennms]# rpm -qa | grep jdk
      jdk1.8.0_40-1.8.0_40-fcs.x86_64
      jdk-1.6.0_38-ea.x86_64
      jdk-1.7.0_25-fcs.x86_64
      jdk-1.7.0_60-fcs.x86_64
      jdk-1.7.0_67-fcs.x86_64
      [root@epsilon opennms]# rpm -q --provides jdk1.8.0_40-1.8.0_40-fcs.x86_64
      jaxp_parser_impl  
      xml-commons-apis  
      java  
      java-1.8.0  
      java-fonts  
      jre  
      jre-1.8.0  
      jdk1.8.0_40 = 2000:1.8.0_40-fcs
      [root@epsilon opennms]# rpm -Uvh target/rpm/RPMS/noarch/opennms-*rpm
      error: Failed dependencies:
              jdk >= 2000:1.8 is needed by opennms-core-16.0.0-0.20150413.1.noarch
              jdk >= 2000:1.8 is needed by opennms-jmx-config-generator-16.0.0-0.20150413.1.noarch
              jdk >= 2000:1.8 is needed by opennms-remote-poller-16.0.0-0.20150413.1.noarch
      

      I'm not sure exactly how to fix this because the Oracle JDK 8 RPM is not exposing a capability called 'jdk', it just has the overly specific 'jdk1.8.0_40' as far as I can see. :-/

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ranger Benjamin Reed
                Reporter:
                seth Seth Leger
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: