I'm getting:

cabal: internal error when calculating transitive package dependencies.
Debug info: []

and it seems this has been a problem for quite some while (and it has to do with the executable depending on a local library)

is there any known workaround?

Thanks,

  Maurizio