Richard, in OpenIndiana (an illumos distribution) we ship this patch https://sourceforge.net/p/unixtop/patches/22/ and it fixed it for us.
error: cannot convert 'hostent**' to 'int*' for argument '5' to 'hostent* gethostbyname_r on illumos
Unicode bug in the convert_to_unicode function of joliet.c