<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>16336</bug_id>
          
          <creation_ts>2026-06-29 12:21:16 +0000</creation_ts>
          <short_desc>SPDX has runtime dependencies to uninstalled packages</short_desc>
          <delta_ts>2026-10-22 15:17:41 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>oe-core other</component>
          <version>6.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>6.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Peter Marko">peter.marko</reporter>
          <assigned_to name="Joshua Watt">JPEWhacker</assigned_to>
          <cc>JPEWhacker</cc>
    
    <cc>tim.orling</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>106038</commentid>
    <comment_count>0</comment_count>
    <who name="Peter Marko">peter.marko</who>
    <bug_when>2026-06-29 12:21:16 +0000</bug_when>
    <thetext>In case IMAGE_FEATURES contains read-only-rootfs or when FORCE_RO_REMOVE is set, do_rootfs code will force-uninstall some packages.
However SPDX still lists them as installed because they get there via RDEPENDS statements.

Proposed solution was not accepted by Joshua and there is currently no vision how to do it differently.

See discussion in https://lists.openembedded.org/g/openembedded-core/message/239635</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106072</commentid>
    <comment_count>1</comment_count>
    <who name="Joshua Watt">JPEWhacker</who>
    <bug_when>2026-07-02 14:33:44 +0000</bug_when>
    <thetext>To be clear, our SPDX output doens&apos;t directly list the removed packages as &quot;installed&quot;. They are build time dependencies of the root file system (which is accurate), and they are still listed as runtime dependencies of the packages that depend on them at runtime (which is also accurate; just because you remove the package doesn&apos;t mean that it isn&apos;t still a runtime dependency).

Probably the solution won&apos;t change either of these things, but rather more directly indicate that the rootfs has packages installed or uninstalled.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107165</commentid>
    <comment_count>2</comment_count>
    <who name="Joshua Watt">JPEWhacker</who>
    <bug_when>2026-10-22 15:17:41 +0000</bug_when>
    <thetext>I have some features in the SPDX 3.1 that will help with this, but SPDX 3.1 is not released yet</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>