<?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>15022</bug_id>
          
          <creation_ts>2023-01-27 16:03:38 +0000</creation_ts>
          <short_desc>busybox depmod completely broken by buggy patch</short_desc>
          <delta_ts>2025-02-14 16:48:25 +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>core</component>
          <version>4.1.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>x86_64</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>4.2 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tony Battersby">tonyb</reporter>
          <assigned_to name="Saul Wold">saul.wold</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</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>94827</commentid>
    <comment_count>0</comment_count>
    <who name="Tony Battersby">tonyb</who>
    <bug_when>2023-01-27 16:03:38 +0000</bug_when>
    <thetext>The following patch is buggy:

https://git.yoctoproject.org/poky/tree/meta/recipes-core/busybox/busybox/0001-depmod-Ignore-.debug-directories.patch

I believe the &quot;== NULL&quot; check in the patch should be changed to &quot;!= NULL&quot;.

The result is that running depmod creates modules.dep with a size of 0.  This fixes the problem:

SRC_URI:remove = &quot;file://0001-depmod-Ignore-.debug-directories.patch&quot;

This may not affect most configurations because eudev now has a dependency on kmod, so many builds might not be using depmod from busybox anymore.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95101</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2023-03-09 15:59:42 +0000</bug_when>
    <thetext>https://git.yoctoproject.org/poky/commit/?id=7c97bfbed4b96b652e6d71c3bb78e42b0c7c010e</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100989</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-02-14 16:46:28 +0000</bug_when>
    <thetext>bulk change to add Saul&apos;s non-WR address.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101072</commentid>
    <comment_count>3</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-02-14 16:48:25 +0000</bug_when>
    <thetext>Bulk change: Remove Saul&apos;s old WR address.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>