On Wednesday, May 23, 2012 at 5:02 PM, Joshua Lock wrote:
My recent change to the sanity class to warn users when they don't have R/Wpermission to their SSTATE_CACHE directory has caused at least a couple of userstrouble, including the Yocto project autobuilder.I have been unable to reproduce the issue but after discussionwith Elizabeth andChris on #yocto I came up with the following series.The series includes a revert my original change as it seems the simple logic hasseverla edge cases. I replace it later in the series with a simple piggy-backon the existing check_create_long_filename() call, where I make the suggestionof using SSTATE_MIRRORS if that call fails with "Permission denied" when calledagainst SSTATE_DIR. This check has been in use for some time and, to the best ofmy knowledge, doesn't trigger invalid failures.Thanks to Chris and Elizabeth for pointers as to why this was failing.Cheers,JoshuaThe following changes since commit e6333825c3482a559a0c0499e17f8f48d3042ddf:tune-mips64.inc: Add new tune file for mips64 big-endian (2012-05-20 20:24:37 -0700)are available in the git repository at:git://git.openembedded.org/openembedded-core-contrib josh/sanityJoshua Lock (7):Revert "sanity.bbclass: check user can read and write to SSTATE_DIR"sanity.bbclass: copy the data store and finalise before runningcheckssanity.bbclass: data.getVar(VAR, obj, exp) -> obj.getVar(VAR, exp)sanity.bbclass: add newline to check_create_long_filename failuremessagesanity.bbclass: add extra information when SSTATE_CACHE unusablesanity.bbclass: catch an extra exception incheck_create_long_filenamesanity.bbclass: check sanity at BuildStarted rather than ConfigParsedmeta/classes/sanity.bbclass | 153 ++++++++++++++++++++++---------------------1 files changed, 78 insertions(+), 75 deletions(-)--1.7.7.6_______________________________________________Openembedded-core mailing list