Steps to reproduce:
- Install a site with English and another language
- Set the non-English language as the default
- Go to admin/config/people/secure_permissions, select load permissions as an option
- Save the form. You will not see the "Site roles and permissions have been rebuilt successfully." message.
You can switch the site language to English as default and it will work immediately.
This is basically the same issue as reported here: