]> code.ossystems Code Review - openembedded-core.git/commit
test-dependencies.sh: Strip also '\.bb: .*' before adding failed recipe to list of...
authorMartin Jansa <martin.jansa@gmail.com>
Sat, 12 Aug 2017 00:41:41 +0000 (02:41 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 29 Aug 2017 14:11:41 +0000 (15:11 +0100)
commit1cea8997f7ce2d6a137d3648b4942a27e2c6e62e
tree4e6b83c6c5e9fc12d92ada5d6389cce589b2073d
parenta786b59a42e6b49229e2e0633728fd7b268438a9
test-dependencies.sh: Strip also '\.bb: .*' before adding failed recipe to list of failed

* format of bitbake tasks changed in:
  2c88afb   taskdata/runqueue: Rewrite without use of ID indirection

-ERROR: Task 4 (/OE/build/oe-core/openembedded-core/meta/recipes-devtools/rpm/sftp.bb, do_fetch) failed with exit code '1'
+ERROR: Task /OE/build/oe-core/openembedded-core/meta/recipes-devtools/rpm/sftp.bb:do_fetch (/OE/build/oe-core/openembedded-core/meta/recipes-devtools/rpm/sftp.bb:do_fetch) failed with exit code '1'

  so strip not only '\.bb, .*' used before, but also '\.bb:.*' to drop
  the task name to get recipe name.

* for more details see:
  http://lists.openembedded.org/pipermail/openembedded-core/2016-June/123132.html

* without this change you can see test-dependencies.sh trying to rebuild packages
  like:
  Building recipe: fbprogress (6/21)
  Building recipe: fbprogress.bb:do (7/21)
  where the later of course doesn't exist as a recipe

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
scripts/test-dependencies.sh