<?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>8745</bug_id>
          
          <creation_ts>2015-12-01 17:36:17 +0000</creation_ts>
          <short_desc>Add support for version constraint to DEPENDS</short_desc>
          <delta_ts>2026-07-23 15:20:04 +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>BitBake</product>
          <component>bitbake</component>
          <version>unspecified</version>
          <rep_platform>x86</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>enhancement</bug_severity>
          <target_milestone>6.99</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Aníbal Limón">anibal.limon</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>matt.hoosier</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>pokylinux</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>ross.burton</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>56905</commentid>
    <comment_count>0</comment_count>
    <who name="Aníbal Limón">anibal.limon</who>
    <bug_when>2015-12-01 17:36:17 +0000</bug_when>
    <thetext>Will be good that bitbake recipe support version constraint in DEPENDS/RDEPENDS this helps to,

- Have multiple versions of recipes (binaries, libraries) in clean manner.
- Better handling of dependencies between recipes.

I purpose the next operators &lt;=, &lt;, ===, &gt;, &gt;= and will be next to recipe name,
DEPENDS=&quot;recipe==1.0.0&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57006</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2015-12-03 16:09:02 +0000</bug_when>
    <thetext>We did add support to bitbake to at least accept version information in these fields. We can therefore add it and it will be parsed safely however Bitbake doesn&apos;t currently process that information though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71692</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2017-03-24 13:53:50 +0000</bug_when>
    <thetext>There already is version support in RDEPENDS, so this is just about DEPENDS.

I propose that the first iterate is just a sanity check: if foo-1 and foo-2 are in a layer, bar DEPENDS on foo (&gt;2) but foo-1 is selected then bitbake should error out.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72092</commentid>
    <comment_count>3</comment_count>
    <who name="Matt Hoosier">matt.hoosier</who>
    <bug_when>2017-04-04 21:56:13 +0000</bug_when>
    <thetext>I&apos;ve been using Poky for quite a while now, but nearly all my work has been at the class and recipe level.

If you can suggestions a likely place to insert an implementation of Ross&apos;s first suggestion (sanity checking), I can have a go at that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96796</commentid>
    <comment_count>4</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-10-24 14:24:20 +0000</bug_when>
    <thetext>Bulk move from 4.99 or 0.00 to 5.99</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>