Bug 11763 - bitbake-diffsigs: -t matches wrong task signature files
Summary: bitbake-diffsigs: -t matches wrong task signature files
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: Scripts and Tools (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.5 M1
Assignee: Paul Eggleton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-07-06 13:32 UTC by Patrick Ohly
Modified: 2017-11-06 00:23 UTC (History)
1 user (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Ohly 2017-07-06 13:32:42 UTC
$ bitbake-diffsigs -d -t refkit-image-update-test-a do_rootfs
DEBUG: Signature file (previous): /fast/build/refkit/intel-corei7-64/sstate-cache/31/sstate:refkit-image-update-test-a:intel_corei7_64-refkit-linux:1.0:r0:intel_corei7_64:3:31cb4664537f2b75bd56fb3ab27b4372_ostree_prepare_rootfs.tgz.siginfo
DEBUG: Signature file (latest): /fast/build/refkit/intel-corei7-64/sstate-cache/19/sstate:refkit-image-update-test-a:intel_corei7_64-refkit-linux:1.0:r0:intel_corei7_64:3:19d0014c03c3d8773ffaa1416f579616_ostree_publish_rootfs.tgz.siginfo
...


Note how it picked up two siginfo files for two different tasks, both not being the do_rootfs that was meant to be compared. The actual diff then really is between two completely independent tasks.

Probably the code which looks for siginfo files uses *<task name> as file pattern, without taking into account that one task may be the suffix of another.