Skip to contentSkip to conversation

bitbake-whatchanged error

DISCUSSION Gary Thomas 3 participants 5 messages Feb 2, 2015 – Feb 3, 2015

lore
Share & tools
lore
#0 lore raw

Every time I run the 'bitbake-whatchanged' script, I get an
error like this:
ERROR: Bitbake's cached basehash does not match the one we just generated (/home/local/poky-cutting-edge/meta-imx6/packages/images/imx6-demo-image.bb.do_rootfs)!
ERROR: The mismatched hashes were e48dfde9772b0a567b5327087c9e2d44 and 3c3447f08ef4da61b814bff5fb909bff

What causes this and should I be worried? Does it affect the actual results which are shown?

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#1 lore raw

Hi Gary,

Quoted 9 lines · On Monday 02 February 2015 09:33:30 Gary Thomas wrote:

Every time I run the 'bitbake-whatchanged' script, I get an error like this:
ERROR: Bitbake's cached basehash does not match the one we just generated
(/home/local/poky-cutting-edge/meta-imx6/packages/images/imx6-demo-image.bb .do_rootfs)! ERROR: The mismatched hashes were e48dfde9772b0a567b5327087c9e2d44 and 3c3447f08ef4da61b814bff5fb909bff

What causes this and should I be worried? Does it affect the actual results which are shown?

I don't think you should necessarily be worried, but this is definitely a bug and we should fix it. It affects bitbake -S printdiff as well. If you have a chance it would be great if you could file a bug about it.

Thanks,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#2 lore raw
Quoted 10 lines · Paul Eggleton

Hi Gary,

Quoted 7 lines · On Monday 02 February 2015 09:33:30 Gary Thomas wrote:

Every time I run the 'bitbake-whatchanged' script, I get an
error like this:
ERROR: Bitbake's cached basehash does not match the one we just generated
(/home/local/poky-cutting-edge/meta-imx6/packages/images/imx6-demo-image.bb .do_rootfs)! ERROR: The mismatched hashes were e48dfde9772b0a567b5327087c9e2d44 and 3c3447f08ef4da61b814bff5fb909bff

Quoted 6 lines
Quoted 2 lines

What causes this and should I be worried? Does it affect the actual results which are shown?

I don't think you should necessarily be worried, but this is definitely a bug and we should fix it. It affects bitbake -S printdiff as well. If you have a chance it would be great if you could file a bug about it.

Done: https://bugzilla.yoctoproject.org/show_bug.cgi?id=7274

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#3 lore raw
In reply to Paul Eggleton
Quoted 10 lines · Paul Eggleton

Hi Gary,

Quoted 7 lines · On Monday 02 February 2015 09:33:30 Gary Thomas wrote:

Every time I run the 'bitbake-whatchanged' script, I get an
error like this:
ERROR: Bitbake's cached basehash does not match the one we just generated
(/home/local/poky-cutting-edge/meta-imx6/packages/images/imx6-demo-image.bb .do_rootfs)! ERROR: The mismatched hashes were e48dfde9772b0a567b5327087c9e2d44 and 3c3447f08ef4da61b814bff5fb909bff

Quoted 9 lines
Quoted 2 lines

What causes this and should I be worried? Does it affect the actual results which are shown?

I don't think you should necessarily be worried, but this is definitely a bug and we should fix it. It affects bitbake -S printdiff as well. If you have a chance it would be great if you could file a bug about it.

Thanks,
Paul

I've sent a patch to OE-core mailing list to fix this problem. The title is:
image.bbclass: don't let do_rootfs depend on BUILDNAME

Regards,
Chen Qi

#4 lore raw
Quoted 20 lines · On Tuesday 03 February 2015 09:53:30 ChenQi wrote:
Quoted 19 lines · Paul Eggleton
Quoted 6 lines · On Monday 02 February 2015 09:33:30 Gary Thomas wrote:

Every time I run the 'bitbake-whatchanged' script, I get an

error like this:
ERROR: Bitbake's cached basehash does not match the one we just generated

Quoted 7 lines

(/home/local/poky-cutting-edge/meta-imx6/packages/images/imx6-demo-image. bb
.do_rootfs)! ERROR: The mismatched hashes were e48dfde9772b0a567b5327087c9e2d44 and 3c3447f08ef4da61b814bff5fb909bff

What causes this and should I be worried? Does it affect the actual results which are shown?

I don't think you should necessarily be worried, but this is definitely a bug and we should fix it. It affects bitbake -S printdiff as well. If you have a chance it would be great if you could file a bug about it.

Quoted 6 lines
Quoted 2 lines

Thanks,
Paul

I've sent a patch to OE-core mailing list to fix this problem. The title is:
image.bbclass: don't let do_rootfs depend on BUILDNAME

Great. Thank you!

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre