<?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>13282</bug_id>
          
          <creation_ts>2019-04-13 14:26:09 +0000</creation_ts>
          <short_desc>bitbake not parsing &quot;addtask foo before bar after x after y&quot; correctly</short_desc>
          <delta_ts>2019-08-12 09:07:34 +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>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>0.0.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jacob Kroon">jacob.kroon</reporter>
          <assigned_to name="Robert Yang">liezhi.yang</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>randy.macleod</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>83536</commentid>
    <comment_count>0</comment_count>
    <who name="Jacob Kroon">jacob.kroon</who>
    <bug_when>2019-04-13 14:26:09 +0000</bug_when>
    <thetext>I was using

  addtask foo before bar after x after y

which I think is incorrect syntax, although bitbake didn&apos;t warn, but instead silently zapped the dependency on &quot;after x&quot;.

Correct syntax would be

  addtask foo before bar after x y

(only one &apos;after&apos;).

I suggest either bitbake should handle the first version as well, or it should give an error when parsing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83575</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2019-04-18 14:47:21 +0000</bug_when>
    <thetext>Should results in an error.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84633</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2019-08-12 09:07:34 +0000</bug_when>
    <thetext>Fixed on master branch:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=82300691b045729dd35aec6878b4c199bea835fc</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>