Homes were evacuated near RAF Fairford, with a major incident declared.