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

slowdebug packages unintentionally specify library provides and requires [rhel-10]

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • java-21-openjdk-21.0.5.0.11-4.el10
    • No
    • Low
    • rhel-sst-java
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None

      $ rpm -q --provides ~/download/el10-drop-parallel/java-21-openjdk-fastdebug-21.0.5.0.11-2.el10.1.x86_64.rpm
      java-21-fastdebug = 1:21.0.5.0.11-2.el10.1
      java-21-openjdk-fastdebug = 1:21.0.5.0.11-2.el10.1
      java-21-openjdk-fastdebug(x86-64) = 1:21.0.5.0.11-2.el10.1
      java-fastdebug = 1:21.0.5.0.11-2.el10.1
      java-openjdk-fastdebug = 1:21.0.5.0.11-2.el10.1
      jre-21-fastdebug = 1:21.0.5.0.11-2.el10.1
      jre-21-openjdk-fastdebug = 1:21.0.5.0.11-2.el10.1
      jre-fastdebug = 1:21.0.5.0.11-2.el10.1
      jre-openjdk-fastdebug = 1:21.0.5.0.11-2.el10.1
      $ rpm -q --provides ~/download/el10-drop-parallel/java-21-openjdk-slowdebug-21.0.5.0.11-2.el10.1.x86_64.rpm
      java-21-openjdk-slowdebug = 1:21.0.5.0.11-2.el10.1
      java-21-openjdk-slowdebug(x86-64) = 1:21.0.5.0.11-2.el10.1
      java-21-slowdebug = 1:21.0.5.0.11-2.el10.1
      java-openjdk-slowdebug = 1:21.0.5.0.11-2.el10.1
      java-slowdebug = 1:21.0.5.0.11-2.el10.1
      jre-21-openjdk-slowdebug = 1:21.0.5.0.11-2.el10.1
      jre-21-slowdebug = 1:21.0.5.0.11-2.el10.1
      jre-openjdk-slowdebug = 1:21.0.5.0.11-2.el10.1
      jre-slowdebug = 1:21.0.5.0.11-2.el10.1
      libjawt.so()(64bit)
      $
      

      The intent of this code is that slowdebug should not provide libjawt.so()(64-bit) but the __provides_exclude_from is overwritten:

      %global __provides_exclude_from ^.*/%{uniquesuffix -- %{debug_suffix_unquoted}}/.*$
      %global __requires_exclude_from ^.*/%{uniquesuffix -- %{debug_suffix_unquoted}}/.*$
      %global __provides_exclude_from ^.*/%{uniquesuffix -- %{fastdebug_suffix_unquoted}}/.*$
      %global __requires_exclude_from ^.*/%{uniquesuffix -- %{fastdebug_suffix_unquoted}}/.*$
      

              rhn-engineering-ahughes Andrew Hughes
              fitzsim Thomas Fitzsimmons
              Andrew Hughes Andrew Hughes
              David Kutalek David Kutalek
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: