Bug 513

Summary: bitbake-diffsigs unpickling error with invalid load key
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Kevin Tian <kevin.tian>
Component: coreAssignee: Richard Purdie <richard.purdie>
Status: VERIFIED INVALID QA Contact:
Severity: normal    
Priority: Undecided CC: kevin.tian, meta.mr.watcher, meta.watcher, sgw
Version: 0.9   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Program Management Documentation change: ---

Description Kevin Tian 2010-10-27 22:41:48 UTC
my build system is 32bit Ubuntu9.04. When I tried to use task prebuilt to accelerate my build, it looks that sstate cache is not utilized although I didn't change anything between the two builds. Further check gave me different checksums, and then when I used bitbake-diffsigs below errors occur:

bitbake-diffsigs /media/disk/sstate-cache/sstate-zlib-native-i686-linux-1.2.5-r0-i686-1-6252843ebd096ed45f126dec4125f9d6_populate-sysroot.tgz /media/disk/sstate-cache/sstate-zlib-native-i686-linux-1.2.5-r0-i686-1-4c1abb703ea0b6f458c8160ec489178d_populate-sysroot.tgz
Traceback (most recent call last):
  File "/home/poky/tasks/poky/scripts/..//bitbake//bin/bitbake-diffsigs", line 10, in <module>
    bb.siggen.compare_sigfiles(sys.argv[1], sys.argv[2])
  File "/home/poky/tasks/poky/scripts/..//bitbake/lib/bb/siggen.py", line 171, in compare_sigfiles
    a_data = p1.load()
cPickle.UnpicklingError: invalid load key, '^_'.
Comment 1 Kevin Tian 2010-10-27 22:50:25 UTC
sorry a false alarm. I used wrong sigfile. :/
Comment 2 Kevin Tian 2010-10-27 22:51:00 UTC
verify since it's invalid