run ./bootstrap-prefix.sh, at stage2, the script will try to emerge dev-util/cmake-3.8.2, then it will throw this error: -- Using system-installed LIBARCHIVE -- Using system-installed LIBLZMA -- Using system-installed LIBRHASH -- Using system-installed LIBUV -- Using system-installed ZLIB -- Could NOT find LibRHash (missing: LibRHash_LIBRARY LibRHash_INCLUDE_DIR) CMake Error at CMakeLists.txt:309 (message): CMAKE_USE_SYSTEM_LIBRHASH is ON but LibRHash is not found! Call Stack (most recent call first): CMakeLists.txt:663 (CMAKE_BUILD_UTILITIES) sounds like it dependent the system's librhash, I tried this: brew install rhash and got fixed this.
*** This bug has been marked as a duplicate of bug 624722 ***