build.sh script contains `set -e` and egrep with an invalid regex which results into a non-zero exit status and fail. I've sent a patch upstream - https://github.com/ariya/phantomjs/pull/13722, but it hasn't got accepted yet. The patch looks like this - https://github.com/rindeal/phantomjs/commit/95d590cdddceca542810fbed0e5a86ab5aaa5575.patch It probably affects version 2.0.0 as well, because I made the patch against master branch. P.S. it's funny to see nobody noticed this yet as probably most of you are using the syntax with no blanks (`make -j1`) which is considered bad and kept only for historical reasons according to http://pubs.opengroup.org/onlinepubs/009696899/basedefs/xbd_chap12.html#tag_12_02
So the upstream patch was rejected, because they have migrated to python now.
is this valid with 2.0.0-r1?