[poky] Update gone terribly wrong
Richard Purdie
richard.purdie at linuxfoundation.org
Tue Mar 15 07:03:55 PDT 2011
On Tue, 2011-03-15 at 07:51 -0600, Gary Thomas wrote:
> I updated my Poky tree to current master this morning (4c695dbcd12b295a4215422622006f1f58469297)
>
> Now, when I try to build in an extant tree, I get errors like these:
> /home/local/poky-amltd/scripts/bitbake: line 51: 28850 Segmentation fault (core dumped) PSEUDO_BINDIR=$PSEUDOBINDIR PSEUDO_LIBDIR=$PSEUDOBINDIR/../lib/pseudo/lib
> PSEUDO_PREFIX=$PSEUDOBINDIR/../../ PSEUDO_DISABLED=1 $PSEUDOBINDIR/pseudo $BITBAKE $@
>
> So, I removed pseudodone and got
> /home/local/poky-amltd/scripts/bitbake: line 43: 28891 Segmentation fault (core dumped) bitbake pseudo-native tar-replacement-native -c populate_sysroot
This looks like python itself is segfaulting, even without pseudo loaded
so it could well be something outside our control :/. Which python
version is that?
If you still have the build around it would be interesting to see if
just removing the cache directory fixed that or trying to narrow down
which files are triggering the segfault.
> So I figured I'd just restart, so I tried this:
> % mv tmp tmp.BAD
> % mv sstate-cache sstate-mirror
> ... set SSTATE_MIRRORS to use the old cache
> % tail -n3 conf/local.conf
> SSTATE_MIRRORS ?= "\
> file://.* file:///local/p60_poky/sstate-mirror/"
>
> Sadly, it's rebuilding everything, reusing nothing :-(
>
> Any ideas what went wrong and why the sstate mirror is not working (again)?
Likely, some of the changes in master meant the sstate checksums were
invalidated and it therefore required a rebuild. The sstate files are
only used if the checksums are found to be valid.
Cheers,
Richard
More information about the poky
mailing list