If I set SSTATE_MIRROR = "http://linux.freescale.net/yocto/sstate-cache" the sstate mirror will not be used, however if I simply change this too: SSTATE_MIRROR = "http://linux.freescale.net/yocto/sstate-cache/" it works again.
I'm a bit confused by this report - there is not a SSTATE_MIRROR variable and SSTATE_MIRRORS doesn't use that syntax? Do you mean: file://.* http://linux.freescale.net/yocto/sstate-cache doesn't work but: file://.* http://linux.freescale.net/yocto/sstate-cache/ does? That is a natural part of the mirror mapping code unfortunately...
(In reply to comment #1) > I'm a bit confused by this report - there is not a SSTATE_MIRROR variable and > SSTATE_MIRRORS doesn't use that syntax? Do you mean: > > file://.* http://linux.freescale.net/yocto/sstate-cache > > doesn't work but: > > file://.* http://linux.freescale.net/yocto/sstate-cache/ > > does? That is a natural part of the mirror mapping code unfortunately... Correct. But its extremely non-obvious when you miss this. As we are just looking for cached stuff and not finding the cache is not a fatal result. Therefore it's easy to just assume something else is broken with the caching system. Maybe we can add a QA on this variable to check the a trailing '/'? Or maybe it's better to leave it alone. Not sure what the best approach is...
Fixed in master in http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=437928dfa4fdcf6abe4b4eb9ca03fd7db31404a0