icecc / icecream

Distributed compiler with a central scheduler to share build load
GNU General Public License v2.0
1.6k stars 252 forks source link

Improve error message when cache directory is mounted noexec #594

Open akorn opened 2 years ago

akorn commented 2 years ago

Currently, in this case, the test in https://github.com/icecc/icecream/blob/master/daemon/serve.cpp#L185 fails and the build environment is reported as missing.

It took me a while to figure out what the actual problem was.

Maybe add a specific error message saying dirname + "/usr/bin/as" is not executable, build environment unusable or similar?