[OE-core] Hash Equivalency - What this means for developer productivity

Richard Purdie richard.purdie at linuxfoundation.org
Mon Aug 12 15:32:51 UTC 2019


On Fri, 2019-08-09 at 00:12 +0100, richard.purdie at linuxfoundation.org
wrote:
> I've just seen this with dnf on the autobuilders and an rpm build.
> The most interesting bit was:
> 
> [pokybuild at centos7-ty-1 temp]$ pwd
> /home/pokybuild/yocto-worker/genericx86-
> lsb/build/build/tmp/work/core2-32-poky-linux/dnf/4.2.2-r0/temp
> [pokybuild at centos7-ty-1 temp]$ cat log.task_order 
> do_populate_lic_setscene (19174): log.do_populate_lic_setscene.19174
> do_fetch (89722): log.do_fetch.89722
> do_unpack (93503): log.do_unpack.93503
> do_patch (97696): log.do_patch.97696
> do_generate_toolchain_file (114754):
> log.do_generate_toolchain_file.114754
> do_populate_sysroot_setscene (107361):
> log.do_populate_sysroot_setscene.107361
> do_package (108444): log.do_package.108444
> do_packagedata (28709): log.do_packagedata.28709
> do_package_qa (21415): log.do_package_qa.21415
> do_package_write_rpm (21400): log.do_package_write_rpm.21400
> do_package_write_deb (94084): log.do_package_write_deb.94084
> do_package_write_ipk (94059): log.do_package_write_ipk.94059
> 
> i.e. do_populate_sysroot_setscene let it skip do_configure,
> do_compile
> and do_install and just run do_package. Which is very clearly badly
> wrong!
> 
> I'll poke into this further tomorrow but I have some idea of how this
> 
> might happen...
> 

This turned out to be worlds of pain and I ended up redoing the way
part of runqueue works, for the better as it turns out as the code is
much simpler. Its given me quite a headache trying to digure out how it
was breaking and reproducing it.

The new code is in master-next and I'm trying it on the autobuilder. it
shouldn't have the above problem any more, what other issues I may have
added remains to be seen!

Cheers,

Richard



More information about the Openembedded-core mailing list