Same error here. In pa_make_secure_dir (core-util.c:197), uid=-1 and gid=-1. HAVE_FCHOWN is not defined so their values are not fixed, and the comparaisons at line 267-268 fail. I changed uid and gid values in gdb and it worked.