[OE-core] broken sstate archives

André Draszik git at andred.net
Tue Oct 30 15:45:59 UTC 2018


Hi,

Having updated poky from 028a292001f64ad86c6b960a05ba1f6fd72199de (end-of
July) to 3b77e7b7852549dcfbc426d4ce258e6e857c0acd (mid October), at least
two broken sstate archives have been created:

* the sstate archive for update-rc.d package_write_ipk contains a broken
  main package update-rc.d_0.8-r0_all.ipk
* zlib populate_sysroot has a broken sysroot-destdir/lib/libz.so.1.2.11

For the update-rc.d case:
* tar tzvvf displays a reasonable size for all files inside the sstate
  archive
* tar xzf extracts all files and sets a size on update-rc.d_0.8-r0_all.ipk,
  but it's all NULs, and hence is broken
* for those who know midnight commander, it's 'open' displays a size of
  0 bytes for update-rc.d_0.8-r0_all.ipk in the first place


For the broken zlib sstate archive, things are similar, additionally:
* the zlib ipk packages (and their contents) contained inside
  sstate_zlib_*_package_write_ipk.tgz are actually not broken


The original (first) build resulting from my poky.git update had actually
completed successfully. It is only subsequent builds trying to use the
generated sstate artefacts that now don't work.

I can't say for sure whether or not other sstate artefacts are broken, too.


Any ideas how this could have happened? Have similar issues been seen
before?


Cheers,
Andre'





More information about the Openembedded-core mailing list