I manually created a ./tmp
folder in ~/.particle/toolchains/buildtools/1.0.3/
That appears to have solved the problem. The file compiled locally with no errors.
I will do a reset environment when I have time this weekend and audit the other computer but this is my main development box and used for many things and that one has much less installed software.
Thanks for your help.