I did a few more tests and found that the build fails only when there is a accompanying .vipc file (even if that file does not specify any dependencies). Recreating the file does not fix the issue. The only workaround I found is to manually add dependencies.
For comparison, here is a project for which the build succeeds (dependencies were added manually).
https://bitbucket.org/drjdpowell/jsontext