<?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>8222</bug_id>
          
          <creation_ts>2015-08-28 09:22:38 +0000</creation_ts>
          <short_desc>Elide dependency from -dev package on main package if there are no shared libraries in it</short_desc>
          <delta_ts>2026-10-29 15:02:27 +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>1.8</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>IN PROGRESS DESIGN</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugzilla.yoctoproject.org/show_bug.cgi?id=6839</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>6.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>fawzi.khaber</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>paul</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>yoann.congal</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>53520</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2015-08-28 09:22:38 +0000</bug_when>
    <thetext>There are some software packages out there that ship libraries, but only build them statically (bind is one example), thus the dependency from the -dev package on the main package is completely superfluous. We should be able to detect this at packaging time and get rid of the runtime dependency, so we can avoid having to do this explicitly within the recipe.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71240</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2017-03-13 23:03:24 +0000</bug_when>
    <thetext>See also bug 6839.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94834</commentid>
    <comment_count>2</comment_count>
    <who name="Fawzi KHABER">fawzi.khaber</who>
    <bug_when>2023-01-30 15:30:24 +0000</bug_when>
    <thetext>Hello, i&apos;m willing to work on this issue, i tried to build bind package, i expected to get a -dev dependency on main package, but it was not the case, is the issue solved ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94838</commentid>
    <comment_count>3</comment_count>
    <who name="Fawzi KHABER">fawzi.khaber</who>
    <bug_when>2023-01-31 10:19:27 +0000</bug_when>
    <thetext>This use case produce actually an RRECOMMEND on the main package, shall we get rid of that weak dependency if the main package is empty ?
Since RRDEPENDS are RRECOMMENDS, shall we clean recipes from past hacks that used to bypass this issue ( DEV_PKG_DEPENDENCY = &quot;&quot; and ALLOW_EMPTY:${PN} = &quot;1&quot;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94863</commentid>
    <comment_count>4</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-02-02 16:03:43 +0000</bug_when>
    <thetext>ping.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95011</commentid>
    <comment_count>5</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2023-02-24 15:03:42 +0000</bug_when>
    <thetext>Sent a RFC patch about this bug :
https://lists.openembedded.org/g/openembedded-core/topic/rfc_patch_0_2_handling_of/97195657</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95012</commentid>
    <comment_count>6</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2023-02-25 10:25:43 +0000</bug_when>
    <thetext>I put some information about this into an oe-arch email: https://lists.openembedded.org/g/openembedded-architecture/message/1701</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96415</commentid>
    <comment_count>7</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2023-09-14 15:24:57 +0000</bug_when>
    <thetext>I was asked about the status of this. I don&apos;t think there were objections to what I proposed in the email so I&apos;d suggest we proceed in that direction.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101777</commentid>
    <comment_count>8</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2025-04-29 14:41:57 +0000</bug_when>
    <thetext>Bulk move to 5.3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103198</commentid>
    <comment_count>9</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2025-11-06 10:57:03 +0000</bug_when>
    <thetext>Bulk move to 6.0 M1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104953</commentid>
    <comment_count>10</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2026-04-03 09:25:41 +0000</bug_when>
    <thetext>(Unassigning myself since a do not realistically have the time to work on this)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105593</commentid>
    <comment_count>11</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2026-05-28 13:16:28 +0000</bug_when>
    <thetext>Bulk move of 6.0 Medium bugs to 6.1.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>