Bug 10279

Summary: Pickle protocol used for donestamp is incompatible with older versions
Product: [Build System, Metadata & Runtime] BitBake Reporter: Paul Eggleton <bluelightning>
Component: bitbakeAssignee: Paul Eggleton <bluelightning>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: Medium CC: joshuagloe, poky.bs.watcher, poky.watcher
Version: 2.2   
Target Milestone: 2.2 M4   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Paul Eggleton 2016-09-14 22:20:02 UTC
I just started a build with krogoth using a DL_DIR shared with master builds, and was greeted with the following warnings:

------------- snip -------------
WARNING: openssl-native-1.0.2h-r0 do_fetch: Couldn't load checksums from donestamp /media/large/downloads/openssl-1.0.2h.tar.gz.done: ValueError (msg: unsupported pickle protocol: 4)
WARNING: libxml2-2.9.4-r0 do_fetch: Couldn't load checksums from donestamp /media/large/downloads/libxml2-2.9.4.tar.gz.done: ValueError (msg: unsupported pickle protocol: 4)
....
------------- snip -------------

Can we explicitly use an older protocol for this? I would imagine this kind of sharing would be fairly common for people in the transition between older versions and 2.2.
Comment 1 Joshua Lock 2016-09-15 15:01:41 UTC
We can specify an older protocol, Maxin already fixed some related issues:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=c42b5333f0261daa749306471c294c13dc33968a
Comment 2 Joshua Lock 2016-09-15 15:03:17 UTC
Paul is it possible you have an old stamp from before Maxin's fix landed? I think this is already resolved.
Comment 3 Paul Eggleton 2016-09-18 20:22:26 UTC
It's quite likely. Thanks!