Bug 13282 - bitbake not parsing "addtask foo before bar after x after y" correctly
Summary: bitbake not parsing "addtask foo before bar after x after y" correctly
Status: RESOLVED FIXED
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 0.0.0
Assignee: Robert Yang
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2019-04-13 14:26 UTC by Jacob Kroon
Modified: 2019-08-12 09:07 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.