See debugging on https://issues.apache.org/jira/browse/ARROW-5470. One possible cause for that error is that the local filesystem patch increased the version of boost that we actually require. The boost version (1.54 vs 1.58) was one difference between failure and success.
Another point of confusion was that CMake reported two different versions of boost at different times.
If we require a minimum version of boost, can we document that better, check for it more accurately in the build scripts, and fail with a useful message if that minimum isn't met? Or something else helpful.
If the actual cause of the failure was something else (e.g. compiler version), we should figure that out too.