Advertisement
lowfatcomputing

darcsden merge changes from multiple repos

Nov 16th, 2015
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.68 KB | None | 0 0
  1. andreas@carbon ~/r/darcsden> cabal install
  2. Resolving dependencies...
  3. In order, the following will be installed:
  4. darcsden-1.1.99 (reinstall) (changes: HsOpenSSL-0.11.1.1 added, http-client-0.4.24 added, open-browser-0.2.0.0 added, pcre-light-0.4.0.4 added, ssh-0.3.2 added)
  5. Warning: Note that reinstalls are always dangerous. Continuing anyway...
  6. Notice: installing into a sandbox located at
  7. /home/andreas/repo/darcsden/.cabal-sandbox
  8. Configuring darcsden-1.1.99...
  9. Building darcsden-1.1.99...
  10. Failed to install darcsden-1.1.99
  11. Build log ( /home/andreas/repo/darcsden/.cabal-sandbox/logs/darcsden-1.1.99.log ):
  12. Configuring darcsden-1.1.99...
  13. Building darcsden-1.1.99...
  14. Preprocessing library darcsden-1.1.99...
  15. [45 of 55] Compiling DarcsDen.Handlers.RepoHandlerUtils.Changes ( src/DarcsDen/Handlers/RepoHandlerUtils/Changes.hs, dist/dist-sandbox-f51d1849/build/DarcsDen/Handlers/RepoHandlerUtils/Changes.o )
  16.  
  17. src/DarcsDen/Handlers/RepoHandlerUtils/Changes.hs:232:23:
  18. Couldn't match expected type ‘[Repository bp]
  19. -> [(PatchInfo, [PatchInfo])]’
  20. with actual type ‘[(PatchInfo, [PatchInfo])]’
  21. Relevant bindings include
  22. repos :: [Repository bp]
  23. (bound at src/DarcsDen/Handlers/RepoHandlerUtils/Changes.hs:231:5)
  24. u :: User bp
  25. (bound at src/DarcsDen/Handlers/RepoHandlerUtils/Changes.hs:224:16)
  26. getUserChanges :: User bp -> Int -> IO ([PatchLog], Int)
  27. (bound at src/DarcsDen/Handlers/RepoHandlerUtils/Changes.hs:224:1)
  28. In the first argument of ‘map’, namely
  29. ‘(fromPS (\ np -> (P.patch2patchinfo np, P.getdeps np))
  30. $ R.readRepo)’
  31. In the second argument of ‘($)’, namely
  32. ‘map
  33. (fromPS (\ np -> (P.patch2patchinfo np, P.getdeps np))
  34. $ R.readRepo)
  35. (getOwnerRepositories (view uName u))’
  36. In the expression:
  37. m
  38. $ map
  39. (fromPS (\ np -> (P.patch2patchinfo np, P.getdeps np))
  40. $ R.readRepo)
  41. (getOwnerRepositories (view uName u))
  42.  
  43. src/DarcsDen/Handlers/RepoHandlerUtils/Changes.hs:232:78:
  44. Couldn't match expected type ‘R.PatchSet p0 x10 y10’
  45. with actual type ‘R.Repository p1 wR0 wU0 wT0
  46. -> IO (R.PatchSet p1 Origin wR0)’
  47. Probable cause: ‘R.readRepo’ is applied to too few arguments
  48. In the second argument of ‘($)’, namely ‘R.readRepo’
  49. In the first argument of ‘map’, namely
  50. ‘(fromPS (\ np -> (P.patch2patchinfo np, P.getdeps np))
  51. $ R.readRepo)’
  52. cabal: Error: some packages failed to install:
  53. darcsden-1.1.99 failed during the building phase. The exception was:
  54. ExitFailure 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement