Mac ox set up dev error

when I execute the following command

git clone git://gerrit.libreoffice.org/lode
cd lode
./setup --dev

it meet an error as followed

lode/packages/cmake-3.3.1/Utilities/cmcurl/lib/strerror.c:32:6: error: 
      "strerror_r MUST be either POSIX, glibc or vxworks-style"

Presumably you are following the instructions on the Building LO on OS X wiki page. According to this Google Groups thread it sounds like a missing dependency issue.