Couldn't write state file: fopen() failed; giving up
From BOINC Wiki
You can encounter this error when you use a third party Archiver program on a Macintosh computer. To be able to unpack everything correctly BOINC's installer requires the built-in archive utility.