buildhistory.bbclass can't find the PV changed, steps to reproduce: $ echo INHERIT += \"buildhistory\" >> conf/local.conf $ echo BUILDHISTORY_COMMIT = \"1\" >> conf/local.conf $ bitbake make # make 3.82 is built $ echo echo PREFERRED_VERSION_make = \"3.81\" >> conf/local.conf $ bitbake make We can see the "No Changes" in the git log, and the file doesn't changed: /buildarea/lyang1/wd$ cat buildhistory/packages/armv5te-poky-linux-gnueabi/make/latest PV = 3.82 PR = r3 The should be 3.81 and r1.
I tested this on poky/master: 6b4f7e4b26c51f0c1517c0a697031e7bc488b76f. And it worked out well. chenqi@pek-hostel-vm07:~/poky/build-sato$ grep -i preferred_version conf/local.conf PREFERRED_VERSION_make = "3.81" chenqi@pek-hostel-vm07:~/poky/build-sato$ cat buildhistory/packages/i586-poky-linux/make/latest PV = 3.81 PR = r1 Mark it as RESOLVED/WONTFIX. //Chen Qi