Bug 13282

Summary: bitbake not parsing "addtask foo before bar after x after y" correctly
Product: [Build System, Metadata & Runtime] BitBake Reporter: Jacob Kroon <jacob.kroon>
Component: bitbakeAssignee: Robert Yang <liezhi.yang>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: poky.bs.watcher, poky.watcher, randy.macleod
Version: unspecified   
Target Milestone: 0.0.0   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Jacob Kroon 2019-04-13 14:26:09 UTC
I was using

  addtask foo before bar after x after y

which I think is incorrect syntax, although bitbake didn't warn, but instead silently zapped the dependency on "after x".

Correct syntax would be

  addtask foo before bar after x y

(only one 'after').

I suggest either bitbake should handle the first version as well, or it should give an error when parsing.
Comment 1 Randy MacLeod 2019-04-18 14:47:21 UTC
Should results in an error.