[OE-core] broken sstate archives

Richard Purdie richard.purdie at linuxfoundation.org
Tue Oct 30 16:49:41 UTC 2018


On Tue, 2018-10-30 at 15:45 +0000, André Draszik wrote:
> 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?

I've not seen/heard of any reports of that before and it is worrying.
The question is can you reproduce it? As things stand that is a little
bit of a hard one to replicate/debug :(

Which host OS and filesystem was it?

Cheers,

Richard




More information about the Openembedded-core mailing list