<?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>15901</bug_id>
          
          <creation_ts>2025-06-10 19:33:13 +0000</creation_ts>
          <short_desc>debug-deps is a little aggressive</short_desc>
          <delta_ts>2025-06-17 19:43:09 +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>unspecified</version>
          <rep_platform>BeagleBone</rep_platform>
          <op_sys>arm</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>5.3 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryan Eatmon">reatmon</reporter>
          <assigned_to name="Ryan Eatmon">reatmon</assigned_to>
          <cc>denis</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>102226</commentid>
    <comment_count>0</comment_count>
    <who name="Ryan Eatmon">reatmon</who>
    <bug_when>2025-06-10 19:33:13 +0000</bug_when>
    <thetext>The conditions for checking if a module RDEPENDS on a debug package is a little aggressive.  Here is a case where a validly named kernel module is tripping this up:

ERROR: linux-bb.org-6.12.22+git-r0 do_package_qa: QA Issue: kernel-modules rdepends on kernel-module-g-dbgp-6.12.22-ti [debug-deps]

The check currently just looks to see if the package contains the string &quot;-dbg&quot;.

insane.bbclass:835     if &quot;-dbg&quot; in rdepend and &quot;debug-deps&quot; not in skip:

Not sure the best way to fix this.  Change it from a contains check to an ends with check maybe?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102229</commentid>
    <comment_count>1</comment_count>
    <who name="Ryan Eatmon">reatmon</who>
    <bug_when>2025-06-11 13:45:43 +0000</bug_when>
    <thetext>Another issue with the latest kernel:

ERROR: QA Issue: kernel-module-mtk-vcodec-dec-6.16.0-rc1-next-20250610-dirty rdepends on kernel-module-mtk-vcodec-dbgfs-6.16.0-rc1-next-20250610-dirty [debug-deps]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102250</commentid>
    <comment_count>2</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2025-06-12 14:50:13 +0000</bug_when>
    <thetext>RP suggests looking at the python code to find out if we can &quot;just depend on the end of the string&quot; (make sure there are no other outcomes that would break).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102259</commentid>
    <comment_count>3</comment_count>
    <who name="Ryan Eatmon">reatmon</who>
    <bug_when>2025-06-12 18:50:33 +0000</bug_when>
    <thetext>Patch sent to mailing list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102281</commentid>
    <comment_count>4</comment_count>
    <who name="Ryan Eatmon">reatmon</who>
    <bug_when>2025-06-17 19:43:09 +0000</bug_when>
    <thetext>The fix was accepted to the master branch:

https://git.openembedded.org/openembedded-core/commit/?id=1b85d84c736a0fa5cb27b8716ca37f181464c85a</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>